csstools/postcss-color-mod-function

Converting colors in multi-value property looses spacing

software-opal opened this issue · 0 comments

The problem is that this module converts border: 1px solid color-mix(#fff) into border: 1px solidrgb(255, 255, 255)(notice the lack of space between solid and rgb).

I believe that this is caused by the raw attribute(which holds the spacing before and after the item) of the child being lost when it is replaced with the compiled color.