class mixins
Closed this issue · 1 comments
deneuxa commented
Hello and thanks for this gem :)
I'm not sure if it's a bug or if I'm doing something wrong:
I'd like to use ui-classes as mixins in my less files (http://lesscss.org/#-mixins) :
basically
#my_custom_button{
.button;
}
but rails render me this error :
".button is undefined"
Any idea ?
nd0ut commented
Hello! You need to use .ui.button
instead of .button
and import less on the top @import 'semantic-ui/elements/button.less';