Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <markdotto@gmail.com>2022-10-13 22:38:50 +0300
committerMark Otto <markdotto@gmail.com>2022-11-11 21:29:06 +0300
commitded3c898330822c5dfd42b6ad5b4548ac64718fa (patch)
tree37fddbb54c63e9483a266b50feeeb6b4e60a674b
parentdf60586af901ff5af7bbccefdf26fdc276aeb6a2 (diff)
Reassign text-muted to new CSS variable, deprecate it
-rw-r--r--scss/_variables.scss2
-rw-r--r--site/content/docs/5.2/utilities/colors.md4
2 files changed, 5 insertions, 1 deletions
diff --git a/scss/_variables.scss b/scss/_variables.scss
index 0b8f140a54..80046691be 100644
--- a/scss/_variables.scss
+++ b/scss/_variables.scss
@@ -660,7 +660,7 @@ $small-font-size: .875em !default;
$sub-sup-font-size: .75em !default;
-$text-muted: $gray-600 !default;
+$text-muted: var(--#{$prefix}secondary-color) !default;
$initialism-font-size: $small-font-size !default;
diff --git a/site/content/docs/5.2/utilities/colors.md b/site/content/docs/5.2/utilities/colors.md
index 80aa4db746..7b5709aedb 100644
--- a/site/content/docs/5.2/utilities/colors.md
+++ b/site/content/docs/5.2/utilities/colors.md
@@ -33,6 +33,10 @@ Colorize text with color utilities. If you want to colorize links, you can use t
**Deprecation:** With the addition of `.text-opacity-*` utilities and CSS variables for text utilities, `.text-black-50` and `.text-white-50` are deprecated as of v5.1.0. They'll be removed in v6.0.0.
{{< /callout >}}
+{{< callout warning >}}
+**Deprecation:** With the addition of the expanded theme colors and variables, the `.text-muted` utility has been deprecated as of v5.3.0. Its default value has also has been reassigned to the new `--bs-secondary-color` CSS variable to better support color modes. It will be removed in v6.0.0.
+{{< /callout >}}
+
{{< callout info >}}
{{< partial "callouts/warning-color-assistive-technologies.md" >}}
{{< /callout >}}