blob: 1674a7c2825034d8fc0fb59c4d29158895425e31 (
plain) (
blame)
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
|
// don't modify this file -> edit 📁 custom-style/_icons.scss to set your custom icons style
:root {
// default icon sizes
--icon-xxxs: 8px;
--icon-xxs: 12px;
--icon-xs: 16px;
--icon-sm: 24px;
--icon-md: 32px;
--icon-lg: 48px;
--icon-xl: 64px;
--icon-xxl: 96px;
--icon-xxxl: 128px;
}
.icon {
--size: 1em;
height: var(--size);
width: var(--size);
display: inline-block;
color: inherit;
fill: currentColor;
line-height: 1;
flex-shrink: 0;
max-width: initial;
}
// icon size
.icon--xxxs { --size: var(--icon-xxxs); }
.icon--xxs { --size: var(--icon-xxs); }
.icon--xs { --size: var(--icon-xs); }
.icon--sm { --size: var(--icon-sm); }
.icon--md { --size: var(--icon-md); }
.icon--lg { --size: var(--icon-lg); }
.icon--xl { --size: var(--icon-xl); }
.icon--xxl { --size: var(--icon-xxl); }
.icon--xxxl { --size: var(--icon-xxxl); }
.icon--is-spinning { // rotate the icon infinitely
animation: icon-spin 1s infinite linear;
}
@keyframes icon-spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
// --------------------------------
// SVG <symbol>
// --------------------------------
// enable icon color corrections
.icon use {
color: inherit;
fill: currentColor;
}
|