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

Disable Google Fonts. #85

Closed mrkongo closed 8 years ago

mrkongo commented 8 years ago

Can we use:

@importGoogleFonts: false;

in our application.scss to disable Google Fonts?

doabit commented 8 years ago

You can use https://github.com/doabit/semantic-ui-sass#custom-font

mrkongo commented 8 years ago

Nope. Dear @doabit, I just want to disable at all Google fonts. I need just Helvetica and Windows font, like Bootstrap. The fonts loaded after Lato in Semantic.

doabit commented 8 years ago

@mrkongo If you want to use custom font, look at https://github.com/doabit/semantic-ui-sass/commit/0d9aab026a3603c812248669b9aa6da466bd36ca, it should work for you.

mrkongo commented 8 years ago

No, dear @doabit , I need to disable Google fonts. How to?

doabit commented 8 years ago

@mrkongo Use $font-url: font_url, font_url can use google font or your custom font, $font-name: "font_name", font_name can use "Lato" or your custom font name.

mrkongo commented 8 years ago

Perhaps I did not make myself clear. I need to remove Google Fonts at all. How to? I need to remove google fonts loading and the first "Lato" font from font-family. Is it clear now? In semantic-ui less I can use @importGoogleFont: false to not use the google fonts (Lato still remains in font-family anyway... at least for now...)

doabit commented 8 years ago

@mrkongo Sorry, there is no way now, i always use $font-url and $font-name to use custom font and disable google font.

mrkongo commented 8 years ago

And if I use

$font-url: '';
$font-name: '';

in my css I have `font-family: "", "Helvetica"...``` right?

doabit commented 8 years ago

Yes, you want to get font-family: "Helvetica"..., right?

mrkongo commented 8 years ago

Yes, nothing before "Helvetica"....

doabit commented 8 years ago

@mrkongo Hi, please use master branch and use $font-family: ....