Commit a6ae1cc5 authored by Mark Otto's avatar Mark Otto Committed by Mark Otto
Browse files

Move alert theme-color() levels to variables

Closes #24341
parent be3aa437
Showing with 5 additions and 1 deletion
+5 -1
...@@ -46,6 +46,6 @@ ...@@ -46,6 +46,6 @@
@each $color, $value in $theme-colors { @each $color, $value in $theme-colors {
.alert-#{$color} { .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));
} }
} }
...@@ -764,6 +764,10 @@ $alert-border-radius: $border-radius !default; ...@@ -764,6 +764,10 @@ $alert-border-radius: $border-radius !default;
$alert-link-font-weight: $font-weight-bold !default; $alert-link-font-weight: $font-weight-bold !default;
$alert-border-width: $border-width !default; $alert-border-width: $border-width !default;
$alert-bg-level: -10 !default;
$alert-border-level: -9 !default;
$alert-color-level: 6!default;
// Progress bars // Progress bars
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment