Open zaquest opened 2 years ago
What output are you expecting? What is the use case?
I expect
h1 {
color: black;
}
And I get it as long as @primary: @blue;
is commented out. So the issue is that additional variable alias breaks style compilation.
My usecase for the code above is implementing color schemes. I want to define a set of base colors (@colors
) call a mixin on it to translate it to a color scheme (positive
- black on white, negative
white on black, and some other variations), and use this color scheme to "unlock" some detached ruleset (@fg
).
I have a piece of code that comes down to the following:
Without the
@primary
definition it works as expected. However when@primary
is uncommented I get the following error:First two lines and the rest of the code are seemingly unrelated to each other, yet these first two lines somehow break the rest of it.
Checked with 4.1.2 (earlier versions have the same issue, at least as early as 3.12.2).