Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@carl/brand

carlfin10MITdeprecated0.1.0

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

Brand assets for Carl.

readme

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.