-
-
Notifications
You must be signed in to change notification settings - Fork 91
/
Copy pathbase.css
118 lines (107 loc) · 2.3 KB
/
base.css
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
:root {
--border-width-1: 1px;
--border-width-4: 4px;
--border-radius-2: 2px;
--border-radius-4: 4px;
--border-radius-6: 6px;
--border-radius-12: 12px;
--box-shadow: var(--box-shadow-menu);
--box-shadow-menu: 0 5px 17px rgba(0, 0, 0, 0.2),
0 2px 7px rgba(0, 0, 0, 0.15), inset 0 0 0 0.5px #000000,
0 0 0 0.5px rgba(0, 0, 0, 0.1);
--box-shadow-modal: 0 2px 14px rgba(0, 0, 0, 0.15),
0 0 0 0.5px rgba(0, 0, 0, 0.2);
--box-shadow-range-slider: 0 1px 3px 0 rgba(0, 0, 0, 0.1),
0 3px 8px 0 rgba(0, 0, 0, 0.1), 0 0 0.5px 0 rgba(0, 0, 0, 0.18),
inset 0 0 0 0.5px rgba(0, 0, 0, 0.1);
--color-bg-menu: #1e1e1e;
--color-bg-overlay: rgba(0, 0, 0, 0.5);
--font-family: 'Inter', 'Helvetica', sans-serif;
--font-family-code: SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono',
'Courier New', monospace;
--font-size-11: 11px;
--font-size-12: 12px;
--font-weight-regular: 400;
--font-weight-bold: 600;
--line-height-16: 16px;
--opacity-30: 0.3;
--space-extra-small: 8px;
--space-small: 12px;
--space-medium: 16px;
--space-large: 20px;
--space-extra-large: 24px;
--space-0: 0;
--space-4: 4px;
--space-6: 6px;
--space-8: 8px;
--space-12: 12px;
--space-16: 16px;
--space-20: 20px;
--space-24: 24px;
--space-28: 28px;
--space-32: 32px;
--transition-duration-100: 0.1s;
--transition-duration-300: 0.3s;
--z-index-1: 1;
--z-index-2: 2;
}
.figma-dark {
color-scheme: dark;
}
* {
box-sizing: border-box;
border-width: 0;
border-style: solid;
border-color: currentColor;
}
body {
margin: 0;
background-color: var(--figma-color-bg);
color: var(--figma-color-text);
font-family: var(--font-family);
font-size: var(--font-size-11);
font-weight: var(--font-weight-regular);
line-height: var(--line-height-16);
}
div,
span {
cursor: default;
user-select: none;
}
h1,
h2,
h3 {
margin: 0;
font-weight: inherit;
}
button {
padding: 0;
border: 0;
-webkit-appearance: none;
background-color: transparent;
font: inherit;
outline: 0;
}
hr {
border: 0;
margin: 0;
}
label {
display: block;
}
input,
textarea {
padding: 0;
border: 0;
margin: 0;
-webkit-appearance: none;
cursor: default;
font: inherit;
outline: 0;
}
svg {
display: block;
}
::selection {
background-color: var(--figma-color-bg-onselected);
}