@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.