@alis-build/design-system 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.
Files changed (57) hide show
  1. package/LICENSE +202 -0
  2. package/NOTICE +7 -0
  3. package/README.md +33 -2
  4. package/alisx.css +590 -0
  5. package/assets/Brand/README.md +9 -0
  6. package/assets/Brand/alis-exchange-icon.png +0 -0
  7. package/assets/Brand/alis.svg +13 -0
  8. package/assets/Brand/alis_build.svg +31 -0
  9. package/assets/Brand/alis_exchange.svg +19 -0
  10. package/assets/Brand/alis_ideate.png +0 -0
  11. package/assets/Brand/alis_ideate.svg +31 -0
  12. package/assets/Brand/alis_primary_logo.png +0 -0
  13. package/assets/Brand/favicon.svg +17 -0
  14. package/components/AlisMark.md +34 -0
  15. package/components/AppAlert.md +56 -0
  16. package/components/AppButton.md +63 -0
  17. package/components/AppCard.md +54 -0
  18. package/components/AppChip.md +75 -0
  19. package/components/AppDialog.md +42 -0
  20. package/components/AppEmptyState.md +51 -0
  21. package/components/AppIcon.md +51 -0
  22. package/components/AppIconButton.md +44 -0
  23. package/components/AppLattice.md +53 -0
  24. package/components/AppListRow.md +69 -0
  25. package/components/AppLoader.md +44 -0
  26. package/components/AppProgress.md +50 -0
  27. package/components/AppSegmented.md +36 -0
  28. package/components/AppSelect.md +59 -0
  29. package/components/AppSelectTile.md +45 -0
  30. package/components/AppShell.md +97 -0
  31. package/components/AppSkeleton.md +51 -0
  32. package/components/AppSwitch.md +39 -0
  33. package/components/AppTable.md +63 -0
  34. package/components/AppTextField.md +83 -0
  35. package/components/AppTitleBar.md +85 -0
  36. package/components/CapabilityMark.md +63 -0
  37. package/components/README.md +123 -0
  38. package/fonts.css +4 -0
  39. package/marks.json +57 -0
  40. package/package.json +31 -4
  41. package/rules/README.md +68 -0
  42. package/rules/anti-patterns.md +68 -0
  43. package/rules/buttons.md +121 -0
  44. package/rules/chips-alerts.md +77 -0
  45. package/rules/colour.md +100 -0
  46. package/rules/icons.md +65 -0
  47. package/rules/known-gaps.md +34 -0
  48. package/rules/loading.md +71 -0
  49. package/rules/page.md +155 -0
  50. package/rules/quick-start.md +125 -0
  51. package/rules/register.md +119 -0
  52. package/rules/selection.md +111 -0
  53. package/rules/spacing.md +88 -0
  54. package/rules/styling.md +83 -0
  55. package/rules/surfaces.md +75 -0
  56. package/rules/type.md +186 -0
  57. package/tokens.json +922 -0
