@nib-styles/colors

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

Usage no npm install needed!

<script type="module">
  import nibStylesColors from 'https://cdn.skypack.dev/@nib-styles/colors';
</script>

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