Skip to content

Enable "font-display: swap " to avoid showing invisible text - #266

Merged
rhyneav merged 1 commit into
papercss:masterfrom
marvelefe:master
Jan 22, 2022
Merged

rhyneav merged 1 commit into
papercss:masterfrom
marvelefe:master

Conversation

@marvelefe

@marvelefe marvelefe commented Jan 22, 2022 •

Copy link
Copy Markdown
Contributor

Brief description

The PR adds a change in the _config.scss file to enable font-display: swap. This instructs browsers to use the fallback font to display the text until the custom font has fully downloaded. Also helps with performance so you get that 100 score on lighthouse 😁
...

Developer Certificate of Origin

Sample pictures

...

Further details

This PR closes #260

...

@rhyneav

rhyneav commented Jan 22, 2022

Copy link
Copy Markdown
Member

Ah nice - thank you for the PR! Going to merge this in now and aim to deploy it sometime this week!

@rhyneav
rhyneav merged commit e9d058b into papercss:master Jan 22, 2022
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.

Enable "font-display: swap " to avoid showing invisible text

2 participants