@terpjs/contract 0.30.0 → 0.31.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.
package/token-pairs.json CHANGED
@@ -1,126 +1,177 @@
1
1
  {
2
- "$comment": "The sidebar's edge (--color-sidebar-border against the canvas) is deliberately NOT declared: WCAG 1.4.11 covers UI components and graphical objects needed to understand content, and a decorative separator beside a sidebar that already differs in background is neither. Declaring it would fail at ~1.2:1 in four themes and the only ways out would be darkening a decorative line everywhere or booking an allowance the ratchet may not grow. Token pairings the framework renders, as data, in two sections held to two different bars. `textPairs` are foreground/background pairs painted as TEXT and held to WCAG 2.1 AA for normal text; `nonTextPairs` are the visual boundaries and state indicators SC 1.4.11 asks 3:1 of — a focus indicator, the border that says which control is active, the outline of a control against its surface. Two consumers read both: tokens.contrast.test.js measures each pairing at its own bar, and the generated token manifest publishes them so a theme editor or an agent can tell which tokens must stay legible against which. A pair of token names appears in one section only: the text bar is the stricter of the two, so restating a text pairing under a non-text name would add a case that cannot fail unless the stricter one already has, and would overstate how much the ratchets cover. Purely decorative marks stay absent from both sections — WCAG sets no ratio for a divider or for an aria-hidden ornament, and asserting one would teach the next reader to ignore this file. Names are CSS custom properties because that is the vocabulary a theme author writes and a manifest consumer reads. A pairing earns its place here even when no specimen paints it, and two of them are exactly that: axe measures the pixels a lane renders, so a surface that only appears on a state no specimen can reach - a failed sign-in, a failed create - has no lane coverage at all, and the declared pairing is the only gate it will ever have.",
2
+ "$comment": "The sidebar's edge (--color-sidebar-border against the canvas) is deliberately NOT declared: WCAG 1.4.11 covers UI components and graphical objects needed to understand content, and a decorative separator beside a sidebar that already differs in background is neither. Declaring it would fail at ~1.2:1 in four themes and the only ways out would be darkening a decorative line everywhere or booking an allowance the ratchet may not grow. Token pairings the framework renders, as data, in two sections held to two different bars. `textPairs` are foreground/background pairs painted as TEXT and held to WCAG 2.1 AA for normal text; `nonTextPairs` are the visual boundaries and state indicators SC 1.4.11 asks 3:1 of — a focus indicator, the border that says which control is active, the outline of a control against its surface. Each text pairing also says how it is READ, and is held to that reading's APCA lightness contrast as well as to the WCAG ratio: `body` for running text and values (Lc 90), `secondary` for the short text a reader still has to take in, a label, a hint, a link, a badge, an error (Lc 75), and `incidental` for a count or a position that orients rather than informs (Lc 60). The floors are published in the manifest, and the reason both models are held is that WCAG 2's ratio flatters light text on a dark ground: the three dark themes shipped secondary text, links and badges as low as Lc 41 while every pairing passed AA. Two consumers read both: tokens.contrast.test.js measures each pairing at its own bar, and the generated token manifest publishes them so a theme editor or an agent can tell which tokens must stay legible against which. A pair of token names appears in one section only: the text bar is the stricter of the two, so restating a text pairing under a non-text name would add a case that cannot fail unless the stricter one already has, and would overstate how much the ratchets cover. Purely decorative marks stay absent from both sections — WCAG sets no ratio for a divider or for an aria-hidden ornament, and asserting one would teach the next reader to ignore this file. Names are CSS custom properties because that is the vocabulary a theme author writes and a manifest consumer reads. A pairing earns its place here even when no specimen paints it, and two of them are exactly that: axe measures the pixels a lane renders, so a surface that only appears on a state no specimen can reach - a failed sign-in, a failed create - has no lane coverage at all, and the declared pairing is the only gate it will ever have.",
3
3
  "textPairs": [
4
4
  {
5
5
  "id": "body-on-card",
6
- "label": "body text on a card",
6
+ "label": "body text on a white surface — a control, an overlay, the sign-in card",
7
7
  "fg": "--color-neutral-900",
8
8
  "bg": "--color-neutral-0",
9
- "layer": "primitive"
9
+ "layer": "primitive",
10
+ "reading": "body"
10
11
  },
11
12
  {
12
13
  "id": "body-on-canvas-primitive",
13
14
  "label": "body text on the canvas",
14
15
  "fg": "--color-neutral-900",
15
16
  "bg": "--color-neutral-50",
16
- "layer": "primitive"
17
+ "layer": "primitive",
18
+ "reading": "body"
17
19
  },
18
20
  {
19
21
  "id": "muted-on-card",
20
- "label": "muted text on a card",
22
+ "label": "muted text on a white surface — a control, an overlay, the sign-in card",
21
23
  "fg": "--color-neutral-600",
22
24
  "bg": "--color-neutral-0",
23
- "layer": "primitive"
25
+ "layer": "primitive",
26
+ "reading": "secondary"
24
27
  },
25
28
  {
26
29
  "id": "muted-on-canvas-primitive",
27
30
  "label": "muted text on the canvas",
28
31
  "fg": "--color-neutral-600",
29
32
  "bg": "--color-neutral-50",
30
- "layer": "primitive"
33
+ "layer": "primitive",
34
+ "reading": "secondary"
31
35
  },
32
36
  {
33
37
  "id": "danger-on-card",
34
- "label": "danger text on a card",
38
+ "label": "danger text on a white surface — a control, an overlay, the sign-in card",
35
39
  "fg": "--color-status-danger",
36
40
  "bg": "--color-neutral-0",
37
- "layer": "primitive"
41
+ "layer": "primitive",
42
+ "reading": "secondary"
38
43
  },
39
44
  {
40
45
  "id": "danger-on-canvas",
41
46
  "label": "danger text on the canvas",
42
47
  "fg": "--color-status-danger",
43
48
  "bg": "--color-neutral-50",
44
- "layer": "primitive"
49
+ "layer": "primitive",
50
+ "reading": "secondary"
51
+ },
52
+ {
53
+ "id": "body-on-container-primitive",
54
+ "label": "body text on a container — a boxed card, the page band",
55
+ "fg": "--color-neutral-900",
56
+ "bg": "--color-bg-subtle",
57
+ "layer": "primitive",
58
+ "reading": "body"
59
+ },
60
+ {
61
+ "id": "muted-on-container-primitive",
62
+ "label": "muted text on a container — a boxed card, the page band",
63
+ "fg": "--color-neutral-600",
64
+ "bg": "--color-bg-subtle",
65
+ "layer": "primitive",
66
+ "reading": "secondary"
67
+ },
68
+ {
69
+ "id": "danger-on-container",
70
+ "label": "danger text on a container — a boxed card, the page band",
71
+ "fg": "--color-status-danger",
72
+ "bg": "--color-bg-subtle",
73
+ "layer": "semantic",
74
+ "reading": "secondary"
45
75
  },
46
76
  {
47
77
  "id": "primary-button-label",
48
78
  "label": "primary button label",
49
79
  "fg": "--color-brand-primary-contrast",
50
80
  "bg": "--color-brand-primary",
51
- "layer": "primitive"
81
+ "layer": "primitive",
82
+ "reading": "secondary"
83
+ },
84
+ {
85
+ "id": "danger-button-label",
86
+ "label": "danger button label",
87
+ "fg": "--color-status-danger-fill-contrast",
88
+ "bg": "--color-status-danger-fill",
89
+ "layer": "semantic",
90
+ "reading": "secondary",
91
+ "$comment": "The danger as a filled surface (ADR 0170 §6). It was painted in the danger INK with the surface's own colour for a label, a pairing nothing declared: in night that label read at Lc 44 on #f85149 while passing WCAG at 5.65:1, and once the ink was lifted to read on the app's ground the button turned pale pink. Its own fill and label, like the accent's (ADR 0093 §5), keep it a deep red with a white label in every palette."
52
92
  },
53
93
  {
54
94
  "id": "success-badge",
55
95
  "label": "success badge",
56
96
  "fg": "--color-status-success",
57
97
  "bg": "--color-status-success-soft",
58
- "layer": "primitive"
98
+ "layer": "primitive",
99
+ "reading": "secondary"
59
100
  },
60
101
  {
61
102
  "id": "warning-badge",
62
103
  "label": "warning badge",
63
104
  "fg": "--color-status-warning",
64
105
  "bg": "--color-status-warning-soft",
65
- "layer": "primitive"
106
+ "layer": "primitive",
107
+ "reading": "secondary"
66
108
  },
67
109
  {
68
110
  "id": "danger-badge",
69
111
  "label": "danger badge",
70
112
  "fg": "--color-status-danger",
71
113
  "bg": "--color-status-danger-soft",
72
- "layer": "primitive"
114
+ "layer": "primitive",
115
+ "reading": "secondary"
73
116
  },
74
117
  {
75
118
  "id": "info-badge",
76
119
  "label": "info badge",
77
120
  "fg": "--color-status-info",
78
121
  "bg": "--color-status-info-soft",
79
- "layer": "primitive"
122
+ "layer": "primitive",
123
+ "reading": "secondary"
80
124
  },
81
125
  {
82
126
  "id": "body-on-surface",
83
127
  "label": "body text on a surface",
84
128
  "fg": "--color-fg-default",
85
129
  "bg": "--color-bg-surface",
86
- "layer": "semantic"
130
+ "layer": "semantic",
131
+ "reading": "body"
87
132
  },
88
133
  {
89
134
  "id": "body-on-canvas",
90
135
  "label": "body text on the canvas",
91
136
  "fg": "--color-fg-default",
92
137
  "bg": "--color-bg-canvas",
93
- "layer": "semantic"
138
+ "layer": "semantic",
139
+ "reading": "body"
94
140
  },
95
141
  {
96
142
  "id": "body-on-raised",
97
143
  "label": "body text on a raised surface",
98
144
  "fg": "--color-fg-default",
99
145
  "bg": "--color-bg-raised",
100
- "layer": "semantic"
146
+ "layer": "semantic",
147
+ "reading": "body"
101
148
  },
102
149
  {
103
150
  "id": "muted-on-surface",
104
151
  "label": "muted text on a surface",
105
152
  "fg": "--color-fg-muted",
106
153
  "bg": "--color-bg-surface",
107
- "layer": "semantic"
154
+ "layer": "semantic",
155
+ "reading": "secondary"
108
156
  },
109
157
  {
110
158
  "id": "muted-on-canvas",
111
159
  "label": "muted text on the canvas",
112
160
  "fg": "--color-fg-muted",
113
161
  "bg": "--color-bg-canvas",
114
- "layer": "semantic"
162
+ "layer": "semantic",
163
+ "reading": "secondary"
115
164
  },
116
165
  {
117
166
  "id": "subtle-on-surface",
118
167
  "label": "subtle text on a surface",
119
168
  "fg": "--color-fg-subtle",
120
169
  "bg": "--color-bg-surface",
121
- "layer": "semantic"
170
+ "layer": "semantic",
171
+ "reading": "incidental"
122
172
  },
123
173
  {
174
+ "reading": "incidental",
124
175
  "$comment": "Subtle ink on the CANVAS, which is the half that was missing. Only the surface pairing was declared, and the two are not the same measurement once the canvas is tinted away from the surface: in light this reads 5.29:1 where the surface reads 6.13, and at the previous #64748b it was 4.20 against a canvas the surface pairing still passed at 4.76. Every consumer that sits on the page rather than in a card — the DataView toolbar's result count, a section's lead line — failed axe while the declared pairing stayed green, which is exactly the coverage claim this file exists to make honest.",
125
176
  "id": "subtle-on-canvas",
126
177
  "label": "subtle text on the canvas",
@@ -128,42 +179,113 @@
128
179
  "bg": "--color-bg-canvas",
129
180
  "layer": "semantic"
130
181
  },
182
+ {
183
+ "id": "body-on-subtle",
184
+ "label": "body text on a container",
185
+ "fg": "--color-fg-default",
186
+ "bg": "--color-bg-subtle",
187
+ "layer": "semantic",
188
+ "reading": "body"
189
+ },
190
+ {
191
+ "id": "muted-on-subtle",
192
+ "label": "muted text on a container",
193
+ "fg": "--color-fg-muted",
194
+ "bg": "--color-bg-subtle",
195
+ "layer": "semantic",
196
+ "reading": "secondary"
197
+ },
198
+ {
199
+ "id": "subtle-on-subtle",
200
+ "label": "subtle text on a container",
201
+ "fg": "--color-fg-subtle",
202
+ "bg": "--color-bg-subtle",
203
+ "layer": "semantic",
204
+ "reading": "incidental"
205
+ },
206
+ {
207
+ "id": "accent-on-subtle",
208
+ "label": "a link on a container",
209
+ "fg": "--color-fg-accent",
210
+ "bg": "--color-bg-subtle",
211
+ "layer": "semantic",
212
+ "reading": "secondary"
213
+ },
214
+ {
215
+ "reading": "body",
216
+ "$comment": "The summary band's fill (ADR 0169 §4) and the three inks it carries: a figure's value and label, and the accent a figure's trend line and a link are drawn in. Its own token rather than the brand's soft tint read directly, because the record leaves the fill to the theme: a palette that wants a calmer band moves this one token, and the tint the hub tiles and the selected states share stays where it is. Every theme ships it at its soft tint, except night, whose band is a step darker than its tint so the subtle ink a line of Text may carry clears AA on it. A figure's delta is not here: it is a pill with its own soft fill, held by the badge pairings wherever a band or a card puts it.",
217
+ "id": "body-on-summary",
218
+ "label": "body text on the summary band",
219
+ "fg": "--color-fg-default",
220
+ "bg": "--color-bg-summary",
221
+ "layer": "semantic"
222
+ },
223
+ {
224
+ "id": "muted-on-summary",
225
+ "label": "muted text on the summary band",
226
+ "fg": "--color-fg-muted",
227
+ "bg": "--color-bg-summary",
228
+ "layer": "semantic",
229
+ "reading": "secondary"
230
+ },
231
+ {
232
+ "id": "subtle-on-summary",
233
+ "label": "subtle text on the summary band",
234
+ "fg": "--color-fg-subtle",
235
+ "bg": "--color-bg-summary",
236
+ "layer": "semantic",
237
+ "reading": "incidental"
238
+ },
239
+ {
240
+ "id": "accent-on-summary",
241
+ "label": "a link or a trend line on the summary band",
242
+ "fg": "--color-fg-accent",
243
+ "bg": "--color-bg-summary",
244
+ "layer": "semantic",
245
+ "reading": "secondary"
246
+ },
131
247
  {
132
248
  "id": "accent-on-surface",
133
249
  "label": "accent text on a surface",
134
250
  "fg": "--color-fg-accent",
135
251
  "bg": "--color-bg-surface",
136
- "layer": "semantic"
252
+ "layer": "semantic",
253
+ "reading": "secondary"
137
254
  },
138
255
  {
139
256
  "id": "accent-on-soft",
140
257
  "label": "accent text on the accent wash",
141
258
  "fg": "--color-fg-accent",
142
259
  "bg": "--color-brand-primary-soft",
143
- "layer": "semantic"
260
+ "layer": "semantic",
261
+ "reading": "secondary"
144
262
  },
145
263
  {
146
264
  "id": "muted-on-soft",
147
265
  "label": "muted text on the accent wash",
148
266
  "fg": "--color-fg-muted",
149
267
  "bg": "--color-brand-primary-soft",
150
- "layer": "semantic"
268
+ "layer": "semantic",
269
+ "reading": "secondary"
151
270
  },
152
271
  {
153
272
  "id": "sidebar-text",
154
273
  "label": "sidebar text",
155
274
  "fg": "--color-sidebar-fg",
156
275
  "bg": "--color-sidebar-bg",
157
- "layer": "semantic"
276
+ "layer": "semantic",
277
+ "reading": "secondary"
158
278
  },
159
279
  {
160
280
  "id": "sidebar-muted-text",
161
281
  "label": "sidebar muted text",
162
282
  "fg": "--color-sidebar-muted",
163
283
  "bg": "--color-sidebar-bg",
164
- "layer": "semantic"
284
+ "layer": "semantic",
285
+ "reading": "secondary"
165
286
  },
166
287
  {
288
+ "reading": "secondary",
167
289
  "$comment": "The nav link's two raised states, which are one pairing: hover has painted sidebar-fg on sidebar-accent since the sidebar family was wired, and the active route joined it when its brand fill moved to neutral. It went undeclared through both, and the gap had teeth — the version of the active rule that kept accent ink on the same wash measured 4.07:1 in dark and 4.36 in twilight, and only the axe lane caught it, per specimen, at the end of a 26-minute run. Declared here it is arithmetic over five themes instead.",
168
290
  "id": "sidebar-text-on-accent",
169
291
  "label": "sidebar text on the hovered or active nav item",
@@ -176,49 +298,56 @@
176
298
  "label": "muted text on a neutral-toned row or card",
177
299
  "fg": "--color-fg-muted",
178
300
  "bg": "--color-neutral-100",
179
- "layer": "semantic"
301
+ "layer": "semantic",
302
+ "reading": "secondary"
180
303
  },
181
304
  {
182
305
  "id": "muted-on-tone-info",
183
306
  "label": "muted text on an info-toned row or card",
184
307
  "fg": "--color-fg-muted",
185
308
  "bg": "--color-status-info-soft",
186
- "layer": "semantic"
309
+ "layer": "semantic",
310
+ "reading": "secondary"
187
311
  },
188
312
  {
189
313
  "id": "muted-on-tone-success",
190
314
  "label": "muted text on a success-toned row or card",
191
315
  "fg": "--color-fg-muted",
192
316
  "bg": "--color-status-success-soft",
193
- "layer": "semantic"
317
+ "layer": "semantic",
318
+ "reading": "secondary"
194
319
  },
195
320
  {
196
321
  "id": "muted-on-tone-warning",
197
322
  "label": "muted text on a warning-toned row or card",
198
323
  "fg": "--color-fg-muted",
199
324
  "bg": "--color-status-warning-soft",
200
- "layer": "semantic"
325
+ "layer": "semantic",
326
+ "reading": "secondary"
201
327
  },
202
328
  {
203
329
  "id": "muted-on-tone-danger",
204
330
  "label": "muted text on a danger-toned row or card",
205
331
  "fg": "--color-fg-muted",
206
332
  "bg": "--color-status-danger-soft",
207
- "layer": "semantic"
333
+ "layer": "semantic",
334
+ "reading": "secondary"
208
335
  },
209
336
  {
210
337
  "id": "muted-on-selection",
211
338
  "label": "muted text on a selected row",
212
339
  "fg": "--color-fg-muted",
213
340
  "bg": "--color-interactive-selected",
214
- "layer": "semantic"
341
+ "layer": "semantic",
342
+ "reading": "secondary"
215
343
  },
216
344
  {
217
345
  "id": "sidebar-nav-link-hover",
218
346
  "label": "a hovered sidebar navigation link",
219
347
  "fg": "--color-sidebar-fg",
220
348
  "bg": "--color-sidebar-accent",
221
- "layer": "semantic"
349
+ "layer": "semantic",
350
+ "reading": "secondary"
222
351
  }
223
352
  ],
224
353
  "nonTextPairs": [
@@ -281,16 +410,16 @@
281
410
  {
282
411
  "id": "control-boundary-on-surface",
283
412
  "label": "a control's outline on a card",
284
- "fg": "--color-neutral-300",
413
+ "fg": "--color-border-strong",
285
414
  "bg": "--color-neutral-0",
286
- "layer": "primitive"
415
+ "layer": "semantic"
287
416
  },
288
417
  {
289
418
  "id": "control-boundary-on-canvas",
290
419
  "label": "a control's outline on the canvas",
291
- "fg": "--color-neutral-300",
420
+ "fg": "--color-border-strong",
292
421
  "bg": "--color-neutral-50",
293
- "layer": "primitive"
422
+ "layer": "semantic"
294
423
  },
295
424
  {
296
425
  "$comment": "A Meter's fill against its track, which is the graphical object SC 1.4.11 asks 3:1 of: the fill's extent IS the value, and a fill that blends into its track is a bar that says nothing. Four pairings for the four fills the sheet paints — the unbanded accent and the three band tones — each against the one track they sit in. The track itself is not held against the page: it is a recess whose end the printed value makes redundant, and WCAG sets no ratio for that. The fill is --color-fg-accent rather than --color-brand-primary on purpose, and this file is where that choice is enforced: the brand fill measures 1.98 to 2.66 against this track in the three dark themes, because it is a surface for light text rather than a mark on the app's own ground.",
@@ -300,6 +429,150 @@
300
429
  "bg": "--color-bg-inset",
301
430
  "layer": "semantic"
302
431
  },
432
+ {
433
+ "$comment": "A status column's dot (ADR 0169 §5), the graphical object SC 1.4.11 asks 3:1 of: it is the column's tone at a glance, and the text beside it is the word. Four pairings for the four toned dots; the neutral dot is the subtle ink, which the text pairing subtle-on-surface already holds to more than this.",
434
+ "id": "status-dot-info-on-surface",
435
+ "label": "a info status dot in a collection's cell, against the surface",
436
+ "fg": "--color-status-info",
437
+ "bg": "--color-bg-surface",
438
+ "layer": "semantic"
439
+ },
440
+ {
441
+ "id": "status-dot-success-on-surface",
442
+ "label": "a success status dot in a collection's cell, against the surface",
443
+ "fg": "--color-status-success",
444
+ "bg": "--color-bg-surface",
445
+ "layer": "semantic"
446
+ },
447
+ {
448
+ "id": "status-dot-warning-on-surface",
449
+ "label": "a warning status dot in a collection's cell, against the surface",
450
+ "fg": "--color-status-warning",
451
+ "bg": "--color-bg-surface",
452
+ "layer": "semantic"
453
+ },
454
+ {
455
+ "id": "status-dot-danger-on-surface",
456
+ "label": "a danger status dot in a collection's cell, against the surface",
457
+ "fg": "--color-status-danger",
458
+ "bg": "--color-bg-surface",
459
+ "layer": "semantic"
460
+ },
461
+ {
462
+ "$comment": "The same dots where an embedded collection or a card list draws its rows on the page's ground or on a container rather than on the surface. Danger on a container is already held to AA as text (danger-on-container), so it is not declared again here.",
463
+ "id": "status-dot-info-on-canvas",
464
+ "label": "a info status dot in a collection's cell, against the canvas",
465
+ "fg": "--color-status-info",
466
+ "bg": "--color-bg-canvas",
467
+ "layer": "semantic"
468
+ },
469
+ {
470
+ "id": "status-dot-success-on-canvas",
471
+ "label": "a success status dot in a collection's cell, against the canvas",
472
+ "fg": "--color-status-success",
473
+ "bg": "--color-bg-canvas",
474
+ "layer": "semantic"
475
+ },
476
+ {
477
+ "id": "status-dot-warning-on-canvas",
478
+ "label": "a warning status dot in a collection's cell, against the canvas",
479
+ "fg": "--color-status-warning",
480
+ "bg": "--color-bg-canvas",
481
+ "layer": "semantic"
482
+ },
483
+ {
484
+ "id": "status-dot-danger-on-canvas",
485
+ "label": "a danger status dot in a collection's cell, against the canvas",
486
+ "fg": "--color-status-danger",
487
+ "bg": "--color-bg-canvas",
488
+ "layer": "semantic"
489
+ },
490
+ {
491
+ "id": "status-dot-info-on-subtle",
492
+ "label": "a info status dot in a collection's cell, against the container",
493
+ "fg": "--color-status-info",
494
+ "bg": "--color-bg-subtle",
495
+ "layer": "semantic"
496
+ },
497
+ {
498
+ "id": "status-dot-success-on-subtle",
499
+ "label": "a success status dot in a collection's cell, against the container",
500
+ "fg": "--color-status-success",
501
+ "bg": "--color-bg-subtle",
502
+ "layer": "semantic"
503
+ },
504
+ {
505
+ "id": "status-dot-warning-on-subtle",
506
+ "label": "a warning status dot in a collection's cell, against the container",
507
+ "fg": "--color-status-warning",
508
+ "bg": "--color-bg-subtle",
509
+ "layer": "semantic"
510
+ },
511
+ {
512
+ "$comment": "The chart ramp against the surface every chart tile is drawn on (ADR 0158, ADR 0169 §6): each mark is the graphical object SC 1.4.11 asks 3:1 of. The ramp's lowest is chart-3 in midday, which these pairings hold at 3:1 rather than leave to a comment.",
513
+ "id": "chart-1-on-surface",
514
+ "label": "a chart's first mark -- a line, an area's edge, a column, a bar -- against the surface",
515
+ "fg": "--color-chart-1",
516
+ "bg": "--color-bg-surface",
517
+ "layer": "semantic"
518
+ },
519
+ {
520
+ "id": "chart-2-on-surface",
521
+ "label": "a chart's mark in the ramp's colour 2, against the surface",
522
+ "fg": "--color-chart-2",
523
+ "bg": "--color-bg-surface",
524
+ "layer": "semantic"
525
+ },
526
+ {
527
+ "id": "chart-3-on-surface",
528
+ "label": "a chart's mark in the ramp's colour 3, against the surface",
529
+ "fg": "--color-chart-3",
530
+ "bg": "--color-bg-surface",
531
+ "layer": "semantic"
532
+ },
533
+ {
534
+ "id": "chart-4-on-surface",
535
+ "label": "a chart's mark in the ramp's colour 4, against the surface",
536
+ "fg": "--color-chart-4",
537
+ "bg": "--color-bg-surface",
538
+ "layer": "semantic"
539
+ },
540
+ {
541
+ "id": "chart-5-on-surface",
542
+ "label": "a chart's mark in the ramp's colour 5, against the surface",
543
+ "fg": "--color-chart-5",
544
+ "bg": "--color-bg-surface",
545
+ "layer": "semantic"
546
+ },
547
+ {
548
+ "$comment": "A status history in a page's summary band: its cells against the band's fill. The neutral cell is the subtle ink, which subtle-on-summary already holds to AA.",
549
+ "id": "status-cell-info-on-summary",
550
+ "label": "an info cell of a status history on the summary band",
551
+ "fg": "--color-status-info",
552
+ "bg": "--color-bg-summary",
553
+ "layer": "semantic"
554
+ },
555
+ {
556
+ "id": "status-cell-success-on-summary",
557
+ "label": "a success cell of a status history on the summary band",
558
+ "fg": "--color-status-success",
559
+ "bg": "--color-bg-summary",
560
+ "layer": "semantic"
561
+ },
562
+ {
563
+ "id": "status-cell-warning-on-summary",
564
+ "label": "a warning cell of a status history on the summary band",
565
+ "fg": "--color-status-warning",
566
+ "bg": "--color-bg-summary",
567
+ "layer": "semantic"
568
+ },
569
+ {
570
+ "id": "status-cell-danger-on-summary",
571
+ "label": "a danger cell of a status history on the summary band",
572
+ "fg": "--color-status-danger",
573
+ "bg": "--color-bg-summary",
574
+ "layer": "semantic"
575
+ },
303
576
  {
304
577
  "id": "meter-optimum-on-track",
305
578
  "label": "a meter's fill in its optimum band, against its track",
@@ -26,15 +26,19 @@
26
26
  "warningSoft": { "value": "#fdf1e0" },
27
27
  "danger": { "value": "#96000c" },
28
28
  "dangerSoft": { "value": "#fce8e8" },
29
+ "dangerFill": { "value": "#96000c" },
30
+ "dangerFillContrast": { "value": "#ffffff" },
29
31
  "info": { "value": "#0b4a8f" },
30
32
  "infoSoft": { "value": "#e5f0fb" }
31
33
  },
32
34
  "focusRing": { "value": "rgba(8,66,160,0.7)" },
33
35
  "bg": {
34
36
  "canvas": { "value": "#ffffff" },
37
+ "subtle": { "value": "#ffffff" },
35
38
  "surface": { "value": "#ffffff" },
36
39
  "raised": { "value": "#ffffff" },
37
- "inset": { "value": "#f2f2f2" }
40
+ "inset": { "value": "#f2f2f2" },
41
+ "summary": { "value": "#e8f0fe" }
38
42
  },
39
43
  "fg": {
40
44
  "default": { "value": "#000000" },
@@ -44,7 +48,7 @@
44
48
  },
45
49
  "border": {
46
50
  "default": { "value": "#595959" },
47
- "strong": { "value": "#000000" },
51
+ "strong": { "value": "#404040" },
48
52
  "subtle": { "value": "#767676" }
49
53
  },
50
54
  "interactive": {
@@ -14,37 +14,41 @@
14
14
  "300": { "value": "#475569" },
15
15
  "400": { "value": "#64748b" },
16
16
  "500": { "value": "#94a3b8" },
17
- "600": { "value": "#b4c0d0" },
17
+ "600": { "value": "#ced6e0" },
18
18
  "700": { "value": "#e2e8f0" },
19
19
  "800": { "value": "#f1f5f9" },
20
20
  "900": { "value": "#f1f5f9" }
21
21
  },
22
22
  "status": {
23
- "success": { "value": "#4ade80" },
23
+ "success": { "value": "#79e7a1" },
24
24
  "successSoft": { "value": "#132f21" },
25
- "warning": { "value": "#fbbf24" },
25
+ "warning": { "value": "#fccb4b" },
26
26
  "warningSoft": { "value": "#332711" },
27
- "danger": { "value": "#f87171" },
27
+ "danger": { "value": "#fcc3c3" },
28
28
  "dangerSoft": { "value": "#3b1a1a" },
29
- "info": { "value": "#38bdf8" },
29
+ "dangerFill": { "value": "#b91c1c" },
30
+ "dangerFillContrast": { "value": "#ffffff" },
31
+ "info": { "value": "#96dcfb" },
30
32
  "infoSoft": { "value": "#12303f" }
31
33
  },
32
34
  "focusRing": { "value": "rgba(96,165,250,0.45)" },
33
35
  "bg": {
34
36
  "canvas": { "value": "#0f172a" },
37
+ "subtle": { "value": "#172033" },
35
38
  "surface": { "value": "#1e293b" },
36
39
  "raised": { "value": "#263449" },
37
- "inset": { "value": "#0f172a" }
40
+ "inset": { "value": "#0f172a" },
41
+ "summary": { "value": "#15304e" }
38
42
  },
39
43
  "fg": {
40
44
  "default": { "value": "#f1f5f9" },
41
- "muted": { "value": "#b4c0d0" },
42
- "subtle": { "value": "#94a3b8" },
43
- "accent": { "value": "#60a5fa" }
45
+ "muted": { "value": "#ced6e0" },
46
+ "subtle": { "value": "#b0bbca" },
47
+ "accent": { "value": "#b7d6fd" }
44
48
  },
45
49
  "border": {
46
50
  "default": { "value": "#334155" },
47
- "strong": { "value": "#475569" },
51
+ "strong": { "value": "#727d8c" },
48
52
  "subtle": { "value": "#263449" }
49
53
  },
50
54
  "interactive": {
@@ -55,7 +59,7 @@
55
59
  "sidebar": {
56
60
  "bg": { "value": "#1e293b" },
57
61
  "fg": { "value": "#f1f5f9" },
58
- "muted": { "value": "#b4c0d0" },
62
+ "muted": { "value": "#c9d2dd" },
59
63
  "accent": { "value": "#334155" },
60
64
  "border": { "value": "#334155" }
61
65
  },