Skip to content

Commit 0298b69

Browse files
authored
Move Menlo before Consolas in monospace font stack (#1487)
1 parent 8448839 commit 0298b69

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/heavy-rings-sip.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@primer/css': patch
3+
---
4+
5+
Move Menlo before Consolas in monospace font stack

src/support/variables/typography.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ $body-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, san
3636

3737
// Monospace font stack
3838
// Note: SFMono-Regular needs to come before SF Mono to fix an older version of the font in Chrome
39-
$mono-font: ui-monospace, SFMono-Regular, SF Mono, Consolas, Liberation Mono, Menlo, monospace !default;
39+
$mono-font: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace !default;
4040

4141
// The base body size
4242
$body-font-size: 14px !default;

0 commit comments

Comments
 (0)