Closed doabit closed 6 years ago
I'm not sure how to get around the issues, but there has been some discussion on the official semantic-ui github about a sass version https://github.com/Semantic-Org/Semantic-UI/issues/1147
Maybe this converter can make this happen? https://github.com/RealtyPremium/Semantic-UI-SCSS
@frankis The is no way now because of sass doesn't support some features.
The only way to workaround this is using scripting.
If you use only rails, you could use scss.erb files, but I think you don't want that, since this is a SASS port, not a mandatory rails port.
So you can have some kind of script, that takes the original semantic-ui files as input and return scss files as output, with the replacement you need, so it automates the migration process.
I'm currently using Bootstrap (which sucks), but semantic-ui-sass with no global variables it's a no no for me. Variables are the base of usefulness of SASS and it's one of the most powerful features of semantic-ui.
I wish you would have global variables, that you allow me to use Semantic UI in my rails projects, which unfortunately is not currently possible :/
I have worked on it last week, but thiere are a lot of problems, now, the biggest is
Sass doesn't support like this
OR
I have modified lots of files, but it would difficult to update if use this method, i haven't found a good method to solve the problem. If anybody have an idea, welcome PR, thanks.