From ded3c898330822c5dfd42b6ad5b4548ac64718fa Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Thu, 13 Oct 2022 12:38:50 -0700 Subject: Reassign text-muted to new CSS variable, deprecate it --- scss/_variables.scss | 2 +- site/content/docs/5.2/utilities/colors.md | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) 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 >}} -- cgit v1.2.3