Tealk
Well-known member
Hi,
i would like to query an option in a .less file but unfortunately it doesn't seem to work properly.
Is the syntax there different?
//Edit
I have noticed that I have to save the .less every time I change the option so that the changes take effect.
i would like to query an option in a .less file but unfortunately it doesn't seem to work properly.
Is the syntax there different?
CSS:
<xf:if is="$xf.options.test">
& .test {background: #3b5998;}
<xf:else />
& .test {background: #dd4b39;}
</xf:if>
//Edit
I have noticed that I have to save the .less every time I change the option so that the changes take effect.
Last edited: