-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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: avoid using deprecated sass lighten function #2767
fix: avoid using deprecated sass lighten function #2767
Conversation
WalkthroughThe changes involve updating the SCSS files to replace the deprecated Changes
Assessment against linked issues
Recent review detailsConfiguration used: CodeRabbit UI Files selected for processing (2)
Additional comments not posted (7)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
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.
Thank you @asamofal 🙌
And thanks a lot for testing with older version of Sass, I bet there are many people using that. So we'll not break anything for them <3 |
## [11.14.1](v11.14.0...v11.14.1) (2024-09-21) ### Bug Fixes * avoid using deprecated sass lighten function ([#2767](#2767)) ([eb16ab3](eb16ab3))
Merging your PR while listening to https://www.youtube.com/watch?v=6JxAis_v2mw Слава Україні! 🇺🇦 |
🎉 This PR is included in version 11.14.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
closes #2766
Hi! This PR adds support for Sass v1.79.0. Since the
lighten
function is deprecated in this version, warnings appear during the build process. More details about the sass api changes can be found here.I replaced
lighten
function withcolor.adjust
that gives exactly the same result. According to Sass recommendations it's event better to usecolor.scale
function to avoid using absolute terms but then the colors will be changed a little bit. I'm not sure how "serious" you are here about the colors... so I decide "just to fix it" without making any other changes.I tested it with both Sass
1.55.0
and1.79.0
versions, building and tests are ok now.Summary by CodeRabbit
New Features
Bug Fixes