csstools/precss

Wrong transformation of multiple value css properties (missing space)

martinkutter opened this issue · 5 comments

Hey, after updating to 3.1, the following happend:

border-left: 13px solid color-mod(#000 alpha(0.5));
is transformed to:
border-left: 13px solidrgba(0, 0, 0, 0.5)
(see the missing space)

So, this is definitely caused by the postcss-color-mod-function module.

I've created an issue over there csstools/postcss-color-mod-function#5.

Thanks for reporting this @martinkutter, and thanks for finding the source of the issue, @leesdolphin

Thanks for the quick merge, Would it be possible to bump the postcss-preset-env version to 3.x to take advantage of that fix?

Thank you very much!

Patched in 3.1.1. Thanks @leesdolphin !