postcss-css-variables icon indicating copy to clipboard operation
postcss-css-variables copied to clipboard

Negative variables are not compiled after update

Open sn3p opened this issue 4 years ago • 1 comments

Did something change regarding the compilation of negative variables?

In v0.14.0 this:

.foo {
  --width: 100px;
  with: -var(--width);
}

used to output:

.foo {
  with: -100px;
}

But after updating to v0.17.0 I get:

.foo {
  with: -var(--width);
}

I tried reproducing in the playground, but this still runs on v0.14.0.

sn3p avatar Apr 30 '20 12:04 sn3p