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

Font loading isn't working #13

Closed
polys opened this issue Aug 27, 2018 · 1 comment
Closed

Font loading isn't working #13

polys opened this issue Aug 27, 2018 · 1 comment

Comments

@polys
Copy link

polys commented Aug 27, 2018

<link href="https://fonts.googleapis.com/css?family=Josefin+Sans|Playfair+Display" rel="preload" as="font">

Why not just the plain old rel="stylesheet"?

From Chrome DevTools:

The resource https://fonts.googleapis.com/css?family=Josefin+Sans|Playfair+Display was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
@simonaco
Copy link
Owner

Fixed in #15 . Thanks for the feedback!

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

2 participants