
Product
Introducing GitHub Actions Scanning Support
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.
postcss-link-colors
Advanced tools
Helper function for link states
With npm do:
npm install postcss-link-colors --save
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
FAQs
PostCSS plugin for normal, hover, active, visited, focus link colors
The npm package postcss-link-colors receives a total of 9 weekly downloads. As such, postcss-link-colors popularity was classified as not popular.
We found that postcss-link-colors demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.

Product
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.

Research
The Socket Threat Research Team uncovered malicious NuGet packages typosquatting the popular Nethereum project to steal wallet keys.