Semantic-Org / Semantic-UI-Rails-LESS

This is a gem for Rails with Semantic UI (http://semantic-ui.com) assets inside.
MIT License
123 stars 36 forks source link

Using timeline theme in feed throws css compilation error #25

Closed prasannshah closed 8 years ago

prasannshah commented 8 years ago

It is because the theme has no globals/site.variables file inside it. As it not necessary to have the folder and the file, i suggest the changing theme.less from @import "@{themesFolder}/@{theme}/globals/site.variables"; to @import (optional) "@{themesFolder}/@{theme}/globals/site.variables";

maxd commented 8 years ago

Yes, this is a problem. less.js since v.2.3.0 support (optional) directive but less gem using v.1.7.0. Seems like not a easy to bump it to latest less.js version but I want to implement work-around. I will generate empty files during update version process.