mirror of
https://github.com/twbs/bootstrap.git
synced 2025-03-15 15:29:22 +01:00
Use variables for list-group-item color levels (#30009)
Co-authored-by: Martijn Cuppens <martijn.cuppens@gmail.com>
This commit is contained in:
parent
22a535641b
commit
a1b5a64fba
@ -157,5 +157,5 @@
|
|||||||
// Organizationally, this must come after the `:hover` states.
|
// Organizationally, this must come after the `:hover` states.
|
||||||
|
|
||||||
@each $color, $value in $theme-colors {
|
@each $color, $value in $theme-colors {
|
||||||
@include list-group-item-variant($color, color-level($value, -9), color-level($value, 6));
|
@include list-group-item-variant($color, color-level($value, $list-group-item-bg-level), color-level($value, $list-group-item-color-level));
|
||||||
}
|
}
|
||||||
|
@ -1105,6 +1105,8 @@ $list-group-border-radius: $border-radius !default;
|
|||||||
|
|
||||||
$list-group-item-padding-y: .75rem !default;
|
$list-group-item-padding-y: .75rem !default;
|
||||||
$list-group-item-padding-x: 1.25rem !default;
|
$list-group-item-padding-x: 1.25rem !default;
|
||||||
|
$list-group-item-bg-level: -9 !default;
|
||||||
|
$list-group-item-color-level: 6 !default;
|
||||||
|
|
||||||
$list-group-hover-bg: $gray-100 !default;
|
$list-group-hover-bg: $gray-100 !default;
|
||||||
$list-group-active-color: $component-active-color !default;
|
$list-group-active-color: $component-active-color !default;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user