diff options
| author | Mark Otto <[email protected]> | 2020-11-13 10:50:59 -0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-11-13 20:50:59 +0200 |
| commit | 55f2192a398cdb4446937322f14b3e7e359a0d00 (patch) | |
| tree | e71a118fc14cbd68e59be239ade796cb4666911c /scss/_list-group.scss | |
| parent | 483b6413e90e5ae01cc7719cb6388bc175d3b275 (diff) | |
| download | bootstrap-55f2192a398cdb4446937322f14b3e7e359a0d00.tar.xz bootstrap-55f2192a398cdb4446937322f14b3e7e359a0d00.zip | |
Rename scale-color() function to shift-color() to avoid collision with Sass's own color function (#32149)
Diffstat (limited to 'scss/_list-group.scss')
| -rw-r--r-- | scss/_list-group.scss | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scss/_list-group.scss b/scss/_list-group.scss index 2ce0c8b15..3d82f8f43 100644 --- a/scss/_list-group.scss +++ b/scss/_list-group.scss @@ -152,8 +152,8 @@ // Organizationally, this must come after the `:hover` states. @each $state, $value in $theme-colors { - $background: scale-color($value, $list-group-item-bg-scale); - $color: scale-color($value, $list-group-item-color-scale); + $background: shift-color($value, $list-group-item-bg-scale); + $color: shift-color($value, $list-group-item-color-scale); @if (contrast-ratio($background, $color) < $min-contrast-ratio) { $color: mix($value, color-contrast($background), abs($alert-color-scale)); } |
