-
Notifications
You must be signed in to change notification settings - Fork 12
fix: Wave 3 — Sass deprecations, deep combinator, and template fixes #428
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
base: upgrade/angular-core
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| @import "./app/shared/scss/themes"; | ||
| @use "./app/shared/scss/themes"; | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 📝 *Info: styles.scss uses @use without 'as ' correctly for side-effect-only import The Was this helpful? React with 👍 or 👎 to provide feedback. |
||
|
|
||
| html { | ||
| height: 100%; | ||
|
|
||
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.
📝 Info: darken() to color.adjust() conversion is semantically equivalent
The conversion from
darken($theme-amoledblack-text-color, 33%)tocolor.adjust($theme-amoledblack-text-color, $lightness: -33%)atsrc/app/shared/scss/_themes.scss:235is correct. Sass'sdarken($color, $amount)is defined as equivalent tocolor.adjust($color, $lightness: -$amount)— both subtract the given percentage points from the HSL lightness value. The input color$theme-amoledblack-text-colorisrgba(255, 255, 255, 0.75)(defined atsrc/app/shared/scss/_theme_variables.scss:35), which has lightness 100%, so subtracting 33 percentage points yields lightness 67% — identical behavior to the original.Was this helpful? React with 👍 or 👎 to provide feedback.