diff options
author | Mona Brahmakshatriya <monajmakwana@gmail.com> | 2021-04-18 00:23:56 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-18 00:23:56 +0300 |
commit | 6fc74ebbbf014e107c4ea3022a661f2633ecd842 (patch) | |
tree | 13c06327a37d1e7f2676e6afe33b811ef944c780 /scss/_list-group.scss | |
parent | 69f5c0130b4f13e0dc22d86bf1bbe1b362891cd7 (diff) |
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/_list-group.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 2193168c52..7daa9f10d8 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); |