mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-18 10:52:19 +01:00
Docs: fix emphasis text utilities usage in Utilities > Background (#39293)
This commit is contained in:
parent
790dc80753
commit
72d6722b34
@ -22,7 +22,7 @@ Background utilities like `.bg-*` that generated from our original `$theme-color
|
|||||||
{{< colors.inline >}}
|
{{< colors.inline >}}
|
||||||
{{- range (index $.Site.Data "theme-colors") }}
|
{{- range (index $.Site.Data "theme-colors") }}
|
||||||
<div class="p-3 mb-2 bg-{{ .name }}{{ if .contrast_color }} text-{{ .contrast_color }}{{ else }} text-white{{ end }}">.bg-{{ .name }}</div>
|
<div class="p-3 mb-2 bg-{{ .name }}{{ if .contrast_color }} text-{{ .contrast_color }}{{ else }} text-white{{ end }}">.bg-{{ .name }}</div>
|
||||||
<div class="p-3 mb-2 bg-{{ .name }}-subtle text-emphasis-{{ .name }}">.bg-{{ .name }}-subtle</div>
|
<div class="p-3 mb-2 bg-{{ .name }}-subtle text-{{ .name }}-emphasis">.bg-{{ .name }}-subtle</div>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{< /colors.inline >}}
|
{{< /colors.inline >}}
|
||||||
<p class="p-3 mb-2 bg-body-secondary">.bg-body-secondary</p>
|
<p class="p-3 mb-2 bg-body-secondary">.bg-body-secondary</p>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user