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

Package detail

@nib-styles/colors

nib-styles231.1.1

A handful of pure colour variables for the most used colours at nib. See the nib-pattern-library for colours.

readme

@nib-styles/colors

A handful of pure colour variables for the most used colours at nib. See the nib-pattern-library for colours.

All colours are prefixed with color- to prevent potential name conflicts, and for easier editor auto completion.

Installation

npm i --save @nib-styles/colors

Usage

@import "@nib-styles/colors";

.box {
  background-color: $color-sneezy;
  color: $color-prince-charles;
}

NB:

This repo is not for defining application-specific variables (i.e. $border-color: $color-bashful;)

Changelog

  • 1.0.0 Breaking change, fresh start with our current colours