Im having trouble with I think a pretty simple thing. I need to add CSS to a element if a less variable equals to 1. Its kind of a on/off switch. I tried a few tutorials on guards but i dont think i get it the right way. My code:
@switch = 1
#element() when (@switch = 1) {
color: red;
}