-
-
Notifications
You must be signed in to change notification settings - Fork 157
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Bug description
@import is deprecated in the latest versions of sass (https://sass-lang.com/documentation/breaking-changes/import/). So is desaturate: https://sass-lang.com/documentation/modules/color/#desaturate
Expected behavior
It should work exactly the same with no warnings.
Steps to reproduce
- Build with sass 1.80.4
- See error:
Deprecation Warning [color-functions]: lighten() is deprecated. Suggestions:
color.scale($color, $lightness: 38.6363636364%)
color.adjust($color, $lightness: 30%)
More info: https://sass-lang.com/d/color-functions
╷
57 │ color: lighten(desaturate($select-color-item-text, 100%), $select-lighten-disabled-item-text);
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
node_modules/tom-select/dist/scss/_items.scss 57:11 @import
and
Deprecation Warning [import]: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.
More info and automated migrator: https://sass-lang.com/d/import
╷
71 │ @import 'items';
│ ^^^^^^^
╵
node_modules/tom-select/dist/scss/tom-select.scss 71:9 @use
app/assets/stylesheets/redesign/vendor/tom-select.scss 4:1 @use
Additional context
- OS: [e.g. iOS, Windows]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
- Device: [e.g. iPhone6]
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working