Open tlindig opened 8 years ago
:+1: Thanks for the report. It looks like the fallbacks are messing with things.
For now you can work around it like this:
.foo {
--gradient-color1: var(--primary-color, #ff5722);
--gradient-color2: var(--primary-color, #ffff22);
background-image: linear-gradient(var(--gradient-color1), var(--gradient-color2));
}
Feel free to make a PR :grinning:
following results in unexpected code:
results in:
but should:
tested also with playground