beautiful-colors

0.0.3 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i beautiful-colors

Weekly Downloads

0

Version

0.0.3

License

MIT

Last publish

Collaborators

  • bjmin