@alis-build/design-system 0.14.0 → 0.15.1

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/tokens.json CHANGED
@@ -1,556 +1,1152 @@
1
1
  {
2
2
  "name": "AlisX",
3
- "version": 4,
3
+ "version": 5,
4
4
  "color": {
5
5
  "themes": [
6
6
  {
7
7
  "id": "light",
8
8
  "name": "Light"
9
+ },
10
+ {
11
+ "id": "dark",
12
+ "name": "Dark"
9
13
  }
10
14
  ],
11
15
  "tokens": [
12
16
  {
13
17
  "name": "petrol-950",
18
+ "register": "palette",
14
19
  "value": "#161d22",
15
20
  "usage": "Deepest petrol: the narrative terminal body."
16
21
  },
17
22
  {
18
23
  "name": "petrol-900",
24
+ "register": "palette",
19
25
  "value": "#1b242b",
20
26
  "usage": "Foot of the narrative petrol band."
21
27
  },
22
28
  {
23
29
  "name": "petrol-850",
30
+ "register": "palette",
24
31
  "value": "#232d35",
25
32
  "usage": "Head of the narrative petrol band."
26
33
  },
27
34
  {
28
35
  "name": "petrol-800",
36
+ "register": "palette",
29
37
  "value": "#27323a",
30
38
  "usage": "Brand petrol. The ink of both registers, and the inverse surface."
31
39
  },
32
40
  {
33
41
  "name": "petrol-700",
42
+ "register": "palette",
34
43
  "value": "#39444d",
35
44
  "usage": "Narrative running text on alisx.com."
36
45
  },
37
46
  {
38
47
  "name": "petrol-500",
48
+ "register": "palette",
39
49
  "value": "#5d666d",
40
50
  "usage": "The second ink (on-surface-variant). 5.9:1 on white."
41
51
  },
42
52
  {
43
53
  "name": "slate-500",
54
+ "register": "palette",
44
55
  "value": "#55636e",
45
56
  "usage": "Unassigned since 2026-10-08, when info moved to blue-600."
46
57
  },
47
58
  {
48
59
  "name": "blue-600",
60
+ "register": "palette",
49
61
  "value": "#2a5cbe",
50
62
  "usage": "Info: a true blue, L* 41 like the other statuses, and far enough from the action cyan (a teal) to read as another family."
51
63
  },
52
64
  {
53
65
  "name": "mist-100",
66
+ "register": "palette",
54
67
  "value": "#dfe7ec",
55
68
  "usage": "Text on the narrative terminal."
56
69
  },
57
70
  {
58
71
  "name": "paper-0",
72
+ "register": "palette",
59
73
  "value": "#ffffff",
60
74
  "usage": "White: the instrument surface, ink on filled buttons and solids."
61
75
  },
62
76
  {
63
77
  "name": "paper-25",
78
+ "register": "palette",
64
79
  "value": "#fdfdfc",
65
80
  "usage": "The alisx.com canvas. Too close to white to lift a card off, so the product ground is paper-50."
66
81
  },
67
82
  {
68
83
  "name": "paper-50",
84
+ "register": "palette",
69
85
  "value": "#fbfbfa",
70
86
  "usage": "The product ground (background)."
71
87
  },
72
88
  {
73
89
  "name": "paper-75",
90
+ "register": "palette",
74
91
  "value": "#f8f8f8",
75
92
  "usage": "Narrative sunken panel."
76
93
  },
77
94
  {
78
95
  "name": "paper-100",
96
+ "register": "palette",
79
97
  "value": "#f4f4f2",
80
98
  "usage": "Ink on the inverse surface."
81
99
  },
82
100
  {
83
101
  "name": "paper-150",
102
+ "register": "palette",
84
103
  "value": "#f3f3f2",
85
104
  "usage": "The statement: on-surface at 4% over the ground."
86
105
  },
87
106
  {
88
107
  "name": "grey-200",
108
+ "register": "palette",
89
109
  "value": "#e6e8eb",
90
110
  "usage": "Icon tiles and initials; chip, snackbar and tooltip grounds; every hairline."
91
111
  },
92
112
  {
93
113
  "name": "grey-250",
114
+ "register": "palette",
94
115
  "value": "#e2e3e3",
95
116
  "usage": "Selection on the navigation rail."
96
117
  },
97
118
  {
98
119
  "name": "grey-300",
120
+ "register": "palette",
99
121
  "value": "#cfd2d4",
100
122
  "usage": "Selection everywhere else: the petrol tonal fill."
101
123
  },
102
124
  {
103
125
  "name": "grey-400",
126
+ "register": "palette",
104
127
  "value": "#c4c7ca",
105
128
  "usage": "Unassigned since 2026-10-08, when hairlines moved to grey-200."
106
129
  },
107
130
  {
108
131
  "name": "grey-600",
132
+ "register": "palette",
109
133
  "value": "#74777c",
110
134
  "usage": "A rule. With grey-400, the one border colour family."
111
135
  },
112
136
  {
113
137
  "name": "cyan-700",
138
+ "register": "palette",
114
139
  "value": "#004f68",
115
140
  "usage": "Narrative link and button hover on alisx.com."
116
141
  },
117
142
  {
118
143
  "name": "cyan-600",
144
+ "register": "palette",
119
145
  "value": "#006383",
120
146
  "usage": "Brand cyan: the one actionable colour."
121
147
  },
122
148
  {
123
149
  "name": "cyan-200",
150
+ "register": "palette",
124
151
  "value": "#7fd4e8",
125
152
  "usage": "Ideate on the petrol band only."
126
153
  },
127
154
  {
128
155
  "name": "teal-600",
156
+ "register": "palette",
129
157
  "value": "#006b70",
130
158
  "usage": "Skill store tone on narrative light grounds."
131
159
  },
132
160
  {
133
161
  "name": "teal-200",
162
+ "register": "palette",
134
163
  "value": "#7fd4c1",
135
164
  "usage": "Specialists ink and the terminal prompt, dark grounds only."
136
165
  },
137
166
  {
138
167
  "name": "violet-700",
168
+ "register": "palette",
139
169
  "value": "#473078",
140
170
  "usage": "Unassigned in the product since 2026-10-08, when product tones were dropped."
141
171
  },
142
172
  {
143
173
  "name": "violet-600",
174
+ "register": "palette",
144
175
  "value": "#584287",
145
176
  "usage": "Ultra violet: Build accents drawn on the landing page."
146
177
  },
147
178
  {
148
179
  "name": "violet-200",
180
+ "register": "palette",
149
181
  "value": "#c3b2f7",
150
182
  "usage": "Build on the petrol band only."
151
183
  },
152
184
  {
153
185
  "name": "amber-100",
186
+ "register": "palette",
154
187
  "value": "#ffd9a8",
155
188
  "usage": "Skill store ink on the petrol band only."
156
189
  },
157
190
  {
158
191
  "name": "amber-700",
192
+ "register": "palette",
159
193
  "value": "#b58200",
160
194
  "usage": "Warning. 3.4:1 on white: never text ink, carried by an icon."
161
195
  },
162
196
  {
163
197
  "name": "alis-red",
198
+ "register": "palette",
164
199
  "value": "#f02222",
165
200
  "usage": "Alis red: the mark, the caret, the loader. Never a control, fill or state."
166
201
  },
167
202
  {
168
203
  "name": "red-700",
204
+ "register": "palette",
169
205
  "value": "#ba1a1a",
170
206
  "usage": "Error. Distinct from Alis red in hue and value."
171
207
  },
172
208
  {
173
209
  "name": "green-700",
210
+ "register": "palette",
174
211
  "value": "#1e6b3a",
175
212
  "usage": "Success. Weight-matched to error at L* 40."
176
213
  },
177
214
  {
178
215
  "name": "primary",
216
+ "register": "product",
179
217
  "value": "{cyan-600}",
218
+ "values": {
219
+ "light": "{cyan-600}",
220
+ "dark": "{cyan-200}"
221
+ },
180
222
  "usage": "The only actionable colour, and only on the filled button, a link, and a control in use: the 2px focus outline, a focused field, a switch that is on, a drop target. Text and outlined buttons are ink. Never on something you cannot press (B8)."
181
223
  },
182
224
  {
183
225
  "name": "on-primary",
226
+ "register": "product",
184
227
  "value": "{paper-0}",
228
+ "values": {
229
+ "light": "{paper-0}",
230
+ "dark": "#00303f"
231
+ },
185
232
  "usage": "Ink on a primary fill."
186
233
  },
187
234
  {
188
235
  "name": "signal",
236
+ "register": "product",
189
237
  "value": "{alis-red}",
238
+ "values": {
239
+ "light": "{alis-red}",
240
+ "dark": "{alis-red}"
241
+ },
190
242
  "usage": "The caret, the cursor, the Alis mark and the loader: Alis is on it. Never a fill, a control or a state."
191
243
  },
192
244
  {
193
245
  "name": "on-surface",
246
+ "register": "product",
194
247
  "value": "{petrol-800}",
248
+ "values": {
249
+ "light": "{petrol-800}",
250
+ "dark": "{mist-100}"
251
+ },
195
252
  "usage": "First ink: titles, body, labels, code, table cells, text and outlined buttons, the progress fill."
196
253
  },
197
254
  {
198
255
  "name": "on-surface-variant",
256
+ "register": "product",
199
257
  "value": "{petrol-500}",
258
+ "values": {
259
+ "light": "{petrol-500}",
260
+ "dark": "#9aa6ae"
261
+ },
200
262
  "usage": "Second and last ink: supporting, meta, eyebrow, keys, icon buttons. No third ink (D3)."
201
263
  },
202
264
  {
203
265
  "name": "background",
266
+ "register": "product",
204
267
  "value": "{paper-50}",
268
+ "values": {
269
+ "light": "{paper-50}",
270
+ "dark": "#192127"
271
+ },
205
272
  "usage": "The ground: every pane of the app layout, the thread column."
206
273
  },
207
274
  {
208
275
  "name": "surface",
276
+ "register": "product",
209
277
  "value": "{paper-0}",
210
- "usage": "The instrument: a card you act on, white with an outline-variant edge. Also the outlined button, the selected segment, menus and dialogs."
278
+ "values": {
279
+ "light": "{paper-0}",
280
+ "dark": "#26313a"
281
+ },
282
+ "usage": "The instrument: a card you act on, white with an outline-variant edge. Also the outlined button, the selected segment, a field. What floats is surface-container-high."
211
283
  },
212
284
  {
213
285
  "name": "surface-container-low",
286
+ "register": "product",
214
287
  "value": "{paper-150}",
288
+ "values": {
289
+ "light": "{paper-150}",
290
+ "dark": "#21292f"
291
+ },
215
292
  "usage": "The statement: grouped context, flat, not acted on. Never used to make something visible."
216
293
  },
294
+ {
295
+ "name": "surface-container-high",
296
+ "register": "product",
297
+ "value": "{paper-0}",
298
+ "values": {
299
+ "light": "{paper-0}",
300
+ "dark": "#29343c"
301
+ },
302
+ "usage": "Things that float above the page: a menu, the composer, a dialog, a sliding detail pane, a card being dragged. White in light, the same as surface. In dark a step lighter than surface, as light as it can be while signal (the caret in the composer) keeps 3:1 on it: about 9 L* above the ground, where most floating things sit, and 1.3 above a card, with the shadow doing the rest."
303
+ },
217
304
  {
218
305
  "name": "surface-container-highest",
306
+ "register": "product",
219
307
  "value": "{grey-200}",
308
+ "values": {
309
+ "light": "{grey-200}",
310
+ "dark": "#2f3b45"
311
+ },
220
312
  "usage": "Icon tiles and initials, with on-surface ink."
221
313
  },
222
314
  {
223
315
  "name": "surface-variant",
316
+ "register": "product",
224
317
  "value": "{grey-200}",
225
- "usage": "Chip, snackbar, tooltip and switch-track grounds. Same value as surface-container-highest, a different job."
318
+ "values": {
319
+ "light": "{grey-200}",
320
+ "dark": "#2f3b45"
321
+ },
322
+ "usage": "Chip, snackbar and switch-track grounds. Same value as surface-container-highest, a different job. The tooltip is inverse-surface."
323
+ },
324
+ {
325
+ "name": "shimmer",
326
+ "register": "product",
327
+ "value": "{paper-0}",
328
+ "values": {
329
+ "light": "{paper-0}",
330
+ "dark": "#3d4a55"
331
+ },
332
+ "usage": "The light that sweeps a skeleton bar while it loads: lighter than the bar in both themes."
226
333
  },
227
334
  {
228
335
  "name": "secondary-container",
336
+ "register": "product",
229
337
  "value": "{grey-300}",
338
+ "values": {
339
+ "light": "{grey-300}",
340
+ "dark": "#34434e"
341
+ },
230
342
  "usage": "Selected: rows, segments, chips, tiles, toggles. Always with a second property (FILL 1 icon, weight 700)."
231
343
  },
232
344
  {
233
345
  "name": "on-secondary-container",
346
+ "register": "product",
234
347
  "value": "{petrol-800}",
348
+ "values": {
349
+ "light": "{petrol-800}",
350
+ "dark": "{mist-100}"
351
+ },
235
352
  "usage": "Ink on a selected fill."
236
353
  },
237
354
  {
238
355
  "name": "selection-chrome",
356
+ "register": "product",
239
357
  "value": "{grey-250}",
358
+ "values": {
359
+ "light": "{grey-250}",
360
+ "dark": "#2a363f"
361
+ },
240
362
  "usage": "Selected on the navigation rail, and nowhere else."
241
363
  },
242
364
  {
243
365
  "name": "outline",
366
+ "register": "product",
244
367
  "value": "{grey-600}",
368
+ "values": {
369
+ "light": "{grey-600}",
370
+ "dark": "#77838c"
371
+ },
245
372
  "usage": "A rule."
246
373
  },
247
374
  {
248
375
  "name": "outline-variant",
376
+ "register": "product",
249
377
  "value": "{grey-200}",
378
+ "values": {
379
+ "light": "{grey-200}",
380
+ "dark": "#34414a"
381
+ },
250
382
  "usage": "Every hairline: a divider, table and tab lines, the instrument card's edge, a segmented track; the scrollbar."
251
383
  },
252
384
  {
253
385
  "name": "error",
386
+ "register": "product",
254
387
  "value": "{red-700}",
388
+ "values": {
389
+ "light": "{red-700}",
390
+ "dark": "#ffb4ab"
391
+ },
255
392
  "usage": "Failure and destructive actions; notification badges. Never animates, except a live microphone's dot."
256
393
  },
257
394
  {
258
395
  "name": "on-error",
396
+ "register": "product",
259
397
  "value": "{paper-0}",
398
+ "values": {
399
+ "light": "{paper-0}",
400
+ "dark": "#690005"
401
+ },
260
402
  "usage": "Ink on an error fill."
261
403
  },
262
404
  {
263
405
  "name": "warning",
406
+ "register": "product",
264
407
  "value": "{amber-700}",
408
+ "values": {
409
+ "light": "{amber-700}",
410
+ "dark": "#e9b443"
411
+ },
265
412
  "usage": "Warning, as an icon beside its line. Never text ink."
266
413
  },
267
414
  {
268
415
  "name": "success",
416
+ "register": "product",
269
417
  "value": "{green-700}",
418
+ "values": {
419
+ "light": "{green-700}",
420
+ "dark": "#7ccf95"
421
+ },
270
422
  "usage": "Success. 6.5:1 on white."
271
423
  },
272
424
  {
273
425
  "name": "info",
426
+ "register": "product",
274
427
  "value": "{blue-600}",
428
+ "values": {
429
+ "light": "{blue-600}",
430
+ "dark": "#a9c1ff"
431
+ },
275
432
  "usage": "Information. Always with an icon or label."
276
433
  },
277
434
  {
278
435
  "name": "inverse-surface",
436
+ "register": "product",
279
437
  "value": "{petrol-800}",
280
- "usage": "The ground for machine speech only: a dark code block, a terminal, a light-on-dark canvas."
438
+ "values": {
439
+ "light": "{petrol-800}",
440
+ "dark": "{mist-100}"
441
+ },
442
+ "usage": "Material 3's inverse: the reverse of the surrounding UI. The plain tooltip's ground, so it turns light in dark. Not code or terminals: those are machine-surface."
281
443
  },
282
444
  {
283
445
  "name": "on-inverse-surface",
446
+ "register": "product",
284
447
  "value": "{paper-100}",
285
- "usage": "Ink on the inverse surface."
448
+ "values": {
449
+ "light": "{paper-100}",
450
+ "dark": "{petrol-800}"
451
+ },
452
+ "usage": "Ink on inverse-surface: the tooltip."
453
+ },
454
+ {
455
+ "name": "machine-surface",
456
+ "register": "product",
457
+ "value": "{petrol-800}",
458
+ "values": {
459
+ "light": "{petrol-800}",
460
+ "dark": "#0f1418"
461
+ },
462
+ "usage": "The ground for machine speech: a code block on the machine ground, a terminal, a canvas that draws light on dark. Dark in both themes; in dark it sits below the ground. Use it through .app-machine, which also makes everything inside it take its dark values."
463
+ },
464
+ {
465
+ "name": "on-machine-surface",
466
+ "register": "product",
467
+ "value": "{paper-100}",
468
+ "values": {
469
+ "light": "{paper-100}",
470
+ "dark": "{mist-100}"
471
+ },
472
+ "usage": "Ink on machine-surface and on the AI code ground."
473
+ },
474
+ {
475
+ "name": "paper",
476
+ "register": "product",
477
+ "value": "{paper-0}",
478
+ "values": {
479
+ "light": "{paper-0}",
480
+ "dark": "{paper-0}"
481
+ },
482
+ "usage": "White in every theme: the frame of a page that sets its own colours (the file pane). Never a surface of ours."
286
483
  },
287
484
  {
288
485
  "name": "scrim",
486
+ "register": "product",
289
487
  "value": "#000000",
488
+ "values": {
489
+ "light": "#000000",
490
+ "dark": "#000000"
491
+ },
290
492
  "usage": "Behind text laid over an image; with a drawing, the one role that takes an alpha."
291
493
  },
494
+ {
495
+ "name": "shadow-key",
496
+ "register": "product",
497
+ "value": "rgba(16, 24, 40, 0.16)",
498
+ "values": {
499
+ "light": "rgba(16, 24, 40, 0.16)",
500
+ "dark": "rgba(0, 0, 0, 0.4)"
501
+ },
502
+ "usage": "The tight, close layer of every elevation shadow."
503
+ },
504
+ {
505
+ "name": "shadow-ambient",
506
+ "register": "product",
507
+ "value": "rgba(16, 24, 40, 0.2)",
508
+ "values": {
509
+ "light": "rgba(16, 24, 40, 0.2)",
510
+ "dark": "rgba(0, 0, 0, 0.45)"
511
+ },
512
+ "usage": "The soft, wide layer of every elevation shadow."
513
+ },
292
514
  {
293
515
  "name": "highlight",
516
+ "register": "product",
294
517
  "value": "#fdecc8",
518
+ "values": {
519
+ "light": "#fdecc8",
520
+ "dark": "#5b4614"
521
+ },
295
522
  "usage": "Marked text: a comment anchor, a search hit, a transcript match. Never a status or selection."
296
523
  },
297
524
  {
298
525
  "name": "on-highlight",
526
+ "register": "product",
299
527
  "value": "{petrol-800}",
528
+ "values": {
529
+ "light": "{petrol-800}",
530
+ "dark": "#fdecc8"
531
+ },
300
532
  "usage": "Ink on highlighted text."
301
533
  },
302
534
  {
303
535
  "name": "cat1",
536
+ "register": "product",
304
537
  "value": "#7860c4",
305
- "usage": "Category 1 mark: Violet, Build's hue on alisx.com. The six hues sit 60° apart from the brand cyan. A mark is a chart series, a dot or a tick, never text and never emphasis or state. Assign in order, never by hash."
538
+ "values": {
539
+ "light": "#7860c4",
540
+ "dark": "#846cd1"
541
+ },
542
+ "usage": "Category 1 mark: Violet, Build's hue on alisx.com. The six hues sit 60° apart from the brand cyan. A mark is a chart series, a dot or a tick, never text and never emphasis or state. Assign in order, never by hash. In dark one small step lighter (#846cd1), so it clears 3:1 on a dark card."
306
543
  },
307
544
  {
308
545
  "name": "cat2",
546
+ "register": "product",
309
547
  "value": "#19a289",
548
+ "values": {
549
+ "light": "#19a289",
550
+ "dark": "#19a289"
551
+ },
310
552
  "usage": "Category 2 mark: Mint, the Specialists' hue. A chart series, a dot, a tick; never text."
311
553
  },
312
554
  {
313
555
  "name": "cat3",
556
+ "register": "product",
314
557
  "value": "#c97409",
558
+ "values": {
559
+ "light": "#c97409",
560
+ "dark": "#c97409"
561
+ },
315
562
  "usage": "Category 3 mark: Apricot, the Skill store's hue. A chart series, a dot, a tick; never text."
316
563
  },
317
564
  {
318
565
  "name": "cat4",
566
+ "register": "product",
319
567
  "value": "#0398cd",
568
+ "values": {
569
+ "light": "#0398cd",
570
+ "dark": "#0398cd"
571
+ },
320
572
  "usage": "Category 4 mark: Sky, Ideate's hue a tone lighter than the action cyan. A chart series, a dot, a tick; never text."
321
573
  },
322
574
  {
323
575
  "name": "cat5",
576
+ "register": "product",
324
577
  "value": "#b3487e",
325
- "usage": "Category 5 mark: Rose. A chart series, a dot, a tick; never text."
578
+ "values": {
579
+ "light": "#b3487e",
580
+ "dark": "#c1548a"
581
+ },
582
+ "usage": "Category 5 mark: Rose. A chart series, a dot, a tick; never text. In dark one small step lighter (#c1548a), so it clears 3:1 on a dark card."
326
583
  },
327
584
  {
328
585
  "name": "cat6",
586
+ "register": "product",
329
587
  "value": "#728d02",
588
+ "values": {
589
+ "light": "#728d02",
590
+ "dark": "#728d02"
591
+ },
330
592
  "usage": "Category 6 mark: Lime. A chart series, a dot, a tick; never text. Past six, group the tail into chart-neutral \"Other\"."
331
593
  },
332
594
  {
333
595
  "name": "on-cat",
596
+ "register": "product",
334
597
  "value": "{paper-0}",
598
+ "values": {
599
+ "light": "{paper-0}",
600
+ "dark": "{paper-0}"
601
+ },
335
602
  "usage": "Unassigned since 2026-10-08: a category mark carries no text. Text on a category sits on its container, in its on-catN-container ink."
336
603
  },
337
604
  {
338
605
  "name": "cat1-container",
606
+ "register": "product",
339
607
  "value": "#ede9ff",
608
+ "values": {
609
+ "light": "#ede9ff",
610
+ "dark": "#2f2752"
611
+ },
340
612
  "usage": "Category 1 container (tone 95), with on-cat1-container ink and a cat1 dot."
341
613
  },
342
614
  {
343
615
  "name": "cat2-container",
616
+ "register": "product",
344
617
  "value": "#d2f6ec",
618
+ "values": {
619
+ "light": "#d2f6ec",
620
+ "dark": "#0f3a31"
621
+ },
345
622
  "usage": "Category 2 container."
346
623
  },
347
624
  {
348
625
  "name": "cat3-container",
626
+ "register": "product",
349
627
  "value": "#ffe8d2",
628
+ "values": {
629
+ "light": "#ffe8d2",
630
+ "dark": "#43280a"
631
+ },
350
632
  "usage": "Category 3 container."
351
633
  },
352
634
  {
353
635
  "name": "cat4-container",
636
+ "register": "product",
354
637
  "value": "#d3f2ff",
638
+ "values": {
639
+ "light": "#d3f2ff",
640
+ "dark": "#0b3446"
641
+ },
355
642
  "usage": "Category 4 container."
356
643
  },
357
644
  {
358
645
  "name": "cat5-container",
646
+ "register": "product",
359
647
  "value": "#ffe2f0",
648
+ "values": {
649
+ "light": "#ffe2f0",
650
+ "dark": "#45192f"
651
+ },
360
652
  "usage": "Category 5 container."
361
653
  },
362
654
  {
363
655
  "name": "cat6-container",
656
+ "register": "product",
364
657
  "value": "#e8f2d4",
658
+ "values": {
659
+ "light": "#e8f2d4",
660
+ "dark": "#2a3405"
661
+ },
365
662
  "usage": "Category 6 container."
366
663
  },
367
664
  {
368
665
  "name": "on-cat1-container",
666
+ "register": "product",
369
667
  "value": "#443672",
668
+ "values": {
669
+ "light": "#443672",
670
+ "dark": "#ddd5ff"
671
+ },
370
672
  "usage": "Ink on cat1-container (tone 30, about 8.5:1)."
371
673
  },
372
674
  {
373
675
  "name": "on-cat2-container",
676
+ "register": "product",
374
677
  "value": "#004f41",
678
+ "values": {
679
+ "light": "#004f41",
680
+ "dark": "#b5efdc"
681
+ },
375
682
  "usage": "Ink on cat2-container (tone 30, about 8.5:1)."
376
683
  },
377
684
  {
378
685
  "name": "on-cat3-container",
686
+ "register": "product",
379
687
  "value": "#653400",
688
+ "values": {
689
+ "light": "#653400",
690
+ "dark": "#ffd9b3"
691
+ },
380
692
  "usage": "Ink on cat3-container (tone 30, about 8.5:1)."
381
693
  },
382
694
  {
383
695
  "name": "on-cat4-container",
696
+ "register": "product",
384
697
  "value": "#00496a",
698
+ "values": {
699
+ "light": "#00496a",
700
+ "dark": "#c2ecff"
701
+ },
385
702
  "usage": "Ink on cat4-container (tone 30, about 8.5:1)."
386
703
  },
387
704
  {
388
705
  "name": "on-cat5-container",
706
+ "register": "product",
389
707
  "value": "#682848",
708
+ "values": {
709
+ "light": "#682848",
710
+ "dark": "#ffd1e6"
711
+ },
390
712
  "usage": "Ink on cat5-container (tone 30, about 8.5:1)."
391
713
  },
392
714
  {
393
715
  "name": "on-cat6-container",
716
+ "register": "product",
394
717
  "value": "#3a4a00",
718
+ "values": {
719
+ "light": "#3a4a00",
720
+ "dark": "#d6ea9f"
721
+ },
395
722
  "usage": "Ink on cat6-container (tone 30, about 8.5:1)."
396
723
  },
397
724
  {
398
725
  "name": "chart-neutral",
726
+ "register": "product",
399
727
  "value": "#8c8e8e",
728
+ "values": {
729
+ "light": "#8c8e8e",
730
+ "dark": "#8c8e8e"
731
+ },
400
732
  "usage": "A neutral chart mark: the lightest grey that clears 3:1."
401
733
  },
734
+ {
735
+ "name": "syntax-plain",
736
+ "register": "product",
737
+ "value": "{petrol-800}",
738
+ "values": {
739
+ "light": "{petrol-800}",
740
+ "dark": "{mist-100}"
741
+ },
742
+ "usage": "Code text that no other syntax role colours: names, types, punctuation."
743
+ },
744
+ {
745
+ "name": "syntax-comment",
746
+ "register": "product",
747
+ "value": "{petrol-500}",
748
+ "values": {
749
+ "light": "{petrol-500}",
750
+ "dark": "#9aa6ae"
751
+ },
752
+ "usage": "Comments: the second ink."
753
+ },
754
+ {
755
+ "name": "syntax-keyword",
756
+ "register": "product",
757
+ "value": "#5f45a6",
758
+ "values": {
759
+ "light": "#5f45a6",
760
+ "dark": "#cdb7ff"
761
+ },
762
+ "usage": "Keywords: the violet category hue at a text tone. Not primary: code is not something you press."
763
+ },
764
+ {
765
+ "name": "syntax-string",
766
+ "register": "product",
767
+ "value": "#006f58",
768
+ "values": {
769
+ "light": "#006f58",
770
+ "dark": "#6de3c8"
771
+ },
772
+ "usage": "Strings: the mint category hue at a text tone."
773
+ },
774
+ {
775
+ "name": "syntax-number",
776
+ "register": "product",
777
+ "value": "#914100",
778
+ "values": {
779
+ "light": "#914100",
780
+ "dark": "#ffb35e"
781
+ },
782
+ "usage": "Numbers and constants: the apricot category hue at a text tone."
783
+ },
784
+ {
785
+ "name": "syntax-function",
786
+ "register": "product",
787
+ "value": "#952c64",
788
+ "values": {
789
+ "light": "#952c64",
790
+ "dark": "#ff9fd5"
791
+ },
792
+ "usage": "Function and method names: the rose category hue at a text tone."
793
+ },
402
794
  {
403
795
  "name": "ai-you",
796
+ "register": "product",
404
797
  "value": "#0398cd",
798
+ "values": {
799
+ "light": "#0398cd",
800
+ "dark": "#0398cd"
801
+ },
405
802
  "usage": "The voice light while the person speaks: the cool layer, mixed with ai-you-container. AI identity, a drawing: never a category, a control or text."
406
803
  },
407
804
  {
408
805
  "name": "ai-you-container",
806
+ "register": "product",
409
807
  "value": "#d3f2ff",
410
- "usage": "The voice light's cool tint."
808
+ "values": {
809
+ "light": "#d3f2ff",
810
+ "dark": "#9fdcf0"
811
+ },
812
+ "usage": "The voice light's cool tint. In dark a sky tone, so the light stays lighter than the ground."
411
813
  },
412
814
  {
413
815
  "name": "ai-alis",
816
+ "register": "product",
414
817
  "value": "{signal}",
818
+ "values": {
819
+ "light": "{signal}",
820
+ "dark": "{signal}"
821
+ },
415
822
  "usage": "The voice light while Alis speaks: her brand red, only ever as a tint mixed with ai-alis-container, never a solid fill. AI identity, a drawing."
416
823
  },
417
824
  {
418
825
  "name": "ai-alis-container",
826
+ "register": "product",
419
827
  "value": "#ffece9",
420
- "usage": "The voice light's pale brand red, which ai-alis is mixed into while Alis speaks."
828
+ "values": {
829
+ "light": "#ffece9",
830
+ "dark": "#f0a39b"
831
+ },
832
+ "usage": "The voice light's pale brand red, which ai-alis is mixed into while Alis speaks. In dark a coral, so the light reads as light, not an alarm; deep red tints were tried and read as one."
421
833
  },
422
834
  {
423
835
  "name": "ai-tail",
836
+ "register": "product",
424
837
  "value": "#19a289",
838
+ "values": {
839
+ "light": "#19a289",
840
+ "dark": "#19a289"
841
+ },
425
842
  "usage": "Where the AI gradient lands, after signal and primary: the AI headline and the onboarding ring. A mark tone, so headline text keeps 3:1 at its faintest."
426
843
  },
844
+ {
845
+ "name": "ai-ground-start",
846
+ "register": "product",
847
+ "value": "{cyan-600}",
848
+ "values": {
849
+ "light": "{cyan-600}",
850
+ "dark": "{cyan-600}"
851
+ },
852
+ "usage": "Where the AI code ground starts: today's light primary, in both themes, so the ground looks the same in either and its ink holds 5:1 or more. Not primary, which turns pale in dark."
853
+ },
427
854
  {
428
855
  "name": "ai-ground-end",
856
+ "register": "product",
429
857
  "value": "#004f41",
430
- "usage": "The dark end of the AI code ground, from primary, so on-inverse-surface ink keeps 6.7:1 everywhere."
858
+ "values": {
859
+ "light": "#004f41",
860
+ "dark": "#004f41"
861
+ },
862
+ "usage": "The dark end of the AI code ground, from ai-ground-start, so on-machine-surface ink keeps 4.5:1 or more in both themes."
431
863
  },
432
864
  {
433
865
  "name": "narrative-canvas",
866
+ "register": "narrative",
434
867
  "value": "{paper-25}",
435
868
  "usage": "alisx.com page ground, under the drafting field."
436
869
  },
437
870
  {
438
871
  "name": "narrative-surface-sunken",
872
+ "register": "narrative",
439
873
  "value": "{paper-75}",
440
874
  "usage": "alisx.com recessed panel."
441
875
  },
442
876
  {
443
877
  "name": "narrative-ink-body",
878
+ "register": "narrative",
444
879
  "value": "{petrol-700}",
445
880
  "usage": "alisx.com running text: ledes, decks, paragraphs. Never in the product (D3)."
446
881
  },
447
882
  {
448
883
  "name": "narrative-line",
884
+ "register": "narrative",
449
885
  "value": "rgba(39, 50, 58, 0.12)",
450
886
  "usage": "alisx.com lattice hairlines and quiet outlines."
451
887
  },
452
888
  {
453
889
  "name": "narrative-line-strong",
890
+ "register": "narrative",
454
891
  "value": "rgba(39, 50, 58, 0.16)",
455
892
  "usage": "alisx.com control borders and card outlines."
456
893
  },
457
894
  {
458
895
  "name": "narrative-line-inverse",
896
+ "register": "narrative",
459
897
  "value": "rgba(255, 255, 255, 0.22)",
460
898
  "usage": "Rules on the petrol band."
461
899
  },
462
900
  {
463
901
  "name": "narrative-link",
902
+ "register": "narrative",
464
903
  "value": "{cyan-700}",
465
904
  "usage": "alisx.com links and button hover."
466
905
  },
467
906
  {
468
907
  "name": "narrative-tone-forge",
908
+ "register": "narrative",
469
909
  "value": "{teal-600}",
470
910
  "usage": "Skill store eyebrows and ticks on alisx.com. The product has no tones."
471
911
  },
472
912
  {
473
913
  "name": "band-top",
914
+ "register": "narrative",
474
915
  "value": "{petrol-850}",
475
916
  "usage": "Petrol band gradient, top."
476
917
  },
477
918
  {
478
919
  "name": "band-bottom",
920
+ "register": "narrative",
479
921
  "value": "{petrol-900}",
480
922
  "usage": "Petrol band gradient, bottom."
481
923
  },
482
924
  {
483
925
  "name": "band-fg",
926
+ "register": "narrative",
484
927
  "value": "rgba(253, 253, 252, 0.78)",
485
928
  "usage": "Body text on the band."
486
929
  },
487
930
  {
488
931
  "name": "band-surface",
932
+ "register": "narrative",
489
933
  "value": "rgba(253, 253, 252, 0.05)",
490
934
  "usage": "Glass card fill on the band and the bench."
491
935
  },
492
936
  {
493
937
  "name": "band-line",
938
+ "register": "narrative",
494
939
  "value": "rgba(255, 255, 255, 0.12)",
495
940
  "usage": "Glass card border on the band."
496
941
  },
497
942
  {
498
943
  "name": "on-band-ideate",
944
+ "register": "narrative",
499
945
  "value": "{cyan-200}",
500
946
  "usage": "Ideate on the band."
501
947
  },
502
948
  {
503
949
  "name": "on-band-build",
950
+ "register": "narrative",
504
951
  "value": "{violet-200}",
505
952
  "usage": "Build on the band."
506
953
  },
507
954
  {
508
955
  "name": "on-band-forge",
956
+ "register": "narrative",
509
957
  "value": "{amber-100}",
510
958
  "usage": "Skill store on the band."
511
959
  },
512
960
  {
513
961
  "name": "on-band-spec",
962
+ "register": "narrative",
514
963
  "value": "{teal-200}",
515
964
  "usage": "Specialists on the band."
516
965
  },
517
966
  {
518
967
  "name": "term-bg",
968
+ "register": "narrative",
519
969
  "value": "{petrol-950}",
520
970
  "usage": "The alisx.com terminal. In the product a terminal is inverseSurface."
521
971
  },
522
972
  {
523
973
  "name": "term-fg",
974
+ "register": "narrative",
524
975
  "value": "{mist-100}",
525
976
  "usage": "Terminal text."
526
977
  },
527
978
  {
528
979
  "name": "term-prompt",
980
+ "register": "narrative",
529
981
  "value": "{teal-200}",
530
982
  "usage": "The caret before what the human typed."
531
983
  },
532
984
  {
533
985
  "name": "term-reply",
986
+ "register": "narrative",
534
987
  "value": "#ffc107",
535
988
  "usage": "The agent reply mark. Material Amber 500 as shipped on alisx.com: a stock colour (D5), open in Known gaps."
536
989
  },
537
990
  {
538
991
  "name": "term-ok",
992
+ "register": "narrative",
539
993
  "value": "#4caf50",
540
994
  "usage": "A passed check. Material Green 500 as shipped on alisx.com: a stock colour (D5), open in Known gaps."
541
995
  },
542
996
  {
543
997
  "name": "field-grid-line",
998
+ "register": "product",
544
999
  "value": "rgba(39, 50, 58, 0.06)",
545
- "usage": "The 72px drafting-field grid."
1000
+ "values": {
1001
+ "light": "rgba(39, 50, 58, 0.06)",
1002
+ "dark": "rgba(127, 212, 232, 0.055)"
1003
+ },
1004
+ "usage": "The 72px drafting-field grid. In dark, the workbench grid's cyan."
1005
+ },
1006
+ {
1007
+ "name": "field-glow-1",
1008
+ "register": "product",
1009
+ "value": "rgba(0, 99, 131, 0.12)",
1010
+ "values": {
1011
+ "light": "rgba(0, 99, 131, 0.12)",
1012
+ "dark": "rgba(127, 212, 232, 0.1)"
1013
+ },
1014
+ "usage": "The drafting field's cool glow, from below left."
1015
+ },
1016
+ {
1017
+ "name": "field-glow-2",
1018
+ "register": "product",
1019
+ "value": "rgba(88, 66, 135, 0.1)",
1020
+ "values": {
1021
+ "light": "rgba(88, 66, 135, 0.1)",
1022
+ "dark": "rgba(195, 178, 247, 0.08)"
1023
+ },
1024
+ "usage": "The drafting field's violet glow, from below right."
1025
+ },
1026
+ {
1027
+ "name": "field-noise",
1028
+ "register": "product",
1029
+ "value": "{petrol-800}",
1030
+ "values": {
1031
+ "light": "{petrol-800}",
1032
+ "dark": "{paper-0}"
1033
+ },
1034
+ "usage": "The drafting field's grain, drawn through the noise mask at --noise-opacity."
546
1035
  },
547
1036
  {
548
1037
  "name": "bench-grid-line",
1038
+ "register": "narrative",
549
1039
  "value": "rgba(127, 212, 232, 0.055)",
550
1040
  "usage": "The 24px workbench grid."
551
1041
  }
552
1042
  ]
553
1043
  },
1044
+ "contrast": {
1045
+ "about": "Pairs make check measures in every theme, beyond the ones it derives from names (on-X over X; on-surface and on-surface-variant over every surface role). min is the WCAG 2 ratio: 4.5 for text, 3 for graphics. fgTheme pins the foreground's theme where a section forces it, as .app-machine does.",
1046
+ "pairs": [
1047
+ {
1048
+ "fg": [
1049
+ "primary"
1050
+ ],
1051
+ "bg": [
1052
+ "background",
1053
+ "surface",
1054
+ "surface-container-low",
1055
+ "surface-container-high"
1056
+ ],
1057
+ "min": 4.5,
1058
+ "why": "A link is text."
1059
+ },
1060
+ {
1061
+ "fg": [
1062
+ "error",
1063
+ "success",
1064
+ "info"
1065
+ ],
1066
+ "bg": [
1067
+ "background",
1068
+ "surface"
1069
+ ],
1070
+ "min": 4.5,
1071
+ "why": "A status chip's label."
1072
+ },
1073
+ {
1074
+ "fg": [
1075
+ "warning",
1076
+ "signal",
1077
+ "outline"
1078
+ ],
1079
+ "bg": [
1080
+ "background",
1081
+ "surface",
1082
+ "surface-container-high"
1083
+ ],
1084
+ "min": 3,
1085
+ "why": "Graphics: a warning icon, the Alis mark and caret (the composer floats), a field's edge."
1086
+ },
1087
+ {
1088
+ "fg": [
1089
+ "cat1",
1090
+ "cat2",
1091
+ "cat3",
1092
+ "cat4",
1093
+ "cat5",
1094
+ "cat6",
1095
+ "chart-neutral"
1096
+ ],
1097
+ "bg": [
1098
+ "background",
1099
+ "surface"
1100
+ ],
1101
+ "min": 3,
1102
+ "why": "Chart marks, on the page or in a card, where charts sit."
1103
+ },
1104
+ {
1105
+ "fg": [
1106
+ "syntax-plain",
1107
+ "syntax-comment",
1108
+ "syntax-keyword",
1109
+ "syntax-string",
1110
+ "syntax-number",
1111
+ "syntax-function"
1112
+ ],
1113
+ "bg": [
1114
+ "surface-container-highest",
1115
+ "surface",
1116
+ "surface-container-low"
1117
+ ],
1118
+ "min": 4.5,
1119
+ "why": "Code on a light ground: prose, the editor."
1120
+ },
1121
+ {
1122
+ "fg": [
1123
+ "syntax-plain",
1124
+ "syntax-comment",
1125
+ "syntax-keyword",
1126
+ "syntax-string",
1127
+ "syntax-number",
1128
+ "syntax-function"
1129
+ ],
1130
+ "bg": [
1131
+ "machine-surface"
1132
+ ],
1133
+ "fgTheme": "dark",
1134
+ "min": 4.5,
1135
+ "why": "Code on the machine ground takes the dark values in either theme."
1136
+ },
1137
+ {
1138
+ "fg": [
1139
+ "on-machine-surface"
1140
+ ],
1141
+ "bg": [
1142
+ "ai-ground-start",
1143
+ "ai-ground-end"
1144
+ ],
1145
+ "min": 4.5,
1146
+ "why": "Ink on the AI code ground, at both ends of the gradient."
1147
+ }
1148
+ ]
1149
+ },
554
1150
  "type": {
555
1151
  "fonts": [],
556
1152
  "families": {
@@ -813,15 +1409,10 @@
813
1409
  "value": "840px",
814
1410
  "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."
815
1411
  },
816
- {
817
- "name": "breakpoint-large",
818
- "value": "1200px",
819
- "usage": "From here a file sits beside the conversation, two parts to three (AppFilePane); below it, the file takes the content's place. Custom properties can't be used in media queries: write the number, and name the token in a comment."
820
- },
821
1412
  {
822
1413
  "name": "breakpoint-expanded",
823
1414
  "value": "1200px",
824
- "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."
1415
+ "usage": "Expanded window below, large from here (Material 3's large window starts at 1200): list and detail side by side, and a file sits beside the conversation, two parts to three (AppFilePane); below it, the file takes the content's place. Custom properties can't be used in media queries: write the number, and name the token in a comment."
825
1416
  },
826
1417
  {
827
1418
  "name": "breakpoint-large",
@@ -879,16 +1470,28 @@
879
1470
  {
880
1471
  "name": "elevation-1",
881
1472
  "value": "0 1px 2px 0 rgba(16, 24, 40, 0.16), 0 2px 6px 0 rgba(16, 24, 40, 0.2)",
1473
+ "values": {
1474
+ "light": "0 1px 2px 0 rgba(16, 24, 40, 0.16), 0 2px 6px 0 rgba(16, 24, 40, 0.2)",
1475
+ "dark": "0 1px 2px 0 rgba(0, 0, 0, 0.4), 0 2px 6px 0 rgba(0, 0, 0, 0.45)"
1476
+ },
882
1477
  "usage": "Unassigned: nothing rests above the page."
883
1478
  },
884
1479
  {
885
1480
  "name": "elevation-2",
886
1481
  "value": "0 1px 2px 0 rgba(16, 24, 40, 0.16), 0 4px 12px 0 rgba(16, 24, 40, 0.2)",
1482
+ "values": {
1483
+ "light": "0 1px 2px 0 rgba(16, 24, 40, 0.16), 0 4px 12px 0 rgba(16, 24, 40, 0.2)",
1484
+ "dark": "0 1px 2px 0 rgba(0, 0, 0, 0.4), 0 4px 12px 0 rgba(0, 0, 0, 0.45)"
1485
+ },
887
1486
  "usage": "Above the page: menus, the agent composer, a sticky bar with content under it, and a card on the drafting field."
888
1487
  },
889
1488
  {
890
1489
  "name": "elevation-3",
891
1490
  "value": "0 1px 3px 0 rgba(16, 24, 40, 0.16), 0 12px 32px -4px rgba(16, 24, 40, 0.2)",
1491
+ "values": {
1492
+ "light": "0 1px 3px 0 rgba(16, 24, 40, 0.16), 0 12px 32px -4px rgba(16, 24, 40, 0.2)",
1493
+ "dark": "0 1px 3px 0 rgba(0, 0, 0, 0.4), 0 12px 32px -4px rgba(0, 0, 0, 0.45)"
1494
+ },
892
1495
  "usage": "Interrupting or moving: snackbars, dialogs, an overlaid detail pane, and a card or row while it is dragged."
893
1496
  }
894
1497
  ]
@@ -963,7 +1566,7 @@
963
1566
  },
964
1567
  "meta": {
965
1568
  "source": "AlisX design system",
966
- "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."
1569
+ "layers": "palette (literal values, register palette) -> product roles (Material Design 3 role names, kebab-case; register product; a value per theme in values) and narrative roles (alisx.com only, register narrative, one value). Framework-neutral: map the roles into any theme."
967
1570
  },
968
1571
  "opacity": {
969
1572
  "tokens": [