postcss-carnival

0.0.2 • Public • Published

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.

Package Sidebar

Install

npm i postcss-carnival

Weekly Downloads

2

Version

0.0.2

License

MIT

Unpacked Size

3.45 kB

Total Files

5

Last publish

Collaborators

  • persocon