mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
fix: use list-group variable instead of alert (#33658)
Use $list-group-item-color-scale variable in list-group NOT $alert-color-scale
This commit is contained in:
parent
69f5c0130b
commit
6fc74ebbbf
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@
|
|||
$list-group-background: shift-color($value, $list-group-item-bg-scale);
|
||||
$list-group-color: shift-color($value, $list-group-item-color-scale);
|
||||
@if (contrast-ratio($list-group-background, $list-group-color) < $min-contrast-ratio) {
|
||||
$list-group-color: mix($value, color-contrast($list-group-background), abs($alert-color-scale));
|
||||
$list-group-color: mix($value, color-contrast($list-group-background), abs($list-group-item-color-scale));
|
||||
}
|
||||
|
||||
@include list-group-item-variant($state, $list-group-background, $list-group-color);
|
||||
|
|
Loading…
Add table
Reference in a new issue