postcss-crayon-colors

0.0.1 • Public • Published

postcss-crayon-colors

XO code style

Postcss plugin for crayon.css

Install

yarn add -D postcss-crayon-colors
npm i -D postcss-crayon-colors
postcss([crayonColors])

Usage

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

Related

Crayon.css

https://github.com/riccardoscalco/crayon

MIT Copyright (c) 2015 Riccardo Scalco riccardo.scalco@gmail.com https://github.com/riccardoscalco/crayon/blob/master/LICENSE#readme

License

The MIT License (MIT)

Copyright (c) 2017 nju33 nju33.ki@gmail.com

Package Sidebar

Install

npm i postcss-crayon-colors

Weekly Downloads

1

Version

0.0.1

License

MIT

Last publish

Collaborators

  • nju33