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