aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2019-08-05 16:11:51 +0300
committerXhmikosR <[email protected]>2019-09-16 23:41:57 +0300
commit758ee5f0f8c31f0140cd3df62cd3dd0eef33eecd (patch)
treebe572bf634254e02799e69b6323bf43a401f839b
parent1edba8072db996d72a9b774953c9137eb2159432 (diff)
downloadbootstrap-758ee5f0f8c31f0140cd3df62cd3dd0eef33eecd.tar.xz
bootstrap-758ee5f0f8c31f0140cd3df62cd3dd0eef33eecd.zip
card.md: use `text-dark` for warning card.
-rw-r--r--site/content/docs/4.3/components/card.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/site/content/docs/4.3/components/card.md b/site/content/docs/4.3/components/card.md
index 7efbd6163..4c953a99a 100644
--- a/site/content/docs/4.3/components/card.md
+++ b/site/content/docs/4.3/components/card.md
@@ -409,7 +409,7 @@ Use [text and background utilities]({{< docsref "/utilities/colors" >}}) to chan
{{< example >}}
{{< card.inline >}}
{{- range (index $.Site.Data "theme-colors") }}
-<div class="card{{ if not (eq .name "light") }} text-white{{ end }} bg-{{ .name }} mb-3" style="max-width: 18rem;">
+<div class="card{{ if not (or (eq .name "light") (eq .name "warning")) }} text-white{{ end }} bg-{{ .name }} mb-3" style="max-width: 18rem;">
<div class="card-header">Header</div>
<div class="card-body">
<h5 class="card-title">{{ .name | title }} card title</h5>