aboutsummaryrefslogtreecommitdiff
path: root/scss/_alert.scss
diff options
context:
space:
mode:
authorMartijn Cuppens <[email protected]>2019-07-25 09:41:13 +0200
committerXhmikosR <[email protected]>2019-07-25 10:41:13 +0300
commit1c05c1dbf11ad272c142b1007e2ded1aa5cf3d7b (patch)
treedc04bd84bc16f5324e92bff1bc1306436529d6df /scss/_alert.scss
parent172d580db37a24d8f564acc5ae4deb811ba85699 (diff)
downloadbootstrap-1c05c1dbf11ad272c142b1007e2ded1aa5cf3d7b.tar.xz
bootstrap-1c05c1dbf11ad272c142b1007e2ded1aa5cf3d7b.zip
Drop `color()`, `theme-color()` & `gray()` functions (#29083)
Drop `color()`, `theme-color()` & `gray()` functions in favor of variables. The functions just called a `map-get()` of a map where just the variables were defined. Also the `theme-color-level()` now accepts any color you want instead of only `$theme-colors` colors. The first value now is a variable instead of the `$theme-colors` key.
Diffstat (limited to 'scss/_alert.scss')
-rw-r--r--scss/_alert.scss2
1 files changed, 1 insertions, 1 deletions
diff --git a/scss/_alert.scss b/scss/_alert.scss
index da2a98af9..45d621806 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, $alert-bg-level), theme-color-level($color, $alert-border-level), theme-color-level($color, $alert-color-level));
+ @include alert-variant(color-level($value, $alert-bg-level), color-level($value, $alert-border-level), color-level($value, $alert-color-level));
}
}