package/tokens.json ADDED
@@ -0,0 +1,922 @@
1
+ {
2
+ "name": "AlisX",
3
+ "version": 4,
4
+ "color": {
5
+ "themes": [
6
+ {
7
+ "id": "light",
8
+ "name": "Light"
9
+ }
10
+ ],
11
+ "tokens": [
12
+ {
13
+ "name": "petrol-950",
14
+ "value": "#161d22",
15
+ "usage": "Deepest petrol: the narrative terminal body."
16
+ },
17
+ {
18
+ "name": "petrol-900",
19
+ "value": "#1b242b",
20
+ "usage": "Foot of the narrative petrol band."
21
+ },
22
+ {
23
+ "name": "petrol-850",
24
+ "value": "#232d35",
25
+ "usage": "Head of the narrative petrol band."
26
+ },
27
+ {
28
+ "name": "petrol-800",
29
+ "value": "#27323a",
30
+ "usage": "Brand petrol. The ink of both registers, and the inverse surface."
31
+ },
32
+ {
33
+ "name": "petrol-700",
34
+ "value": "#39444d",
35
+ "usage": "Narrative running text on alisx.com."
36
+ },
37
+ {
38
+ "name": "petrol-500",
39
+ "value": "#5d666d",
40
+ "usage": "The second ink (on-surface-variant). 5.9:1 on white."
41
+ },
42
+ {
43
+ "name": "slate-500",
44
+ "value": "#55636e",
45
+ "usage": "Achromatic info status. Blue is the action colour, so info stays grey."
46
+ },
47
+ {
48
+ "name": "mist-100",
49
+ "value": "#dfe7ec",
50
+ "usage": "Text on the narrative terminal."
51
+ },
52
+ {
53
+ "name": "paper-0",
54
+ "value": "#ffffff",
55
+ "usage": "White: the instrument surface, ink on filled buttons and solids."
56
+ },
57
+ {
58
+ "name": "paper-25",
59
+ "value": "#fdfdfc",
60
+ "usage": "The alisx.com canvas. Too close to white to lift a card off, so the product ground is paper-50."
61
+ },
62
+ {
63
+ "name": "paper-50",
64
+ "value": "#fbfbfa",
65
+ "usage": "The product ground (background)."
66
+ },
67
+ {
68
+ "name": "paper-75",
69
+ "value": "#f8f8f8",
70
+ "usage": "Narrative sunken panel."
71
+ },
72
+ {
73
+ "name": "paper-100",
74
+ "value": "#f4f4f2",
75
+ "usage": "Ink on the inverse surface."
76
+ },
77
+ {
78
+ "name": "paper-150",
79
+ "value": "#f3f3f2",
80
+ "usage": "The statement: on-surface at 4% over the ground."
81
+ },
82
+ {
83
+ "name": "grey-200",
84
+ "value": "#e6e8eb",
85
+ "usage": "Icon tiles and initials; chip, snackbar and tooltip grounds."
86
+ },
87
+ {
88
+ "name": "grey-250",
89
+ "value": "#e2e3e3",
90
+ "usage": "Selection on the navigation rail."
91
+ },
92
+ {
93
+ "name": "grey-300",
94
+ "value": "#cfd2d4",
95
+ "usage": "Selection everywhere else: the petrol tonal fill."
96
+ },
97
+ {
98
+ "name": "grey-400",
99
+ "value": "#c4c7ca",
100
+ "usage": "A divider inside a surface."
101
+ },
102
+ {
103
+ "name": "grey-600",
104
+ "value": "#74777c",
105
+ "usage": "A rule. With grey-400, the one border colour family."
106
+ },
107
+ {
108
+ "name": "cyan-700",
109
+ "value": "#004f68",
110
+ "usage": "Narrative link and button hover on alisx.com."
111
+ },
112
+ {
113
+ "name": "cyan-600",
114
+ "value": "#006383",
115
+ "usage": "Brand cyan: the one actionable colour, and Ideate's tone."
116
+ },
117
+ {
118
+ "name": "cyan-200",
119
+ "value": "#7fd4e8",
120
+ "usage": "Ideate on the petrol band only."
121
+ },
122
+ {
123
+ "name": "teal-600",
124
+ "value": "#006b70",
125
+ "usage": "Skill store tone on narrative light grounds."
126
+ },
127
+ {
128
+ "name": "teal-200",
129
+ "value": "#7fd4c1",
130
+ "usage": "Specialists ink and the terminal prompt, dark grounds only."
131
+ },
132
+ {
133
+ "name": "violet-700",
134
+ "value": "#473078",
135
+ "usage": "The Build tone."
136
+ },
137
+ {
138
+ "name": "violet-600",
139
+ "value": "#584287",
140
+ "usage": "Ultra violet: Build accents drawn on the landing page."
141
+ },
142
+ {
143
+ "name": "violet-200",
144
+ "value": "#c3b2f7",
145
+ "usage": "Build on the petrol band only."
146
+ },
147
+ {
148
+ "name": "amber-100",
149
+ "value": "#ffd9a8",
150
+ "usage": "Skill store ink on the petrol band only."
151
+ },
152
+ {
153
+ "name": "amber-700",
154
+ "value": "#b58200",
155
+ "usage": "Warning. 3.4:1 on white: never text ink, carried by an icon."
156
+ },
157
+ {
158
+ "name": "alis-red",
159
+ "value": "#f02222",
160
+ "usage": "Alis red: the mark, the caret, the loader. Never a control, fill or state."
161
+ },
162
+ {
163
+ "name": "red-700",
164
+ "value": "#ba1a1a",
165
+ "usage": "Error. Distinct from Alis red in hue and value."
166
+ },
167
+ {
168
+ "name": "green-700",
169
+ "value": "#1e6b3a",
170
+ "usage": "Success. Weight-matched to error at L* 40."
171
+ },
172
+ {
173
+ "name": "primary",
174
+ "value": "{cyan-600}",
175
+ "usage": "The only actionable colour: the one filled button, links, the 2px focus outline, Ideate's tone. Never on something you cannot press (B8)."
176
+ },
177
+ {
178
+ "name": "on-primary",
179
+ "value": "{paper-0}",
180
+ "usage": "Ink on a primary fill."
181
+ },
182
+ {
183
+ "name": "signal",
184
+ "value": "{alis-red}",
185
+ "usage": "The caret, the cursor, the Alis mark and the loader: Alis is on it. Never a fill, a control or a state."
186
+ },
187
+ {
188
+ "name": "on-surface",
189
+ "value": "{petrol-800}",
190
+ "usage": "First ink: titles, body, labels, code, table cells."
191
+ },
192
+ {
193
+ "name": "on-surface-variant",
194
+ "value": "{petrol-500}",
195
+ "usage": "Second and last ink: supporting, meta, eyebrow, keys, icon buttons. No third ink (D3)."
196
+ },
197
+ {
198
+ "name": "background",
199
+ "value": "{paper-50}",
200
+ "usage": "The ground: every pane of the app layout, the thread column."
201
+ },
202
+ {
203
+ "name": "surface",
204
+ "value": "{paper-0}",
205
+ "usage": "The instrument: a card you act on, at elevation-2. Also menus and dialogs."
206
+ },
207
+ {
208
+ "name": "surface-container-low",
209
+ "value": "{paper-150}",
210
+ "usage": "The statement: grouped context, flat, not acted on. Never used to make something visible."
211
+ },
212
+ {
213
+ "name": "surface-container-highest",
214
+ "value": "{grey-200}",
215
+ "usage": "Icon tiles and initials, with on-surface ink."
216
+ },
217
+ {
218
+ "name": "surface-variant",
219
+ "value": "{grey-200}",
220
+ "usage": "Chip, snackbar, tooltip and switch-track grounds. Same value as surface-container-highest, a different job."
221
+ },
222
+ {
223
+ "name": "secondary-container",
224
+ "value": "{grey-300}",
225
+ "usage": "Selected: rows, segments, chips, tiles, toggles. Always with a second property (FILL 1 icon, weight 800)."
226
+ },
227
+ {
228
+ "name": "on-secondary-container",
229
+ "value": "{petrol-800}",
230
+ "usage": "Ink on a selected fill."
231
+ },
232
+ {
233
+ "name": "selection-chrome",
234
+ "value": "{grey-250}",
235
+ "usage": "Selected on the navigation rail, and nowhere else."
236
+ },
237
+ {
238
+ "name": "outline",
239
+ "value": "{grey-600}",
240
+ "usage": "A rule."
241
+ },
242
+ {
243
+ "name": "outline-variant",
244
+ "value": "{grey-400}",
245
+ "usage": "A divider inside a surface; the scrollbar."
246
+ },
247
+ {
248
+ "name": "error",
249
+ "value": "{red-700}",
250
+ "usage": "Failure and destructive actions; notification badges. Never animates, except a live microphone's dot."
251
+ },
252
+ {
253
+ "name": "on-error",
254
+ "value": "{paper-0}",
255
+ "usage": "Ink on an error fill."
256
+ },
257
+ {
258
+ "name": "warning",
259
+ "value": "{amber-700}",
260
+ "usage": "Warning, as an icon beside its line. Never text ink."
261
+ },
262
+ {
263
+ "name": "success",
264
+ "value": "{green-700}",
265
+ "usage": "Success. 6.5:1 on white."
266
+ },
267
+ {
268
+ "name": "info",
269
+ "value": "{slate-500}",
270
+ "usage": "Information. Always with an icon or label."
271
+ },
272
+ {
273
+ "name": "build",
274
+ "value": "{violet-700}",
275
+ "usage": "Build's tone. Wayfinding only: page-title eyebrow, lattice tick."
276
+ },
277
+ {
278
+ "name": "inverse-surface",
279
+ "value": "{petrol-800}",
280
+ "usage": "The ground for machine speech only: a dark code block, a terminal, a light-on-dark canvas."
281
+ },
282
+ {
283
+ "name": "on-inverse-surface",
284
+ "value": "{paper-100}",
285
+ "usage": "Ink on the inverse surface."
286
+ },
287
+ {
288
+ "name": "scrim",
289
+ "value": "#000000",
290
+ "usage": "Behind text laid over an image; with a drawing, the one role that takes an alpha."
291
+ },
292
+ {
293
+ "name": "highlight",
294
+ "value": "#fdecc8",
295
+ "usage": "Marked text: a comment anchor, a search hit, a transcript match. Never a status or selection."
296
+ },
297
+ {
298
+ "name": "on-highlight",
299
+ "value": "{petrol-800}",
300
+ "usage": "Ink on highlighted text."
301
+ },
302
+ {
303
+ "name": "cat1",
304
+ "value": "#006383",
305
+ "usage": "Category 1, the primary hue on purpose. Categories are assigned in order, white ink: chart series, node kinds, grouping chips. Never emphasis or state."
306
+ },
307
+ {
308
+ "name": "cat2",
309
+ "value": "#45664b",
310
+ "usage": "Category 2."
311
+ },
312
+ {
313
+ "name": "cat3",
314
+ "value": "#5a4e8c",
315
+ "usage": "Category 3."
316
+ },
317
+ {
318
+ "name": "cat4",
319
+ "value": "#7e5700",
320
+ "usage": "Category 4."
321
+ },
322
+ {
323
+ "name": "cat5",
324
+ "value": "#7a4e7f",
325
+ "usage": "Category 5."
326
+ },
327
+ {
328
+ "name": "cat6",
329
+ "value": "#3f51a8",
330
+ "usage": "Category 6. Past six, group the tail into a neutral \"Other\"."
331
+ },
332
+ {
333
+ "name": "on-cat",
334
+ "value": "{paper-0}",
335
+ "usage": "Ink on any cat1 to cat6 solid. A catN-container takes on-surface."
336
+ },
337
+ {
338
+ "name": "cat1-container",
339
+ "value": "#c1e8ff",
340
+ "usage": "Category 1 container, with on-surface ink. A container never carries meaning alone."
341
+ },
342
+ {
343
+ "name": "cat2-container",
344
+ "value": "#c5e4ce",
345
+ "usage": "Category 2 container."
346
+ },
347
+ {
348
+ "name": "cat3-container",
349
+ "value": "#e4dcf6",
350
+ "usage": "Category 3 container."
351
+ },
352
+ {
353
+ "name": "cat4-container",
354
+ "value": "#ffddb3",
355
+ "usage": "Category 4 container."
356
+ },
357
+ {
358
+ "name": "cat5-container",
359
+ "value": "#f4f4fb",
360
+ "usage": "Category 5 container."
361
+ },
362
+ {
363
+ "name": "cat6-container",
364
+ "value": "#dbe1ff",
365
+ "usage": "Category 6 container."
366
+ },
367
+ {
368
+ "name": "chart-neutral",
369
+ "value": "#8c8e8e",
370
+ "usage": "A neutral chart mark: the lightest grey that clears 3:1."
371
+ },
372
+ {
373
+ "name": "narrative-canvas",
374
+ "value": "{paper-25}",
375
+ "usage": "alisx.com page ground, under the drafting field."
376
+ },
377
+ {
378
+ "name": "narrative-surface-sunken",
379
+ "value": "{paper-75}",
380
+ "usage": "alisx.com recessed panel."
381
+ },
382
+ {
383
+ "name": "narrative-ink-body",
384
+ "value": "{petrol-700}",
385
+ "usage": "alisx.com running text: ledes, decks, paragraphs. Never in the product (D3)."
386
+ },
387
+ {
388
+ "name": "narrative-line",
389
+ "value": "rgba(39, 50, 58, 0.12)",
390
+ "usage": "alisx.com lattice hairlines and quiet outlines."
391
+ },
392
+ {
393
+ "name": "narrative-line-strong",
394
+ "value": "rgba(39, 50, 58, 0.16)",
395
+ "usage": "alisx.com control borders and card outlines."
396
+ },
397
+ {
398
+ "name": "narrative-line-inverse",
399
+ "value": "rgba(255, 255, 255, 0.22)",
400
+ "usage": "Rules on the petrol band."
401
+ },
402
+ {
403
+ "name": "narrative-link",
404
+ "value": "{cyan-700}",
405
+ "usage": "alisx.com links and button hover."
406
+ },
407
+ {
408
+ "name": "narrative-tone-forge",
409
+ "value": "{teal-600}",
410
+ "usage": "Skill store eyebrows and ticks on alisx.com. The product has two tones only."
411
+ },
412
+ {
413
+ "name": "band-top",
414
+ "value": "{petrol-850}",
415
+ "usage": "Petrol band gradient, top."
416
+ },
417
+ {
418
+ "name": "band-bottom",
419
+ "value": "{petrol-900}",
420
+ "usage": "Petrol band gradient, bottom."
421
+ },
422
+ {
423
+ "name": "band-fg",
424
+ "value": "rgba(253, 253, 252, 0.78)",
425
+ "usage": "Body text on the band."
426
+ },
427
+ {
428
+ "name": "band-surface",
429
+ "value": "rgba(253, 253, 252, 0.05)",
430
+ "usage": "Glass card fill on the band and the bench."
431
+ },
432
+ {
433
+ "name": "band-line",
434
+ "value": "rgba(255, 255, 255, 0.12)",
435
+ "usage": "Glass card border on the band."
436
+ },
437
+ {
438
+ "name": "on-band-ideate",
439
+ "value": "{cyan-200}",
440
+ "usage": "Ideate on the band."
441
+ },
442
+ {
443
+ "name": "on-band-build",
444
+ "value": "{violet-200}",
445
+ "usage": "Build on the band."
446
+ },
447
+ {
448
+ "name": "on-band-forge",
449
+ "value": "{amber-100}",
450
+ "usage": "Skill store on the band."
451
+ },
452
+ {
453
+ "name": "on-band-spec",
454
+ "value": "{teal-200}",
455
+ "usage": "Specialists on the band."
456
+ },
457
+ {
458
+ "name": "term-bg",
459
+ "value": "{petrol-950}",
460
+ "usage": "The alisx.com terminal. In the product a terminal is inverseSurface."
461
+ },
462
+ {
463
+ "name": "term-fg",
464
+ "value": "{mist-100}",
465
+ "usage": "Terminal text."
466
+ },
467
+ {
468
+ "name": "term-prompt",
469
+ "value": "{teal-200}",
470
+ "usage": "The caret before what the human typed."
471
+ },
472
+ {
473
+ "name": "term-reply",
474
+ "value": "#ffc107",
475
+ "usage": "The agent reply mark. Material Amber 500 as shipped on alisx.com: a stock colour (D5), open in Known gaps."
476
+ },
477
+ {
478
+ "name": "term-ok",
479
+ "value": "#4caf50",
480
+ "usage": "A passed check. Material Green 500 as shipped on alisx.com: a stock colour (D5), open in Known gaps."
481
+ },
482
+ {
483
+ "name": "field-grid-line",
484
+ "value": "rgba(39, 50, 58, 0.06)",
485
+ "usage": "The 72px drafting-field grid."
486
+ },
487
+ {
488
+ "name": "bench-grid-line",
489
+ "value": "rgba(127, 212, 232, 0.055)",
490
+ "usage": "The 24px workbench grid."
491
+ }
492
+ ]
493
+ },
494
+ "type": {
495
+ "fonts": [],
496
+ "families": {
497
+ "sans": "\"Nunito Sans\", \"Inter\", ui-sans-serif, system-ui, sans-serif",
498
+ "mono": "ui-monospace, SFMono-Regular, \"SF Mono\", Menlo, Consolas, monospace"
499
+ },
500
+ "groups": [
501
+ {
502
+ "name": "Product",
503
+ "family": "sans",
504
+ "styles": [
505
+ {
506
+ "name": "text-welcome-title",
507
+ "fontSize": "40px",
508
+ "lineHeight": "48px",
509
+ "fontWeight": 800,
510
+ "letterSpacing": "-0.03em",
511
+ "usage": "An entry screen that addresses the user. 32/40 below 600px. Never a table, form, dialog or card."
512
+ },
513
+ {
514
+ "name": "text-page-title",
515
+ "fontSize": "28px",
516
+ "lineHeight": "36px",
517
+ "fontWeight": 800,
518
+ "letterSpacing": "-0.03em",
519
+ "usage": "Names the whole screen. One per screen, in the title bar."
520
+ },
521
+ {
522
+ "name": "text-section-title",
523
+ "fontSize": "18px",
524
+ "lineHeight": "24px",
525
+ "fontWeight": 800,
526
+ "letterSpacing": "-0.02em",
527
+ "usage": "Names a section within the screen. Inside a card, use eyebrow."
528
+ },
529
+ {
530
+ "name": "text-object-title",
531
+ "fontSize": "16px",
532
+ "lineHeight": "24px",
533
+ "fontWeight": 650,
534
+ "usage": "Names one object: a card, a row, an item."
535
+ },
536
+ {
537
+ "name": "text-body",
538
+ "fontSize": "16px",
539
+ "lineHeight": "24px",
540
+ "fontWeight": 400,
541
+ "usage": "Prose someone reads. The default when unsure."
542
+ },
543
+ {
544
+ "name": "text-supporting",
545
+ "fontSize": "14px",
546
+ "lineHeight": "20px",
547
+ "fontWeight": 400,
548
+ "usage": "Supports the thing above it. Ink on-surface-variant."
549
+ },
550
+ {
551
+ "name": "text-meta",
552
+ "fontSize": "12px",
553
+ "lineHeight": "16px",
554
+ "fontWeight": 450,
555
+ "usage": "Timestamps, counts, provenance. Ink on-surface-variant."
556
+ },
557
+ {
558
+ "name": "text-label",
559
+ "fontSize": "14px",
560
+ "lineHeight": "20px",
561
+ "fontWeight": 650,
562
+ "usage": "Inside a control on a plain element."
563
+ },
564
+ {
565
+ "name": "text-eyebrow",
566
+ "fontSize": "12px",
567
+ "lineHeight": "16px",
568
+ "fontWeight": 700,
569
+ "letterSpacing": "0.12em",
570
+ "usage": "Uppercase structural tag, four words at most. The only all-caps in the product."
571
+ },
572
+ {
573
+ "name": "text-metric-value",
574
+ "fontSize": "40px",
575
+ "lineHeight": "48px",
576
+ "fontWeight": 800,
577
+ "usage": "A dashboard's headline metric, tabular figures.",
578
+ "letterSpacing": "-0.03em"
579
+ }
580
+ ]
581
+ },
582
+ {
583
+ "name": "Narrative",
584
+ "family": "sans",
585
+ "styles": [
586
+ {
587
+ "name": "narrative-h1",
588
+ "fontSize": "4.8rem",
589
+ "lineHeight": 1.03,
590
+ "fontWeight": 800,
591
+ "letterSpacing": "-0.04em",
592
+ "usage": "alisx.com hero. Fluid clamp(2.9rem, 5.4vw, 4.8rem); this is the cap."
593
+ },
594
+ {
595
+ "name": "narrative-h2",
596
+ "fontSize": "3.4rem",
597
+ "lineHeight": 1.08,
598
+ "fontWeight": 780,
599
+ "letterSpacing": "-0.03em",
600
+ "usage": "alisx.com section heading. Fluid clamp(2.2rem, 4.2vw, 3.4rem)."
601
+ },
602
+ {
603
+ "name": "narrative-h3",
604
+ "fontSize": "1.12rem",
605
+ "lineHeight": 1.35,
606
+ "fontWeight": 700,
607
+ "letterSpacing": "-0.01em"
608
+ },
609
+ {
610
+ "name": "narrative-lede",
611
+ "fontSize": "1.22rem",
612
+ "lineHeight": 1.7,
613
+ "fontWeight": 400,
614
+ "usage": "Under the H1, measure 52ch."
615
+ },
616
+ {
617
+ "name": "narrative-deck",
618
+ "fontSize": "1.12rem",
619
+ "lineHeight": 1.65,
620
+ "fontWeight": 400,
621
+ "usage": "Under an H2, measure 40ch."
622
+ },
623
+ {
624
+ "name": "narrative-body",
625
+ "fontSize": "1rem",
626
+ "lineHeight": 1.55,
627
+ "fontWeight": 400
628
+ },
629
+ {
630
+ "name": "narrative-eyebrow",
631
+ "fontSize": "0.76rem",
632
+ "lineHeight": 1.3,
633
+ "fontWeight": 700,
634
+ "letterSpacing": "0.18em",
635
+ "usage": "Uppercase, above a heading."
636
+ }
637
+ ]
638
+ },
639
+ {
640
+ "name": "Mono",
641
+ "family": "mono",
642
+ "styles": [
643
+ {
644
+ "name": "mono",
645
+ "fontSize": "0.93rem",
646
+ "lineHeight": 1.5,
647
+ "fontWeight": 400,
648
+ "usage": "Marketing (narrative) only: machine speech on alisx.com. In the product, write .text-mono beside a role class: it changes the face, and the role sets the size."
649
+ },
650
+ {
651
+ "name": "mono-sm",
652
+ "fontSize": "0.82rem",
653
+ "lineHeight": 1.5,
654
+ "fontWeight": 400,
655
+ "usage": "Marketing (narrative) only."
656
+ },
657
+ {
658
+ "name": "mono-xs",
659
+ "fontSize": "0.78rem",
660
+ "lineHeight": 1.4,
661
+ "fontWeight": 700,
662
+ "letterSpacing": "0.12em",
663
+ "usage": "Uppercase micro labels on alisx.com."
664
+ }
665
+ ]
666
+ }
667
+ ]
668
+ },
669
+ "spacing": {
670
+ "tokens": [
671
+ {
672
+ "name": "space-4",
673
+ "value": "4px",
674
+ "usage": "Icon to label; tight internal gaps."
675
+ },
676
+ {
677
+ "name": "space-8",
678
+ "value": "8px",
679
+ "usage": "Card to its caption; gaps between controls in a bar."
680
+ },
681
+ {
682
+ "name": "space-12",
683
+ "value": "12px",
684
+ "usage": "Gaps inside a group."
685
+ },
686
+ {
687
+ "name": "space-16",
688
+ "value": "16px",
689
+ "usage": "Between related items."
690
+ },
691
+ {
692
+ "name": "space-24",
693
+ "value": "24px",
694
+ "usage": "Card padding; between paragraphs."
695
+ },
696
+ {
697
+ "name": "space-32",
698
+ "value": "32px",
699
+ "usage": "Between turns in a thread."
700
+ },
701
+ {
702
+ "name": "space-48",
703
+ "value": "48px",
704
+ "usage": "The largest step."
705
+ },
706
+ {
707
+ "name": "card-padding-wide",
708
+ "value": "28px",
709
+ "usage": "Card padding from 600px wide: the scale's one exception. Set once on the card, never at a site."
710
+ },
711
+ {
712
+ "name": "chat-row",
713
+ "value": "32px",
714
+ "usage": "The agent chat list's row height, and only that list. Not a density option: no other list may use it."
715
+ },
716
+ {
717
+ "name": "touch-target",
718
+ "value": "48px",
719
+ "usage": "Minimum hit area, desktop included."
720
+ },
721
+ {
722
+ "name": "measure-prose",
723
+ "value": "710px",
724
+ "usage": "Prose and thread column width (about 84 characters)."
725
+ },
726
+ {
727
+ "name": "nav-width",
728
+ "value": "288px",
729
+ "usage": "The app's navigation pane."
730
+ },
731
+ {
732
+ "name": "detail-width",
733
+ "value": "360px",
734
+ "usage": "The detail pane beside a list: what is selected in the content."
735
+ },
736
+ {
737
+ "name": "breakpoint-compact",
738
+ "value": "600px",
739
+ "usage": "Compact below, medium from here: card padding widens to 28, the navigation pane collapses to icons below it. Custom properties can't be used in media queries: write the number, and name the token in a comment."
740
+ },
741
+ {
742
+ "name": "breakpoint-medium",
743
+ "value": "840px",
744
+ "usage": "Below it, the detail pane slides over the content at elevation-3. Custom properties can't be used in media queries: write the number, and name the token in a comment."
745
+ },
746
+ {
747
+ "name": "breakpoint-expanded",
748
+ "value": "1200px",
749
+ "usage": "Expanded window: list and detail side by side. Custom properties can't be used in media queries: write the number, and name the token in a comment."
750
+ },
751
+ {
752
+ "name": "breakpoint-large",
753
+ "value": "1600px",
754
+ "usage": "Large window. Custom properties can't be used in media queries: write the number, and name the token in a comment."
755
+ },
756
+ {
757
+ "name": "container",
758
+ "value": "1280px",
759
+ "usage": "alisx.com page max width."
760
+ }
761
+ ]
762
+ },
763
+ "radius": {
764
+ "tokens": [
765
+ {
766
+ "name": "radius-0",
767
+ "value": "0px",
768
+ "usage": "Tables, and alisx.com content cells (ruled, not boxed)."
769
+ },
770
+ {
771
+ "name": "radius-xs",
772
+ "value": "4px",
773
+ "usage": "Small controls."
774
+ },
775
+ {
776
+ "name": "radius-sm",
777
+ "value": "8px",
778
+ "usage": "Menus and small controls."
779
+ },
780
+ {
781
+ "name": "radius-md",
782
+ "value": "12px",
783
+ "usage": "The inset inside a card, concentric with rounded-lg."
784
+ },
785
+ {
786
+ "name": "radius-lg",
787
+ "value": "16px",
788
+ "usage": "Cards, text fields, selects, the navigation-pane primary action. Change the token, never one card."
789
+ },
790
+ {
791
+ "name": "radius-xl",
792
+ "value": "28px",
793
+ "usage": "On the scale (4 / 8 / 12 / 16 / 28 / full) with no assigned product use. Nothing in the product is rounded to it by default; a 24px step is not on the scale."
794
+ },
795
+ {
796
+ "name": "radius-pill",
797
+ "value": "999px",
798
+ "usage": "Buttons, chips, tabs, pills."
799
+ }
800
+ ]
801
+ },
802
+ "shadow": {
803
+ "tokens": [
804
+ {
805
+ "name": "elevation-1",
806
+ "value": "0 1px 2px 0 rgba(16, 24, 40, 0.16), 0 2px 6px 0 rgba(16, 24, 40, 0.2)",
807
+ "usage": "Resting."
808
+ },
809
+ {
810
+ "name": "elevation-2",
811
+ "value": "0 1px 2px 0 rgba(16, 24, 40, 0.16), 0 4px 12px 0 rgba(16, 24, 40, 0.2)",
812
+ "usage": "A card (the instrument), the composer, sticky things, menus."
813
+ },
814
+ {
815
+ "name": "elevation-3",
816
+ "value": "0 1px 3px 0 rgba(16, 24, 40, 0.16), 0 12px 32px -4px rgba(16, 24, 40, 0.2)",
817
+ "usage": "Dialogs and overlays."
818
+ }
819
+ ]
820
+ },
821
+ "duration": {
822
+ "tokens": [
823
+ {
824
+ "name": "dur-spatial",
825
+ "value": "220ms",
826
+ "usage": "Product: the filled button's press (scale 97%, radius to 12px)."
827
+ },
828
+ {
829
+ "name": "dur-effects",
830
+ "value": "160ms",
831
+ "usage": "Product: colour changes on a press."
832
+ },
833
+ {
834
+ "name": "dur-tint",
835
+ "value": "140ms",
836
+ "usage": "alisx.com: chip and tab tints."
837
+ },
838
+ {
839
+ "name": "dur-ui",
840
+ "value": "200ms",
841
+ "usage": "alisx.com: borders, opacity, hover."
842
+ },
843
+ {
844
+ "name": "dur-panel",
845
+ "value": "320ms",
846
+ "usage": "alisx.com: things that appear."
847
+ },
848
+ {
849
+ "name": "dur-arrive",
850
+ "value": "650ms",
851
+ "usage": "alisx.com: scroll-in of the terminal and bench."
852
+ },
853
+ {
854
+ "name": "stagger",
855
+ "value": "120ms",
856
+ "usage": "alisx.com: per-line delay in the terminal."
857
+ },
858
+ {
859
+ "name": "blink",
860
+ "value": "1.1s",
861
+ "usage": "The red cursor. The only loop."
862
+ }
863
+ ]
864
+ },
865
+ "easing": {
866
+ "tokens": [
867
+ {
868
+ "name": "motion-spatial",
869
+ "value": "cubic-bezier(0.2, 0.8, 0.2, 1.15)",
870
+ "usage": "Product: movement and size, with a slight settle."
871
+ },
872
+ {
873
+ "name": "motion-effects",
874
+ "value": "cubic-bezier(0.2, 0, 0, 1)",
875
+ "usage": "Product: colour and opacity."
876
+ },
877
+ {
878
+ "name": "ease-standard",
879
+ "value": "cubic-bezier(0.4, 0, 0.2, 1)",
880
+ "usage": "alisx.com: every hover and tint."
881
+ },
882
+ {
883
+ "name": "ease-arrive",
884
+ "value": "cubic-bezier(0.22, 1, 0.36, 1)",
885
+ "usage": "alisx.com: scroll-in only."
886
+ }
887
+ ]
888
+ },
889
+ "meta": {
890
+ "source": "AlisX design system",
891
+ "layers": "palette (literal values) -> product roles (Material Design 3 role names, kebab-case) and narrative roles (alisx.com only). Framework-neutral: map the roles into any theme."
892
+ },
893
+ "opacity": {
894
+ "tokens": [
895
+ {
896
+ "name": "state-hover",
897
+ "value": "0.04",
898
+ "usage": "Hover state layer: on-surface (or the control's ink) at this opacity over the element."
899
+ },
900
+ {
901
+ "name": "state-focus",
902
+ "value": "0.04",
903
+ "usage": "Focus state layer, capped to hover so a focused row never looks selected. Focus itself is the 2px primary outline."
904
+ },
905
+ {
906
+ "name": "state-pressed",
907
+ "value": "0.12",
908
+ "usage": "Pressed state layer: reaches toward selection on purpose."
909
+ },
910
+ {
911
+ "name": "state-statement",
912
+ "value": "0.04",
913
+ "usage": "The statement over a gradient: on-surface at this opacity over whatever is beneath."
914
+ },
915
+ {
916
+ "name": "state-dragged",
917
+ "value": "0.08",
918
+ "usage": "A drop target's primary wash while something is dragged over it."
919
+ }
920
+ ]
921
+ }
922
+ }