A CSS module for utility classes for all named CSS colors (bg, color, border, svg, etc).
npm install --save named-colors
Works great with Rework/PostCSS (it's recommended to also use this with uncss):
@import 'named-colors';
The entire CSS stylesheet can be found in the index.css
. However, within the css/
directory, there
are stylesheets for individual utilities: color
, background-color
, border
, fill
, and stroke
.
This module also exposes, within the lib/
directory, some rework plugins that can be incorporated into
an existing rework project.
MIT
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Crafted with <3 by John Otander (@4lpine).
This package was initially generated with yeoman and the p generator.