mirror of
https://github.com/thangisme/notes.git
synced 2024-11-20 06:26:17 -05:00
Updated native font stack, as suggested in https://github.com/pmarsceill/just-the-docs/issues/330#issuecomment-650415240
This commit is contained in:
parent
1f492b68f3
commit
72b6de8862
@ -2,8 +2,8 @@
|
|||||||
// Typography
|
// Typography
|
||||||
//
|
//
|
||||||
|
|
||||||
$body-font-family: -apple-system, BlinkMacSystemFont, "helvetica neue",
|
$body-font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
|
||||||
"segoe ui", helvetica, roboto, noto, arial, sans-serif !default;
|
Roboto, "Helvetica Neue", Arial, sans-serif !default;
|
||||||
$mono-font-family: "SFMono-Regular", Menlo, Consolas, Monospace !default;
|
$mono-font-family: "SFMono-Regular", Menlo, Consolas, Monospace !default;
|
||||||
$root-font-size: 16px !default; // Base font-size for rems
|
$root-font-size: 16px !default; // Base font-size for rems
|
||||||
$body-line-height: 1.4 !default;
|
$body-line-height: 1.4 !default;
|
||||||
|
@ -21,7 +21,7 @@ nav_order: 1
|
|||||||
By default, Just the Docs uses a native system font stack for sans-serif fonts:
|
By default, Just the Docs uses a native system font stack for sans-serif fonts:
|
||||||
|
|
||||||
```scss
|
```scss
|
||||||
-apple-system, BlinkMacSystemFont, "helvetica neue", "segoe ui", helvetica, roboto, noto, arial, sans-serif
|
system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif
|
||||||
```
|
```
|
||||||
|
|
||||||
ABCDEFGHIJKLMNOPQRSTUVWXYZ
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ
|
||||||
|
Loading…
Reference in New Issue
Block a user