diff options
| author | Mona Brahmakshatriya <[email protected]> | 2021-04-18 02:53:56 +0530 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-04-17 14:23:56 -0700 |
| commit | 6fc74ebbbf014e107c4ea3022a661f2633ecd842 (patch) | |
| tree | 13c06327a37d1e7f2676e6afe33b811ef944c780 /scss | |
| parent | 69f5c0130b4f13e0dc22d86bf1bbe1b362891cd7 (diff) | |
| download | bootstrap-6fc74ebbbf014e107c4ea3022a661f2633ecd842.tar.xz bootstrap-6fc74ebbbf014e107c4ea3022a661f2633ecd842.zip | |
fix: use list-group variable instead of alert (#33658)
Use $list-group-item-color-scale variable in list-group NOT $alert-color-scale
Diffstat (limited to 'scss')
| -rw-r--r-- | scss/_list-group.scss | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scss/_list-group.scss b/scss/_list-group.scss index 2193168c5..7daa9f10d 100644 --- a/scss/_list-group.scss +++ b/scss/_list-group.scss @@ -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); |
