PostCSS plugin for normal, hover, active, visited, focus link colors
npm install postcss-link-colors> Helper function for link states
With npm do:
```
npm install postcss-link-colors --save
`js
var postcss = require('postcss');
var css = 'a{ linkColors: red, blue, green, yellow, purple; }';
console.log(postcss([ require('postcss-link-colors') ]).process(css).css);
// => 'a{ color: red; } a:focus{ color: purple; } a:active{ color: yellow; } a:visited{ color: green; } a:hover{ color: blue; }'
`
You can also pass the classes in via opts.classes`. See the tests for an example.
Pull requests are welcome. If you send a PR or want to maintain the module,
I'll grant you repo access and publishing rights for npm.
MIT © Steffen Müller
[ci]: https://travis-ci.org/steffenmllr/postcss-link-colors
[npm]: http://badge.fury.io/js/postcss-link-colors
[postcss]: https://github.com/steffenmllr/postcss-link-colors