A PostCSS plugin to invert colors
- Supports inverting colors specified in hex, RGB, RGBA, HSL, and HSLA formats
Usage
const fs = const path = const postcss = const postcssColorInvert = const inputFile = pathconst input = fsconsole // => 'a { color: #ff0000; }'
Installation
$ yarn add --dev postcss-color-invert