0.1.0 • Published 4 years ago

@carl/brand v0.1.0

Weekly downloads
48
License
MIT
Repository
github
Last release
4 years ago

alt text

@carl/brand

A library containing branding assets for Carl.

Installation

npm install @carl/brand

Usage

Colors (CSS)

import "@carl/brand/colors.css";

This will add CSS variables to the root node of the document.

.my-class {
  color: var(--carl-dark-blue);
}

Variables

  • --carl-dark-blue
  • --carl-light-blue

Colors (JS)

import { dark_blue } from @carl/brand;

Available colors

  • dark_blue
  • light_blue

The color values are hexidecimal strings.

Fonts

import "@carl/brand/fonts.css";`

This will import the font family definitions.