aboutsummaryrefslogtreecommitdiff
path: root/scss/_list-group.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/_list-group.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/_list-group.scss')
-rw-r--r--scss/_list-group.scss2
1 files changed, 1 insertions, 1 deletions
diff --git a/scss/_list-group.scss b/scss/_list-group.scss
index 3f20758da..6ac5e5518 100644
--- a/scss/_list-group.scss
+++ b/scss/_list-group.scss
@@ -155,5 +155,5 @@
// Organizationally, this must come after the `:hover` states.
@each $color, $value in $theme-colors {
- @include list-group-item-variant($color, theme-color-level($color, -9), theme-color-level($color, 6));
+ @include list-group-item-variant($color, color-level($value, -9), color-level($value, 6));
}