beautiful-colors
v0.0.3
Published
Extract and Save Beautiful Colors in Life.
Downloads
3
Readme
Beautiful Colors
Life is colorful, but elapse remains, so that capturing those beautiful colors is worth.
Usage
Install
npm i beautiful-colors --save
PostCSS & Webpack
install devDependencies.
npm i webpack style-loader css-loader postcss-loader postcss-simple-vars --save-dev
config webpack.config.js.
... module: { loaders: [ ... { test: /\.css$/ loader: 'style!css!postcss' } ... ] } ... postcss: function() { return [ ... postcssSimpleVars ... ] } ...
import.
@import 'beautiful-colors'; /* @import 'beautiful-colors/lib/colors.css' */ body { background: $beautiful-color; }