Skip to content

Commit c39d8a3

Browse files
committed
Move Menlo before Consolas in monospace font stack
1 parent 8448839 commit c39d8a3

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/heavy-rings-sip.md

+5
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

+1-1
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)