feat: Use system-ui fonts#4001
Draft
tvdeyen wants to merge 19 commits into
Draft
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4001 +/- ##
=======================================
Coverage 98.12% 98.12%
=======================================
Files 346 346
Lines 8974 8974
=======================================
Hits 8806 8806
Misses 168 168 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
sascha-karnatz
approved these changes
Jun 22, 2026
The fastest fonts available. No downloading, no layout shifts, no flashes — just instant renders. Cuts the admin.css file into half (364KB -> 182KB)! And the welcome.css from 186KB to 5KB (!!) 180KB just fonts. On every request. We do not need that. https://modernfontstacks.com
A bit more now that we use system fonts, which can be a bit small.
Now that we use a system-font the font-weight is too heavy.
Instead of individual places, we just enable it globally.
The labels are baseline, so the value need as well and the icon needs adjusment
Better legibility
Instead of the button, which hasd a fixed height the small button should use the height calculated by padding and font-size.
Better legibility
This is useless for fonts under 20px and does not really make any visual difference
tvdeyen
force-pushed
the
use-system-ui-font
branch
from
June 24, 2026 09:05
0a8cd64 to
9cd3289
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What is this pull request for?
The fastest fonts available.
No downloading, no layout shifts, no flashes — just instant renders.
Cuts the admin.css file into half (364KB -> 182KB)!
And the welcome.css from 186KB to 5KB (!!)
180KB just fonts. On every request. We do not need that.
https://modernfontstacks.com/
Notable changes (remove if none)
Raises the font size from 12px to 13px and lowered the font weight for bold fonts to 600
Screenshots
Remove if no visual changes have been made.
Checklist