1
1
mirror of https://github.com/primer/css.git synced 2024-11-25 18:26:14 +03:00

Move Menlo before Consolas in monospace font stack (#1487)

This commit is contained in:
Aramis Razzaghipour 2021-07-02 16:02:44 +10:00 committed by GitHub
parent 84488397f4
commit 0298b69bda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -0,0 +1,5 @@
---
'@primer/css': patch
---
Move Menlo before Consolas in monospace font stack

View File

@ -36,7 +36,7 @@ $body-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, san
// Monospace font stack
// Note: SFMono-Regular needs to come before SF Mono to fix an older version of the font in Chrome
$mono-font: ui-monospace, SFMono-Regular, SF Mono, Consolas, Liberation Mono, Menlo, monospace !default;
$mono-font: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace !default;
// The base body size
$body-font-size: 14px !default;