Conversation
Sass has deprecated the `if()` function call syntax to resolve conflicts with the upcoming CSS `if()` function. This change replaces all usages of `if()` in `tokens/` with a custom `if-else()` function defined in `tokens/_utils.scss`. Fixes: #5884 Co-authored-by: asyncliz <34382620+asyncliz@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
Sass has deprecated the legacy `if()` function in favor of the new CSS `if()` function. To resolve this, we must use the new Sass syntax `if(sass(...): ...; else: ...)` introduced in Sass 1.95.0. This change: 1. Updates `sass` dependency to `^1.97.3`. 2. Migrates all token files to use the new syntax. Fixes: #5884 Co-authored-by: asyncLiz <34382620+asyncLiz@users.noreply.github.com>
Replaces deprecated Sass
if()function with a customif-elsehelper to avoid build warnings.The custom function uses Sass
@ifflow control which is not deprecated.Refactored all token files to use this new helper.
PR created automatically by Jules for task 18255584388765054269 started by @asyncliz