diff options
| author | Sebastian Blank <[email protected]> | 2022-11-04 14:44:11 +0100 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2022-11-21 20:11:18 +0200 |
| commit | b72236981f098ba13094cfd5ad64db2a77b00ab9 (patch) | |
| tree | 4466d71064ede607914eefa94d9de2655f8667ab | |
| parent | 961d5ff9844372a4e294980c667bbe7e0651cdeb (diff) | |
| download | bootstrap-b72236981f098ba13094cfd5ad64db2a77b00ab9.tar.xz bootstrap-b72236981f098ba13094cfd5ad64db2a77b00ab9.zip | |
Fix deprecation warning with sass 1.56.0 (#37425)
Deprecation Warning: $weight: Passing a number without unit % (100) is deprecated.
To preserve current behavior: $weight * 1%
More info: https://sass-lang.com/d/function-units
| -rw-r--r-- | scss/_functions.scss | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scss/_functions.scss b/scss/_functions.scss index 969a4b08b..26c953bae 100644 --- a/scss/_functions.scss +++ b/scss/_functions.scss @@ -198,7 +198,7 @@ $_luminance-list: .0008 .001 .0011 .0013 .0015 .0017 .002 .0022 .0025 .0027 .003 // Return opaque color // opaque(#fff, rgba(0, 0, 0, .5)) => #808080 @function opaque($background, $foreground) { - @return mix(rgba($foreground, 1), $background, opacity($foreground) * 100); + @return mix(rgba($foreground, 1), $background, opacity($foreground) * 100%); } // scss-docs-start color-functions |
