Replies: 2 comments 1 reply
-
This is a terrific idea. Would you be willing to open a pull request for this? I'd love some docs that reference those articles as well so people know how to do that when they switch fonts. |
Beta Was this translation helpful? Give feedback.
1 reply
-
PR Submitted #128 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Since Epic Stack is designed to get the developers off the ground running, we can introduce a small optimization to the stack that eliminates Cumulative Layout Shift from font swapping.
References
Example
This can be accomplished by introducing metric overrides for default system fonts while the actual fonts stream in.
For an production implementation, here's how font.css looks on the Mana Wiki:
Beta Was this translation helpful? Give feedback.
All reactions