Skip to content

Commit

Permalink
Add Noto Sans to the body font stack (#2300)
Browse files Browse the repository at this point in the history
* Add `Noto Sans` to the font stack

To better support Linux.

* Create lucky-emus-teach.md
  • Loading branch information
simurai committed Nov 7, 2022
1 parent ea9c119 commit 5a0b9b2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/lucky-emus-teach.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/css": minor
---

Add `Noto Sans` to the body font stack
2 changes: 1 addition & 1 deletion src/support/variables/typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ $lh-condensed: 1.25 !default;
$lh-default: 1.5 !default;

// Font stacks
$body-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji' !default;
$body-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', 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
Expand Down

0 comments on commit 5a0b9b2

Please sign in to comment.