From: Sebastian Blank Date: Fri, 4 Nov 2022 13:44:11 +0000 (+0100) Subject: Fix deprecation warning with sass 1.56.0 (#37425) X-Git-Tag: v5.2.3~5 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=b72236981f098ba13094cfd5ad64db2a77b00ab9;p=thirdparty%2Fbootstrap.git 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 --- diff --git a/scss/_functions.scss b/scss/_functions.scss index 969a4b08bf..26c953bae2 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