Skip to content

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

Open
AramZS wants to merge 1 commit intopages-themes:masterfrom
AramZS:patch-1
Open

Leverage font-display: swap mode of Google fonts#26
AramZS wants to merge 1 commit intopages-themes:masterfrom
AramZS:patch-1

Conversation

@AramZS
Copy link
Copy Markdown

@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
Copy Markdown

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
Copy Markdown

@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
Copy Markdown
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