Is it possible to assign a variable based on another variable using less css?
pseudo code:
@userpick = red; /* this changes based on user pick */
@color1 = red;
@color2 = blue;
if( @userpick == @color1)
@systempick = @color2
else( @userpick == @color2)
@systempick = @color1
I want to be able to use @systempick as a color value not as a css style. For example:
border: 5px dashed @systempick;