]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Add docs callout for utilities that don't respond to color modes
authorMark Otto <markdotto@gmail.com>
Mon, 16 Jan 2023 23:50:08 +0000 (15:50 -0800)
committerMark Otto <otto@github.com>
Tue, 17 Jan 2023 00:57:57 +0000 (16:57 -0800)
site/content/docs/5.3/utilities/background.md
site/content/docs/5.3/utilities/borders.md
site/content/docs/5.3/utilities/colors.md

index dad71ec372a7e61c69e5386b069220277a602fc8..9dafc488b073bbd208155ad23a4d79d6d70a193c 100644 (file)
@@ -10,6 +10,10 @@ toc: true
 
 Similar to the contextual text color classes, set the background of an element to any contextual class. Background utilities **do not set `color`**, so in some cases you'll want to use `.text-*` [color utilities]({{< docsref "/utilities/colors" >}}).
 
+{{< callout info >}}
+Background utilities like `.bg-*` that generated from our original `$theme-colors` Sass map don't yet respond to color modes, howver, any `.bg-*-subtle` utility will. This will be resolved in v6.
+{{< /callout >}}
+
 {{< example >}}
 {{< colors.inline >}}
 {{- range (index $.Site.Data "theme-colors") }}
index 50df793f2e448a1e4ad7a19a7395bdb0f261e871..a59f7a7e7d764b72e7f0c717245d8ad9da9ebdc6 100644 (file)
@@ -36,6 +36,10 @@ Or remove borders:
 
 ## Color
 
+{{< callout info >}}
+Border utilities like `.border-*` that generated from our original `$theme-colors` Sass map don't yet respond to color modes, howver, any `.border-*-subtle` utility will. This will be resolved in v6.
+{{< /callout >}}
+
 Change the border color using utilities built on our theme colors.
 
 {{< example class="bd-example-border-utils" >}}
index 9a68cad664e64fe64db11eebf7cf3ef99839a320..91741ca6e13fb1545fed687542490466d1b95fd7 100644 (file)
@@ -10,6 +10,10 @@ toc: true
 
 Colorize text with color utilities. If you want to colorize links, you can use the [`.link-*` helper classes]({{< docsref "/helpers/colored-links" >}}) which have `:hover` and `:focus` states.
 
+{{< callout info >}}
+Color utilities like `.text-*` that generated from our original `$theme-colors` Sass map don't yet respond to color modes, howver, any `.text-*-emphasis` utility will. This will be resolved in v6.
+{{< /callout >}}
+
 {{< example >}}
 {{< colors.inline >}}
 {{- range (index $.Site.Data "theme-colors") }}