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

webfonts import url should not insert spaces #60

Open
ceynri opened this issue May 17, 2021 · 0 comments
Open

webfonts import url should not insert spaces #60

ceynri opened this issue May 17, 2021 · 0 comments

Comments

@ceynri
Copy link

ceynri commented May 17, 2021

Code

// _typography.scss
@import url('https://fonts.googleapis.com/css?family=Poppins:400, 600');

Should be:

// _typography.scss
@import url('https://fonts.googleapis.com/css?family=Poppins:400,600');

Description

When I used "https://fonts.googleapis.com/css?family=Poppins:400, 600" as webfonts url, my website didn't get font file via the http request. I entered this url into chrome and found that it didn't include the 600 weight font. This may be because space between 400 and 600 is not supported.

I changed it to "https://fonts.googleapis.com/css?family=Poppins:400,600", and now it works normally.

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