From 61cc1d8ca659e1c05640ef994ece1e594c0779b9 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 2 Oct 2017 20:57:24 -0700 Subject: [PATCH] fix up colors, closes #23325 --- docs/4.0/utilities/colors.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/4.0/utilities/colors.md b/docs/4.0/utilities/colors.md index 57afcc6ea5..13c0adc8a1 100644 --- a/docs/4.0/utilities/colors.md +++ b/docs/4.0/utilities/colors.md @@ -8,26 +8,26 @@ toc: true {% example html %} {% for color in site.data.theme-colors %} -

.text-{{ color.name }}

{% endfor %} +

.text-{{ color.name }}

{% endfor %}

.text-muted

-

.text-white

+

.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.** +Contextual text classes also work well on anchors with the provided hover and focus states. **Note that the `.text-white` and `.text-muted` class has no link styling.** {% example html %} {% for color in site.data.theme-colors %} -

{{ color.name | capitalize }} link

{% endfor %} +

{{ color.name | capitalize }} link

{% endfor %}

Muted link

-

White 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. {% example html %} {% for color in site.data.theme-colors %} -
.bg-{{ color.name }}
{% endfor %} -
.bg-white
+
.bg-{{ color.name }}
{% endfor %} +
.bg-white
{% endexample %} {% callout info %}