Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jefmathiot opened this issue Aug 20, 2022 · 0 comments
Open

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

jefmathiot opened this issue Aug 20, 2022 · 0 comments

Comments

@jefmathiot
Copy link

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 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant