Skip to content
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

New deprecations in Sass 1.79 #40849

Open
3 tasks done
mbabker opened this issue Sep 18, 2024 · 2 comments
Open
3 tasks done

New deprecations in Sass 1.79 #40849

mbabker opened this issue Sep 18, 2024 · 2 comments
Labels

Comments

@mbabker
Copy link

mbabker commented Sep 18, 2024

Prerequisites

Describe the issue

In Sass 1.79, a number of color-related functions are deprecated, to include color.red(), color.green(), and color.blue(), with the suggested replacement being the new color.channel() function.

Reduced test cases

Compile Bootstrap's SCSS with Sass 1.79

What operating system(s) are you seeing the problem on?

macOS

What browser(s) are you seeing the problem on?

Chrome

What version of Bootstrap are you using?

v5.3.3

@julien-deramond
Copy link
Member

julien-deramond commented Sep 18, 2024

Hey @mbabker
Yeah, saw that today in our Bootstrap fork at work. Let's keep this issue open for when we'll bump the sass dependency in our repo. In the meantime, I'll try to analyze how to fix the issue. Hopefully, it will be possible. Don't hesitate if there's still no PR yet and you have ideas.

In the meantime, folks having these warnings can pin their sass version waiting for a fix on our side (e.g. npm i [email protected] --save-exact).

@klunker
Copy link

klunker commented Sep 20, 2024

Deprecation Warning: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.
More info: https://sass-lang.com/d/legacy-js-api

Deprecation Warning: red() is deprecated. Suggestion:
color.channel($color, red, $space: rgb)
More info: https://sass-lang.com/d/color-functions

When we can wait for update?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: To analyze
Development

No branches or pull requests

3 participants