Skip to content

Commit

Permalink
Merge pull request #992 from primer/mono-font
Browse files Browse the repository at this point in the history
Support SF Mono font in Firefox and Safari
  • Loading branch information
simurai committed May 26, 2021
2 parents efbd3a6 + 90f9569 commit a113b7b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/small-spies-give.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/css": minor
---

Support SF Mono font in Firefox & Safari
2 changes: 1 addition & 1 deletion src/support/variables/typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ $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;
$mono-font: ui-monospace, "SF Mono", "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace !default;

// The base body size
$body-font-size: 14px !default;
Expand Down

0 comments on commit a113b7b

Please sign in to comment.