1.0.1 • Published 6 years ago

ibm-northstar-colors v1.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

IBM Northstar Colors

Minimalist module with IBM's Northstar color palette.

Installation

npm install ibm-northstar-colors -S

Usage

Apply colors individually.

const palette = require('ibm-northstar-colors').colors;
const backgroundColor = palette.blue90;

Apply colors from a grade (core, 10, 20, 30, 40, 50, 60, 70, 80, 90).

const palette = require('ibm-northstar-colors').grade50;
const red = palette.red;
const green = palette.green;
const yellow = palette.yellow;
const blue = palette.blue;

License

MIT