@afluem/tokens 0.0.0-stage → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,395 @@
1
+ :root {
2
+ --af-font-family-display: "Bricolage Grotesque Variable", "Bricolage Grotesque", "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
3
+ --af-font-family-sans: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
4
+ --af-font-family-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
5
+ --af-text-display-xl-size: 76px;
6
+ --af-text-display-xl-line-height: 72px;
7
+ --af-text-display-xl-weight: 800;
8
+ --af-text-display-xl-tracking: -0.035em;
9
+ --af-text-display-l-size: 52px;
10
+ --af-text-display-l-line-height: 54px;
11
+ --af-text-display-l-weight: 800;
12
+ --af-text-display-l-tracking: -0.03em;
13
+ --af-text-display-m-size: 34px;
14
+ --af-text-display-m-line-height: 38px;
15
+ --af-text-display-m-weight: 700;
16
+ --af-text-display-m-tracking: -0.02em;
17
+ --af-text-lead-size: 18px;
18
+ --af-text-lead-line-height: 30px;
19
+ --af-text-lead-weight: 400;
20
+ --af-text-lead-tracking: -0.005em;
21
+ --af-text-action-size: 15px;
22
+ --af-text-action-line-height: 20px;
23
+ --af-text-action-weight: 600;
24
+ --af-text-doc-title-size: 32px;
25
+ --af-text-doc-title-line-height: 40px;
26
+ --af-text-doc-title-weight: 700;
27
+ --af-text-doc-title-tracking: -0.025em;
28
+ --af-text-doc-h2-size: 22px;
29
+ --af-text-doc-h2-line-height: 30px;
30
+ --af-text-doc-h2-weight: 600;
31
+ --af-text-doc-h2-tracking: -0.015em;
32
+ --af-text-doc-h3-size: 17px;
33
+ --af-text-doc-h3-line-height: 26px;
34
+ --af-text-doc-h3-weight: 600;
35
+ --af-text-doc-h3-tracking: -0.005em;
36
+ --af-text-doc-body-size: 16px;
37
+ --af-text-doc-body-line-height: 28px;
38
+ --af-text-doc-body-weight: 400;
39
+ --af-text-doc-small-size: 14px;
40
+ --af-text-doc-small-line-height: 22px;
41
+ --af-text-doc-small-weight: 400;
42
+ --af-text-page-title-size: 20px;
43
+ --af-text-page-title-line-height: 28px;
44
+ --af-text-page-title-weight: 600;
45
+ --af-text-page-title-tracking: -0.015em;
46
+ --af-text-title-size: 16px;
47
+ --af-text-title-line-height: 24px;
48
+ --af-text-title-weight: 600;
49
+ --af-text-heading-size: 14px;
50
+ --af-text-heading-line-height: 20px;
51
+ --af-text-heading-weight: 600;
52
+ --af-text-body-l-size: 14px;
53
+ --af-text-body-l-line-height: 22px;
54
+ --af-text-body-l-weight: 400;
55
+ --af-text-body-size: 13px;
56
+ --af-text-body-line-height: 20px;
57
+ --af-text-body-weight: 400;
58
+ --af-text-label-size: 13px;
59
+ --af-text-label-line-height: 18px;
60
+ --af-text-label-weight: 500;
61
+ --af-text-caption-size: 12px;
62
+ --af-text-caption-line-height: 18px;
63
+ --af-text-caption-weight: 400;
64
+ --af-text-code-size: 13px;
65
+ --af-text-code-line-height: 22px;
66
+ --af-text-code-weight: 400;
67
+ --af-text-data-size: 13px;
68
+ --af-text-data-line-height: 20px;
69
+ --af-text-data-weight: 400;
70
+ --af-text-data-s-size: 12px;
71
+ --af-text-data-s-line-height: 18px;
72
+ --af-text-data-s-weight: 400;
73
+ --af-text-data-xs-size: 11px;
74
+ --af-text-data-xs-line-height: 16px;
75
+ --af-text-data-xs-weight: 400;
76
+ --af-text-data-xs-tracking: 0.01em;
77
+ --af-text-metric-size: 24px;
78
+ --af-text-metric-line-height: 30px;
79
+ --af-text-metric-weight: 500;
80
+ --af-text-metric-tracking: -0.03em;
81
+ --af-text-eyebrow-size: 11.5px;
82
+ --af-text-eyebrow-line-height: 16px;
83
+ --af-text-eyebrow-weight: 600;
84
+ --af-text-eyebrow-tracking: 0.12em;
85
+ --af-space-1: 4px;
86
+ --af-space-2: 8px;
87
+ --af-space-3: 12px;
88
+ --af-space-4: 16px;
89
+ --af-space-5: 20px;
90
+ --af-space-6: 24px;
91
+ --af-space-8: 32px;
92
+ --af-space-12: 48px;
93
+ --af-space-16: 64px;
94
+ --af-space-24: 96px;
95
+ --af-radius-xs: 2px;
96
+ --af-radius-sm: 4px;
97
+ --af-radius-md: 6px;
98
+ --af-radius-lg: 8px;
99
+ --af-radius-xl: 12px;
100
+ --af-size-control-sm: 28px;
101
+ --af-size-control-md: 32px;
102
+ --af-size-control-lg: 40px;
103
+ --af-size-row: 40px;
104
+ --af-size-row-comfortable: 44px;
105
+ --af-size-row-dense: 36px;
106
+ --af-size-sidebar-app: 240px;
107
+ --af-size-sidebar: 256px;
108
+ --af-size-reading-max: 720px;
109
+ --af-size-content-max: 1200px;
110
+ --af-size-perf-hole: 6px;
111
+ --af-size-perf-pitch: 12px;
112
+ --af-size-stamp-shift: 3px;
113
+ --af-duration-fast: 120ms;
114
+ --af-duration-base: 160ms;
115
+ --af-duration-slow: 200ms;
116
+ --af-duration-stagger: 40ms;
117
+ --af-easing-out: cubic-bezier(0.16, 1, 0.3, 1);
118
+ --af-easing-in: cubic-bezier(0.7, 0, 0.84, 0);
119
+ --af-z-hint: 40;
120
+ --af-z-backdrop: 50;
121
+ --af-z-layer: 51;
122
+ --af-z-menu: 55;
123
+ --af-z-toast: 60;
124
+ --af-z-skip: 70;
125
+ }
126
+
127
+ :root,
128
+ [data-theme="light"] {
129
+ --af-color-surface: #f6efe1;
130
+ --af-color-surface-raised: #fdfaf3;
131
+ --af-color-surface-sunken: #efe7d8;
132
+ --af-color-surface-overlay: #fefbf7;
133
+ --af-color-surface-hover: #f0e9db;
134
+ --af-color-surface-active: #eae2d3;
135
+ --af-color-line: #dfd8cb;
136
+ --af-color-line-strong: #c7c0b1;
137
+ --af-color-control-border: #868073;
138
+ --af-color-ink: #1d1a14;
139
+ --af-color-ink-muted: #5f5a51;
140
+ --af-color-airmail: #2253b5;
141
+ --af-color-airmail-hover: #1545a2;
142
+ --af-color-airmail-press: #0f3a90;
143
+ --af-color-on-airmail: #fafcff;
144
+ --af-color-airmail-text: #1e4eac;
145
+ --af-color-airmail-soft: #e0ecff;
146
+ --af-color-airmail-line: #acc5f2;
147
+ --af-color-ok: #146d34;
148
+ --af-color-ok-soft: #dcf7e1;
149
+ --af-color-ok-line: #a6daaf;
150
+ --af-color-ok-solid: #1b9247;
151
+ --af-color-warn: #945a00;
152
+ --af-color-warn-soft: #ffeecb;
153
+ --af-color-warn-line: #f0cb8d;
154
+ --af-color-warn-solid: #c37902;
155
+ --af-color-fail: #af2b25;
156
+ --af-color-fail-soft: #ffe7e3;
157
+ --af-color-fail-line: #f8bdb4;
158
+ --af-color-fail-solid: #d7352d;
159
+ --af-color-danger: #b3241f;
160
+ --af-color-on-danger: #fffbfa;
161
+ --af-color-ink-inverse: #f6efe1;
162
+ --af-color-unknown: #5f5a51;
163
+ --af-color-unknown-soft: #efe7d8;
164
+ --af-color-unknown-line: #c7c0b1;
165
+ --af-color-unknown-solid: #868073;
166
+ --af-color-focus: #1e4eac;
167
+ --af-color-stamp-airmail: #2451b3;
168
+ --af-color-stamp-vermilion: #b9361f;
169
+ --af-color-stamp-kraft: #c08f55;
170
+ --af-color-stamp-ink: #1c1914;
171
+ --af-color-stamp-paper: #fbf8f1;
172
+ --af-color-on-stamp-kraft: #1c1914;
173
+ --af-color-stamp-reply: #ff9478;
174
+ --af-color-stamp-edge: #d8ccb3;
175
+ --af-shadow-xs: 0 1px 2px 0 #1d1a140f;
176
+ --af-shadow-sm: 0 0 0 1px #dfd8cb, 0 1px 2px 0 #1d1a140f;
177
+ --af-shadow-lg: 0 0 0 1px #dfd8cb, 0 16px 40px -12px #1d1a1438;
178
+ --af-shadow-stamp: 3px 3px 0 0 #1d1a14;
179
+ --af-shadow-edge: inset 0 0 0 2px #1d1a14;
180
+ --af-shadow-edge-primary: inset 0 0 0 2px #1d1a14;
181
+ --af-shadow-focus-ring: 0 0 0 2px #f6efe1, 0 0 0 4px #1e4eac;
182
+ --af-offset-press: 3px;
183
+ color-scheme: light;
184
+ }
185
+
186
+ @media (prefers-color-scheme: dark) {
187
+ :root:not([data-theme="light"]) {
188
+ --af-color-surface: #141310;
189
+ --af-color-surface-raised: #1b1916;
190
+ --af-color-surface-sunken: #0d0c09;
191
+ --af-color-surface-overlay: #22201c;
192
+ --af-color-surface-hover: #22201c;
193
+ --af-color-surface-active: #2a2723;
194
+ --af-color-line: #2b2924;
195
+ --af-color-line-strong: #3f3d37;
196
+ --af-color-control-border: #7e7a72;
197
+ --af-color-ink: #eee9df;
198
+ --af-color-ink-muted: #bdb8af;
199
+ --af-color-airmail: #3065cc;
200
+ --af-color-airmail-hover: #2559bf;
201
+ --af-color-airmail-press: #1e4eac;
202
+ --af-color-on-airmail: #fafcff;
203
+ --af-color-airmail-text: #97bbfb;
204
+ --af-color-airmail-soft: #162644;
205
+ --af-color-airmail-line: #28467d;
206
+ --af-color-ok: #76cf8a;
207
+ --af-color-ok-soft: #15291a;
208
+ --af-color-ok-line: #244d2e;
209
+ --af-color-ok-solid: #4cb86a;
210
+ --af-color-warn: #f0be67;
211
+ --af-color-warn-soft: #31240e;
212
+ --af-color-warn-line: #5b4315;
213
+ --af-color-warn-solid: #efb146;
214
+ --af-color-fail: #f58c7f;
215
+ --af-color-fail-soft: #3a1d1a;
216
+ --af-color-fail-line: #6c352f;
217
+ --af-color-fail-solid: #ec5c50;
218
+ --af-color-danger: #c5372f;
219
+ --af-color-on-danger: #fffbfa;
220
+ --af-color-ink-inverse: #141310;
221
+ --af-color-unknown: #bdb8af;
222
+ --af-color-unknown-soft: #0d0c09;
223
+ --af-color-unknown-line: #3f3d37;
224
+ --af-color-unknown-solid: #7e7a72;
225
+ --af-color-focus: #97bbfb;
226
+ --af-color-stamp-airmail: #2451b3;
227
+ --af-color-stamp-vermilion: #b9361f;
228
+ --af-color-stamp-kraft: #c08f55;
229
+ --af-color-stamp-ink: #1c1914;
230
+ --af-color-stamp-paper: #fbf8f1;
231
+ --af-color-on-stamp-kraft: #1c1914;
232
+ --af-color-stamp-reply: #ff9478;
233
+ --af-color-stamp-edge: #d8ccb3;
234
+ --af-shadow-xs: 0 0 0 0 #0000;
235
+ --af-shadow-sm: 0 0 0 1px #2b2924;
236
+ --af-shadow-lg: 0 0 0 1px #3f3d37, 0 20px 48px -12px #000000b3;
237
+ --af-shadow-stamp: 0 0 0 0 #0000;
238
+ --af-shadow-edge: inset 0 0 0 1px #3f3d37;
239
+ --af-shadow-edge-primary: inset 0 0 0 1px #3065cc;
240
+ --af-shadow-focus-ring: 0 0 0 2px #141310, 0 0 0 4px #97bbfb;
241
+ --af-offset-press: 0px;
242
+ color-scheme: dark;
243
+ }
244
+ }
245
+
246
+ [data-theme="dark"] {
247
+ --af-color-surface: #141310;
248
+ --af-color-surface-raised: #1b1916;
249
+ --af-color-surface-sunken: #0d0c09;
250
+ --af-color-surface-overlay: #22201c;
251
+ --af-color-surface-hover: #22201c;
252
+ --af-color-surface-active: #2a2723;
253
+ --af-color-line: #2b2924;
254
+ --af-color-line-strong: #3f3d37;
255
+ --af-color-control-border: #7e7a72;
256
+ --af-color-ink: #eee9df;
257
+ --af-color-ink-muted: #bdb8af;
258
+ --af-color-airmail: #3065cc;
259
+ --af-color-airmail-hover: #2559bf;
260
+ --af-color-airmail-press: #1e4eac;
261
+ --af-color-on-airmail: #fafcff;
262
+ --af-color-airmail-text: #97bbfb;
263
+ --af-color-airmail-soft: #162644;
264
+ --af-color-airmail-line: #28467d;
265
+ --af-color-ok: #76cf8a;
266
+ --af-color-ok-soft: #15291a;
267
+ --af-color-ok-line: #244d2e;
268
+ --af-color-ok-solid: #4cb86a;
269
+ --af-color-warn: #f0be67;
270
+ --af-color-warn-soft: #31240e;
271
+ --af-color-warn-line: #5b4315;
272
+ --af-color-warn-solid: #efb146;
273
+ --af-color-fail: #f58c7f;
274
+ --af-color-fail-soft: #3a1d1a;
275
+ --af-color-fail-line: #6c352f;
276
+ --af-color-fail-solid: #ec5c50;
277
+ --af-color-danger: #c5372f;
278
+ --af-color-on-danger: #fffbfa;
279
+ --af-color-ink-inverse: #141310;
280
+ --af-color-unknown: #bdb8af;
281
+ --af-color-unknown-soft: #0d0c09;
282
+ --af-color-unknown-line: #3f3d37;
283
+ --af-color-unknown-solid: #7e7a72;
284
+ --af-color-focus: #97bbfb;
285
+ --af-color-stamp-airmail: #2451b3;
286
+ --af-color-stamp-vermilion: #b9361f;
287
+ --af-color-stamp-kraft: #c08f55;
288
+ --af-color-stamp-ink: #1c1914;
289
+ --af-color-stamp-paper: #fbf8f1;
290
+ --af-color-on-stamp-kraft: #1c1914;
291
+ --af-color-stamp-reply: #ff9478;
292
+ --af-color-stamp-edge: #d8ccb3;
293
+ --af-shadow-xs: 0 0 0 0 #0000;
294
+ --af-shadow-sm: 0 0 0 1px #2b2924;
295
+ --af-shadow-lg: 0 0 0 1px #3f3d37, 0 20px 48px -12px #000000b3;
296
+ --af-shadow-stamp: 0 0 0 0 #0000;
297
+ --af-shadow-edge: inset 0 0 0 1px #3f3d37;
298
+ --af-shadow-edge-primary: inset 0 0 0 1px #3065cc;
299
+ --af-shadow-focus-ring: 0 0 0 2px #141310, 0 0 0 4px #97bbfb;
300
+ --af-offset-press: 0px;
301
+ color-scheme: dark;
302
+ }
303
+
304
+ [data-layer="console"],
305
+ [data-layer="console"] [data-theme="light"] {
306
+ --af-color-surface: #ffffff;
307
+ --af-color-surface-raised: #ffffff;
308
+ --af-color-surface-sunken: #f7f6f3;
309
+ --af-color-surface-overlay: #ffffff;
310
+ --af-color-surface-hover: #f4f3f1;
311
+ --af-color-surface-active: #eeedea;
312
+ --af-color-line: #e7e6e3;
313
+ --af-color-line-strong: #d6d4d0;
314
+ --af-color-control-border: #888682;
315
+ --af-color-ink: #1a1814;
316
+ --af-color-ink-muted: #605d59;
317
+ --af-color-ink-inverse: #ffffff;
318
+ --af-color-unknown: #605d59;
319
+ --af-color-unknown-soft: #f7f6f3;
320
+ --af-color-unknown-line: #d6d4d0;
321
+ --af-color-unknown-solid: #888682;
322
+ --af-shadow-sm: 0 0 0 1px #e7e6e3, 0 1px 2px 0 #1d1a140f;
323
+ --af-shadow-lg: 0 0 0 1px #e7e6e3, 0 16px 40px -12px #1d1a1438;
324
+ --af-shadow-stamp: 0 0 0 0 #0000;
325
+ --af-shadow-edge: inset 0 0 0 1px #d6d4d0, 0 1px 2px 0 #1d1a140f;
326
+ --af-shadow-edge-primary: inset 0 1px 0 0 #ffffff1f, 0 1px 2px 0 #0f3a9040;
327
+ --af-shadow-focus-ring: 0 0 0 2px #ffffff, 0 0 0 4px #1e4eac;
328
+ --af-offset-press: 0px;
329
+ }
330
+
331
+ @media (prefers-color-scheme: dark) {
332
+ :root:not([data-theme="light"])[data-layer="console"],
333
+ :root:not([data-theme="light"]) [data-layer="console"]:not([data-theme="light"], [data-theme="light"] *) {
334
+ --af-color-surface: #11100f;
335
+ --af-color-surface-raised: #181715;
336
+ --af-color-surface-sunken: #0b0a08;
337
+ --af-color-surface-overlay: #1f1e1b;
338
+ --af-color-surface-hover: #1d1c19;
339
+ --af-color-surface-active: #252421;
340
+ --af-color-line: #252421;
341
+ --af-color-line-strong: #373532;
342
+ --af-color-control-border: #797772;
343
+ --af-color-ink: #edebe7;
344
+ --af-color-ink-muted: #bab7b2;
345
+ --af-color-ink-inverse: #11100f;
346
+ --af-color-unknown: #bab7b2;
347
+ --af-color-unknown-soft: #0b0a08;
348
+ --af-color-unknown-line: #373532;
349
+ --af-color-unknown-solid: #797772;
350
+ --af-shadow-sm: 0 0 0 1px #252421;
351
+ --af-shadow-lg: 0 0 0 1px #373532, 0 20px 48px -12px #000000b3;
352
+ --af-shadow-stamp: 0 0 0 0 #0000;
353
+ --af-shadow-edge: inset 0 0 0 1px #373532;
354
+ --af-shadow-edge-primary: inset 0 0 0 1px #3065cc;
355
+ --af-shadow-focus-ring: 0 0 0 2px #11100f, 0 0 0 4px #97bbfb;
356
+ --af-offset-press: 0px;
357
+ }
358
+ }
359
+
360
+ [data-theme="dark"][data-layer="console"],
361
+ [data-theme="dark"] [data-layer="console"]:not([data-theme="light"], [data-theme="light"] *),
362
+ [data-layer="console"] [data-theme="dark"] {
363
+ --af-color-surface: #11100f;
364
+ --af-color-surface-raised: #181715;
365
+ --af-color-surface-sunken: #0b0a08;
366
+ --af-color-surface-overlay: #1f1e1b;
367
+ --af-color-surface-hover: #1d1c19;
368
+ --af-color-surface-active: #252421;
369
+ --af-color-line: #252421;
370
+ --af-color-line-strong: #373532;
371
+ --af-color-control-border: #797772;
372
+ --af-color-ink: #edebe7;
373
+ --af-color-ink-muted: #bab7b2;
374
+ --af-color-ink-inverse: #11100f;
375
+ --af-color-unknown: #bab7b2;
376
+ --af-color-unknown-soft: #0b0a08;
377
+ --af-color-unknown-line: #373532;
378
+ --af-color-unknown-solid: #797772;
379
+ --af-shadow-sm: 0 0 0 1px #252421;
380
+ --af-shadow-lg: 0 0 0 1px #373532, 0 20px 48px -12px #000000b3;
381
+ --af-shadow-stamp: 0 0 0 0 #0000;
382
+ --af-shadow-edge: inset 0 0 0 1px #373532;
383
+ --af-shadow-edge-primary: inset 0 0 0 1px #3065cc;
384
+ --af-shadow-focus-ring: 0 0 0 2px #11100f, 0 0 0 4px #97bbfb;
385
+ --af-offset-press: 0px;
386
+ }
387
+
388
+ @media (prefers-reduced-motion: reduce) {
389
+ :root {
390
+ --af-duration-fast: 0s;
391
+ --af-duration-base: 0s;
392
+ --af-duration-slow: 0s;
393
+ --af-duration-stagger: 0s;
394
+ }
395
+ }