Postcss plugin for crayon.css
yarn add -D postcss-crayon-colors
npm i -D postcss-crayon-colors
postcss([crayonColors])
For color see here.
Just add -color
to the back of the color name.
/* input */
.a {
color: absolutezero-color;
}
/* output */
.a {
color: #0048ba;
}
Imitating postcss-brand-colors
https://github.com/riccardoscalco/crayon
MIT Copyright (c) 2015 Riccardo Scalco riccardo.scalco@gmail.com https://github.com/riccardoscalco/crayon/blob/master/LICENSE#readme
The MIT License (MIT)
Copyright (c) 2017 nju33 nju33.ki@gmail.com