@bwui/tokens 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1861 @@
1
+ {
2
+ "breakpoint": {
3
+ "$type": "dimension",
4
+ "$description": "Viewport breakpoints (ADR-079, icvoss/django-brickwork#220). Emitted as literal values on :root in tokens.css AND as a plain @theme block (never @theme inline) in tailwind-theme.css, from this single source, because media queries cannot resolve var(): the mechanism that makes the colour/type/radius/elevation @theme inline projection live-adjustable is structurally unavailable to viewport queries. Overriding these tokens in a consumer's own brand CSS adjusts that consumer's OWN Tailwind sm:/md:/lg:/xl: utilities; it does not move brickwork's own shipped brickwork.css breakpoints, which are compiled in and change only on a package rebuild (the honest limit, ADR-079 section 7). Values match Tailwind's own default breakpoint scale and stay in rem (mixed units break Tailwind's generated-rule ordering).",
5
+ "sm": {
6
+ "$value": "40rem"
7
+ },
8
+ "md": {
9
+ "$value": "48rem",
10
+ "$description": "The shell's sidebar-to-drawer collapse point (SHL-017) and _data_table's responsive=\"stack\" threshold (TBL-013); both reuse this one value so the two surfaces change together."
11
+ },
12
+ "lg": {
13
+ "$value": "64rem"
14
+ },
15
+ "xl": {
16
+ "$value": "80rem",
17
+ "$description": "Reserved: named by SHL-014 and emitted for completeness; no internal brickwork call site references it yet."
18
+ }
19
+ },
20
+ "icon": {
21
+ "$description": "Component tier: tokens named per-component, for the cases a component needs a value distinct from its semantic default (BR-BW-TOK-001, tier 3). Theme-agnostic (they reference semantic colour tokens, which already resolve per theme, or fixed sizes). Most components consume semantic tokens directly and need nothing here; this set is deliberately small.",
22
+ "size": {
23
+ "$type": "dimension",
24
+ "sm": {
25
+ "$value": "{size.icon.sm}"
26
+ },
27
+ "md": {
28
+ "$value": "{size.icon.md}"
29
+ },
30
+ "lg": {
31
+ "$value": "{size.icon.lg}"
32
+ },
33
+ "xl": {
34
+ "$value": "{size.icon.xl}"
35
+ },
36
+ "2xl": {
37
+ "$value": "{size.icon.2xl}"
38
+ }
39
+ },
40
+ "stroke-width": {
41
+ "$type": "dimension",
42
+ "$value": "2"
43
+ }
44
+ },
45
+ "button": {
46
+ "radius": {
47
+ "$type": "dimension",
48
+ "$value": "{size.radius.md}",
49
+ "$extensions": {
50
+ "bw": {
51
+ "derived": "var(--bw-size-radius-md)"
52
+ }
53
+ }
54
+ },
55
+ "elevation": {
56
+ "$type": "other",
57
+ "$value": "0 1px 2px 0 oklch(0 0 0 / 0.05)",
58
+ "$description": "Button resting elevation (icvoss/django-brickwork#649). Defaults to the shared elevation-1 step so package defaults stay byte-identical; override independently of cards and panels.",
59
+ "$extensions": {
60
+ "bw": {
61
+ "derived": "var(--bw-elevation-1)"
62
+ }
63
+ }
64
+ },
65
+ "elevation-hover": {
66
+ "$type": "other",
67
+ "$value": "0 1px 2px 0 oklch(0 0 0 / 0.05)",
68
+ "$description": "Button hover elevation (#649). Defaults to the resting button elevation so hover is a no-op until a brand authors a lift.",
69
+ "$extensions": {
70
+ "bw": {
71
+ "derived": "var(--bw-component-button-elevation)"
72
+ }
73
+ }
74
+ },
75
+ "hover-translate": {
76
+ "$type": "dimension",
77
+ "$value": "0",
78
+ "$description": "Vertical translate on button hover (#649), consumed as translateY(). Default 0 keeps package defaults byte-identical; a brand sets e.g. -2px for a lift. Honoured only when prefers-reduced-motion allows transform."
79
+ }
80
+ },
81
+ "menu": {
82
+ "min-width": {
83
+ "$type": "dimension",
84
+ "$value": "12rem",
85
+ "$description": "Minimum width for dropdown-shaped panels (the account-menu panel is the first consumer)."
86
+ }
87
+ },
88
+ "select": {
89
+ "indicator": {
90
+ "$type": "other",
91
+ "$value": "url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='oklch(0.55 0.01 265)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='m4 6 4 4 4-4'/%3E%3C/svg%3E\")",
92
+ "$description": "The select's embedded chevron (0.7.0 craft round). A data URI cannot reference a custom property, so the stroke is baked: oklch(0.55 0.01 265), a mid-grey chosen to read as decorative chrome on BOTH themes (measured 4.85:1 on the light surface, 3.88:1 on the dark surface; the accessible affordance is the native select semantics, not this glyph). A brand whose surfaces sit far from the defaults overrides this token with a re-inked URI."
93
+ }
94
+ },
95
+ "checkbox": {
96
+ "glyph": {
97
+ "$type": "other",
98
+ "$value": "url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='m2.5 6.5 2.5 2.5 4.5-5.5'/%3E%3C/svg%3E\")",
99
+ "$description": "The checkbox tick SHAPE (0.7.0 craft round), consumed as a CSS mask-image and painted with background-color: var(--bw-color-fg-on-accent), so the glyph ink stays theme-correct without a theme-variant image (dark fg-on-accent is near-black ink on the lighter dark accent; a baked white tick would measure 2.63:1 there and fail 1.4.11, whereas fg-on-accent measures 5.11:1 light and 7.52:1 dark against the accent fill). The 'black' stroke is only the mask's alpha carrier, not a colour choice."
100
+ }
101
+ },
102
+ "toggle": {
103
+ "$description": "Toggle switch track/thumb geometry (BR-BW-INPUT-001, 0.13.0, brickwork#57): no primitive scale step fits a switch track, so these are genuinely component-specific.",
104
+ "track-width": {
105
+ "$type": "dimension",
106
+ "$value": "2.25rem"
107
+ },
108
+ "track-height": {
109
+ "$type": "dimension",
110
+ "$value": "1.25rem"
111
+ },
112
+ "thumb-size": {
113
+ "$type": "dimension",
114
+ "$value": "0.875rem",
115
+ "$description": "Leaves a visible track margin on every edge at rest (track-height 1.25rem minus thumb 0.875rem minus two 0.125rem-ish insets from the border)."
116
+ },
117
+ "thumb-inset": {
118
+ "$type": "dimension",
119
+ "$value": "{size.space.1}"
120
+ }
121
+ },
122
+ "stat-tile": {
123
+ "value-size": {
124
+ "$type": "dimension",
125
+ "$value": "var(--bw-font-size-3xl)",
126
+ "$description": "Stat tile numeral size (VIZ-001, AC-BW-075); a live var() reference so the font scale cascades, and the size modifiers re-point it per tile."
127
+ },
128
+ "sparkline-height": {
129
+ "$type": "dimension",
130
+ "$value": "{size.space.8}",
131
+ "$description": "Consumer sparkline slot height (#60, 0.12.0): tall enough to read a trend line, short enough that the tile stays a compact KPI card."
132
+ }
133
+ },
134
+ "progress": {
135
+ "track-height": {
136
+ "$type": "dimension",
137
+ "$value": "{size.space.2}",
138
+ "$description": "Progress bar track thickness (STA-007, 0.12.0)."
139
+ }
140
+ },
141
+ "ranked-list": {
142
+ "bar-thickness": {
143
+ "$type": "dimension",
144
+ "$value": "{size.space.1-5}",
145
+ "$description": "Ranked-list decorative bar thickness (icvoss/django-brickwork#183): slimmer than the standalone progress bar's track-height, since a ranked list's bars sit one per row alongside visible label/value text rather than carrying the sole meaning on their own."
146
+ },
147
+ "row-gap": {
148
+ "$type": "dimension",
149
+ "$value": "{size.space.3}",
150
+ "$description": "Vertical rhythm between ranked-list rows (icvoss/django-brickwork#183)."
151
+ }
152
+ },
153
+ "sparkline": {
154
+ "stroke-width": {
155
+ "$type": "dimension",
156
+ "$value": "2",
157
+ "$description": "Sparkline line thickness (VIZ-003/004): a unitless SVG user-unit value, not a CSS length, matching icon.stroke-width's own convention above for the same reason (both are stroke-width on an SVG element inside a scaling viewBox, where a rem/px length would not track the viewBox's own coordinate space)."
158
+ },
159
+ "marker-radius": {
160
+ "$type": "dimension",
161
+ "$value": "2.5",
162
+ "$description": "Highlighted-point marker radius (VIZ-005): a unitless SVG user-unit value in the same viewBox coordinate space as the line's own points, slightly larger than half the stroke width so the marker reads as a distinct dot rather than a thickened patch of the line it sits on."
163
+ }
164
+ },
165
+ "tooltip": {
166
+ "max-width": {
167
+ "$type": "dimension",
168
+ "$value": "16rem",
169
+ "$description": "Tooltip bubble max width (0.12.0, #56): wide enough for a short sentence, capped so a long text does not stretch across the viewport."
170
+ }
171
+ },
172
+ "disabled": {
173
+ "opacity": {
174
+ "$type": "number",
175
+ "$value": "0.5"
176
+ }
177
+ },
178
+ "content": {
179
+ "max-width": {
180
+ "$type": "dimension",
181
+ "$value": "72rem",
182
+ "$description": "0.4.0 polish: was `none`. A default measure cap so content bands stop degrading into full-bleed wires on wide monitors; invisible at 1280px. A consumer overrides it (including back to `none`) to change the cap."
183
+ },
184
+ "max-width-marketing": {
185
+ "$type": "dimension",
186
+ "$value": "80rem",
187
+ "$description": "1.2.0 marketing token (BR-BW-MKT marketing tokens): a wider content cap than the app shell's content.max-width (72rem), since a marketing canvas wants a wider column than a console. Used by shell/marketing.html's content wrapper."
188
+ }
189
+ },
190
+ "docs": {
191
+ "nav-inline-size": {
192
+ "$type": "dimension",
193
+ "$value": "16rem",
194
+ "$description": "Docs shell rail column width at the lg breakpoint (icvoss/django-brickwork#671). Consumed by .bw-docs-layout's grid-template-columns; override when document titles need a wider rail than the 16rem default."
195
+ }
196
+ },
197
+ "section-gap-marketing": {
198
+ "$type": "dimension",
199
+ "$value": "6rem",
200
+ "$description": "1.2.0 marketing token (BR-BW-MKT marketing tokens), raised from 4rem in the Phase 3 visual-bar craft wave (icvoss/django-brickwork#510): the vertical rhythm between stacked marketing sections (hero, feature grid, pricing, CTA and so on), larger than the app's --bw-density-section-gap (2rem comfortable) since marketing pages read as fewer, more generous blocks rather than a dense workspace. Named distinctly from the density-scoped section-gap (not itself density-varying: marketing pages are not scoped by the density axis)."
201
+ },
202
+ "hero": {
203
+ "$description": "Hero component tokens. Copy-column measures (#640), decoration watermark (#645), eyebrow marker (#659), and circle media size (#672). Measure defaults keep package-default layout byte-identical; decoration tokens apply only when the decoration region has content; marker tokens apply only when eyebrow_marker=\"rule\"; circle size applies only when media_shape=\"circle\".",
204
+ "copy-max-width": {
205
+ "$type": "dimension",
206
+ "$value": "{size.max-width.prose}",
207
+ "$extensions": {
208
+ "bw": {
209
+ "derived": "var(--bw-size-max-width-prose)"
210
+ }
211
+ },
212
+ "$description": "Max inline size of .bw-hero__copy (and the media-behind copy rule). Defaults to the prose measure so layout matches the pre-token binding."
213
+ },
214
+ "heading-max-width": {
215
+ "$type": "dimension",
216
+ "$value": "100%",
217
+ "$description": "Max inline size of .bw-hero__heading. Defaults to 100% so the heading fills the copy column at package default; override after widening the copy column when the heading should be wider than the lede."
218
+ },
219
+ "lede-max-width": {
220
+ "$type": "dimension",
221
+ "$value": "100%",
222
+ "$description": "Max inline size of .bw-hero__lede. Defaults to 100% (fills the copy column). When the copy column is widened for a display heading, set this to var(--bw-size-max-width-prose) or 62ch to keep the lede at a readable measure."
223
+ },
224
+ "decoration": {
225
+ "opacity": {
226
+ "$type": "number",
227
+ "$value": "0.16",
228
+ "$description": "Default fade for a brand stamp behind hero copy (icvoss.com evidence: 16% opacity). Decorative only; never relied on for contrast."
229
+ },
230
+ "inset": {
231
+ "$type": "dimension",
232
+ "$value": "{size.space.8}",
233
+ "$description": "Block-start offset for the decoration; the CSS flips the sign for inset-inline-end so the mark hangs slightly past the trailing edge by the same magnitude."
234
+ },
235
+ "size": {
236
+ "$type": "dimension",
237
+ "$value": "14rem",
238
+ "$description": "Default inline size of the decoration mark, capped further at 50% of the hero in CSS so a large SVG cannot dominate the band."
239
+ }
240
+ },
241
+ "eyebrow-marker": {
242
+ "inline-size": {
243
+ "$type": "dimension",
244
+ "$value": "2.4rem",
245
+ "$description": "Inline size of the leading accent rule on .bw-hero__eyebrow--rule (::before). Evidence: icvoss.com 2.4rem mark (#659)."
246
+ },
247
+ "block-size": {
248
+ "$type": "dimension",
249
+ "$value": "2px",
250
+ "$description": "Block size of the leading accent rule on .bw-hero__eyebrow--rule (::before)."
251
+ },
252
+ "color": {
253
+ "$type": "other",
254
+ "$value": "var(--bw-color-accent)",
255
+ "$extensions": {
256
+ "bw": {
257
+ "derived": "var(--bw-color-accent)"
258
+ }
259
+ },
260
+ "$description": "Paint colour for the eyebrow marker rule. Own token so a brand can colour the mark differently from the eyebrow text (which reads --bw-color-accent); must not use currentColor. Default matches accent so package-default rule heroes stay coherent; override when the mark needs a distinct emphasis colour (#659)."
261
+ }
262
+ },
263
+ "media-circle-size": {
264
+ "$type": "dimension",
265
+ "$value": "14rem",
266
+ "$description": "Max inline size of .bw-hero__media when media_shape=\"circle\" (#672). Caps a circular portrait so it cannot stretch to the full media column under media_placement=\"beside\". Override to enlarge or shrink the portrait."
267
+ }
268
+ },
269
+ "logo": {
270
+ "height": {
271
+ "$type": "dimension",
272
+ "$value": "{size.space.8}",
273
+ "$description": "Marketing brand-slot logo height (#83, ADR-054 beautiful-by-default): the default cap the marketing shell applies to an img/svg dropped into brand_logo or brand_wordmark, so an unconstrained mark/lockup renders at a sensible header size (2rem, the 32px end of the conventional 28-32px header-logo range) with width following the intrinsic ratio, out of the box. A consumer overrides the token to resize, or targets the zero-specificity shell rule directly."
274
+ }
275
+ },
276
+ "topbar": {
277
+ "position": {
278
+ "$type": "other",
279
+ "$value": "sticky"
280
+ }
281
+ },
282
+ "drawer": {
283
+ "width": {
284
+ "$type": "dimension",
285
+ "$value": "min(20rem, 80vw)"
286
+ }
287
+ },
288
+ "toast": {
289
+ "max-width": {
290
+ "$type": "dimension",
291
+ "$value": "24rem",
292
+ "$description": "Toast readable measure (0.9.0 interaction set): the sizing ramp has no step between max-width-modal-sm (28rem) and the drawer width, and a toast wants a narrower, glanceable line length than either."
293
+ }
294
+ },
295
+ "htmx-indicator": {
296
+ "opacity": {
297
+ "$type": "number",
298
+ "$value": "0.6",
299
+ "$description": "STA-006: the substrate's one opinionated in-flight treatment. Applied to an htmx swap target via htmx's own htmx-request class convention, dimming still-visible content while a request is in flight; sits between disabled (0.5) and muted (0.7) so in-flight never reads as disabled."
300
+ }
301
+ },
302
+ "focus": {
303
+ "$description": "Focus-ring geometry (DESIGN.md section 6.4). An accessibility floor: not brand-tunable except via --bw-color-focus-ring.",
304
+ "ring-width": {
305
+ "$type": "dimension",
306
+ "$value": "2px"
307
+ },
308
+ "ring-offset": {
309
+ "$type": "dimension",
310
+ "$value": "2px"
311
+ },
312
+ "ring-style": {
313
+ "$type": "other",
314
+ "$value": "solid"
315
+ }
316
+ },
317
+ "z": {
318
+ "$description": "Stacking scale (DESIGN.md section 6.5). Chrome sits below overlay surfaces; dropdown content that opens inside the sticky topbar must not fight it.",
319
+ "$type": "number",
320
+ "base": {
321
+ "$value": "0"
322
+ },
323
+ "dropdown": {
324
+ "$value": "10"
325
+ },
326
+ "sticky": {
327
+ "$value": "20"
328
+ },
329
+ "drawer": {
330
+ "$value": "30"
331
+ },
332
+ "overlay": {
333
+ "$value": "40"
334
+ },
335
+ "modal": {
336
+ "$value": "50"
337
+ },
338
+ "skip-link": {
339
+ "$value": "60"
340
+ },
341
+ "toast": {
342
+ "$value": "70"
343
+ },
344
+ "tooltip": {
345
+ "$value": "80"
346
+ }
347
+ },
348
+ "opacity": {
349
+ "$type": "number",
350
+ "muted": {
351
+ "$value": "0.7"
352
+ },
353
+ "sort-idle": {
354
+ "$value": "0.4"
355
+ }
356
+ },
357
+ "font": {
358
+ "$description": "Typography tokens (semver-public, brand-overridable). Theme-agnostic. A consuming app rebrands its typeface the same token-first way it rebrands colour, by overriding --bw-font-family-* rather than reaching into brickwork's own classes. Body defaults to a neutral system sans; display defaults to a distinct system serif pairing (icvoss/django-brickwork#511) so marketing and page headings read as designed without a webfont, and brands still override either token.",
359
+ "family": {
360
+ "$type": "fontFamily",
361
+ "sans": {
362
+ "$value": "system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"
363
+ },
364
+ "display": {
365
+ "$value": "ui-serif, 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, 'Times New Roman', Times, serif",
366
+ "$description": "Base-theme display pairing (icvoss/django-brickwork#511). Deliberately not an alias of sans: heading-display / heading-2xl / heading-xl / heading-section consume this family so hierarchy is not size-only. Brands override --bw-font-family-display with their own face (see northline brand-pack example)."
367
+ },
368
+ "mono": {
369
+ "$value": "ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, 'Liberation Mono', 'Courier New', monospace"
370
+ }
371
+ },
372
+ "size": {
373
+ "$type": "dimension",
374
+ "2xs": {
375
+ "$value": "0.6875rem",
376
+ "$description": "Chrome-text floor (TYP-022): overlines and micro-labels only; never body, interactive labels, form help/error, or table cell content. Scales with rem / browser zoom."
377
+ },
378
+ "xs": {
379
+ "$value": "0.75rem"
380
+ },
381
+ "sm": {
382
+ "$value": "0.875rem"
383
+ },
384
+ "md": {
385
+ "$value": "1rem"
386
+ },
387
+ "lg": {
388
+ "$value": "1.125rem"
389
+ },
390
+ "xl": {
391
+ "$value": "1.5rem"
392
+ },
393
+ "2xl": {
394
+ "$value": "2rem"
395
+ },
396
+ "3xl": {
397
+ "$value": "2.5rem"
398
+ },
399
+ "4xl": {
400
+ "$value": "3rem"
401
+ },
402
+ "5xl": {
403
+ "$value": "3.75rem"
404
+ }
405
+ },
406
+ "weight": {
407
+ "$type": "number",
408
+ "normal": {
409
+ "$value": "400"
410
+ },
411
+ "medium": {
412
+ "$value": "500"
413
+ },
414
+ "semibold": {
415
+ "$value": "600"
416
+ },
417
+ "bold": {
418
+ "$value": "700"
419
+ }
420
+ },
421
+ "line-height": {
422
+ "$type": "number",
423
+ "none": {
424
+ "$value": "1"
425
+ },
426
+ "tight": {
427
+ "$value": "1.25"
428
+ },
429
+ "snug": {
430
+ "$value": "1.375"
431
+ },
432
+ "normal": {
433
+ "$value": "1.5"
434
+ },
435
+ "relaxed": {
436
+ "$value": "1.625"
437
+ },
438
+ "loose": {
439
+ "$value": "2"
440
+ }
441
+ },
442
+ "tracking": {
443
+ "$type": "dimension",
444
+ "tight": {
445
+ "$value": "-0.025em"
446
+ },
447
+ "normal": {
448
+ "$value": "0em"
449
+ },
450
+ "wide": {
451
+ "$value": "0.025em"
452
+ },
453
+ "wider": {
454
+ "$value": "0.05em"
455
+ }
456
+ }
457
+ },
458
+ "gauge": {
459
+ "diameter": {
460
+ "$type": "dimension",
461
+ "sm": {
462
+ "$value": "{size.space.16}",
463
+ "$description": "Gauge rendered diameter, small (VIZ-010)."
464
+ },
465
+ "md": {
466
+ "$value": "{size.space.20}",
467
+ "$description": "Gauge rendered diameter, medium/default (VIZ-010)."
468
+ },
469
+ "lg": {
470
+ "$value": "{size.space.24}",
471
+ "$description": "Gauge rendered diameter, large (VIZ-010)."
472
+ }
473
+ },
474
+ "stroke-width": {
475
+ "$type": "dimension",
476
+ "$value": "8",
477
+ "$description": "Gauge ring stroke width, a bare user-space number against the component's fixed 0-100 SVG viewBox (VIZ-007), the same unitless convention icon.stroke-width already uses for its own SVG stroke."
478
+ }
479
+ },
480
+ "scorecard": {
481
+ "$description": "Scorecard grid column counts (VIZ-011), the shared dashboard grid for stat tiles and chart cards alike (CHT-026: a card is a card, no chart-specific grid duplicate). Bare numbers, consumed inside grid-template-columns: repeat(N, 1fr), the same unitless convention z.* and disabled.opacity already use for a non-dimension value.",
482
+ "columns": {
483
+ "$type": "number",
484
+ "base": {
485
+ "$value": "1",
486
+ "$description": "Below --bw-breakpoint-sm: a single column (VIZ-011 default floor)."
487
+ },
488
+ "sm": {
489
+ "$value": "2",
490
+ "$description": "From --bw-breakpoint-sm."
491
+ },
492
+ "lg": {
493
+ "$value": "4",
494
+ "$description": "From --bw-breakpoint-lg."
495
+ }
496
+ }
497
+ },
498
+ "density": {
499
+ "$description": "Density axis: SPACIOUS. Roomier spacing for lower-density, more relaxed screens. Same token names as the comfortable/compact files. Selected via [data-density='spacious']. Colour tokens are unaffected (BR-BW-TOK-004).",
500
+ "$type": "dimension",
501
+ "control-height": {
502
+ "$value": "3rem"
503
+ },
504
+ "control-padding-inline": {
505
+ "$value": "1rem"
506
+ },
507
+ "row-padding-block": {
508
+ "$value": "0.875rem"
509
+ },
510
+ "row-padding-inline": {
511
+ "$value": "1rem"
512
+ },
513
+ "stack-gap": {
514
+ "$value": "1.5rem"
515
+ },
516
+ "sidebar-width": {
517
+ "$value": "18rem"
518
+ },
519
+ "sidebar-width-collapsed": {
520
+ "$value": "4.5rem"
521
+ },
522
+ "rail-width": {
523
+ "$value": "3.5rem"
524
+ },
525
+ "rail-width-expanded": {
526
+ "$value": "14rem"
527
+ },
528
+ "topbar-height": {
529
+ "$value": "4rem"
530
+ },
531
+ "section-gap": {
532
+ "$value": "3rem"
533
+ },
534
+ "card-padding": {
535
+ "$value": "1.5rem"
536
+ },
537
+ "page-gutter-inline": {
538
+ "$value": "2rem"
539
+ }
540
+ },
541
+ "duration": {
542
+ "$description": "Motion durations (DESIGN.md section 8.1). instant is 1ms, not 0, so transitionend still fires; shimmer and spin formalise the two hardcoded loop timings; the toast-* rungs are the CBH-009 auto-dismiss ladder, read by bwToast via getComputedStyle, never a transition timing.",
543
+ "$type": "duration",
544
+ "instant": {
545
+ "$value": "1ms"
546
+ },
547
+ "fast": {
548
+ "$value": "100ms"
549
+ },
550
+ "normal": {
551
+ "$value": "200ms"
552
+ },
553
+ "moderate": {
554
+ "$value": "250ms"
555
+ },
556
+ "slow": {
557
+ "$value": "400ms"
558
+ },
559
+ "shimmer": {
560
+ "$value": "1500ms"
561
+ },
562
+ "spin": {
563
+ "$value": "700ms"
564
+ },
565
+ "toast-short": {
566
+ "$value": "4000ms"
567
+ },
568
+ "toast-normal": {
569
+ "$value": "6000ms"
570
+ },
571
+ "toast-long": {
572
+ "$value": "10000ms"
573
+ }
574
+ },
575
+ "debounce": {
576
+ "$description": "Interaction debounce windows (04-interfaces section 4b). JS-consumed via getComputedStyle so a consumer retunes timing in the token layer without touching templates; search is the combobox server-filter window.",
577
+ "$type": "duration",
578
+ "search": {
579
+ "$value": "300ms"
580
+ }
581
+ },
582
+ "ease": {
583
+ "$description": "Easing curves (DESIGN.md section 8.2): in for exits, out for entrances, in-out for moves, emphasised for energetic entrances.",
584
+ "$type": "cubicBezier",
585
+ "linear": {
586
+ "$value": "linear"
587
+ },
588
+ "standard": {
589
+ "$value": "cubic-bezier(0.4, 0, 0.2, 1)"
590
+ },
591
+ "in": {
592
+ "$value": "cubic-bezier(0.4, 0, 1, 1)"
593
+ },
594
+ "out": {
595
+ "$value": "cubic-bezier(0, 0, 0.2, 1)"
596
+ },
597
+ "in-out": {
598
+ "$value": "cubic-bezier(0.4, 0, 0.2, 1)"
599
+ },
600
+ "emphasised": {
601
+ "$value": "cubic-bezier(0.2, 0, 0, 1)"
602
+ }
603
+ },
604
+ "transition": {
605
+ "$description": "Composite transition shorthands (DESIGN.md section 8.3), each a var() reference bundle so duration/ease overrides cascade. Usage: transition: var(--bw-transition-colors); never transition: all.",
606
+ "$type": "other",
607
+ "colors": {
608
+ "$value": "color var(--bw-duration-fast) var(--bw-ease-standard), background-color var(--bw-duration-fast) var(--bw-ease-standard), border-color var(--bw-duration-fast) var(--bw-ease-standard)"
609
+ },
610
+ "opacity": {
611
+ "$value": "opacity var(--bw-duration-fast) var(--bw-ease-standard)"
612
+ },
613
+ "transform": {
614
+ "$value": "transform var(--bw-duration-normal) var(--bw-ease-in-out)"
615
+ },
616
+ "shadow": {
617
+ "$value": "box-shadow var(--bw-duration-fast) var(--bw-ease-standard)"
618
+ }
619
+ },
620
+ "primitive": {
621
+ "$description": "Primitive tier: raw scale values with no semantic meaning. NOT the public contract (BR-BW-TOK-001): names may change between minors. Colour ramps seeded from Radix Colors, converted to oklch (BR-BW-TOK-003); non-colour scales seeded from Open Props. Semantic tokens reference these; consumers reference the semantic tier, never these.",
622
+ "$type": "color",
623
+ "gray": {
624
+ "0": {
625
+ "$value": "oklch(1 0 0)"
626
+ },
627
+ "50": {
628
+ "$value": "oklch(0.985 0.001 265)"
629
+ },
630
+ "100": {
631
+ "$value": "oklch(0.967 0.002 265)"
632
+ },
633
+ "200": {
634
+ "$value": "oklch(0.928 0.004 265)"
635
+ },
636
+ "300": {
637
+ "$value": "oklch(0.872 0.006 265)"
638
+ },
639
+ "400": {
640
+ "$value": "oklch(0.708 0.008 265)"
641
+ },
642
+ "500": {
643
+ "$value": "oklch(0.556 0.009 265)"
644
+ },
645
+ "600": {
646
+ "$value": "oklch(0.446 0.008 265)"
647
+ },
648
+ "700": {
649
+ "$value": "oklch(0.372 0.007 265)"
650
+ },
651
+ "800": {
652
+ "$value": "oklch(0.269 0.006 265)"
653
+ },
654
+ "900": {
655
+ "$value": "oklch(0.205 0.005 265)"
656
+ },
657
+ "950": {
658
+ "$value": "oklch(0.145 0.004 265)"
659
+ },
660
+ "1000": {
661
+ "$value": "oklch(0.11 0.003 265)"
662
+ }
663
+ },
664
+ "blue": {
665
+ "50": {
666
+ "$value": "oklch(0.97 0.014 254)"
667
+ },
668
+ "100": {
669
+ "$value": "oklch(0.932 0.032 255)"
670
+ },
671
+ "400": {
672
+ "$value": "oklch(0.707 0.165 254)"
673
+ },
674
+ "500": {
675
+ "$value": "oklch(0.623 0.188 260)"
676
+ },
677
+ "600": {
678
+ "$value": "oklch(0.546 0.192 262)"
679
+ },
680
+ "700": {
681
+ "$value": "oklch(0.488 0.181 264)"
682
+ },
683
+ "950": {
684
+ "$value": "oklch(0.282 0.091 267)"
685
+ }
686
+ },
687
+ "cyan": {
688
+ "50": {
689
+ "$value": "oklch(0.98 0.02 210)"
690
+ },
691
+ "400": {
692
+ "$value": "oklch(0.72 0.11 220)"
693
+ },
694
+ "600": {
695
+ "$value": "oklch(0.6 0.11 225)"
696
+ },
697
+ "700": {
698
+ "$value": "oklch(0.52 0.1 227)"
699
+ },
700
+ "950": {
701
+ "$value": "oklch(0.3 0.06 230)"
702
+ }
703
+ },
704
+ "red": {
705
+ "50": {
706
+ "$value": "oklch(0.971 0.013 18)"
707
+ },
708
+ "100": {
709
+ "$value": "oklch(0.936 0.032 18)"
710
+ },
711
+ "500": {
712
+ "$value": "oklch(0.637 0.208 25)"
713
+ },
714
+ "600": {
715
+ "$value": "oklch(0.577 0.215 27)"
716
+ },
717
+ "700": {
718
+ "$value": "oklch(0.505 0.194 27)"
719
+ },
720
+ "950": {
721
+ "$value": "oklch(0.258 0.092 26)"
722
+ }
723
+ },
724
+ "amber": {
725
+ "50": {
726
+ "$value": "oklch(0.987 0.022 95)"
727
+ },
728
+ "100": {
729
+ "$value": "oklch(0.962 0.059 95)"
730
+ },
731
+ "500": {
732
+ "$value": "oklch(0.769 0.166 70)"
733
+ },
734
+ "600": {
735
+ "$value": "oklch(0.666 0.163 58)"
736
+ },
737
+ "700": {
738
+ "$value": "oklch(0.555 0.143 49)"
739
+ },
740
+ "950": {
741
+ "$value": "oklch(0.279 0.077 46)"
742
+ }
743
+ },
744
+ "green": {
745
+ "50": {
746
+ "$value": "oklch(0.982 0.018 155)"
747
+ },
748
+ "100": {
749
+ "$value": "oklch(0.962 0.044 156)"
750
+ },
751
+ "500": {
752
+ "$value": "oklch(0.723 0.169 152)"
753
+ },
754
+ "600": {
755
+ "$value": "oklch(0.627 0.155 149)"
756
+ },
757
+ "700": {
758
+ "$value": "oklch(0.527 0.132 150)"
759
+ },
760
+ "950": {
761
+ "$value": "oklch(0.266 0.061 153)"
762
+ }
763
+ },
764
+ "chart": {
765
+ "$description": "Categorical data-series ramp (ADR-082). Unlike the hue ramps above this is a set of eight mutually-distinguishable series colours, not a lightness scale of one hue: 'light'/'dark' are the two authored themes (BR-BW-TOK-002), not scale steps. Hue is invariant per series across both themes because a series' identity is its hue; only lightness and chroma are authored per theme. Every value satisfies six properties verified in tests, all measured on the colour a browser actually paints rather than the authored value: renderable within sRGB without clipping, an all-pairs separation floor of 0.12 in oklab across the retint envelope, a minimum 28 degree hue separation, WCAG 1.4.11 3:1 against its own theme's surface, hue stability across themes, and a minimum 0.08 separation from the axis and axis-label chrome tokens (a series must not read as the chart's own axis furniture). Solved under all constraints simultaneously with a MARGIN inside the sRGB gamut boundary (every channel keeps at least 0.005 of linear-sRGB headroom), not merely inside it: a value sitting on the boundary survives only until the next rounding of its own literal. Colour-vision deficiency is a ranked objective in the solve rather than an afterthought: the palette is not guaranteed distinguishable under dichromacy (no eight-colour palette can be), but among candidates meeting every hard constraint the one with the best dichromatic separation is chosen. See ADR-082 Decision 5.",
766
+ "light": {
767
+ "1": {
768
+ "$value": "oklch(0.590 0.151 46)"
769
+ },
770
+ "2": {
771
+ "$value": "oklch(0.397 0.065 92)"
772
+ },
773
+ "3": {
774
+ "$value": "oklch(0.639 0.151 130)"
775
+ },
776
+ "4": {
777
+ "$value": "oklch(0.260 0.033 175)"
778
+ },
779
+ "5": {
780
+ "$value": "oklch(0.552 0.095 226)"
781
+ },
782
+ "6": {
783
+ "$value": "oklch(0.501 0.257 268)"
784
+ },
785
+ "7": {
786
+ "$value": "oklch(0.357 0.159 308)"
787
+ },
788
+ "8": {
789
+ "$value": "oklch(0.468 0.167 358)"
790
+ }
791
+ },
792
+ "dark": {
793
+ "1": {
794
+ "$value": "oklch(0.595 0.138 46)"
795
+ },
796
+ "2": {
797
+ "$value": "oklch(0.874 0.163 92)"
798
+ },
799
+ "3": {
800
+ "$value": "oklch(0.709 0.170 130)"
801
+ },
802
+ "4": {
803
+ "$value": "oklch(0.529 0.086 175)"
804
+ },
805
+ "5": {
806
+ "$value": "oklch(0.739 0.121 226)"
807
+ },
808
+ "6": {
809
+ "$value": "oklch(0.881 0.054 268)"
810
+ },
811
+ "7": {
812
+ "$value": "oklch(0.612 0.168 308)"
813
+ },
814
+ "8": {
815
+ "$value": "oklch(0.756 0.135 358)"
816
+ }
817
+ }
818
+ }
819
+ },
820
+ "size": {
821
+ "$type": "dimension",
822
+ "$description": "Non-colour primitives (Open Props-derived). Spacing scale, radii, icon sizes, control heights. Density axis (semantic tier) selects between these; direction is handled by logical CSS properties, not a token (BR-BW-TOK-005).",
823
+ "space": {
824
+ "0": {
825
+ "$value": "0"
826
+ },
827
+ "1": {
828
+ "$value": "0.25rem"
829
+ },
830
+ "2": {
831
+ "$value": "0.5rem"
832
+ },
833
+ "3": {
834
+ "$value": "0.75rem"
835
+ },
836
+ "4": {
837
+ "$value": "1rem"
838
+ },
839
+ "5": {
840
+ "$value": "1.25rem"
841
+ },
842
+ "6": {
843
+ "$value": "1.5rem"
844
+ },
845
+ "7": {
846
+ "$value": "1.75rem"
847
+ },
848
+ "8": {
849
+ "$value": "2rem"
850
+ },
851
+ "9": {
852
+ "$value": "2.25rem"
853
+ },
854
+ "10": {
855
+ "$value": "2.5rem"
856
+ },
857
+ "11": {
858
+ "$value": "2.75rem"
859
+ },
860
+ "12": {
861
+ "$value": "3rem"
862
+ },
863
+ "16": {
864
+ "$value": "4rem"
865
+ },
866
+ "20": {
867
+ "$value": "5rem"
868
+ },
869
+ "24": {
870
+ "$value": "6rem"
871
+ },
872
+ "px": {
873
+ "$value": "1px"
874
+ },
875
+ "0-5": {
876
+ "$value": "0.125rem"
877
+ },
878
+ "1-5": {
879
+ "$value": "0.375rem"
880
+ }
881
+ },
882
+ "radius": {
883
+ "none": {
884
+ "$value": "0"
885
+ },
886
+ "sm": {
887
+ "$value": "0.25rem"
888
+ },
889
+ "md": {
890
+ "$value": "0.375rem"
891
+ },
892
+ "lg": {
893
+ "$value": "0.5rem"
894
+ },
895
+ "xl": {
896
+ "$value": "0.75rem"
897
+ },
898
+ "2xl": {
899
+ "$value": "1rem"
900
+ },
901
+ "full": {
902
+ "$value": "9999px"
903
+ }
904
+ },
905
+ "border": {
906
+ "hairline": {
907
+ "$value": "1px"
908
+ },
909
+ "thick": {
910
+ "$value": "2px"
911
+ },
912
+ "nav-marker": {
913
+ "$value": "3px"
914
+ }
915
+ },
916
+ "icon": {
917
+ "sm": {
918
+ "$value": "1rem"
919
+ },
920
+ "md": {
921
+ "$value": "1.25rem"
922
+ },
923
+ "lg": {
924
+ "$value": "1.5rem"
925
+ },
926
+ "xl": {
927
+ "$value": "2rem"
928
+ },
929
+ "2xl": {
930
+ "$value": "2.5rem"
931
+ }
932
+ },
933
+ "control-height": {
934
+ "sm": {
935
+ "$value": "2rem"
936
+ },
937
+ "md": {
938
+ "$value": "var(--bw-density-control-height)"
939
+ },
940
+ "lg": {
941
+ "$value": "3rem"
942
+ }
943
+ },
944
+ "touch-target-min": {
945
+ "$value": "2.75rem"
946
+ },
947
+ "max-width": {
948
+ "prose": {
949
+ "$value": "65ch"
950
+ },
951
+ "form": {
952
+ "$value": "32rem"
953
+ },
954
+ "modal-sm": {
955
+ "$value": "28rem"
956
+ },
957
+ "modal-md": {
958
+ "$value": "32rem"
959
+ },
960
+ "modal-lg": {
961
+ "$value": "48rem"
962
+ }
963
+ }
964
+ },
965
+ "color": {
966
+ "$description": "Semantic tier, LIGHT theme. Role-named tokens (surface, fg, border, accent, status) that ARE the public contract (BR-BW-TOK-001): names are stable, values are brand-overridable. This file holds the authored light values; semantic.dark.tokens.json holds the authored dark values (BR-BW-TOK-002: dark is authored, never derived from light). Both files define the SAME token names. Derived tokens carry their live color-mix expression in $extensions.bw.derived (emitted as the CSS value); $value stays the resolved default and the regression baseline (docs/DESIGN.md section 3).",
967
+ "$type": "color",
968
+ "surface": {
969
+ "$value": "{primitive.gray.0}",
970
+ "$extensions": {
971
+ "bw": {
972
+ "loadBearing": true
973
+ }
974
+ }
975
+ },
976
+ "surface-sunken": {
977
+ "$value": "{primitive.gray.100}",
978
+ "$description": "0.4.0 polish: deepened from the 98.5% mix (gray.50), which was indistinguishable from the white chrome; the canvas now lands on gray.100 so cards, header bands and zebra stripes separate.",
979
+ "$extensions": {
980
+ "bw": {
981
+ "derived": "color-mix(in oklab, var(--bw-color-surface) 96.5%, black)"
982
+ }
983
+ }
984
+ },
985
+ "surface-raised": {
986
+ "$value": "{primitive.gray.0}",
987
+ "$extensions": {
988
+ "bw": {
989
+ "derived": "var(--bw-color-surface)"
990
+ }
991
+ }
992
+ },
993
+ "surface-inverse": {
994
+ "$value": "{primitive.gray.900}",
995
+ "$extensions": {
996
+ "bw": {
997
+ "derived": "var(--bw-color-fg)",
998
+ "loadBearing": true,
999
+ "conditional": true
1000
+ }
1001
+ }
1002
+ },
1003
+ "surface-overlay": {
1004
+ "$value": "oklch(0.205 0.005 265 / 0.5)",
1005
+ "$extensions": {
1006
+ "bw": {
1007
+ "derived": "color-mix(in oklab, var(--bw-color-surface-inverse) 50%, transparent)"
1008
+ }
1009
+ }
1010
+ },
1011
+ "fg": {
1012
+ "$value": "{primitive.gray.900}",
1013
+ "$extensions": {
1014
+ "bw": {
1015
+ "loadBearing": true
1016
+ }
1017
+ }
1018
+ },
1019
+ "fg-muted": {
1020
+ "$value": "oklch(0.507 0.003 265)",
1021
+ "$description": "0.4.0 polish: raised from the 56% mix (gray.500, borderline AA) for comfortable secondary-text contrast; measures 5.82:1 on surface and 5.26:1 on the deeper sunken canvas. A literal: the resolved L sits between ramp steps.",
1022
+ "$extensions": {
1023
+ "bw": {
1024
+ "derived": "color-mix(in oklab, var(--bw-color-fg) 62%, var(--bw-color-surface))"
1025
+ }
1026
+ }
1027
+ },
1028
+ "fg-subtle": {
1029
+ "$value": "{primitive.gray.400}",
1030
+ "$extensions": {
1031
+ "bw": {
1032
+ "derived": "color-mix(in oklab, var(--bw-color-fg) 37%, var(--bw-color-surface))"
1033
+ }
1034
+ }
1035
+ },
1036
+ "fg-on-accent": {
1037
+ "$value": "{primitive.gray.0}",
1038
+ "$extensions": {
1039
+ "bw": {
1040
+ "loadBearing": true,
1041
+ "authoredPerTheme": true,
1042
+ "contrastPair": "color-accent",
1043
+ "minContrast": 4.5
1044
+ }
1045
+ }
1046
+ },
1047
+ "fg-on-inverse": {
1048
+ "$value": "{primitive.gray.0}",
1049
+ "$extensions": {
1050
+ "bw": {
1051
+ "derived": "var(--bw-color-surface)"
1052
+ }
1053
+ }
1054
+ },
1055
+ "status-fg-ink": {
1056
+ "$value": "{primitive.gray.900}",
1057
+ "$description": "brickwork#289 review round 2: the fixed dark-ink partner every X-fg (danger/success/warning/info) mixes toward. Deliberately NOT var(--bw-color-fg): fg is one of the seven load-bearing tokens BRANDING.md tells every brand to author, so a derivation that tracked fg would let an ordinary, documented fg override quietly break status-text contrast (the same AA trap #289 closed for --bw-color-surface, one token over). This token defaults to the same value as --bw-color-fg (gray.900) so the shipped X-fg ratios are unchanged, but it is a distinct name a brand does not touch when it authors fg: overriding fg alone leaves status-text contrast exactly where base-theme verified it. A brand wanting different status-text ink authors this token directly (rare) and re-verifies the contrastPairs pairings itself.",
1058
+ "$extensions": {
1059
+ "bw": {}
1060
+ }
1061
+ },
1062
+ "border": {
1063
+ "$value": "{primitive.gray.200}",
1064
+ "$extensions": {
1065
+ "bw": {
1066
+ "loadBearing": true
1067
+ }
1068
+ }
1069
+ },
1070
+ "border-strong": {
1071
+ "$value": "{primitive.gray.300}",
1072
+ "$extensions": {
1073
+ "bw": {
1074
+ "derived": "color-mix(in oklab, var(--bw-color-border) 94%, black)"
1075
+ }
1076
+ }
1077
+ },
1078
+ "border-control": {
1079
+ "$value": "oklch(0.65 0.002 265)",
1080
+ "$description": "Input/control boundary. The divider border token stays light for calm chrome; controls need a WCAG 1.4.11 compliant boundary (measured 3.23:1 against the default light surface).",
1081
+ "$extensions": {
1082
+ "bw": {
1083
+ "derived": "color-mix(in oklab, var(--bw-color-fg) 44%, var(--bw-color-surface))"
1084
+ }
1085
+ }
1086
+ },
1087
+ "action-disabled-bg": {
1088
+ "$value": "{primitive.gray.100}",
1089
+ "$description": "Flat disabled control fill (COL-018 / icvoss/django-brickwork#282). Replaces opacity dimming so disabled contrast is a gated token pair rather than a blend against an unknown backdrop. Same mix as surface-sunken so a brand surface override flows through; expressed as color-mix (not a var() alias) so render_brand_css can resolve the contrastPair.",
1090
+ "$extensions": {
1091
+ "bw": {
1092
+ "derived": "color-mix(in oklab, var(--bw-color-surface) 96.5%, black)"
1093
+ }
1094
+ }
1095
+ },
1096
+ "action-disabled-text": {
1097
+ "$value": "oklch(0.507 0.003 265)",
1098
+ "$description": "Flat disabled control ink (COL-018 / icvoss/django-brickwork#282). Same mix as fg-muted so disabled labels clear AA on the disabled fill; expressed as color-mix so render_brand_css gates the pair. Nav's quieter `--bw-component-nav-item-disabled-text` stays on fg-subtle for chrome rows.",
1099
+ "$extensions": {
1100
+ "bw": {
1101
+ "derived": "color-mix(in oklab, var(--bw-color-fg) 62%, var(--bw-color-surface))",
1102
+ "contrastPair": "color-action-disabled-bg",
1103
+ "minContrast": 4.5
1104
+ }
1105
+ }
1106
+ },
1107
+ "action-disabled-border": {
1108
+ "$value": "oklch(0.65 0.002 265)",
1109
+ "$description": "Flat disabled control boundary (COL-018 / icvoss/django-brickwork#282). Same mix as border-control so disabled borders keep the 1.4.11 floor without opacity.",
1110
+ "$extensions": {
1111
+ "bw": {
1112
+ "derived": "color-mix(in oklab, var(--bw-color-fg) 44%, var(--bw-color-surface))"
1113
+ }
1114
+ }
1115
+ },
1116
+ "accent": {
1117
+ "$value": "{primitive.blue.600}",
1118
+ "$extensions": {
1119
+ "bw": {
1120
+ "loadBearing": true
1121
+ }
1122
+ }
1123
+ },
1124
+ "accent-hover": {
1125
+ "$value": "{primitive.blue.700}",
1126
+ "$extensions": {
1127
+ "bw": {
1128
+ "derived": "color-mix(in oklab, var(--bw-color-accent) 89%, black)"
1129
+ }
1130
+ }
1131
+ },
1132
+ "accent-subtle": {
1133
+ "$value": "oklch(0.968 0.013 262)",
1134
+ "$description": "Literal, not the blue.50 alias: the achromatic light surface is hue-powerless in the mix, so the resolved hue stays the accent's 262, not the ramp's 254.",
1135
+ "$extensions": {
1136
+ "bw": {
1137
+ "derived": "color-mix(in oklab, var(--bw-color-accent) 7%, var(--bw-color-surface))"
1138
+ }
1139
+ }
1140
+ },
1141
+ "danger": {
1142
+ "$value": "{primitive.red.600}",
1143
+ "$extensions": {
1144
+ "bw": {
1145
+ "loadBearing": true
1146
+ }
1147
+ }
1148
+ },
1149
+ "danger-subtle": {
1150
+ "$value": "oklch(0.97 0.015 27)",
1151
+ "$description": "Literal, not the red.50 alias: the achromatic surface is hue-powerless, so the resolved hue stays the danger base's 27, not the ramp's 18.",
1152
+ "$extensions": {
1153
+ "bw": {
1154
+ "derived": "color-mix(in oklab, var(--bw-color-danger) 7%, var(--bw-color-surface))"
1155
+ }
1156
+ }
1157
+ },
1158
+ "danger-border": {
1159
+ "$value": "oklch(0.873 0.065 27)",
1160
+ "$description": "Tinted badge/alert border for the danger intent.",
1161
+ "$extensions": {
1162
+ "bw": {
1163
+ "derived": "color-mix(in oklab, var(--bw-color-danger) 30%, var(--bw-color-surface))"
1164
+ }
1165
+ }
1166
+ },
1167
+ "danger-strong": {
1168
+ "$value": "oklch(0.508 0.189 27)",
1169
+ "$extensions": {
1170
+ "bw": {
1171
+ "derived": "color-mix(in oklab, var(--bw-color-danger) 88%, black)"
1172
+ }
1173
+ }
1174
+ },
1175
+ "danger-fg": {
1176
+ "$value": "oklch(0.529 0.187 26.83)",
1177
+ "$description": "brickwork#289: text on danger-subtle (and on plain surface: .bw-field__error, .bw-account-menu__item--danger). Was a fixed mix toward literal black, independent of --bw-color-surface; danger-subtle mixes toward surface, so a brand darkening surface closed the gap and dropped contrast below AA with no warning. brickwork#289 review round 2: mixing toward var(--bw-color-fg) traded that failure for an equivalent one under an --bw-color-fg override (fg is itself a documented, brand-authored token, BRANDING.md's load-bearing seven), so the mix now targets var(--bw-color-status-fg-ink), a dedicated token defaulting to the same gray.900 ink but never moved by an ordinary --bw-color-fg override. This keeps the SAME numeric floor as the var(--bw-color-fg) attempt (status-fg-ink defaults to that attempt's resolution) while closing the fg-override hole: verified >= 4.5:1 against both danger-subtle and plain surface for --bw-color-surface overridden anywhere down to L 0.94 (conservative; the measured worst-family crossing is L 0.9390), independent of any --bw-color-fg value. Not the red.700 alias: mixing toward status-fg-ink resolves a fractionally different hue than a pure-black mix. Robustness is one-directional: this pairing is NOT protected against overriding --bw-color-danger itself to an extreme lightness, which is out of scope for #289 (that failure mode is the fg-on-accent class, docs/BRANDING.md).",
1178
+ "$extensions": {
1179
+ "bw": {
1180
+ "derived": "color-mix(in oklab, var(--bw-color-danger) 87%, var(--bw-color-status-fg-ink))",
1181
+ "contrastPair": [
1182
+ "color-danger-subtle",
1183
+ "color-surface"
1184
+ ],
1185
+ "minContrast": 4.5
1186
+ }
1187
+ }
1188
+ },
1189
+ "danger-on-fg": {
1190
+ "$value": "{primitive.gray.0}"
1191
+ },
1192
+ "warning": {
1193
+ "$value": "{primitive.amber.600}",
1194
+ "$extensions": {
1195
+ "bw": {
1196
+ "loadBearing": true
1197
+ }
1198
+ }
1199
+ },
1200
+ "warning-subtle": {
1201
+ "$value": "oklch(0.977 0.011 58)",
1202
+ "$description": "Literal, not the amber.50 alias: the achromatic surface is hue-powerless, so the resolved hue stays the warning base's 58, not the ramp's 95.",
1203
+ "$extensions": {
1204
+ "bw": {
1205
+ "derived": "color-mix(in oklab, var(--bw-color-warning) 7%, var(--bw-color-surface))"
1206
+ }
1207
+ }
1208
+ },
1209
+ "warning-border": {
1210
+ "$value": "oklch(0.9 0.049 58)",
1211
+ "$description": "Tinted badge/alert border for the warning intent.",
1212
+ "$extensions": {
1213
+ "bw": {
1214
+ "derived": "color-mix(in oklab, var(--bw-color-warning) 30%, var(--bw-color-surface))"
1215
+ }
1216
+ }
1217
+ },
1218
+ "warning-strong": {
1219
+ "$value": "oklch(0.586 0.143 58)",
1220
+ "$extensions": {
1221
+ "bw": {
1222
+ "derived": "color-mix(in oklab, var(--bw-color-warning) 88%, black)"
1223
+ }
1224
+ }
1225
+ },
1226
+ "warning-fg": {
1227
+ "$value": "oklch(0.518 0.109 57.62)",
1228
+ "$description": "brickwork#289: text on warning-subtle (and on plain surface: .bw-field__error, .bw-trend). Was a fixed mix toward literal black, independent of --bw-color-surface; warning-subtle mixes toward surface, so darkening surface closed the gap and dropped contrast below AA (the reported defect: default was only 4.67, and any surface darker than L 0.986 failed). brickwork#289 review round 2: mixing toward var(--bw-color-fg) traded that failure for an equivalent one under an --bw-color-fg override, so the mix now targets var(--bw-color-status-fg-ink), a dedicated token defaulting to the same gray.900 ink but never moved by an ordinary --bw-color-fg override. Verified >= 4.5:1 against both warning-subtle and plain surface for --bw-color-surface overridden anywhere down to L 0.94 (conservative; measured worst-family crossing L 0.9390), independent of --bw-color-fg.",
1229
+ "$extensions": {
1230
+ "bw": {
1231
+ "derived": "color-mix(in oklab, var(--bw-color-warning) 68%, var(--bw-color-status-fg-ink))",
1232
+ "contrastPair": [
1233
+ "color-warning-subtle",
1234
+ "color-surface"
1235
+ ],
1236
+ "minContrast": 4.5
1237
+ }
1238
+ }
1239
+ },
1240
+ "warning-on-fg": {
1241
+ "$value": "{primitive.gray.950}"
1242
+ },
1243
+ "success": {
1244
+ "$value": "{primitive.green.600}",
1245
+ "$extensions": {
1246
+ "bw": {
1247
+ "loadBearing": true
1248
+ }
1249
+ }
1250
+ },
1251
+ "success-subtle": {
1252
+ "$value": "oklch(0.974 0.011 149)",
1253
+ "$description": "Literal, not the green.50 alias: the achromatic surface is hue-powerless, so the resolved hue stays the success base's 149, not the ramp's 155.",
1254
+ "$extensions": {
1255
+ "bw": {
1256
+ "derived": "color-mix(in oklab, var(--bw-color-success) 7%, var(--bw-color-surface))"
1257
+ }
1258
+ }
1259
+ },
1260
+ "success-border": {
1261
+ "$value": "oklch(0.888 0.046 149)",
1262
+ "$description": "Tinted badge/alert border for the success intent.",
1263
+ "$extensions": {
1264
+ "bw": {
1265
+ "derived": "color-mix(in oklab, var(--bw-color-success) 30%, var(--bw-color-surface))"
1266
+ }
1267
+ }
1268
+ },
1269
+ "success-strong": {
1270
+ "$value": "oklch(0.552 0.136 149)",
1271
+ "$extensions": {
1272
+ "bw": {
1273
+ "derived": "color-mix(in oklab, var(--bw-color-success) 88%, black)"
1274
+ }
1275
+ }
1276
+ },
1277
+ "success-fg": {
1278
+ "$value": "oklch(0.496 0.106 149.75)",
1279
+ "$description": "brickwork#289: text on success-subtle (and on plain surface: .bw-field__error, .bw-trend). Was a fixed mix toward literal black, independent of --bw-color-surface; success-subtle mixes toward surface, so darkening surface closed the gap and dropped contrast below AA. brickwork#289 review round 2: mixing toward var(--bw-color-fg) traded that failure for an equivalent one under an --bw-color-fg override, so the mix now targets var(--bw-color-status-fg-ink), a dedicated token defaulting to the same gray.900 ink but never moved by an ordinary --bw-color-fg override. Verified >= 4.5:1 against both success-subtle and plain surface for --bw-color-surface overridden anywhere down to L 0.94 (conservative; measured worst-family crossing L 0.9390), independent of --bw-color-fg. Not the green.700 alias: mixing toward the ink literal resolves a fractionally different hue than a pure-black mix.",
1280
+ "$extensions": {
1281
+ "bw": {
1282
+ "derived": "color-mix(in oklab, var(--bw-color-success) 69%, var(--bw-color-status-fg-ink))",
1283
+ "contrastPair": [
1284
+ "color-success-subtle",
1285
+ "color-surface"
1286
+ ],
1287
+ "minContrast": 4.5
1288
+ }
1289
+ }
1290
+ },
1291
+ "success-on-fg": {
1292
+ "$value": "{primitive.gray.950}",
1293
+ "$description": "Near-black ink, the same treatment as warning: white on the solid green base fails AA (3.32); this ink measures 5.97."
1294
+ },
1295
+ "info": {
1296
+ "$value": "{primitive.cyan.600}",
1297
+ "$extensions": {
1298
+ "bw": {
1299
+ "loadBearing": true,
1300
+ "conditional": true,
1301
+ "collapsesTo": "color-accent"
1302
+ }
1303
+ }
1304
+ },
1305
+ "info-subtle": {
1306
+ "$value": "oklch(0.972 0.008 225)",
1307
+ "$description": "Literal, not the cyan.50 alias: the achromatic surface is hue-powerless, so the resolved hue stays the info base's 225, not the ramp's 210.",
1308
+ "$extensions": {
1309
+ "bw": {
1310
+ "derived": "color-mix(in oklab, var(--bw-color-info) 7%, var(--bw-color-surface))"
1311
+ }
1312
+ }
1313
+ },
1314
+ "info-border": {
1315
+ "$value": "oklch(0.88 0.033 225)",
1316
+ "$description": "Tinted badge/alert border for the info intent.",
1317
+ "$extensions": {
1318
+ "bw": {
1319
+ "derived": "color-mix(in oklab, var(--bw-color-info) 30%, var(--bw-color-surface))"
1320
+ }
1321
+ }
1322
+ },
1323
+ "info-strong": {
1324
+ "$value": "oklch(0.528 0.097 225)",
1325
+ "$extensions": {
1326
+ "bw": {
1327
+ "derived": "color-mix(in oklab, var(--bw-color-info) 88%, black)"
1328
+ }
1329
+ }
1330
+ },
1331
+ "info-fg": {
1332
+ "$value": "oklch(0.501 0.083 225.55)",
1333
+ "$description": "brickwork#289: text on info-subtle (and on plain surface: .bw-field__error, .bw-trend). Was a fixed mix toward literal black, independent of --bw-color-surface; info-subtle mixes toward surface, so darkening surface closed the gap and dropped contrast below AA. brickwork#289 review round 2: mixing toward var(--bw-color-fg) traded that failure for an equivalent one under an --bw-color-fg override, so the mix now targets var(--bw-color-status-fg-ink), a dedicated token defaulting to the same gray.900 ink but never moved by an ordinary --bw-color-fg override. Verified >= 4.5:1 against both info-subtle and plain surface for --bw-color-surface overridden anywhere down to L 0.94 (conservative; measured worst-family crossing L 0.9390), independent of --bw-color-fg. Not the cyan.700 alias: mixing toward the ink literal resolves a fractionally different hue than a pure-black mix.",
1334
+ "$extensions": {
1335
+ "bw": {
1336
+ "derived": "color-mix(in oklab, var(--bw-color-info) 75%, var(--bw-color-status-fg-ink))",
1337
+ "contrastPair": [
1338
+ "color-info-subtle",
1339
+ "color-surface"
1340
+ ],
1341
+ "minContrast": 4.5
1342
+ }
1343
+ }
1344
+ },
1345
+ "info-on-fg": {
1346
+ "$value": "{primitive.gray.950}",
1347
+ "$description": "Near-black ink, the same treatment as warning: white on the solid cyan base fails AA (3.83); this ink measures 5.17."
1348
+ },
1349
+ "icon-muted": {
1350
+ "$value": "{primitive.gray.400}",
1351
+ "$extensions": {
1352
+ "bw": {
1353
+ "derived": "var(--bw-color-fg-subtle)"
1354
+ }
1355
+ }
1356
+ },
1357
+ "focus-ring": {
1358
+ "$value": "oklch(0.5187 0.1824 262)",
1359
+ "$description": "brickwork#134: derived from accent, not a flat literal. A hardcoded amber broke brand-agnosticism: every white-label tenant would get an amber ring regardless of their brand accent, contradicting the overridable-manifest contract (this token was previously `derived: var(--bw-color-accent)`, which failed WCAG 1.4.11 at only 2.53:1 against surface). The fix keeps the accent's hue and mixes it toward black to force a contrast-safe lightness: 95% accent, 5% black, in oklab (never oklch, which rotates hue toward 0 on a tint mix). A tenant's `--bw-color-accent` still flows through as the ring's hue. Resolved literal for the default blue.600 accent, not an alias: clears 3:1 against every surface the ring is painted on (the global :focus-visible rule and the marketing hero/CTA bands) at surface/surface-raised 5.73:1 and surface-inverse (gray.900) 3.13:1.",
1360
+ "$extensions": {
1361
+ "bw": {
1362
+ "derived": "color-mix(in oklab, var(--bw-color-accent) 95%, black)"
1363
+ }
1364
+ }
1365
+ },
1366
+ "nav-item-active-bg": {
1367
+ "$value": "oklch(0.968 0.013 262)",
1368
+ "$description": "Follows accent-subtle's resolved literal (hue 262, not the blue.50 ramp's 254).",
1369
+ "$extensions": {
1370
+ "bw": {
1371
+ "derived": "var(--bw-color-accent-subtle)"
1372
+ }
1373
+ }
1374
+ },
1375
+ "nav-item-active-text": {
1376
+ "$value": "{primitive.blue.700}",
1377
+ "$extensions": {
1378
+ "bw": {
1379
+ "derived": "var(--bw-color-accent-hover)"
1380
+ }
1381
+ }
1382
+ },
1383
+ "nav-item-active-border": {
1384
+ "$value": "{primitive.blue.600}",
1385
+ "$extensions": {
1386
+ "bw": {
1387
+ "derived": "var(--bw-color-accent)"
1388
+ }
1389
+ }
1390
+ },
1391
+ "nav-item-disabled-text": {
1392
+ "$value": "{primitive.gray.400}",
1393
+ "$extensions": {
1394
+ "bw": {
1395
+ "derived": "var(--bw-color-fg-subtle)"
1396
+ }
1397
+ }
1398
+ },
1399
+ "nav-section-text": {
1400
+ "$value": "oklch(0.507 0.003 265)",
1401
+ "$description": "Follows fg-muted's resolved literal (0.4.0: the 62% mix).",
1402
+ "$extensions": {
1403
+ "bw": {
1404
+ "derived": "var(--bw-color-fg-muted)"
1405
+ }
1406
+ }
1407
+ },
1408
+ "breadcrumb-current": {
1409
+ "$value": "{primitive.gray.900}",
1410
+ "$extensions": {
1411
+ "bw": {
1412
+ "derived": "var(--bw-color-fg)"
1413
+ }
1414
+ }
1415
+ },
1416
+ "breadcrumb-separator": {
1417
+ "$value": "{primitive.gray.400}",
1418
+ "$extensions": {
1419
+ "bw": {
1420
+ "derived": "var(--bw-color-fg-subtle)"
1421
+ }
1422
+ }
1423
+ },
1424
+ "skeleton-bg": {
1425
+ "$value": "{primitive.gray.200}",
1426
+ "$description": "One step deeper than the sunken canvas so the placeholder reads as one. 0.4.0 polish: constant retuned 94% to 96% to hold the gray.200 landing above the deeper 96.5% sunken.",
1427
+ "$extensions": {
1428
+ "bw": {
1429
+ "derived": "color-mix(in oklab, var(--bw-color-surface-sunken) 96%, black)"
1430
+ }
1431
+ }
1432
+ },
1433
+ "skeleton-shimmer": {
1434
+ "$value": "oklch(0.891 0.004 265)",
1435
+ "$extensions": {
1436
+ "bw": {
1437
+ "derived": "color-mix(in oklab, var(--bw-color-skeleton-bg) 96%, black)"
1438
+ }
1439
+ }
1440
+ },
1441
+ "surface-marketing-tint": {
1442
+ "$value": "oklch(0.9637 0.0154 352.16)",
1443
+ "$description": "1.2.0 marketing token (BR-BW-MKT marketing tokens): a subtle tinted section background for marketing bands (_cta.html and any tinted section), derived from the accent/surface pair so a brand recolours it for free. Mixed at a low percentage (8%, one step past accent-subtle's 7%) so text placed on it clears WCAG AA in both themes (BR-BW-MKT-002's both-themes axe gate). Resolved literal (hue rotates toward the achromatic surface's own hue under oklab interpolation, unlike accent-subtle which mixes toward an achromatic-in-oklch literal), not an alias.",
1444
+ "$extensions": {
1445
+ "bw": {
1446
+ "derived": "color-mix(in oklab, var(--bw-color-accent) 8%, var(--bw-color-surface))"
1447
+ }
1448
+ }
1449
+ },
1450
+ "stage-wash": {
1451
+ "$value": "oklch(0.546 0.192 262 / 0.08)",
1452
+ "$description": "4.2.0 soft-stage wash (BR-BW-MKT-007 / #570): accent at 8% over transparent, the same low percentage as surface-marketing-tint so text on the band clears WCAG AA (BR-BW-MKT-002). Mixed toward transparent rather than toward surface: the wash is a decorative layer behind the copy, not a background fill, so alpha carries the whole effect.",
1453
+ "$extensions": {
1454
+ "bw": {
1455
+ "derived": "color-mix(in oklab, var(--bw-color-accent) 8%, transparent)"
1456
+ }
1457
+ }
1458
+ },
1459
+ "stage-grid": {
1460
+ "$value": "oklch(0.928 0.004 265 / 0.6)",
1461
+ "$description": "4.2.0 soft-stage grid line (BR-BW-MKT-007 / #570): border at 60% over transparent, a faint line on the light surface rather than a hard rule.",
1462
+ "$extensions": {
1463
+ "bw": {
1464
+ "derived": "color-mix(in oklab, var(--bw-color-border) 60%, transparent)"
1465
+ }
1466
+ }
1467
+ },
1468
+ "chart-1": {
1469
+ "$value": "{primitive.chart.light.1}",
1470
+ "$extensions": {
1471
+ "bw": {
1472
+ "authoredPerTheme": true,
1473
+ "series": 1
1474
+ }
1475
+ }
1476
+ },
1477
+ "chart-2": {
1478
+ "$value": "{primitive.chart.light.2}",
1479
+ "$extensions": {
1480
+ "bw": {
1481
+ "authoredPerTheme": true,
1482
+ "series": 2
1483
+ }
1484
+ }
1485
+ },
1486
+ "chart-3": {
1487
+ "$value": "{primitive.chart.light.3}",
1488
+ "$extensions": {
1489
+ "bw": {
1490
+ "authoredPerTheme": true,
1491
+ "series": 3
1492
+ }
1493
+ }
1494
+ },
1495
+ "chart-4": {
1496
+ "$value": "{primitive.chart.light.4}",
1497
+ "$extensions": {
1498
+ "bw": {
1499
+ "authoredPerTheme": true,
1500
+ "series": 4
1501
+ }
1502
+ }
1503
+ },
1504
+ "chart-5": {
1505
+ "$value": "{primitive.chart.light.5}",
1506
+ "$extensions": {
1507
+ "bw": {
1508
+ "authoredPerTheme": true,
1509
+ "series": 5
1510
+ }
1511
+ }
1512
+ },
1513
+ "chart-6": {
1514
+ "$value": "{primitive.chart.light.6}",
1515
+ "$extensions": {
1516
+ "bw": {
1517
+ "authoredPerTheme": true,
1518
+ "series": 6
1519
+ }
1520
+ }
1521
+ },
1522
+ "chart-7": {
1523
+ "$value": "{primitive.chart.light.7}",
1524
+ "$extensions": {
1525
+ "bw": {
1526
+ "authoredPerTheme": true,
1527
+ "series": 7
1528
+ }
1529
+ }
1530
+ },
1531
+ "chart-8": {
1532
+ "$value": "{primitive.chart.light.8}",
1533
+ "$extensions": {
1534
+ "bw": {
1535
+ "authoredPerTheme": true,
1536
+ "series": 8
1537
+ }
1538
+ }
1539
+ },
1540
+ "chart-axis": {
1541
+ "$value": "oklch(0.45 0.004 265)",
1542
+ "$description": "Axis line and ticks. Authored per theme, never derived (CHT-005). Measures 7.44:1 on the default surface: an axis is a non-text graphical object and clears WCAG 1.4.11's 3:1.",
1543
+ "$extensions": {
1544
+ "bw": {
1545
+ "authoredPerTheme": true
1546
+ }
1547
+ }
1548
+ },
1549
+ "chart-grid": {
1550
+ "$value": "oklch(0.922 0.003 265)",
1551
+ "$description": "Gridlines. Deliberately low contrast (1.40:1) and deliberately NOT held to 3:1: a gridline is decoration that must recede behind the data, not a graphical object conveying information. The data series carry the meaning.",
1552
+ "$extensions": {
1553
+ "bw": {
1554
+ "authoredPerTheme": true
1555
+ }
1556
+ }
1557
+ },
1558
+ "chart-axis-label": {
1559
+ "$value": "oklch(0.48 0.003 265)",
1560
+ "$description": "Axis tick labels. Authored per theme (CHT-005), and deliberately DARKER than fg-muted's 0.507 rather than reusing it: fg-muted is tuned for body text and measures 4.37:1 on the base surface, which is below the 4.5:1 AA floor once the value is held to a text standard. Chart axis labels are small text on a card, so they are authored at 6.5:1 instead. Caught by test_axis_label_clears_the_text_contrast_floor, which did not exist when the value was first copied from fg-muted.",
1561
+ "$extensions": {
1562
+ "bw": {
1563
+ "authoredPerTheme": true
1564
+ }
1565
+ }
1566
+ },
1567
+ "chart-tooltip-bg": {
1568
+ "$value": "oklch(0.205 0.005 265)",
1569
+ "$description": "Chart tooltip background. Inverted against the light surface (the tooltip is a transient overlay, matching the package's inverse-surface convention).",
1570
+ "$extensions": {
1571
+ "bw": {
1572
+ "authoredPerTheme": true
1573
+ }
1574
+ }
1575
+ },
1576
+ "chart-tooltip-text": {
1577
+ "$value": "oklch(0.985 0.001 265)",
1578
+ "$description": "Chart tooltip text. Measures 17.2:1 on tooltip-bg, comfortably clear of AA for the small text a tooltip carries.",
1579
+ "$extensions": {
1580
+ "bw": {
1581
+ "authoredPerTheme": true
1582
+ }
1583
+ }
1584
+ },
1585
+ "chart-tooltip-border": {
1586
+ "$value": "oklch(0.279 0.006 265)",
1587
+ "$description": "Chart tooltip border: a subtle lift off the tooltip background, not a contrast affordance.",
1588
+ "$extensions": {
1589
+ "bw": {
1590
+ "authoredPerTheme": true
1591
+ }
1592
+ }
1593
+ },
1594
+ "sparkline-stroke": {
1595
+ "$value": "{primitive.chart.light.1}",
1596
+ "$description": "Sparkline stroke for tone=\"neutral\" (VIZ-004). Defaults to --bw-color-chart-1 so a lone sparkline matches the chart palette's first series, and exists as a token precisely so a consumer can override it: VIZ-026 lets any VIZ stroke resolve --bw-color-chart-1..8 to colour-match a chart shown alongside, and a sparkline whose stroke was baked into a CSS rule would leave that consumer nothing to override but the component's own internals, which docs/BRANDING.md forbids in terms. The seam is the point; the default value is incidental. tone=\"trend\" deliberately does NOT read this token: it reads --bw-color-success-fg/--bw-color-danger-fg, which are derived from --bw-color-status-fg-ink and so inherit the status contrast contract that a parallel sparkline-positive/-negative pair would not."
1597
+ }
1598
+ },
1599
+ "state": {
1600
+ "$description": "Interactive-state tokens, LIGHT theme (DESIGN.md section 4.6). Transient feedback is a translucent overlay laid over whatever surface is beneath; persistent selection is a dedicated token. Theme-variant like color.*: same names in semantic.dark.tokens.json.",
1601
+ "$type": "color",
1602
+ "hover-overlay": {
1603
+ "$value": "oklch(0 0 0 / 0.04)"
1604
+ },
1605
+ "active-overlay": {
1606
+ "$value": "oklch(0 0 0 / 0.08)"
1607
+ },
1608
+ "selected-bg": {
1609
+ "$value": "oklch(0.968 0.013 262)",
1610
+ "$description": "Follows accent-subtle's resolved literal (hue 262, not the blue.50 ramp's 254).",
1611
+ "$extensions": {
1612
+ "bw": {
1613
+ "derived": "var(--bw-color-accent-subtle)"
1614
+ }
1615
+ }
1616
+ }
1617
+ },
1618
+ "elevation": {
1619
+ "0": {
1620
+ "$value": "none"
1621
+ },
1622
+ "1": {
1623
+ "$value": "0 1px 2px 0 oklch(0 0 0 / 0.05)"
1624
+ },
1625
+ "2": {
1626
+ "$value": "0 1px 3px 0 oklch(0 0 0 / 0.1), 0 1px 2px -1px oklch(0 0 0 / 0.1)"
1627
+ },
1628
+ "3": {
1629
+ "$value": "0 4px 6px -1px oklch(0 0 0 / 0.1), 0 2px 4px -2px oklch(0 0 0 / 0.1)"
1630
+ },
1631
+ "4": {
1632
+ "$value": "0 10px 15px -3px oklch(0 0 0 / 0.1), 0 4px 6px -4px oklch(0 0 0 / 0.1)"
1633
+ },
1634
+ "5": {
1635
+ "$value": "0 20px 25px -5px oklch(0 0 0 / 0.1), 0 8px 10px -6px oklch(0 0 0 / 0.1)"
1636
+ },
1637
+ "$description": "Elevation ramp, LIGHT theme (DESIGN.md section 5). Geometry adopted from Tailwind 4's shadow ramp, colours in oklch. Theme-variant: dark values are authored in semantic.dark.tokens.json (higher alpha plus an inset top highlight from level 3).",
1638
+ "$type": "other"
1639
+ },
1640
+ "text": {
1641
+ "$description": "Type roles (DESIGN.md section 7.4): each role bundles family, size, line-height, weight and tracking. Every value is a literal var() reference into the --bw-font-* scales, so a brand override of a scale step cascades through every role that uses it. Components consume roles, never raw scale steps.",
1642
+ "$type": "other",
1643
+ "heading-display": {
1644
+ "$description": "Marketing display type role (1.2.0, BR-BW-MKT marketing tokens): the hero/section headline voice, above the app's largest heading role (heading-2xl). Bundles the display family at the 5xl size step with a tight line-height, bold weight and tight tracking, matching heading-2xl's bundling shape one step up the scale.",
1645
+ "family": {
1646
+ "$value": "var(--bw-font-family-display)"
1647
+ },
1648
+ "size": {
1649
+ "$value": "var(--bw-font-size-5xl)"
1650
+ },
1651
+ "line-height": {
1652
+ "$value": "var(--bw-font-line-height-tight)"
1653
+ },
1654
+ "weight": {
1655
+ "$value": "var(--bw-font-weight-bold)"
1656
+ },
1657
+ "tracking": {
1658
+ "$value": "var(--bw-font-tracking-tight)"
1659
+ }
1660
+ },
1661
+ "heading-2xl": {
1662
+ "family": {
1663
+ "$value": "var(--bw-font-family-display)"
1664
+ },
1665
+ "size": {
1666
+ "$value": "var(--bw-font-size-2xl)"
1667
+ },
1668
+ "line-height": {
1669
+ "$value": "var(--bw-font-line-height-tight)"
1670
+ },
1671
+ "weight": {
1672
+ "$value": "var(--bw-font-weight-bold)"
1673
+ },
1674
+ "tracking": {
1675
+ "$value": "var(--bw-font-tracking-tight)"
1676
+ }
1677
+ },
1678
+ "heading-xl": {
1679
+ "family": {
1680
+ "$value": "var(--bw-font-family-display)"
1681
+ },
1682
+ "size": {
1683
+ "$value": "var(--bw-font-size-xl)"
1684
+ },
1685
+ "line-height": {
1686
+ "$value": "var(--bw-font-line-height-tight)"
1687
+ },
1688
+ "weight": {
1689
+ "$value": "var(--bw-font-weight-semibold)"
1690
+ },
1691
+ "tracking": {
1692
+ "$value": "var(--bw-font-tracking-tight)"
1693
+ }
1694
+ },
1695
+ "heading-section": {
1696
+ "$description": "Marketing section-intro type role (icvoss/django-brickwork#643). Independently themeable from the page-header title's heading-xl role. Defaults duplicate heading-xl's scale references (display family, xl size, tight leading, semibold, tight tracking) so package-default renders stay visually identical while a brand can size section intros without moving page titles, and vice versa.",
1697
+ "family": {
1698
+ "$value": "var(--bw-font-family-display)"
1699
+ },
1700
+ "size": {
1701
+ "$value": "var(--bw-font-size-xl)"
1702
+ },
1703
+ "line-height": {
1704
+ "$value": "var(--bw-font-line-height-tight)"
1705
+ },
1706
+ "weight": {
1707
+ "$value": "var(--bw-font-weight-semibold)"
1708
+ },
1709
+ "tracking": {
1710
+ "$value": "var(--bw-font-tracking-tight)"
1711
+ }
1712
+ },
1713
+ "heading-lg": {
1714
+ "family": {
1715
+ "$value": "var(--bw-font-family-sans)"
1716
+ },
1717
+ "size": {
1718
+ "$value": "var(--bw-font-size-lg)"
1719
+ },
1720
+ "line-height": {
1721
+ "$value": "var(--bw-font-line-height-snug)"
1722
+ },
1723
+ "weight": {
1724
+ "$value": "var(--bw-font-weight-semibold)"
1725
+ },
1726
+ "tracking": {
1727
+ "$value": "var(--bw-font-tracking-normal)"
1728
+ }
1729
+ },
1730
+ "heading-md": {
1731
+ "family": {
1732
+ "$value": "var(--bw-font-family-sans)"
1733
+ },
1734
+ "size": {
1735
+ "$value": "var(--bw-font-size-md)"
1736
+ },
1737
+ "line-height": {
1738
+ "$value": "var(--bw-font-line-height-snug)"
1739
+ },
1740
+ "weight": {
1741
+ "$value": "var(--bw-font-weight-semibold)"
1742
+ }
1743
+ },
1744
+ "heading-sm": {
1745
+ "family": {
1746
+ "$value": "var(--bw-font-family-sans)"
1747
+ },
1748
+ "size": {
1749
+ "$value": "var(--bw-font-size-sm)"
1750
+ },
1751
+ "line-height": {
1752
+ "$value": "var(--bw-font-line-height-snug)"
1753
+ },
1754
+ "weight": {
1755
+ "$value": "var(--bw-font-weight-semibold)"
1756
+ }
1757
+ },
1758
+ "body-lg": {
1759
+ "size": {
1760
+ "$value": "var(--bw-font-size-lg)"
1761
+ },
1762
+ "line-height": {
1763
+ "$value": "var(--bw-font-line-height-relaxed)"
1764
+ },
1765
+ "weight": {
1766
+ "$value": "var(--bw-font-weight-normal)"
1767
+ }
1768
+ },
1769
+ "body-md": {
1770
+ "family": {
1771
+ "$value": "var(--bw-font-family-sans)"
1772
+ },
1773
+ "size": {
1774
+ "$value": "var(--bw-font-size-md)"
1775
+ },
1776
+ "line-height": {
1777
+ "$value": "var(--bw-font-line-height-normal)"
1778
+ },
1779
+ "weight": {
1780
+ "$value": "var(--bw-font-weight-normal)"
1781
+ }
1782
+ },
1783
+ "body-sm": {
1784
+ "size": {
1785
+ "$value": "var(--bw-font-size-sm)"
1786
+ },
1787
+ "line-height": {
1788
+ "$value": "var(--bw-font-line-height-normal)"
1789
+ },
1790
+ "weight": {
1791
+ "$value": "var(--bw-font-weight-normal)"
1792
+ }
1793
+ },
1794
+ "label": {
1795
+ "$description": "Interactive control labels (buttons). Carries family and tracking so a brand can set button type once on the ladder (icvoss/django-brickwork#642); defaults match the sans stack and 0em tracking so package defaults stay byte-identical.",
1796
+ "family": {
1797
+ "$value": "var(--bw-font-family-sans)"
1798
+ },
1799
+ "size": {
1800
+ "$value": "var(--bw-font-size-sm)"
1801
+ },
1802
+ "line-height": {
1803
+ "$value": "var(--bw-font-line-height-none)"
1804
+ },
1805
+ "weight": {
1806
+ "$value": "var(--bw-font-weight-medium)"
1807
+ },
1808
+ "tracking": {
1809
+ "$value": "var(--bw-font-tracking-normal)"
1810
+ }
1811
+ },
1812
+ "caption": {
1813
+ "family": {
1814
+ "$value": "var(--bw-font-family-sans)"
1815
+ },
1816
+ "size": {
1817
+ "$value": "var(--bw-font-size-xs)"
1818
+ },
1819
+ "line-height": {
1820
+ "$value": "var(--bw-font-line-height-normal)"
1821
+ },
1822
+ "weight": {
1823
+ "$value": "var(--bw-font-weight-normal)"
1824
+ },
1825
+ "tracking": {
1826
+ "$value": "var(--bw-font-tracking-normal)"
1827
+ }
1828
+ },
1829
+ "overline": {
1830
+ "family": {
1831
+ "$value": "var(--bw-font-family-sans)"
1832
+ },
1833
+ "size": {
1834
+ "$value": "var(--bw-font-size-2xs)"
1835
+ },
1836
+ "line-height": {
1837
+ "$value": "var(--bw-font-line-height-none)"
1838
+ },
1839
+ "weight": {
1840
+ "$value": "var(--bw-font-weight-semibold)"
1841
+ },
1842
+ "tracking": {
1843
+ "$value": "var(--bw-font-tracking-wider)"
1844
+ }
1845
+ },
1846
+ "code": {
1847
+ "family": {
1848
+ "$value": "var(--bw-font-family-mono)"
1849
+ },
1850
+ "size": {
1851
+ "$value": "var(--bw-font-size-sm)"
1852
+ },
1853
+ "line-height": {
1854
+ "$value": "var(--bw-font-line-height-normal)"
1855
+ },
1856
+ "weight": {
1857
+ "$value": "var(--bw-font-weight-normal)"
1858
+ }
1859
+ }
1860
+ }
1861
+ }