mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-31 20:29:07 +01:00
Add Bootstrap alert CSS variable overrides
This commit is contained in:
parent
aa453ab770
commit
93fc9c2963
2 changed files with 8 additions and 0 deletions
|
@ -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",
|
||||||
|
|
7
app/assets/stylesheets/overrides/_alerts.scss
Normal file
7
app/assets/stylesheets/overrides/_alerts.scss
Normal file
|
@ -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 a new issue