glamor-calc-reduction
A port of postcss-color-hwb for glamor, using color.
Transform glamor declarations with calc()
:
into
Usage
;;plugins;
ECMAScript
You will need polyfills for the following features (which are provided for you if you are using babel's runtime).
- Object.entries
- String.includes
A non-compiled version can be required at index.es.js
and is
specified as jsnext:main
. This version includes the following
language features in addition:
- Destructuring
- Object literal shorthand
- Fat Arrows
- Template Strings