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

Suggestion to Add font-display: swap; for Better Font Loading #338

Open
meel-hd opened this issue Nov 20, 2024 · 1 comment
Open

Suggestion to Add font-display: swap; for Better Font Loading #338

meel-hd opened this issue Nov 20, 2024 · 1 comment
Labels

Comments

@meel-hd
Copy link

meel-hd commented Nov 20, 2024

Hey there!

I noticed that the font files for Source Sans 3 and Source Code Pro don't include the font-display: swap; property in their CSS. Adding this would improve font loading by using fallback fonts until the preferred ones are ready, which can help prevent "invisible text" during slow font loading for users with slow internet connection.

This will help enhance performance let me know what you think!

Thanks!

@pauldhunt pauldhunt added the bug label Nov 20, 2024
@pauldhunt
Copy link
Contributor

Thanks for reporting. Will look into it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants