Skip to content

Commit

Permalink
Merge pull request mmistakes#331 from hvianna/master
Browse files Browse the repository at this point in the history
Fix native font stack precedence issue on Windows systems.
  • Loading branch information
pmarsceill authored Sep 11, 2020
2 parents a9842d2 + 8ff2e57 commit 3220266
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions _sass/support/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// Typography
//

$body-font-family: -apple-system, BlinkMacSystemFont, "helvetica neue",
helvetica, roboto, noto, "segoe ui", arial, sans-serif !default;
$body-font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
Roboto, "Helvetica Neue", Arial, sans-serif !default;
$mono-font-family: "SFMono-Regular", Menlo, Consolas, Monospace !default;
$root-font-size: 16px !default; // Base font-size for rems
$body-line-height: 1.4 !default;
Expand Down
2 changes: 1 addition & 1 deletion docs/ui-components/typography.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ nav_order: 1
By default, Just the Docs uses a native system font stack for sans-serif fonts:

```scss
-apple-system, BlinkMacSystemFont, "helvetica neue", helvetica, roboto, noto, "segoe ui", arial, sans-serif
system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif
```

ABCDEFGHIJKLMNOPQRSTUVWXYZ
Expand Down

0 comments on commit 3220266

Please sign in to comment.