diff --git a/.changeset/cute-bats-chew.md b/.changeset/cute-bats-chew.md new file mode 100644 index 0000000000..c360c01735 --- /dev/null +++ b/.changeset/cute-bats-chew.md @@ -0,0 +1,5 @@ +--- +'@primer/css': patch +--- + +Add --fontStack-sansSerif to $body-font variable diff --git a/src/support/variables/typography.scss b/src/support/variables/typography.scss index ae02718b43..97817a3f98 100644 --- a/src/support/variables/typography.scss +++ b/src/support/variables/typography.scss @@ -32,7 +32,7 @@ $lh-condensed: 1.25 !default; $lh-default: 1.5 !default; // Font stacks -$body-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji' !default; +$body-font: var(--fontStack-sansSerif, -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