mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-31 09:05:47 +02:00
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.
This commit is contained in:
committed by
XhmikosR
parent
172d580db3
commit
1c05c1dbf1
@@ -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));
|
||||
}
|
||||
|
Reference in New Issue
Block a user