aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBardi Harborow <[email protected]>2016-12-16 23:43:24 +1100
committerMark Otto <[email protected]>2016-12-19 20:29:44 -0800
commitda18d07d8e56ed162474028a53235cbf847466d4 (patch)
tree483f7bd07270ed391c4173156e1d4174cf5e1f93
parent621706d2096bfd4f437b797d0a56c1dd6f0eaaa2 (diff)
downloadbootstrap-da18d07d8e56ed162474028a53235cbf847466d4.tar.xz
bootstrap-da18d07d8e56ed162474028a53235cbf847466d4.zip
Add 'system-ui' to font stack.
-rw-r--r--docs/content/reboot.md4
-rw-r--r--scss/_variables.scss2
2 files changed, 4 insertions, 2 deletions
diff --git a/docs/content/reboot.md b/docs/content/reboot.md
index 5cb4be175..e37f23d7d 100644
--- a/docs/content/reboot.md
+++ b/docs/content/reboot.md
@@ -41,7 +41,9 @@ The default web fonts (Helvetica Neue, Helvetica, and Arial) have been dropped i
$font-family-sans-serif:
// Safari for OS X and iOS (San Francisco)
-apple-system,
- // Chrome for OS X (San Francisco)
+ // Chrome >= 56 for OS X (San Francisco), Windows, Linux and Android
+ system-ui,
+ // Chrome < 56 for OS X (San Francisco)
BlinkMacSystemFont,
// Windows
"Segoe UI",
diff --git a/scss/_variables.scss b/scss/_variables.scss
index 50803fc3f..afa800a5d 100644
--- a/scss/_variables.scss
+++ b/scss/_variables.scss
@@ -225,7 +225,7 @@ $grid-gutter-widths: (
//
// Font, line-height, and color for body text, headings, and more.
-$font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !default;
+$font-family-sans-serif: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !default;
$font-family-serif: Georgia, "Times New Roman", Times, serif !default;
$font-family-monospace: Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !default;
$font-family-base: $font-family-sans-serif !default;