source: trip-planner-front/node_modules/postcss-colormin/README.md

Last change on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 806 bytes
Line 
1# [postcss][postcss]-colormin
2
3> Minify colors in your CSS files with PostCSS.
4
5## Install
6
7With [npm](https://npmjs.org/package/postcss-colormin) do:
8
9```
10npm install postcss-colormin --save
11```
12
13
14## Example
15
16```js
17var postcss = require('postcss')
18var colormin = require('postcss-colormin');
19
20var css = 'h1 {color: rgba(255, 0, 0, 1)}';
21console.log(postcss(colormin()).process(css).css);
22
23// => 'h1 {color:red}'
24```
25
26For more examples see the [tests](src/__tests__/index.js).
27
28
29## Usage
30
31See the [PostCSS documentation](https://github.com/postcss/postcss#usage) for
32examples for your environment.
33
34
35## Contributors
36
37See [CONTRIBUTORS.md](https://github.com/cssnano/cssnano/blob/master/CONTRIBUTORS.md).
38
39
40## License
41
42MIT © [Ben Briggs](http://beneb.info)
43
44
45[postcss]: https://github.com/postcss/postcss
Note: See TracBrowser for help on using the repository browser.