Add Bootstrap alert CSS variable overrides
This commit is contained in:
parent
aa453ab770
commit
93fc9c2963
|
@ -81,6 +81,7 @@ $navbar-inverse-toggle-border-color: #512da8;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@import
|
@import
|
||||||
|
"overrides/alerts",
|
||||||
"overrides/buttons",
|
"overrides/buttons",
|
||||||
"overrides/colors",
|
"overrides/colors",
|
||||||
"overrides/card",
|
"overrides/card",
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
@each $color in $colorNames {
|
||||||
|
.alert-#{$color} {
|
||||||
|
color: RGB(var(--#{$color}-text));
|
||||||
|
background-color: var(--#{$color});
|
||||||
|
border-color: var(--#{$color});
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue