-
Notifications
You must be signed in to change notification settings - Fork 87
/
units.hrx
43 lines (34 loc) · 871 Bytes
/
units.hrx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<===> hue/deg/input.scss
@use 'sass:color';
a {b: color.hwb(0deg, 30%, 40%)}
<===> hue/deg/output.css
a {
b: #994d4d;
}
<===>
================================================================================
<===> hue/rad/input.scss
@use 'sass:color';
a {b: color.hwb(1rad, 30%, 40%)}
<===> hue/rad/output.css
a {
b: #99964d;
}
<===>
================================================================================
<===> hue/non_angle/input.scss
@use 'sass:color';
a {b: color.hwb(1in, 30%, 40%)}
<===> hue/non_angle/output.css
a {
b: #994e4d;
}
<===> hue/non_angle/warning
DEPRECATION WARNING: $hue: Passing a unit other than deg (1in) is deprecated.
To preserve current behavior: calc($hue / 1in)
See https://sass-lang.com/d/function-units
,
2 | a {b: color.hwb(1in, 30%, 40%)}
| ^^^^^^^^^^^^^^^^^^^^^^^^
'
input.scss 2:7 root stylesheet