Add Bootstrap alert CSS variable overrides

This commit is contained in:
Andreas Nedbal 2020-04-28 13:07:58 +02:00
parent aa453ab770
commit 93fc9c2963
2 changed files with 8 additions and 0 deletions

View File

@ -81,6 +81,7 @@ $navbar-inverse-toggle-border-color: #512da8;
*/
@import
"overrides/alerts",
"overrides/buttons",
"overrides/colors",
"overrides/card",

View File

@ -0,0 +1,7 @@
@each $color in $colorNames {
.alert-#{$color} {
color: RGB(var(--#{$color}-text));
background-color: var(--#{$color});
border-color: var(--#{$color});
}
}