This library gives access to common brand colors shared across Tillamook digital properties.
import colors from '@tillamook/brand/lib/colors';
console.log(colors.darkestBlue); // #071631
Add/Import css into your document:
import '@tillamook/brand/lib/colors.css';
Once the stylesheet is added to the document you can access to them anywhere in css:
.thing {
background-color: var(--colors-darkestBlue);
}
@import '~@tillamook/brand/src/colors';
.thing {
background-color: color('darkestBlue');
}
You will need to be a part of @tillamook npm org.
- Build:
npm run build
-
Bump
package.json
version number. "version": "0.0.9" -> "version": "0.0.10" -
Publish
npm publish