From: Gaƫl Poupard Date: Mon, 30 Mar 2020 12:07:09 +0000 (+0200) Subject: docs(colors): better color utilities pairing to ensure sufficient contrast X-Git-Tag: v5.0.0-alpha1~91 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7e1b914ef43fee0d309b9463f7f5bc5442845ba;p=thirdparty%2Fbootstrap.git docs(colors): better color utilities pairing to ensure sufficient contrast --- diff --git a/site/content/docs/5.0/components/card.md b/site/content/docs/5.0/components/card.md index 3b250db735..015b5d9362 100644 --- a/site/content/docs/5.0/components/card.md +++ b/site/content/docs/5.0/components/card.md @@ -422,7 +422,7 @@ Use [text and background utilities]({{< docsref "/utilities/colors" >}}) to chan {{< example >}} {{< card.inline >}} {{- range (index $.Site.Data "theme-colors") }} -
+
Header
{{ .name | title }} card title
@@ -446,7 +446,7 @@ Use [border utilities]({{< docsref "/utilities/borders" >}}) to change just the {{- range (index $.Site.Data "theme-colors") }}
Header
-
+
{{ .name | title }} card title

Some quick example text to build on the card title and make up the bulk of the card's content.

diff --git a/site/content/docs/5.0/components/navbar.md b/site/content/docs/5.0/components/navbar.md index e50821b8c0..e47833e8bf 100644 --- a/site/content/docs/5.0/components/navbar.md +++ b/site/content/docs/5.0/components/navbar.md @@ -338,7 +338,7 @@ Theming the navbar has never been easier thanks to the combination of theming cl
- +
diff --git a/site/content/docs/5.0/utilities/colors.md b/site/content/docs/5.0/utilities/colors.md index 86f4741466..76788034be 100644 --- a/site/content/docs/5.0/utilities/colors.md +++ b/site/content/docs/5.0/utilities/colors.md @@ -13,7 +13,7 @@ Colorize text with color utilities. If you want to colorize links, you can use t {{< example >}} {{< colors.inline >}} {{- range (index $.Site.Data "theme-colors") }} -

.text-{{ .name }}

+

.text-{{ .name }}

{{- end -}} {{< /colors.inline >}}

.text-body

@@ -30,7 +30,7 @@ Similar to the contextual text color classes, easily set the background of an el {{< example >}} {{< colors.inline >}} {{- range (index $.Site.Data "theme-colors") }} -
.bg-{{ .name }}
+
.bg-{{ .name }}
{{- end -}} {{< /colors.inline >}}
.bg-white