Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,37 +1,37 @@
<===> input.scss
@use "sass:meta";
$number: 1px * 1rad / 1ms / 1Hz;
$number: 96px * 1rad / 1ms / 1Hz;
a {
b: meta.inspect($number / 1in);
}

<===> output.css
a {
b: calc(0.0104166667rad / 1ms / 1Hz);
b: calc(1rad / 1ms / 1Hz);
}

<===> warning
DEPRECATION WARNING [slash-div]: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.

Recommendation: math.div(1px * 1rad, 1ms) or calc(1px * 1rad / 1ms)
Recommendation: math.div(96px * 1rad, 1ms) or calc(96px * 1rad / 1ms)

More info and automated migrator: https://sass-lang.com/d/slash-div

,
2 | $number: 1px * 1rad / 1ms / 1Hz;
| ^^^^^^^^^^^^^^^^
2 | $number: 96px * 1rad / 1ms / 1Hz;
| ^^^^^^^^^^^^^^^^^
'
input.scss 2:10 root stylesheet

DEPRECATION WARNING [slash-div]: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.

Recommendation: math.div(math.div(1px * 1rad, 1ms), 1Hz) or calc(1px * 1rad / 1ms / 1Hz)
Recommendation: math.div(math.div(96px * 1rad, 1ms), 1Hz) or calc(96px * 1rad / 1ms / 1Hz)

More info and automated migrator: https://sass-lang.com/d/slash-div

,
2 | $number: 1px * 1rad / 1ms / 1Hz;
| ^^^^^^^^^^^^^^^^^^^^^^
2 | $number: 96px * 1rad / 1ms / 1Hz;
| ^^^^^^^^^^^^^^^^^^^^^^^
'
input.scss 2:10 root stylesheet

Expand Down
Loading