]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Explicitly mention emoji fonts, tweak sentence in typography (#31960)
authorPatrick H. Lauke <redux@splintered.co.uk>
Sun, 25 Oct 2020 19:21:42 +0000 (19:21 +0000)
committerXhmikosR <xhmikosr@gmail.com>
Tue, 27 Oct 2020 10:11:01 +0000 (12:11 +0200)
site/docs/4.5/content/reboot.md
site/docs/4.5/content/typography.md

index 712e3d11f41a46df6269ec08f0265c6319344884..fed0a339c07230167ff34485e3182686eb071f3e 100644 (file)
@@ -51,6 +51,8 @@ $font-family-sans-serif:
   "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !default;
 {% endhighlight %}
 
+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
index b568d20f22ce7dcc5a6f78a63c68a5cefafc20a1..37caddb2cc2e1c913ae7aecbb720b183ebe7dd15 100644 (file)
@@ -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]({{ site.baseurl }}/docs/{{ site.docs_version }}/utilities/text/).
 
 - Use a [native font stack]({{ site.baseurl }}/docs/{{ site.docs_version }}/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).