diff options
author | Martijn Cuppens <martijn.cuppens@gmail.com> | 2019-07-25 10:41:13 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2019-07-25 10:41:13 +0300 |
commit | 1c05c1dbf11ad272c142b1007e2ded1aa5cf3d7b (patch) | |
tree | dc04bd84bc16f5324e92bff1bc1306436529d6df /scss/_alert.scss | |
parent | 172d580db37a24d8f564acc5ae4deb811ba85699 (diff) |
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.scss | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scss/_alert.scss b/scss/_alert.scss index da2a98af94..45d6218065 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)); } } |