You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@import 'variables.less';
some button related less code
@import 'themes/@{theme}/buttons.less';
Error
variable @theme is undefined
Workaround
If I define the @theme variable directly within the buttons.less file it works fine, but if I do in the imported variables.less it wont work. Any other variables outside of that @import section work fine, eg. padding: @size-xs @size-s;.