aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scss/_alert.scss2
-rw-r--r--scss/_variables.scss4
2 files changed, 5 insertions, 1 deletions
diff --git a/scss/_alert.scss b/scss/_alert.scss
index c2d5c8109..dd43e2376 100644
--- a/scss/_alert.scss
+++ b/scss/_alert.scss
@@ -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));
}
}
diff --git a/scss/_variables.scss b/scss/_variables.scss
index b99b477fb..c7dbdcf84 100644
--- a/scss/_variables.scss
+++ b/scss/_variables.scss
@@ -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