Skip to content

persocon/postcss-carnival

Repository files navigation

PostCSS Carnival Build Status

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.

About

PostCSS plugin Randomize all colors in your CSS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published