File tree 1 file changed +19
-1
lines changed
site/content/docs/5.3/components
1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ toc: true
12
12
<button type =" button " class =" btn-close " aria-label =" Close " ></button >
13
13
{{< /example >}}
14
14
15
- ## Dark Close Button
15
+ ## Dark Variant
16
16
17
17
{{< example >}}
18
18
<div class =" bg-dark p-2 " >
@@ -55,3 +55,21 @@ toc: true
55
55
</div >
56
56
</div >
57
57
{{< /example >}}
58
+
59
+ ## Toast and Close Button issue
60
+
61
+ Forcing ` data-bs-theme="light" ` didn't work in dark mode. Now, the cross button is always dark.
62
+
63
+ {{< example >}}
64
+ <div class =" toast " role =" alert " aria-live =" assertive " aria-atomic =" true " >
65
+ <div class =" toast-header bg-warning " data-bs-theme =" light " >
66
+ <img src="..." class="rounded me-2" alt="...">
67
+ <strong class="me-auto">Warning!</strong>
68
+ <small>11 mins ago</small>
69
+ <button type="button" class="btn-close" data-bs-dismiss="toast" aria-label="Close"></button>
70
+ </div >
71
+ <div class =" toast-body " >
72
+ This is a warning message.
73
+ </div >
74
+ </div >
75
+ {{< /example >}}
You can’t perform that action at this time.
0 commit comments