1
1
mirror of https://github.com/primer/css.git synced 2024-12-27 08:05:06 +03:00

Revert font stack changes (#1592)

* Revert `$body-font` changes

* Create thirty-pants-relate.md
This commit is contained in:
simurai 2021-09-14 09:58:30 +09:00 committed by GitHub
parent e3c8f90e7f
commit 39c9c92874
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 22 deletions

View File

@ -0,0 +1,5 @@
---
"@primer/css": minor
---
Revert font stack changes

View File

@ -32,28 +32,7 @@ $lh-condensed: 1.25 !default;
$lh-default: 1.5 !default;
// Font stacks
$body-font:
// Apple OSs
-apple-system,
BlinkMacSystemFont,
// Windows
// Note this should be prioritized over `system-ui` to avoid legacy fonts.
// See https://infinnie.github.io/blog/2017/systemui.html
"Segoe UI Variable Text",
"Segoe UI",
"Meiryo", // Improves font rendering for Japanese, see https://github.com/primer/css/pull/1573.
// Linux-friendly system-level fonts + fallbacks
system-ui,
ui-sans-serif,
Helvetica,
Arial,
sans-serif,
// Emojis
"Apple Color Emoji",
"Segoe UI Emoji" !default;
$body-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji" !default;
// Monospace font stack
// Note: SFMono-Regular needs to come before SF Mono to fix an older version of the font in Chrome