Commit e582c50
Fix material-symbols Sass deprecations by using CSS asset
Warnings fixed:
- "Sass @import rules are deprecated" from material-symbols/sharp.scss.
- "Global built-in functions are deprecated" (to-lower-case, str-index, str-slice, str-length) from material-symbols/_core.scss.
Approach:
- Replace material-symbols/sharp.scss import with material-symbols/sharp.css in ExternalStyles.scss.
Why this approach:
- Uses upstream distributed CSS, so our build no longer compiles third-party Sass that triggers deprecation warnings.
- Keeps the same font-face and utility class output with minimal risk.
Alternatives considered:
- Keep SCSS and silence deprecations: rejected because it masks dependency issues broadly.
- Patch material-symbols Sass locally: rejected due to long-term maintenance burden.
Co-authored-by: Chris Zetter <zetter-rpf@users.noreply.github.com>1 parent ec895fc commit e582c50
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
0 commit comments