euphoria-colors
Euphoria!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!! MOVED TOA Euphoria.css utility library to create color classes in your CSS-to-JS projects.
This module returns a string of class names you can then inject into a page, using something like glamor.
NOTE: Currently this only works with ES6 support using Babel or Node 7.x+.
Installation
# with yarn: yarn add euphoria-colors # with npm npm i -S euphoria-colors
Usage
This module can be used in many ways. For example, using glamor, you would do the following:
css
Now you will have the following classes available to you:
// //
Calling colors
without arguments will get you the default colors mapping, which is:
primary: 'lightseagreen' success: 'forestgreen' info: 'teal' warning: 'orange' danger: 'crimson'
Changelog
v0.1.0
- Initial release!
License
MIT
Credits
Dana Woodman