diff --git a/docs/4.0/utilities/colors.md b/docs/4.0/utilities/colors.md index 3d06b3e4e..11ac0be60 100644 --- a/docs/4.0/utilities/colors.md +++ b/docs/4.0/utilities/colors.md @@ -15,14 +15,14 @@ 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 %} +

{{ color.name | capitalize }} link

{% endfor %} {% 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-{{ color.name }}
{% endfor %} {% endexample %} {% callout info %} diff --git a/scss/utilities/_background.scss b/scss/utilities/_background.scss index cc21859e8..853d08ebd 100644 --- a/scss/utilities/_background.scss +++ b/scss/utilities/_background.scss @@ -1,11 +1,3 @@ -// -// Contextual backgrounds -// - -.bg-faded { - background-color: darken($body-bg, 3%); -} - @each $color, $value in $theme-colors { @include bg-variant('.bg-#{$color}', $value); }