-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy paththeme.default.tokens.css
More file actions
253 lines (193 loc) · 4.63 KB
/
Copy paththeme.default.tokens.css
File metadata and controls
253 lines (193 loc) · 4.63 KB
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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
/* DEFAULT THEME: TOKENS */
/*
Raw design tokens. Part of the default theme (see theme.default.css);
Don't edit this file directly. Thee best way is to Override it with your
own theme (see theme.starter.css).
Can't use var() inside media queries, so breakpoints are hard coded in
settings.media-queries.css instead of custom properties
xxs: 240px xs: 360px sm: 480px md: 768px lg: 1024px xl: 1440px xxl: 1920px
*/
/*
• Dimensions (Margin, Padding, Width, Height)
• Aspect Ratios
• Font Families
• Font Size
• Font Weight
• Letter Spacing
• Line Height
• Colors
• Border width
• Border radius
• Box shadows
• Opacity
• Z-index
• Transitions
*/
:root {
/* DIMENSIONS */
--xs1: 4px;
--xs2: 8px;
--xs3: 12px;
--sm1: 16px;
--sm2: 20px;
--sm3: 24px;
--md1: 28px;
--md2: 32px;
--md3: 36px;
--lg1: 40px;
--lg2: 44px;
--lg3: 48px;
--xl1: 56px;
--xl2: 64px;
--xl3: 80px;
--xxl1: 96px;
--xxl2: 112px;
--xxl3: 128px;
--mega1: 160px;
--mega2: 192px;
--mega3: 224px;
--giga1: 256px;
--giga2: 288px;
--giga3: 320px;
--tera1: 384px;
--tera2: 480px;
--tera3: 520px;
/* ASPECT RATIOS */
--ar-square: 1;
--ar-landscape: 4/3;
--ar-portrait: 3/4;
--ar-widescreen: 16/9;
--ar-golden: 1.618/1;
/* */
/* (More typography in elements.text & help.text) */
/* FONT FAMILIES (https://modernfontstacks.com) */
--display:
Avenir, Montserrat, Corbel, URW Gothic, source-sans-pro, ui-sans-serif,
sans-serif;
--text: ui-sans-serif, system-ui, sans-serif;
--mono:
Dank Mono, Inconsolata, Fira Mono, SF Mono, Monaco, Droid Sans Mono,
Source Code Pro, Cascadia Code, Menlo, Consolas, DejaVu Sans Mono,
ui-monospace, monospace;
/* FONT SIZES (https://typescale.com) */
--text-xs: 0.694rem;
--text-sm: 0.833rem;
--text-md: 1rem;
--text-lg: 1.2rem;
--text-xl: 1.44rem;
--display-sm: 1.728rem;
--display-md: 2.074rem;
--display-lg: 2.488rem;
--display-xl: 2.986rem; /* h1 */
--display-mega: 3.583rem;
--display-giga: 4.299rem;
/* FONT WEIGHTS */
--extra-light: 200;
--light: 300;
--book: 400;
--semi-bold: 600;
--bold: 700;
--black: 900;
/* LETTER SPACING */
--tracking-sm: -0.05em;
--tracking-md: 0.025em;
--tracking-lg: 0.05em;
--tracking-xl: 0.075em;
--tracking-xxl: 0.15em;
/* LINE HEIGHT */
--leading-xs: 1;
--leading-sm: 1.15;
--leading-md: 1.375;
--leading-lg: 1.5;
--leading-xl: 1.75;
--leading-xxl: 2;
/* COLORS (https://www.tints.dev) */
/* Base */
--base-0: #fff;
--base-50: #f6f7f9;
--base-100: #edeef1;
--base-200: #d6dbe1;
--base-300: #b2bbc7;
--base-400: #8897a8;
--base-500: #697a8e;
--base-600: #546375;
--base-700: #4a5666;
--base-800: #3c4550;
--base-900: #353c45;
--base-950: #23282e;
/* Primary */
--primary-50: #f0f9ff;
--primary-100: #e0f2fe;
--primary-200: #bae6fd;
--primary-300: #7dd3fc;
--primary-400: #38bdf8;
--primary-500: #0ea5e9;
--primary-600: #0284c7;
--primary-700: #0369a1;
--primary-800: #075985;
--primary-900: #0c4a6e;
--primary-950: #082f49;
/* Feedback */
--yes-100: #d5f6e8;
--yes-200: #afebd4;
--yes-300: #7adbbd;
--yes-400: #46c4a0;
--yes-500: #13886d;
--no-100: #ffe4e6;
--no-200: #fecdd3;
--no-300: #fda4af;
--no-400: #fb7185;
--no-500: #e11d48;
--maybe-100: #fff7d6;
--maybe-200: #fff0b3;
--maybe-300: #ffd64a;
--maybe-400: #ffc220;
--maybe-500: #f9a007;
/* Highlight (text marker) */
--highlight-500: #ffee00;
/* BORDERS */
--border-sm: 1px;
--border-md: 2px;
--border-lg: 4px;
--border-xl: 8px;
--border-xxl: 12px;
--radius-sm: 3px;
--radius-md: 5px;
--radius-lg: 8px;
--radius-xl: 12px;
--radius-xxl: 16px;
--radius-round: 1e5px;
/* DROP SHADOWS */
--shadow-sm:
0 1px 3px 0 var(--ui-shadow-color), 0 1px 2px -1px var(--ui-shadow-color);
--shadow-md:
0 4px 6px -1px var(--ui-shadow-color), 0 2px 4px -2px var(--ui-shadow-color);
--shadow-lg:
0 8px 13px -3px var(--ui-shadow-color),
0 4px 6px -4px var(--ui-shadow-color);
--shadow-xl:
0 20px 20px -5px var(--ui-shadow-color),
0 8px 10px -6px var(--ui-shadow-color);
--shadow-xxl:
0px 11px 8px -6px var(--ui-shadow-color),
0 10px 15px 2px var(--ui-shadow-color);
/* OPACITY */
--o-0: 0; /* overkill for consistency */
--o-1: 0.2;
--o-2: 0.4;
--o-3: 0.6;
--o-4: 0.8;
--o-5: 1;
/* Z-INDEX */
--z-bottom: -1000000000;
--z-0: 0; /* overkill for consistency */
--z-1: 10;
--z-2: 20;
--z-3: 30;
--z-4: 40;
--z-5: 50;
--z-top: 1000000000;
/* TRANSITIONS */
--transition: 220ms ease-in-out;
--transition-fast: 100ms ease-in-out;
}