Skip to content

webfonts import url should not insert spaces #60

Open
@ceynri

Description

@ceynri

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions