]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
card.md: use `text-dark` for warning card.
authorXhmikosR <xhmikosr@gmail.com>
Mon, 5 Aug 2019 13:11:51 +0000 (16:11 +0300)
committerXhmikosR <xhmikosr@gmail.com>
Mon, 16 Sep 2019 20:41:57 +0000 (23:41 +0300)
site/content/docs/4.3/components/card.md

index 7efbd616397db3262f9aef87fc54d071e695a38f..4c953a99a386232f37119e55bf81884914f10d3b 100644 (file)
@@ -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>