Skip to content

Commit 39c9c92

Browse files
authored
Revert font stack changes (#1592)
* Revert `$body-font` changes * Create thirty-pants-relate.md
1 parent e3c8f90 commit 39c9c92

File tree

2 files changed

+6
-22
lines changed

2 files changed

+6
-22
lines changed

.changeset/thirty-pants-relate.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@primer/css": minor
3+
---
4+
5+
Revert font stack changes

src/support/variables/typography.scss

+1-22
Original file line numberDiff line numberDiff line change
@@ -32,28 +32,7 @@ $lh-condensed: 1.25 !default;
3232
$lh-default: 1.5 !default;
3333

3434
// Font stacks
35-
$body-font:
36-
// Apple OSs
37-
-apple-system,
38-
BlinkMacSystemFont,
39-
40-
// Windows
41-
// Note this should be prioritized over `system-ui` to avoid legacy fonts.
42-
// See https://infinnie.github.io/blog/2017/systemui.html
43-
"Segoe UI Variable Text",
44-
"Segoe UI",
45-
"Meiryo", // Improves font rendering for Japanese, see https://github.com/primer/css/pull/1573.
46-
47-
// Linux-friendly system-level fonts + fallbacks
48-
system-ui,
49-
ui-sans-serif,
50-
Helvetica,
51-
Arial,
52-
sans-serif,
53-
54-
// Emojis
55-
"Apple Color Emoji",
56-
"Segoe UI Emoji" !default;
35+
$body-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji" !default;
5736

5837
// Monospace font stack
5938
// Note: SFMono-Regular needs to come before SF Mono to fix an older version of the font in Chrome

0 commit comments

Comments
 (0)