1
1
mirror of https://github.com/primer/css.git synced 2024-12-23 22:24:11 +03:00

Support SF Mono font in Firefox and Safari (take 2) (#1451)

* Update monospace font stack

* Create early-ducks-decide.md
This commit is contained in:
simurai 2021-06-09 10:27:59 +09:00 committed by GitHub
parent c65b5f9cf0
commit 9181b479a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View File

@ -0,0 +1,5 @@
---
"@primer/css": minor
---
Support SF Mono font in Firefox and Safari

View File

@ -35,7 +35,8 @@ $lh-default: 1.5 !default;
$body-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji" !default;
// Monospace font stack
$mono-font: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace !default;
// 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;
// The base body size
$body-font-size: 14px !default;