mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-21 12:51:52 +02:00
docs: Add system-ui to native font stack documentation (#32455)
system-ui was added to the native font stack in #30561 but the docs were not updated.
This commit is contained in:
@@ -33,6 +33,8 @@ Bootstrap utilizes a "native font stack" or "system font stack" for optimum text
|
|||||||
|
|
||||||
```scss
|
```scss
|
||||||
$font-family-sans-serif:
|
$font-family-sans-serif:
|
||||||
|
// Cross-platform generic font family (default user interface font)
|
||||||
|
system-ui,
|
||||||
// Safari for macOS and iOS (San Francisco)
|
// Safari for macOS and iOS (San Francisco)
|
||||||
-apple-system,
|
-apple-system,
|
||||||
// Chrome < 56 for macOS (San Francisco)
|
// Chrome < 56 for macOS (San Francisco)
|
||||||
|
@@ -116,6 +116,8 @@ For example, to switch from `Helvetica Neue Webfont` for LTR to `Helvetica Neue
|
|||||||
```scss
|
```scss
|
||||||
$font-family-sans-serif:
|
$font-family-sans-serif:
|
||||||
Helvetica Neue #{"/* rtl:insert:Arabic */"},
|
Helvetica Neue #{"/* rtl:insert:Arabic */"},
|
||||||
|
// Cross-platform generic font family (default user interface font)
|
||||||
|
system-ui,
|
||||||
// Safari for macOS and iOS (San Francisco)
|
// Safari for macOS and iOS (San Francisco)
|
||||||
-apple-system,
|
-apple-system,
|
||||||
// Chrome < 56 for macOS (San Francisco)
|
// Chrome < 56 for macOS (San Francisco)
|
||||||
|
Reference in New Issue
Block a user