1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-30 08:39:56 +02:00

Deprecate the Sass var and remove any occurence of the .text-muted (#37890)

This commit is contained in:
Louis-Maxime Piton
2023-01-17 00:55:28 +01:00
committed by GitHub
parent 934d7a0c1a
commit 9042efd0f8
52 changed files with 238 additions and 236 deletions

View File

@@ -18,7 +18,7 @@ Colorize text with color utilities. If you want to colorize links, you can use t
{{- end -}}
{{< /colors.inline >}}
<p class="text-body">.text-body</p>
<p class="text-muted">.text-muted</p>
<p class="text-body-secondary">.text-body-secondary</p>
<p class="text-body-emphasis">.text-body-emphasis</p>
<p class="text-body-secondary">.text-body-secondary</p>
@@ -35,7 +35,7 @@ Colorize text with color utilities. If you want to colorize links, you can use t
{{< /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.
**Deprecation:** With the addition of the expanded theme colors and variables, the `.text-body-secondary` 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 >}}

View File

@@ -122,7 +122,7 @@ Change a selection to our monospace font stack with `.font-monospace`.
Reset a text or link's color with `.text-reset`, so that it inherits the color from its parent.
{{< example >}}
<p class="text-muted">
<p class="text-body-secondary">
Muted text with a <a href="#" class="text-reset">reset link</a>.
</p>
{{< /example >}}