aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick H. Lauke <[email protected]>2020-10-25 19:21:42 +0000
committerGitHub <[email protected]>2020-10-25 19:21:42 +0000
commited3097d1458abd0492519d2f5cee06e917f4028b (patch)
treede676754242d0d287740b63e2442dd72d5d1137f
parent594efec0f1e81cce7d315eecb9c47cc1e3cff543 (diff)
downloadbootstrap-ed3097d1458abd0492519d2f5cee06e917f4028b.tar.xz
bootstrap-ed3097d1458abd0492519d2f5cee06e917f4028b.zip
Explicitly mention emoji fonts, tweak sentence in typography (#31960)
-rw-r--r--site/content/docs/5.0/content/reboot.md2
-rw-r--r--site/content/docs/5.0/content/typography.md2
2 files changed, 3 insertions, 1 deletions
diff --git a/site/content/docs/5.0/content/reboot.md b/site/content/docs/5.0/content/reboot.md
index e1cc01183..18f4fb088 100644
--- a/site/content/docs/5.0/content/reboot.md
+++ b/site/content/docs/5.0/content/reboot.md
@@ -51,6 +51,8 @@ $font-family-sans-serif:
"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !default;
```
+Note that because the font stack includes emoji fonts, many common symbol/dingbat unicode characters will be rendered as multi-colored pictographs. Their appearance will vary, depending on the style used in the browser/platform's native emoji font, and they won't be affected by any CSS `color` styles.
+
This `font-family` is applied to the `<body>` and automatically inherited globally throughout Bootstrap. To switch the global `font-family`, update `$font-family-base` and recompile Bootstrap.
## Headings and paragraphs
diff --git a/site/content/docs/5.0/content/typography.md b/site/content/docs/5.0/content/typography.md
index 04da12481..b8e4f558a 100644
--- a/site/content/docs/5.0/content/typography.md
+++ b/site/content/docs/5.0/content/typography.md
@@ -11,7 +11,7 @@ toc: true
Bootstrap sets basic global display, typography, and link styles. When more control is needed, check out the [textual utility classes]({{< docsref "/utilities/text" >}}).
- Use a [native font stack]({{< docsref "/content/reboot#native-font-stack" >}}) that selects the best `font-family` for each OS and device.
-- For a more inclusive and accessible type scale, we assume the browser default root `font-size` (typically 16px) so visitors can customize their browser defaults as needed.
+- For a more inclusive and accessible type scale, we use the browser's default root `font-size` (typically 16px) so visitors can customize their browser defaults as needed.
- Use the `$font-family-base`, `$font-size-base`, and `$line-height-base` attributes as our typographic base applied to the `<body>`.
- Set the global link color via `$link-color` and apply link underlines only on `:hover`.
- Use `$body-bg` to set a `background-color` on the `<body>` (`#fff` by default).