0.0.3 • Published 8 years ago

beautiful-colors v0.0.3

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

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;
    }

Author

bjmin

License

MIT

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago