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

Leverage font-display: swap mode of Google fonts #26

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AramZS
Copy link

@AramZS AramZS commented Mar 10, 2022

For performance reasons it is best to use font-display: swap and Google Fonts supports this via a URL param. See: https://web.dev/font-display/?utm_source=lighthouse&utm_medium=lr#google-fonts for more info.

I think it would be wise to add this to the template as the lack of it gets a page a significant ding in web performance measurement.

For performance reasons it is best to use `font-display: swap` and Google Fonts supports this via a URL param. See: https://web.dev/font-display/?utm_source=lighthouse&utm_medium=lr#google-fonts
@welcome
Copy link

welcome bot commented Mar 10, 2022

Welcome! Congrats on your first pull request to the Dinky theme. If you haven't already, please be sure to check out the contributing guidelines.

Copy link

@UltiRequiem UltiRequiem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good work!

Are you able to make a PR for each repo on https://github.com/pages-themes ?

If not you are not, is it okey if I do it?

@AramZS
Copy link
Author

AramZS commented Mar 24, 2022

Good work!

Are you able to make a PR for each repo on https://github.com/pages-themes ?

If not you are not, is it okey if I do it?

I'm not familiar enough with the other themes to make that suggestion, but if you are and think they need it please go ahead.

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

Successfully merging this pull request may close these issues.

2 participants