Skip to content

Commit 24ad18b

Browse files
committed
card.md: use text-dark for warning card.
1 parent 0a783b0 commit 24ad18b

File tree

1 file changed

+1
-1
lines changed
  • site/content/docs/4.3/components

1 file changed

+1
-1
lines changed

site/content/docs/4.3/components/card.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ Use [text and background utilities]({{< docsref "/utilities/colors" >}}) to chan
409409
{{< example >}}
410410
{{< card.inline >}}
411411
{{- range (index $.Site.Data "theme-colors") }}
412-
<div class="card{{ if not (eq .name "light") }} text-white{{ end }} bg-{{ .name }} mb-3" style="max-width: 18rem;">
412+
<div class="card{{ if not (or (eq .name "light") (eq .name "warning")) }} text-white{{ end }} bg-{{ .name }} mb-3" style="max-width: 18rem;">
413413
<div class="card-header">Header</div>
414414
<div class="card-body">
415415
<h5 class="card-title">{{ .name | title }} card title</h5>

0 commit comments

Comments
 (0)