-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path_material-symbols.scss
81 lines (67 loc) · 1.5 KB
/
_material-symbols.scss
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
$default-symbols-duration: 0.5s !default;
@keyframes symbols-pulse {
0% {
font-variation-settings: "wght" 100;
}
50% {
font-variation-settings: "wght" 700;
}
100% {
font-variation-settings: "wght" 100;
}
}
@keyframes symbols-fill {
0% {
font-variation-settings: "FILL" 0;
}
100% {
font-variation-settings: "FILL" 1;
}
}
@keyframes symbols-empty {
0% {
font-variation-settings: "FILL" 1;
}
100% {
font-variation-settings: "FILL" 0;
}
}
.symbols-pulse i,
.symbols-pulse-hover:hover i,
.symbols-fill i,
.symbols-fill-hover:hover i,
.symbols-empty i,
.symbols-empty-hover:hover i {
animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1);
animation-duration: var(--duration, $default-symbols-duration);
}
.symbols-pulse i,
.symbols-pulse-hover:hover i {
--duration: #{$default-symbols-duration * 3};
animation-name: symbols-pulse;
animation-iteration-count: infinite;
}
.symbols-fill i,
.symbols-fill-hover:hover i {
animation-name: symbols-fill;
animation-fill-mode: forwards;
}
.symbols-empty i,
.symbols-empty-hover:hover i {
animation-name: symbols-empty;
animation-fill-mode: forwards;
}
.material-symbols-rounded,
.material-symbols-outlined,
.material-symbols-sharp {
font-variation-settings: "FILL" var(--fill, 0), "wght" var(--weight, 400), "GRAD" var(--grad, 0), "OPSZ" var(--opsz, 24);
}
.dark {
--grad: -25;
background: black;
color: rgba(255, 255, 255, 1);
&[disabled],
&.disabled {
color: rgba(255, 255, 255, 0.3);
}
}