1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

Move alert theme-color() levels to variables

Closes #24341
This commit is contained in:
Mark Otto 2017-12-24 14:36:22 -08:00 committed by Mark Otto
parent be3aa437a1
commit a6ae1cc50d
2 changed files with 5 additions and 1 deletions

View file

@ -46,6 +46,6 @@
@each $color, $value in $theme-colors {
.alert-#{$color} {
@include alert-variant(theme-color-level($color, -10), theme-color-level($color, -9), theme-color-level($color, 6));
@include alert-variant(theme-color-level($color, $alert-bg-level), theme-color-level($color, $alert-border-level), theme-color-level($color, $alert-color-level));
}
}

View file

@ -764,6 +764,10 @@ $alert-border-radius: $border-radius !default;
$alert-link-font-weight: $font-weight-bold !default;
$alert-border-width: $border-width !default;
$alert-bg-level: -10 !default;
$alert-border-level: -9 !default;
$alert-color-level: 6!default;
// Progress bars