From: EricDunsworth <1907279+EricDunsworth@users.noreply.github.com> Date: Tue, 29 Nov 2022 07:07:27 +0000 (-0500) Subject: Docs: Add black text/background examples (#37538) X-Git-Tag: v5.3.0-alpha1~49 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=019a9774817ff8269821c36dd102554b739d35df;p=thirdparty%2Fbootstrap.git Docs: Add black text/background examples (#37538) These classes have existed since 5.1 but weren't previously documented. Specifically: * .text-black * .bg-black * .bg-black.bg-gradient Co-authored-by: Mark Otto --- diff --git a/site/content/docs/5.2/utilities/background.md b/site/content/docs/5.2/utilities/background.md index ef7b2468e8..dad71ec372 100644 --- a/site/content/docs/5.2/utilities/background.md +++ b/site/content/docs/5.2/utilities/background.md @@ -17,11 +17,11 @@ Similar to the contextual text color classes, set the background of an element t
.bg-{{ .name }}-subtle
{{- end -}} {{< /colors.inline >}} -

.bg-body-secondary

.bg-body-tertiary

.bg-body
+
.bg-black
.bg-white
.bg-transparent
{{< /example >}} @@ -38,6 +38,7 @@ Do you need a gradient in your custom CSS? Just add `background-image: var(--bs-
.bg-{{ .name }}.bg-gradient
{{- end -}} {{< /colors.inline >}} +
.bg-black.bg-gradient
{{< /markdown >}} ## Opacity diff --git a/site/content/docs/5.2/utilities/colors.md b/site/content/docs/5.2/utilities/colors.md index 94418ac5e2..4b1647242c 100644 --- a/site/content/docs/5.2/utilities/colors.md +++ b/site/content/docs/5.2/utilities/colors.md @@ -24,6 +24,7 @@ Colorize text with color utilities. If you want to colorize links, you can use t

.text-body-secondary

.text-body-tertiary

+

.text-black

.text-white

.text-black-50

.text-white-50