Fomantic-UI-SASS icon indicating copy to clipboard operation
Fomantic-UI-SASS copied to clipboard

The $import-google-fonts variable does not work anymore

Open jefmathiot opened this issue 2 years ago • 0 comments

I've tried to use the method provided in the README to disable loading of fonts from Google:

$import-google-fonts: false;
@import 'semantic-ui';

but the @import directive is still prepended to the CSS file. It seems that there was a test in the site.css file up to version v2.7.7 that is not present in subsequent versions:

@if $import-google-fonts {
  @import url($font-url);
}

I'd be glad to create a PR to fix this but I suspect you use some sort of automation to update sources from other projects. Please let me know if I can be of any help on this :smile:

jefmathiot avatar Aug 20 '22 16:08 jefmathiot