-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix deprecation warning with sass 1.56.0 #37425
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
)