postcss-carnival
v0.0.2
Published
PostCSS plugin Randomize all colors in your CSS
Downloads
6
Maintainers
Readme
PostCSS Carnival
PostCSS plugin Randomize all colors in your CSS.
.foo {
color: red;
}
.bar {
color: #FFFFFF;
}
.xyz {
color: rgba(255, 255, 255, 0.5);
}
.foo {
color: rgb(RANDOM, RANDOM, RANDOM);
}
.bar {
color: rgb(RANDOM, RANDOM, RANDOM);
}
.xyz {
color: rgb(RANDOM, RANDOM, RANDOM);
}
Usage
postcss([ require('postcss-carnival') ])
See PostCSS docs for examples for your environment.