.container {
--random: 200px;
@mixin test() {
@if (var(--random) > 500px) {
color: orange;
}
}
@include test();
}
What I want: if the variable is larger than 500px, style .container
with color: orange;
.
P.S. I wasn't sure how to make a code-snippet that to reproduce this error for you. Perhaps there's a website to make little SASS snippets you could suggest?