Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Blank <sebastian.bl@gmx.de>2022-11-04 16:44:11 +0300
committerGitHub <noreply@github.com>2022-11-04 16:44:11 +0300
commit2b21094074b1bdabf9ebc4095c29398f8b2de237 (patch)
tree3a15fcff877cc06791b2a43d1c13b9fd13411b81
parent8509fa81023edd32921f46e662a5daf5a9ebba92 (diff)
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.scss2
1 files changed, 1 insertions, 1 deletions
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