doabit / semantic-ui-sass

Semantic UI, converted to Sass and ready to drop into Rails & Compass.
MIT License
1.15k stars 192 forks source link

Sass::SyntaxError: Undefined variable: "$font-name". #89

Closed edipofederle closed 8 years ago

edipofederle commented 8 years ago

Hello,

I use @import instead of include all semantic-ui. But when I execute: RAILS_ENV=production bundle exec rake assets:precompile I got a

Sass::SyntaxError: Undefined variable: "$font-name". (full log)

@import 'semantic-ui/globals/all';
@import 'semantic-ui/elements/button';
@import 'semantic-ui/elements/header';
@import 'semantic-ui/elements/icon';
@import 'semantic-ui/elements/input';
@import 'semantic-ui/elements/label';
@import 'semantic-ui/elements/segment';
@import 'semantic-ui/elements/divider';
@import 'semantic-ui/collections/form';
@import 'semantic-ui/collections/grid';
@import 'semantic-ui/collections/menu';
@import 'semantic-ui/collections/message';
@import 'semantic-ui/collections/table';
@import 'semantic-ui/modules/checkbox';
@import 'semantic-ui/modules/dropdown';
@import 'semantic-ui/modules/dimmer';
@import 'semantic-ui/modules/modal';
@import 'semantic-ui/modules/sidebar';
@import 'semantic-ui/modules/transition';
@import 'semantic-ui/modules/popup';
@import 'semantic-ui/modules/tab';

Any tip here?

Thanks in advance

doabit commented 8 years ago

@edipofederle I've tested and it works. which version did you use? 5fadaae4-b4b2-4a80-90c6-ae8328ca46a0 0e935c63-59ca-4672-9097-0d2cfb1d3a1b

edipofederle commented 8 years ago

Hi @doabit

I just add this to Gemfile:

gem 'semantic-ui-sass', github: 'doabit/semantic-ui-sass'

and this to my production.rb

config.assets.precompile = ['*.js', '*.css', '*.css.erb', '*.png', '*.gif', '*.svg', '*.eot', '*.woff', '*.ttf']

doabit commented 8 years ago

@edipofederle I think you don't need to add config.assets.precompile = ['*.js', '*.css', '*.css.erb', '*.png', '*.gif', '*.svg', '*.eot', '*.woff', '*.ttf'] to production.rb.

edipofederle commented 8 years ago

@doabit

Sorry for late reply.

My mistake here. Sorry :( and thanks.

Best,