@alea-design/tokens 0.10.8 → 0.10.10
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.
- package/package.json +1 -2
- package/src/base.json +0 -516
- package/src/look-primitives.json +0 -9014
- package/src/primitives.json +0 -367
- package/src/semantic.json +0 -1561
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alea-design/tokens",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.10",
|
|
4
4
|
"description": "Alea design tokens: CSS variables (dark and light), JSON, JS and Figma variables from one W3C source.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"design tokens",
|
|
@@ -35,7 +35,6 @@
|
|
|
35
35
|
},
|
|
36
36
|
"files": [
|
|
37
37
|
"dist",
|
|
38
|
-
"src",
|
|
39
38
|
"LICENSE",
|
|
40
39
|
"README.md"
|
|
41
40
|
],
|
package/src/base.json
DELETED
|
@@ -1,516 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"spacing": {
|
|
3
|
-
"$type": "dimension",
|
|
4
|
-
"base": {
|
|
5
|
-
"$value": "0.25rem",
|
|
6
|
-
"$description": "The base of the space scale, in rem (1rem = 16px): 0.25rem (4px) in Comfy, 0.125rem (2px) in Compact (set data-density=\"compact\"). space-<N> is N x this; in Compact an odd pixel result is rounded up to the next even number of pixels.",
|
|
7
|
-
"$extensions": { "fun.lab": { "compact": "0.125rem" } }
|
|
8
|
-
}
|
|
9
|
-
},
|
|
10
|
-
"space": {
|
|
11
|
-
"$type": "dimension",
|
|
12
|
-
"$description": "The space scale, in rem (1rem = 16px). Comfy: step N is N x 0.25rem (4px; space-4 = 1rem = 16px). Compact (data-density=\"compact\"): N x 0.125rem (2px), an odd pixel result of a whole step rounded up to the next even number of pixels; the half steps (0-5, 1-5, 2-5, 3-5) are literal, base x N: 1, 3, 5 and 7px (0.0625rem, 0.1875rem, 0.3125rem, 0.4375rem); the hairline 0-25 is 1px (0.0625rem) in both.",
|
|
13
|
-
"0": {
|
|
14
|
-
"$value": "0rem"
|
|
15
|
-
},
|
|
16
|
-
"0-25": {
|
|
17
|
-
"$value": "0.0625rem",
|
|
18
|
-
"$description": "Hairline: 1px in Comfy and in Compact (a 0.5px hairline renders blurry, hairlines do not compact). Padding and gaps of 1px."
|
|
19
|
-
},
|
|
20
|
-
"0-5": {
|
|
21
|
-
"$value": "0.125rem"
|
|
22
|
-
},
|
|
23
|
-
"1-5": {
|
|
24
|
-
"$value": "0.375rem",
|
|
25
|
-
"$description": "Half step: 6px (Compact 3px). With 0-5, 2-5 and 3-5 the only Comfy values that are not multiples of 4px."
|
|
26
|
-
},
|
|
27
|
-
"2-5": {
|
|
28
|
-
"$value": "0.625rem",
|
|
29
|
-
"$description": "Half step: 10px (Compact 5px)."
|
|
30
|
-
},
|
|
31
|
-
"3-5": {
|
|
32
|
-
"$value": "0.875rem",
|
|
33
|
-
"$description": "Half step: 14px (Compact 7px)."
|
|
34
|
-
},
|
|
35
|
-
"1": {
|
|
36
|
-
"$value": "0.25rem"
|
|
37
|
-
},
|
|
38
|
-
"2": {
|
|
39
|
-
"$value": "0.5rem"
|
|
40
|
-
},
|
|
41
|
-
"3": {
|
|
42
|
-
"$value": "0.75rem"
|
|
43
|
-
},
|
|
44
|
-
"4": {
|
|
45
|
-
"$value": "1rem"
|
|
46
|
-
},
|
|
47
|
-
"5": {
|
|
48
|
-
"$value": "1.25rem"
|
|
49
|
-
},
|
|
50
|
-
"6": {
|
|
51
|
-
"$value": "1.5rem"
|
|
52
|
-
},
|
|
53
|
-
"7": {
|
|
54
|
-
"$value": "1.75rem"
|
|
55
|
-
},
|
|
56
|
-
"8": {
|
|
57
|
-
"$value": "2rem"
|
|
58
|
-
},
|
|
59
|
-
"10": {
|
|
60
|
-
"$value": "2.5rem"
|
|
61
|
-
},
|
|
62
|
-
"12": {
|
|
63
|
-
"$value": "3rem"
|
|
64
|
-
},
|
|
65
|
-
"16": {
|
|
66
|
-
"$value": "4rem"
|
|
67
|
-
},
|
|
68
|
-
"20": {
|
|
69
|
-
"$value": "5rem"
|
|
70
|
-
},
|
|
71
|
-
"22": {
|
|
72
|
-
"$value": "5.5rem",
|
|
73
|
-
"$description": "88px (Compact 44px)."
|
|
74
|
-
},
|
|
75
|
-
"24": {
|
|
76
|
-
"$value": "6rem"
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
|
-
"radius": {
|
|
80
|
-
"$type": "dimension",
|
|
81
|
-
"3xs": {
|
|
82
|
-
"$value": "0.0625rem",
|
|
83
|
-
"$description": "1px: hairline shapes (QR modules, thin rules)"
|
|
84
|
-
},
|
|
85
|
-
"2xs": {
|
|
86
|
-
"$value": "0.125rem",
|
|
87
|
-
"$description": "2px: thin bars, progress segments"
|
|
88
|
-
},
|
|
89
|
-
"xs": {
|
|
90
|
-
"$value": "4px",
|
|
91
|
-
"$description": "Tags, small chips, checkboxes"
|
|
92
|
-
},
|
|
93
|
-
"sm": {
|
|
94
|
-
"$value": "6px",
|
|
95
|
-
"$description": "Menus, tooltips, small cards"
|
|
96
|
-
},
|
|
97
|
-
"field": {
|
|
98
|
-
"$value": "8px",
|
|
99
|
-
"$description": "Text fields and selects"
|
|
100
|
-
},
|
|
101
|
-
"md": {
|
|
102
|
-
"$value": "10px",
|
|
103
|
-
"$description": "Tight cards, popovers"
|
|
104
|
-
},
|
|
105
|
-
"lg": {
|
|
106
|
-
"$value": "12px",
|
|
107
|
-
"$description": "Cards, dialogs"
|
|
108
|
-
},
|
|
109
|
-
"xl": {
|
|
110
|
-
"$value": "16px",
|
|
111
|
-
"$description": "Hero panels"
|
|
112
|
-
},
|
|
113
|
-
"2xl": {
|
|
114
|
-
"$value": "1.25rem",
|
|
115
|
-
"$description": "20px: component set frames and tiles. The same in every look."
|
|
116
|
-
},
|
|
117
|
-
"3xl": {
|
|
118
|
-
"$value": "1.5rem",
|
|
119
|
-
"$description": "24px: cards and avatars with a fixed 24px corner. The same in every look."
|
|
120
|
-
},
|
|
121
|
-
"4xl": {
|
|
122
|
-
"$value": "2rem",
|
|
123
|
-
"$description": "32px: large avatars and panels with a fixed 32px corner. The same in every look."
|
|
124
|
-
},
|
|
125
|
-
"full": {
|
|
126
|
-
"$value": "9999px",
|
|
127
|
-
"$description": "Buttons, pills, avatars"
|
|
128
|
-
}
|
|
129
|
-
},
|
|
130
|
-
"font": {
|
|
131
|
-
"family": {
|
|
132
|
-
"$type": "fontFamily",
|
|
133
|
-
"display": {
|
|
134
|
-
"$value": [
|
|
135
|
-
"Crimson Pro",
|
|
136
|
-
"Georgia",
|
|
137
|
-
"Times New Roman",
|
|
138
|
-
"serif"
|
|
139
|
-
],
|
|
140
|
-
"$description": "Heading font: titles and big numbers, at weight 300. Override with brand.fonts.heading or --alea-font-family-display; the sans looks point it at the body font."
|
|
141
|
-
},
|
|
142
|
-
"body": {
|
|
143
|
-
"$value": [
|
|
144
|
-
"Inter",
|
|
145
|
-
"-apple-system",
|
|
146
|
-
"BlinkMacSystemFont",
|
|
147
|
-
"Segoe UI",
|
|
148
|
-
"Roboto",
|
|
149
|
-
"sans-serif"
|
|
150
|
-
],
|
|
151
|
-
"$description": "Content font: all text and every control (buttons, fields, tables, tabs, menus, tooltips, chart labels). Override with brand.fonts.body or --alea-font-family-body."
|
|
152
|
-
},
|
|
153
|
-
"mono": {
|
|
154
|
-
"$value": [
|
|
155
|
-
"JetBrains Mono",
|
|
156
|
-
"ui-monospace",
|
|
157
|
-
"SFMono-Regular",
|
|
158
|
-
"Menlo",
|
|
159
|
-
"monospace"
|
|
160
|
-
]
|
|
161
|
-
}
|
|
162
|
-
},
|
|
163
|
-
"size": {
|
|
164
|
-
"$type": "dimension",
|
|
165
|
-
"2xs": {
|
|
166
|
-
"$value": "{font.size.xs}",
|
|
167
|
-
"$description": "DEPRECATED: an alias of xs (12 px), kept so existing code keeps working. Use xs; this token is removed in the next major version."
|
|
168
|
-
},
|
|
169
|
-
"xs": {
|
|
170
|
-
"$value": "0.75rem",
|
|
171
|
-
"$description": "Eyebrows, badges"
|
|
172
|
-
},
|
|
173
|
-
"sm": {
|
|
174
|
-
"$value": "{font.size.md}",
|
|
175
|
-
"$description": "DEPRECATED: an alias of md (14 px, it was 13 px before 0.10), kept so existing code keeps working. Use xs (12 px) for labels and supporting data, md (14 px) for text read as a sentence; this token is removed in the next major version."
|
|
176
|
-
},
|
|
177
|
-
"md": {
|
|
178
|
-
"$value": "0.875rem",
|
|
179
|
-
"$description": "Buttons, dense UI"
|
|
180
|
-
},
|
|
181
|
-
"base": {
|
|
182
|
-
"$value": "1rem",
|
|
183
|
-
"$description": "Body text, inputs"
|
|
184
|
-
},
|
|
185
|
-
"lg": {
|
|
186
|
-
"$value": "1.125rem"
|
|
187
|
-
},
|
|
188
|
-
"xl": {
|
|
189
|
-
"$value": "1.25rem"
|
|
190
|
-
},
|
|
191
|
-
"2xl": {
|
|
192
|
-
"$value": "1.5rem"
|
|
193
|
-
},
|
|
194
|
-
"3xl": {
|
|
195
|
-
"$value": "1.75rem",
|
|
196
|
-
"$description": "Card titles"
|
|
197
|
-
},
|
|
198
|
-
"4xl": {
|
|
199
|
-
"$value": "2.25rem"
|
|
200
|
-
},
|
|
201
|
-
"5xl": {
|
|
202
|
-
"$value": "3rem"
|
|
203
|
-
},
|
|
204
|
-
"6xl": {
|
|
205
|
-
"$value": "4rem"
|
|
206
|
-
},
|
|
207
|
-
"7xl": {
|
|
208
|
-
"$value": "5rem",
|
|
209
|
-
"$description": "Hero headlines"
|
|
210
|
-
}
|
|
211
|
-
},
|
|
212
|
-
"weight": {
|
|
213
|
-
"$type": "fontWeight",
|
|
214
|
-
"light": {
|
|
215
|
-
"$value": 300,
|
|
216
|
-
"$description": "Crimson Pro display"
|
|
217
|
-
},
|
|
218
|
-
"regular": {
|
|
219
|
-
"$value": 400
|
|
220
|
-
},
|
|
221
|
-
"medium": {
|
|
222
|
-
"$value": 500
|
|
223
|
-
},
|
|
224
|
-
"semibold": {
|
|
225
|
-
"$value": 600
|
|
226
|
-
}
|
|
227
|
-
},
|
|
228
|
-
"leading": {
|
|
229
|
-
"$type": "number",
|
|
230
|
-
"tight": {
|
|
231
|
-
"$value": 1.1
|
|
232
|
-
},
|
|
233
|
-
"snug": {
|
|
234
|
-
"$value": 1.3
|
|
235
|
-
},
|
|
236
|
-
"normal": {
|
|
237
|
-
"$value": 1.5
|
|
238
|
-
},
|
|
239
|
-
"relaxed": {
|
|
240
|
-
"$value": 1.6
|
|
241
|
-
}
|
|
242
|
-
},
|
|
243
|
-
"tracking": {
|
|
244
|
-
"$type": "dimension",
|
|
245
|
-
"display": {
|
|
246
|
-
"$value": "-0.02em"
|
|
247
|
-
},
|
|
248
|
-
"tight": {
|
|
249
|
-
"$value": "-0.01em"
|
|
250
|
-
},
|
|
251
|
-
"normal": {
|
|
252
|
-
"$value": "0em"
|
|
253
|
-
},
|
|
254
|
-
"eyebrow": {
|
|
255
|
-
"$value": "0.08em"
|
|
256
|
-
}
|
|
257
|
-
}
|
|
258
|
-
},
|
|
259
|
-
"motion": {
|
|
260
|
-
"ease": {
|
|
261
|
-
"$type": "cubicBezier",
|
|
262
|
-
"out": {
|
|
263
|
-
"$value": [
|
|
264
|
-
0.16,
|
|
265
|
-
1,
|
|
266
|
-
0.3,
|
|
267
|
-
1
|
|
268
|
-
],
|
|
269
|
-
"$description": "The Alea ease: quick start, long soft landing"
|
|
270
|
-
},
|
|
271
|
-
"in-out": {
|
|
272
|
-
"$value": [
|
|
273
|
-
0.65,
|
|
274
|
-
0,
|
|
275
|
-
0.35,
|
|
276
|
-
1
|
|
277
|
-
]
|
|
278
|
-
},
|
|
279
|
-
"standard": {
|
|
280
|
-
"$value": [
|
|
281
|
-
0.2,
|
|
282
|
-
0,
|
|
283
|
-
0,
|
|
284
|
-
1
|
|
285
|
-
]
|
|
286
|
-
},
|
|
287
|
-
"emphasized": {
|
|
288
|
-
"$value": "{motion.ease.spring}",
|
|
289
|
-
"$description": "An alias of spring: a soft overshoot that settles at once, for indicators that glide, toggles, checks"
|
|
290
|
-
},
|
|
291
|
-
"spring": {
|
|
292
|
-
"$value": [
|
|
293
|
-
0.22,
|
|
294
|
-
1.2,
|
|
295
|
-
0.36,
|
|
296
|
-
1
|
|
297
|
-
],
|
|
298
|
-
"$description": "A soft spring: a mild overshoot (about 1 percent) that settles at once, for chevrons and page dots; reduced motion swaps it for ease-out"
|
|
299
|
-
},
|
|
300
|
-
"in": {
|
|
301
|
-
"$value": [
|
|
302
|
-
0.4,
|
|
303
|
-
0,
|
|
304
|
-
1,
|
|
305
|
-
1
|
|
306
|
-
],
|
|
307
|
-
"$description": "Exits: things leaving speed up"
|
|
308
|
-
}
|
|
309
|
-
},
|
|
310
|
-
"duration": {
|
|
311
|
-
"$type": "duration",
|
|
312
|
-
"instant": {
|
|
313
|
-
"$value": "120ms",
|
|
314
|
-
"$description": "Hover color changes and presses"
|
|
315
|
-
},
|
|
316
|
-
"fast": {
|
|
317
|
-
"$value": "200ms",
|
|
318
|
-
"$description": "Exits, tooltips, small state changes"
|
|
319
|
-
},
|
|
320
|
-
"base": {
|
|
321
|
-
"$value": "320ms",
|
|
322
|
-
"$description": "Popovers, menus, selects, indicators"
|
|
323
|
-
},
|
|
324
|
-
"slow": {
|
|
325
|
-
"$value": "480ms",
|
|
326
|
-
"$description": "Dialogs, drawers, toasts, expanding panels"
|
|
327
|
-
},
|
|
328
|
-
"slower": {
|
|
329
|
-
"$value": "720ms",
|
|
330
|
-
"$description": "Page-level reveals, charts drawing"
|
|
331
|
-
}
|
|
332
|
-
},
|
|
333
|
-
"distance": {
|
|
334
|
-
"$type": "dimension",
|
|
335
|
-
"sm": {
|
|
336
|
-
"$value": "8px",
|
|
337
|
-
"$description": "Popovers and items come from this far"
|
|
338
|
-
},
|
|
339
|
-
"md": {
|
|
340
|
-
"$value": "12px",
|
|
341
|
-
"$description": "Toasts and panels"
|
|
342
|
-
},
|
|
343
|
-
"lg": {
|
|
344
|
-
"$value": "24px",
|
|
345
|
-
"$description": "Dialogs rise this far"
|
|
346
|
-
}
|
|
347
|
-
},
|
|
348
|
-
"scale": {
|
|
349
|
-
"$type": "number",
|
|
350
|
-
"from": {
|
|
351
|
-
"$value": 0.92,
|
|
352
|
-
"$description": "Overlays grow from this size"
|
|
353
|
-
},
|
|
354
|
-
"press": {
|
|
355
|
-
"$value": 0.96,
|
|
356
|
-
"$description": "Pressed controls shrink to this"
|
|
357
|
-
}
|
|
358
|
-
},
|
|
359
|
-
"stagger": {
|
|
360
|
-
"$type": "duration",
|
|
361
|
-
"$value": "40ms",
|
|
362
|
-
"$description": "Delay between items entering one after another"
|
|
363
|
-
},
|
|
364
|
-
"lift": {
|
|
365
|
-
"$type": "dimension",
|
|
366
|
-
"$value": "-4px",
|
|
367
|
-
"$description": "Clickable surfaces rise this much on hover"
|
|
368
|
-
},
|
|
369
|
-
"spring": {
|
|
370
|
-
"$type": "easing",
|
|
371
|
-
"$value": "linear(0, 0.009, 0.035 2.1%, 0.141, 0.281 6.7%, 0.723 12.9%, 0.938 16.7%, 1.017, 1.077, 1.121, 1.149 24.3%, 1.159, 1.163, 1.161, 1.154 29.9%, 1.129 32.8%, 1.051 39.6%, 1.017 43.1%, 0.991, 0.977 51%, 0.974 53.8%, 0.975 57.1%, 0.997 69.8%, 1.003 76.9%, 1.004 83.8%, 1)",
|
|
372
|
-
"$description": "A real spring (overshoots and settles): badges popping in, toggles, glide"
|
|
373
|
-
},
|
|
374
|
-
"blur": {
|
|
375
|
-
"$type": "dimension",
|
|
376
|
-
"sm": {
|
|
377
|
-
"$value": "4px",
|
|
378
|
-
"$description": "Swap and reveal start this blurred"
|
|
379
|
-
},
|
|
380
|
-
"md": {
|
|
381
|
-
"$value": "8px",
|
|
382
|
-
"$description": "Dissolve and route"
|
|
383
|
-
},
|
|
384
|
-
"lg": {
|
|
385
|
-
"$value": "16px",
|
|
386
|
-
"$description": "Glass and backdrops"
|
|
387
|
-
}
|
|
388
|
-
}
|
|
389
|
-
},
|
|
390
|
-
"z": {
|
|
391
|
-
"$type": "number",
|
|
392
|
-
"dropdown": {
|
|
393
|
-
"$value": 1000
|
|
394
|
-
},
|
|
395
|
-
"sticky": {
|
|
396
|
-
"$value": 1100
|
|
397
|
-
},
|
|
398
|
-
"overlay": {
|
|
399
|
-
"$value": 1200
|
|
400
|
-
},
|
|
401
|
-
"modal": {
|
|
402
|
-
"$value": 1300
|
|
403
|
-
},
|
|
404
|
-
"toast": {
|
|
405
|
-
"$value": 1400
|
|
406
|
-
},
|
|
407
|
-
"tooltip": {
|
|
408
|
-
"$value": 1500
|
|
409
|
-
}
|
|
410
|
-
},
|
|
411
|
-
"breakpoint": {
|
|
412
|
-
"$type": "dimension",
|
|
413
|
-
"xs": {
|
|
414
|
-
"$value": "480px",
|
|
415
|
-
"$description": "Phones. Component CSS goes below it with max-width: 479.98px"
|
|
416
|
-
},
|
|
417
|
-
"sm": {
|
|
418
|
-
"$value": "640px"
|
|
419
|
-
},
|
|
420
|
-
"md": {
|
|
421
|
-
"$value": "768px"
|
|
422
|
-
},
|
|
423
|
-
"lg": {
|
|
424
|
-
"$value": "1024px"
|
|
425
|
-
},
|
|
426
|
-
"xl": {
|
|
427
|
-
"$value": "1280px"
|
|
428
|
-
}
|
|
429
|
-
},
|
|
430
|
-
"size": {
|
|
431
|
-
"$type": "dimension",
|
|
432
|
-
"$description": "Control heights. Compact density lowers the heights of controls by 4px (field 44px to 40px) and, on a touch pointer (coarse), every control height is 44px or more in Compact. Written in rem (1rem = 16px) so the sizes follow the text size the person chose; at the default 16px they are the pixel values named here.",
|
|
433
|
-
"control-sm": {
|
|
434
|
-
"$value": "2rem",
|
|
435
|
-
"$extensions": { "fun.lab": { "compact": "1.75rem" } }
|
|
436
|
-
},
|
|
437
|
-
"control-md": {
|
|
438
|
-
"$value": "2.5rem",
|
|
439
|
-
"$extensions": { "fun.lab": { "compact": "2.25rem" } }
|
|
440
|
-
},
|
|
441
|
-
"control-lg": {
|
|
442
|
-
"$value": "3rem",
|
|
443
|
-
"$extensions": { "fun.lab": { "compact": "2.75rem" } }
|
|
444
|
-
},
|
|
445
|
-
"field": {
|
|
446
|
-
"$value": "2.75rem",
|
|
447
|
-
"$extensions": { "fun.lab": { "compact": "2.5rem" } }
|
|
448
|
-
},
|
|
449
|
-
"badge-sm": {
|
|
450
|
-
"$value": "1.25rem",
|
|
451
|
-
"$description": "Small Badge height.",
|
|
452
|
-
"$extensions": { "fun.lab": { "compact": "1rem" } }
|
|
453
|
-
},
|
|
454
|
-
"badge-md": {
|
|
455
|
-
"$value": "1.5rem",
|
|
456
|
-
"$description": "Badge height.",
|
|
457
|
-
"$extensions": { "fun.lab": { "compact": "1.25rem" } }
|
|
458
|
-
},
|
|
459
|
-
"badge-lg": {
|
|
460
|
-
"$value": "1.75rem",
|
|
461
|
-
"$description": "Large Badge height.",
|
|
462
|
-
"$extensions": { "fun.lab": { "compact": "1.5rem" } }
|
|
463
|
-
},
|
|
464
|
-
"touch": {
|
|
465
|
-
"$value": "2.75rem",
|
|
466
|
-
"$description": "The smallest target a finger can hit: 44 px. With a coarse pointer every small control (icon button, stepper arrows, show password, clear, checkbox and radio rows, tabs) reaches this size, as the control or as a transparent hit area around it. With a mouse the controls keep their own sizes."
|
|
467
|
-
},
|
|
468
|
-
"icon-sm": {
|
|
469
|
-
"$value": "1rem"
|
|
470
|
-
},
|
|
471
|
-
"icon-md": {
|
|
472
|
-
"$value": "1.25rem"
|
|
473
|
-
},
|
|
474
|
-
"icon-lg": {
|
|
475
|
-
"$value": "1.5rem"
|
|
476
|
-
}
|
|
477
|
-
},
|
|
478
|
-
"focus-width": {
|
|
479
|
-
"$type": "dimension",
|
|
480
|
-
"$value": "2px",
|
|
481
|
-
"$description": "Thickness of the focus ring. Pixels on purpose: a ring does not grow with the text size."
|
|
482
|
-
},
|
|
483
|
-
"focus-offset": {
|
|
484
|
-
"$type": "dimension",
|
|
485
|
-
"$value": "0.125rem",
|
|
486
|
-
"$description": "Gap between a control and its focus ring (2 px)."
|
|
487
|
-
},
|
|
488
|
-
"focus-ring": {
|
|
489
|
-
"$type": "outline",
|
|
490
|
-
"$value": "2px solid #cd57ff",
|
|
491
|
-
"$description": "The one focus ring: use it as `outline: var(--alea-focus-ring); outline-offset: var(--alea-focus-offset)`. The color is --alea-focus, which reaches 3:1 against every surface of every look in light and dark (checked by npm run contrast). Written again on every theme and brand wrapper so it follows them.",
|
|
492
|
-
"$extensions": { "fun.lab": { "css": "var(--alea-focus-width) solid var(--alea-focus)" } }
|
|
493
|
-
},
|
|
494
|
-
"paper": {
|
|
495
|
-
"$type": "color",
|
|
496
|
-
"$description": "Paper: the colors of a printed page or a document view (an invoice, a prescription, a report). They do not change with the theme or the look, because paper is white and ink is dark in both.",
|
|
497
|
-
"default": { "$value": "#ffffff", "$description": "The sheet" },
|
|
498
|
-
"ink": { "$value": "#111111", "$description": "Body text and headings on paper" },
|
|
499
|
-
"mid": { "$value": "#333333", "$description": "Secondary text on paper" },
|
|
500
|
-
"soft": { "$value": "#555555", "$description": "Captions and notes on paper (7.5:1 on the sheet)" },
|
|
501
|
-
"rule": { "$value": "#777777", "$description": "Strong rules and borders on paper (4.5:1 on the sheet)" },
|
|
502
|
-
"hair": { "$value": "#dddddd", "$description": "Hairlines and table dividers on paper" }
|
|
503
|
-
},
|
|
504
|
-
"control-pad": {
|
|
505
|
-
"$type": "dimension",
|
|
506
|
-
"$description": "Control padding on the inline axis (and the padding of surfaces: Card, Dialog, Modal). Same steps as the space scale in Comfy; in Compact it is NOT halved (a control gets shorter, not narrower), so the horizontal padding stays at or above the vertical air. Never below 8px, and 12px or more on Cards and dialogs. On a touch pointer in Compact the small steps rise to 16px so they keep up with the 44px control heights.",
|
|
507
|
-
"x-2": { "$value": "0.5rem", "$extensions": { "fun.lab": { "compact": "0.5rem" } } },
|
|
508
|
-
"x-3": { "$value": "0.75rem", "$extensions": { "fun.lab": { "compact": "0.75rem" } } },
|
|
509
|
-
"x-4": { "$value": "1rem", "$extensions": { "fun.lab": { "compact": "1rem" } } },
|
|
510
|
-
"x-5": { "$value": "1.25rem", "$extensions": { "fun.lab": { "compact": "1rem" } } },
|
|
511
|
-
"x-6": { "$value": "1.5rem", "$extensions": { "fun.lab": { "compact": "1.25rem" } } },
|
|
512
|
-
"x-7": { "$value": "1.75rem", "$extensions": { "fun.lab": { "compact": "1.5rem" } } },
|
|
513
|
-
"x-8": { "$value": "2rem", "$extensions": { "fun.lab": { "compact": "1.5rem" } } },
|
|
514
|
-
"x-10": { "$value": "2.5rem", "$extensions": { "fun.lab": { "compact": "2rem" } } }
|
|
515
|
-
}
|
|
516
|
-
}
|