Fix deprecation warning with sass 1.56.0#37425
Conversation
julien-deramond
left a comment
There was a problem hiding this comment.
Thanks @blankse. We haven't bumped the dependency yet but it's gonna be useful when we'll do it :)
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
|
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 201 │ @return mix(rgba($foreground, 1), $background, opacity($foreground) * 100); |
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
|
I have sass 1.57.1, still getting same warning |
|
Hey @Janatbek, if so please create a new issue with all the versions used to reproduce the problem. |
|
@Janatbek Which bootstrap version do you use? This bugfix is only included in the current version v5.2.3 |
|
I'm on ⬇️ |
|
Also, the notice on GH says:
|
|
This was fixed in 5.2.3. If you are getting the warning, it's either your local modules or another part in your Sass. https://github.com/twbs/bootstrap/actions/runs/3517040211/jobs/5894345876 |
Closes #37424
Description
With the new sass version 1.56.0 (https://github.com/sass/dart-sass/releases/tag/1.56.0) I get following deprecation warning:
Type of changes
Checklist
npm run lint)