File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
spec/values/numbers/units/multiple Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 1
1
<===> input.scss
2
2
@use "sass:meta";
3
- $number: 1px * 1rad / 1ms / 1Hz;
3
+ $number: 96px * 1rad / 1ms / 1Hz;
4
4
a {
5
5
b: meta.inspect($number / 1in);
6
6
}
7
7
8
8
<===> output.css
9
9
a {
10
- b: calc(0.0104166667rad / 1ms / 1Hz);
10
+ b: calc(1rad / 1ms / 1Hz);
11
11
}
12
12
13
13
<===> warning
14
14
DEPRECATION WARNING [slash-div]: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.
15
15
16
- Recommendation: math.div(1px * 1rad, 1ms) or calc(1px * 1rad / 1ms)
16
+ Recommendation: math.div(96px * 1rad, 1ms) or calc(96px * 1rad / 1ms)
17
17
18
18
More info and automated migrator: https://sass-lang.com/d/slash-div
19
19
20
20
,
21
- 2 | $number: 1px * 1rad / 1ms / 1Hz;
22
- | ^^^^^^^^^^^^^^^^
21
+ 2 | $number: 96px * 1rad / 1ms / 1Hz;
22
+ | ^^^^^^^^^^^^^^^^^
23
23
'
24
24
input.scss 2:10 root stylesheet
25
25
26
26
DEPRECATION WARNING [slash-div]: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.
27
27
28
- Recommendation: math.div(math.div(1px * 1rad, 1ms), 1Hz) or calc(1px * 1rad / 1ms / 1Hz)
28
+ Recommendation: math.div(math.div(96px * 1rad, 1ms), 1Hz) or calc(96px * 1rad / 1ms / 1Hz)
29
29
30
30
More info and automated migrator: https://sass-lang.com/d/slash-div
31
31
32
32
,
33
- 2 | $number: 1px * 1rad / 1ms / 1Hz;
34
- | ^^^^^^^^^^^^^^^^^^^^^^
33
+ 2 | $number: 96px * 1rad / 1ms / 1Hz;
34
+ | ^^^^^^^^^^^^^^^^^^^^^^^
35
35
'
36
36
input.scss 2:10 root stylesheet
37
37
You can’t perform that action at this time.
0 commit comments