PostCSS Complementary
A PostCSS plugin to get the complementary of a color
Installation
npm install postcss-complementary
Examples
Get complementary of a color
/* input */
/* output */
Get a uniform complementary of a color (complementary that also has the same apparent lightness)
/* input */
/* output */
Options
Option | Type | Default | Description |
---|---|---|---|
uniform |
Boolean | false |
Whether or not to use the uniform complementary as the default for the plugin |
Usage
Postcss JS API
;
Gulp
const gulp = ;const postcss = ;const complementary = ;gulp;
Tests
npm test
License
This project is licensed under the MIT License.