Skip to content

Simplify the font stacks to what modern browsers need - #2736

Merged
simon04 merged 1 commit into
mainfrom
font-stack
Sep 14, 2026
Merged

simon04 merged 1 commit into
mainfrom
font-stack

Conversation

@simon04

@simon04 simon04 commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

system-ui always resolves, so every family between it and sans-serif
was unreachable as a primary font: -apple-system is redundant with
system-ui since Safari 11, BlinkMacSystemFont only mattered for
Chrome <56, and 'San Francisco' was never a valid installed family
name. The rest are just what system-ui already picks per platform.

The monospace stack can't collapse the same way -- ui-monospace is
Safari-only and the generic monospace resolves to Courier New in
Firefox on Windows -- but it can lose 'SF Mono', which isn't reliably
exposed to web content under that name, and Courier, which the generic
covers. Menlo now precedes Consolas so a Mac with MS Office installed
keeps Menlo.

system-ui always resolves, so every family between it and sans-serif
was unreachable as a primary font: -apple-system is redundant with
system-ui since Safari 11, BlinkMacSystemFont only mattered for
Chrome <56, and 'San Francisco' was never a valid installed family
name. The rest are just what system-ui already picks per platform.

The monospace stack can't collapse the same way -- ui-monospace is
Safari-only and the generic monospace resolves to Courier New in
Firefox on Windows -- but it can lose 'SF Mono', which isn't reliably
exposed to web content under that name, and Courier, which the generic
covers. Menlo now precedes Consolas so a Mac with MS Office installed
keeps Menlo.
@simon04
simon04 requested a review from a team as a code owner September 14, 2026 09:53
@simon04 simon04 self-assigned this Sep 14, 2026
@simon04
simon04 merged commit 9ed2ec6 into main Sep 14, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant