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

Support font-display in @font-face rule #14

Open
jpt opened this issue Feb 12, 2021 · 1 comment
Open

Support font-display in @font-face rule #14

jpt opened this issue Feb 12, 2021 · 1 comment

Comments

@jpt
Copy link

jpt commented Feb 12, 2021

I have started seeing font-display: swap in @font-face at-rules more often in performance-minded web apps. This addresses a Flash of Invisible Text. Optional support would be great - I put the issue here instead of core because it would be especially nice as a flag for the CLI. If it's something you'd want to implement, let me know if I can help. Cheers!

@RoelN
Copy link
Contributor

RoelN commented Feb 12, 2021

It would be good to add a Sane Default™ so devs will either use that, or remember to set it to what they prefer.

Great issue, thanks @jpt!

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

2 participants