From 2f459afb979d893ac0d03d5d5550747589fa65bf Mon Sep 17 00:00:00 2001 From: Andres Galante Date: Mon, 2 Oct 2017 18:58:33 -0700 Subject: [PATCH] Adds text-muted and text-white to the examples on color utilities (#23877) --- docs/4.0/utilities/colors.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/4.0/utilities/colors.md b/docs/4.0/utilities/colors.md index ed4ba10664..57afcc6ea5 100644 --- a/docs/4.0/utilities/colors.md +++ b/docs/4.0/utilities/colors.md @@ -9,6 +9,8 @@ toc: true {% example html %} {% for color in site.data.theme-colors %}

.text-{{ color.name }}

{% endfor %} +

.text-muted

+

.text-white

{% endexample %} Contextual text classes also work well on anchors with the provided hover and focus states. **Note that the `.text-white` class has no link styling.** @@ -16,6 +18,8 @@ Contextual text classes also work well on anchors with the provided hover and fo {% example html %} {% for color in site.data.theme-colors %}

{{ color.name | capitalize }} link

{% endfor %} +

Muted link

+

White link

{% endexample %} Similar to the contextual text color classes, easily set the background of an element to any contextual class. Anchor components will darken on hover, just like the text classes. Background utilities **do not set `color`**, so in some cases you'll want to use `.text-*` utilities.