Package Exports
- rework-hex-alpha
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (rework-hex-alpha) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
rework-hex-alpha
Convert hex colors with alpha values into their RGBA equivalents for more browser support.
Installation
$ npm install rework-hex-alphaExample
var hex = require('rework-hex-alpha');
rework(css)
.use(hex)
.toString();API
In your CSS, use 4-digit or 8-digit hex colors with alpha channels as if they were already supported in all browsers:
h2 {
color: #9d9c;
}
p {
color: #9823f8a9;
}License
MIT