postcss-color-hwb
postcss-color-hwb copied to clipboard
PostCSS plugin to transform W3C CSS hwb() function to more compatible CSS (rgb() or rgba()).
Hello, This PR makes the following changes * Update this module to PostCSS 8 using the migration guide : https://evilmartians.com/chronicles/postcss-8-plugin-migration * Update the node version to use 10 at the...
It looks like variables are not supported: ```css a { --base-hue: 240; --whiteness: 60%; --darkness: 25%; color: hwb(var(--base-hue), var(--whiteness), var(--darkness)); } ``` The above code produces: ```Unable to parse color...
From [CSS Color Module Level 4: HWB Colors: hwb() function](https://drafts.csswg.org/css-color/?c=M%3BO%3DD#ref-for-funcdef-hwb%E2%91%A2): > The syntax of the hwb() function is: > ``` > hwb() = hwb( [ / ]? ) > ```...