style(desktop): lead --dt-font-mono with bundled JetBrains Mono
Code/diff blocks preferred a system Cascadia Code before the bundled JetBrains Mono, so they drifted from the terminal (which leads with JetBrains Mono) on machines where Cascadia is installed. Reorder so every mono surface uses the face we actually ship.
This commit is contained in:
parent
a61baa9615
commit
c6fbd5a104
1 changed files with 4 additions and 1 deletions
|
|
@ -299,8 +299,11 @@
|
|||
'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji', emoji;
|
||||
/* Key caps always use the native UI face — never theme typography overrides. */
|
||||
--dt-font-kbd: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', system-ui, sans-serif;
|
||||
/* JetBrains Mono first — the face we bundle (@font-face above) and the
|
||||
terminal's primary — so code/diff match the terminal on every platform
|
||||
instead of drifting to a system Cascadia Code where it's installed. */
|
||||
--dt-font-mono:
|
||||
'Cascadia Code', 'JetBrains Mono', 'SF Mono', ui-monospace, Menlo, Consolas, monospace, 'Apple Color Emoji',
|
||||
'JetBrains Mono', 'Cascadia Code', 'SF Mono', ui-monospace, Menlo, Consolas, monospace, 'Apple Color Emoji',
|
||||
'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji', emoji;
|
||||
--dt-base-size: 1rem;
|
||||
--dt-line-height: 1.5;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue