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

Refresh: use variable fonts #15397

Open
craigcook opened this issue Oct 28, 2024 · 0 comments
Open

Refresh: use variable fonts #15397

craigcook opened this issue Oct 28, 2024 · 0 comments
Labels
Refresh 🦖 Work related to the 2024 site refresh

Comments

@craigcook
Copy link
Member

Description

Some designs use a mix of several font weights, which ordinarily means loading a separate font file for each weight and style. These add up quickly so we've always tried to limit the number of font files to optimize performance. But the new brand fonts come in variable versions, and browser support these days is pretty good, so we're thinking it's probably time. The new variable font files are also surprisingly small so it can actually be a performance gain.

We could fall back to the static fonts but then what would be the point, so we're thinking we just... don't. Let older browsers get system fonts. We'll want to do some thorough testing of the fallback state to make sure it still looks good, and we can work out a good font stack with common system fonts.

@craigcook craigcook added the Refresh 🦖 Work related to the 2024 site refresh label Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Refresh 🦖 Work related to the 2024 site refresh
Projects
Status: Dev Ready
Development

No branches or pull requests

1 participant