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

add to generated css file "font-display: block;" #84

Open
mykola-shkut opened this issue Jan 9, 2021 · 0 comments
Open

add to generated css file "font-display: block;" #84

mykola-shkut opened this issue Jan 9, 2021 · 0 comments

Comments

@mykola-shkut
Copy link

After font generating we have font without "font-display" style in css file and lighthouse gives negative feedback on it
"Leverage the font-display CSS feature to ensure text is user-visible while webfonts are loading." That's why I propose add "font-display: block;" by default to generated css file or generate it based on some CLI parameter.

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

1 participant