-
-
Notifications
You must be signed in to change notification settings - Fork 113
Open
Description
I got this deprecation warning after a node_modules wipe triggered an asset rebuild, if I'm not mistaken. Notice warnings coming from node_modules/tiny-slider/src/tiny-slider.scss and css/custom.scss. I can reproduce by deleting priv/static/assets/custom.css and re-running the server. Haven't investigated much, just wanted to flag the issue for now.
DEPRECATION WARNING: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.
Recommendation: math.div(100% * $count, $perpage) or calc(100% * $count / $perpage)
More info and automated migrator: https://sass-lang.com/d/slash-div
β·
124 β width: (100% * $count / $perpage);
β ^^^^^^^^^^^^^^^^^^^^^^^^
β΅
node_modules/tiny-slider/src/tiny-slider.scss 124:13 @import
css/custom.scss 3:9 root stylesheet
DEPRECATION WARNING: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.
Recommendation: math.div(100%, $count) or calc(100% / $count)
More info and automated migrator: https://sass-lang.com/d/slash-div
β·
136 β width: (100% / $count);
β ^^^^^^^^^^^^^
β΅
node_modules/tiny-slider/src/tiny-slider.scss 136:15 @import
css/custom.scss 3:9 root stylesheet
DEPRECATION WARNING: math.random() will no longer ignore $limit units (60s) in a future release.
Recommendation: math.random(math.div($limit, 1s)) * 1s
To preserve current behavior: math.random(math.div($limit, 1s))
More info: https://sass-lang.com/d/function-units
β·
31 β animation-duration: math.div(random($animationDuration * 10), 10) * 1s + 10s;
β ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
β΅
css/custom.scss 31:36 root stylesheet
DEPRECATION WARNING: math.random() will no longer ignore $limit units (16s) in a future release.
Recommendation: math.random(math.div($limit, 1s)) * 1s
To preserve current behavior: math.random(math.div($limit, 1s))
More info: https://sass-lang.com/d/function-units
β·
32 β animation-delay: math.div(random($animationDuration + 10s) * 10, 10) * -1s;
β ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
β΅
css/custom.scss 32:33 root stylesheet
Compiled css/custom.scss to ../priv/static/assets/custom.css.
Metadata
Metadata
Assignees
Labels
No labels