]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
docs: Add system-ui to native font stack documentation (#32455)
authorAlan Orth <alan.orth@gmail.com>
Tue, 15 Dec 2020 07:10:09 +0000 (09:10 +0200)
committerGitHub <noreply@github.com>
Tue, 15 Dec 2020 07:10:09 +0000 (09:10 +0200)
system-ui was added to the native font stack in #30561 but the docs were not updated.

site/content/docs/5.0/content/reboot.md
site/content/docs/5.0/getting-started/rtl.md

index 4613a7a1199dd47dfd8e24ab7ac772061caedaa5..6529e5ef2085e37530793067e953025050ac5ea0 100644 (file)
@@ -33,6 +33,8 @@ Bootstrap utilizes a "native font stack" or "system font stack" for optimum text
 
 ```scss
 $font-family-sans-serif:
+  // Cross-platform generic font family (default user interface font)
+  system-ui,
   // Safari for macOS and iOS (San Francisco)
   -apple-system,
   // Chrome < 56 for macOS (San Francisco)
index aeaf8c8c3e656e32cd2fb16e8221a1cc5e9527a4..cd209298b47c643c27a63fc28e8e46b15274fa33 100644 (file)
@@ -116,6 +116,8 @@ For example, to switch from `Helvetica Neue Webfont` for LTR to `Helvetica Neue
 ```scss
 $font-family-sans-serif:
   Helvetica Neue #{"/* rtl:insert:Arabic */"},
+  // Cross-platform generic font family (default user interface font)
+  system-ui,
   // Safari for macOS and iOS (San Francisco)
   -apple-system,
   // Chrome < 56 for macOS (San Francisco)