@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.
- package/dist/figma-variables.json +2440 -0
- package/dist/tailwind-preset.mjs +182 -0
- package/dist/tailwind-theme.css +125 -0
- package/dist/token-manifest.json +356 -0
- package/dist/tokens.css +724 -0
- package/dist/tokens.d.ts +2 -0
- package/dist/tokens.dtcg.json +1861 -0
- package/dist/tokens.js +377 -0
- package/package.json +33 -4
- package/src/dtcg/breakpoint.tokens.json +20 -0
- package/src/dtcg/component.tokens.json +480 -0
- package/src/dtcg/density.comfortable.tokens.json +47 -0
- package/src/dtcg/density.compact.tokens.json +45 -0
- package/src/dtcg/density.spacious.tokens.json +45 -0
- package/src/dtcg/motion.tokens.json +39 -0
- package/src/dtcg/primitive.tokens.json +347 -0
- package/src/dtcg/semantic.dark.tokens.json +648 -0
- package/src/dtcg/semantic.light.tokens.json +677 -0
- package/src/dtcg/typography.tokens.json +99 -0
- package/README.md +0 -3
|
@@ -0,0 +1,648 @@
|
|
|
1
|
+
{
|
|
2
|
+
"color": {
|
|
3
|
+
"$description": "Semantic tier, DARK theme. AUTHORED dark values (BR-BW-TOK-002): each token's dark value is chosen deliberately for the dark surface, NEVER computed by inverting or filtering the light value. Same token names as semantic.light.tokens.json. Accent/status roles shift to lighter, slightly-desaturated ramp steps so they keep AA contrast on a dark surface rather than glowing. Derived tokens carry their live color-mix expression in $extensions.bw.derived with dark-tuned constants (and, for the strong/subtle tiers, a flipped mix direction); $value stays the resolved default and the regression baseline (docs/DESIGN.md section 3).",
|
|
4
|
+
"$type": "color",
|
|
5
|
+
"surface": {
|
|
6
|
+
"$value": "oklch(0.18 0.005 265)",
|
|
7
|
+
"$description": "0.4.0 polish: lifted from gray.950 (0.145), whose derived sunken sat near L 0.11, an undifferentiated void; the graphite base gives a legible three-step sunken/surface/raised ladder.",
|
|
8
|
+
"$extensions": {
|
|
9
|
+
"bw": {
|
|
10
|
+
"loadBearing": true
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"surface-sunken": {
|
|
15
|
+
"$value": "oklch(0.137 0.004 265)",
|
|
16
|
+
"$description": "Resolved literal of the 76% mix over the 0.4.0 graphite surface.",
|
|
17
|
+
"$extensions": {
|
|
18
|
+
"bw": {
|
|
19
|
+
"derived": "color-mix(in oklab, var(--bw-color-surface) 76%, black)"
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"surface-raised": {
|
|
24
|
+
"$value": "oklch(0.237 0.005 265)",
|
|
25
|
+
"$description": "Resolved literal of the 93%-toward-white mix over the 0.4.0 graphite surface.",
|
|
26
|
+
"$extensions": {
|
|
27
|
+
"bw": {
|
|
28
|
+
"derived": "color-mix(in oklab, var(--bw-color-surface) 93%, white)"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"surface-inverse": {
|
|
33
|
+
"$value": "oklch(0.93 0.002 265)",
|
|
34
|
+
"$extensions": {
|
|
35
|
+
"bw": {
|
|
36
|
+
"derived": "var(--bw-color-fg)",
|
|
37
|
+
"loadBearing": true,
|
|
38
|
+
"conditional": true
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"surface-overlay": {
|
|
43
|
+
"$value": "oklch(0 0 0 / 0.6)",
|
|
44
|
+
"$description": "Authored, not derived: a scrim is dark-over-content in both themes; deriving from surface-inverse (= fg, near-white in dark) would yield a light wash."
|
|
45
|
+
},
|
|
46
|
+
"fg": {
|
|
47
|
+
"$value": "oklch(0.93 0.002 265)",
|
|
48
|
+
"$description": "0.4.0 polish: dimmed from gray.50 (0.985); maximum-white body text glares on a dark canvas. Measures 15.30:1 on the graphite surface, far above the 7:1 heading floor.",
|
|
49
|
+
"$extensions": {
|
|
50
|
+
"bw": {
|
|
51
|
+
"loadBearing": true
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"fg-muted": {
|
|
56
|
+
"$value": "oklch(0.72 0.003 265)",
|
|
57
|
+
"$description": "0.4.0 polish: mix raised 67% to 72% to companion the dimmed fg; measures 7.58:1 on surface and 6.68:1 on raised.",
|
|
58
|
+
"$extensions": {
|
|
59
|
+
"bw": {
|
|
60
|
+
"derived": "color-mix(in oklab, var(--bw-color-fg) 72%, var(--bw-color-surface))"
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"fg-subtle": {
|
|
65
|
+
"$value": "oklch(0.548 0.004 265)",
|
|
66
|
+
"$extensions": {
|
|
67
|
+
"bw": {
|
|
68
|
+
"derived": "color-mix(in oklab, var(--bw-color-fg) 49%, var(--bw-color-surface))"
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"fg-on-accent": {
|
|
73
|
+
"$value": "{primitive.gray.950}",
|
|
74
|
+
"$extensions": {
|
|
75
|
+
"bw": {
|
|
76
|
+
"loadBearing": true,
|
|
77
|
+
"authoredPerTheme": true,
|
|
78
|
+
"contrastPair": "color-accent",
|
|
79
|
+
"minContrast": 4.5
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"fg-on-inverse": {
|
|
84
|
+
"$value": "oklch(0.18 0.005 265)",
|
|
85
|
+
"$extensions": {
|
|
86
|
+
"bw": {
|
|
87
|
+
"derived": "var(--bw-color-surface)"
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
"status-fg-ink": {
|
|
92
|
+
"$value": "oklch(0.93 0.002 265)",
|
|
93
|
+
"$description": "brickwork#289 review round 2: the light-theme companion mixes X-fg toward this rather than var(--bw-color-fg) (see semantic.light.tokens.json for the full rationale). Dark X-fg already mixes toward literal white, not fg, so this token is unreferenced by any dark derivation; it is declared here only to keep the token name present in both theme files, matching every other semantic token (BR-BW-TOK-002), and so a brand that overrides it in light for symmetry has a defined dark counterpart rather than an inherited light leftover.",
|
|
94
|
+
"$extensions": {
|
|
95
|
+
"bw": {}
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"border": {
|
|
99
|
+
"$value": "{primitive.gray.800}",
|
|
100
|
+
"$extensions": {
|
|
101
|
+
"bw": {
|
|
102
|
+
"loadBearing": true
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
"border-strong": {
|
|
107
|
+
"$value": "{primitive.gray.700}",
|
|
108
|
+
"$extensions": {
|
|
109
|
+
"bw": {
|
|
110
|
+
"derived": "color-mix(in oklab, var(--bw-color-border) 86%, white)"
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
"border-control": {
|
|
115
|
+
"$value": "oklch(0.518 0.004 265)",
|
|
116
|
+
"$description": "Input/control boundary. The divider border token stays subtle; controls need a WCAG 1.4.11 compliant boundary (measured 3.38:1 against the 0.4.0 graphite surface).",
|
|
117
|
+
"$extensions": {
|
|
118
|
+
"bw": {
|
|
119
|
+
"derived": "color-mix(in oklab, var(--bw-color-fg) 45%, var(--bw-color-surface))"
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
"action-disabled-bg": {
|
|
124
|
+
"$value": "oklch(0.137 0.004 265)",
|
|
125
|
+
"$description": "Flat disabled control fill (COL-018 / icvoss/django-brickwork#282). Dark authored; same mix as surface-sunken, expressed as color-mix for brand_css gating.",
|
|
126
|
+
"$extensions": {
|
|
127
|
+
"bw": {
|
|
128
|
+
"derived": "color-mix(in oklab, var(--bw-color-surface) 76%, black)"
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
"action-disabled-text": {
|
|
133
|
+
"$value": "oklch(0.72 0.003 265)",
|
|
134
|
+
"$description": "Flat disabled control ink (COL-018 / icvoss/django-brickwork#282). Dark authored; same mix as fg-muted, expressed as color-mix for brand_css gating.",
|
|
135
|
+
"$extensions": {
|
|
136
|
+
"bw": {
|
|
137
|
+
"derived": "color-mix(in oklab, var(--bw-color-fg) 72%, var(--bw-color-surface))",
|
|
138
|
+
"contrastPair": "color-action-disabled-bg",
|
|
139
|
+
"minContrast": 4.5
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
"action-disabled-border": {
|
|
144
|
+
"$value": "oklch(0.518 0.004 265)",
|
|
145
|
+
"$description": "Flat disabled control boundary (COL-018 / icvoss/django-brickwork#282). Dark authored; same mix as border-control.",
|
|
146
|
+
"$extensions": {
|
|
147
|
+
"bw": {
|
|
148
|
+
"derived": "color-mix(in oklab, var(--bw-color-fg) 45%, var(--bw-color-surface))"
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
"accent": {
|
|
153
|
+
"$value": "{primitive.blue.400}",
|
|
154
|
+
"$extensions": {
|
|
155
|
+
"bw": {
|
|
156
|
+
"loadBearing": true
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
"accent-hover": {
|
|
161
|
+
"$value": "oklch(0.622 0.145 254)",
|
|
162
|
+
"$extensions": {
|
|
163
|
+
"bw": {
|
|
164
|
+
"derived": "color-mix(in oklab, var(--bw-color-accent) 88%, black)"
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
"accent-subtle": {
|
|
169
|
+
"$value": "oklch(0.212 0.05 254)",
|
|
170
|
+
"$description": "0.4.0 polish: mix lowered 40% to 30% so selection and active-nav recede behind content instead of outshining it; nav-item-active-text gains contrast on the darker tint (14.47:1).",
|
|
171
|
+
"$extensions": {
|
|
172
|
+
"bw": {
|
|
173
|
+
"derived": "color-mix(in oklab, var(--bw-color-accent) 30%, black)"
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
"danger": {
|
|
178
|
+
"$value": "{primitive.red.500}",
|
|
179
|
+
"$extensions": {
|
|
180
|
+
"bw": {
|
|
181
|
+
"loadBearing": true
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
"danger-subtle": {
|
|
186
|
+
"$value": "oklch(0.166 0.054 25)",
|
|
187
|
+
"$description": "0.4.0 polish: mix lowered 41% to 26% so the dark tint whispers like its light counterpart; danger-fg measures 7.22:1 on it. A literal (the red.950 alias no longer matches).",
|
|
188
|
+
"$extensions": {
|
|
189
|
+
"bw": {
|
|
190
|
+
"derived": "color-mix(in oklab, var(--bw-color-danger) 26%, black)"
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
"danger-border": {
|
|
195
|
+
"$value": "oklch(0.35 0.114 25)",
|
|
196
|
+
"$description": "Tinted badge/alert border for the danger intent; clears the black-mixed subtle tint by delta-L 0.184.",
|
|
197
|
+
"$extensions": {
|
|
198
|
+
"bw": {
|
|
199
|
+
"derived": "color-mix(in oklab, var(--bw-color-danger) 55%, black)"
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
},
|
|
203
|
+
"danger-strong": {
|
|
204
|
+
"$value": "oklch(0.652 0.2 25)",
|
|
205
|
+
"$extensions": {
|
|
206
|
+
"bw": {
|
|
207
|
+
"derived": "color-mix(in oklab, var(--bw-color-danger) 96%, white)"
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
},
|
|
211
|
+
"danger-fg": {
|
|
212
|
+
"$value": "oklch(0.735 0.152 25)",
|
|
213
|
+
"$description": "brickwork#289: constant tightened from 78% to 73% toward white. Dark-subtle mixes toward black (BR-BW-TOK-002 correction, not toward surface), so it does not carry this defect against danger-subtle; but danger-fg is also painted on plain surface/surface-raised (.bw-account-menu__item--danger), and DESIGN.md's own branding note already flagged that pairing degrades for a brand whose dark danger sits below about L 0.62. The retuned constant verifies >= 4.5:1 against plain surface for dark-surface L up to 0.35 (default dark surface is 0.18, surface-raised 0.237), well past any documented brand recipe. warning/success/info keep their existing 78% constant: it already clears this same plain-surface sweep without adjustment.",
|
|
214
|
+
"$extensions": {
|
|
215
|
+
"bw": {
|
|
216
|
+
"derived": "color-mix(in oklab, var(--bw-color-danger) 73%, white)"
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
"danger-on-fg": {
|
|
221
|
+
"$value": "{primitive.gray.950}"
|
|
222
|
+
},
|
|
223
|
+
"warning": {
|
|
224
|
+
"$value": "{primitive.amber.500}",
|
|
225
|
+
"$extensions": {
|
|
226
|
+
"bw": {
|
|
227
|
+
"loadBearing": true
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
},
|
|
231
|
+
"warning-subtle": {
|
|
232
|
+
"$value": "oklch(0.169 0.037 70)",
|
|
233
|
+
"$description": "Literal, not an amber ramp alias: black is hue-powerless in the mix, so the resolved hue stays the warning base's 70, not the ramp's 46. 0.4.0 polish: mix lowered 36% to 22%; warning-fg measures 10.77:1 on it.",
|
|
234
|
+
"$extensions": {
|
|
235
|
+
"bw": {
|
|
236
|
+
"derived": "color-mix(in oklab, var(--bw-color-warning) 22%, black)"
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
},
|
|
240
|
+
"warning-border": {
|
|
241
|
+
"$value": "oklch(0.423 0.091 70)",
|
|
242
|
+
"$description": "Tinted badge/alert border for the warning intent; clears the black-mixed subtle tint by delta-L 0.254.",
|
|
243
|
+
"$extensions": {
|
|
244
|
+
"bw": {
|
|
245
|
+
"derived": "color-mix(in oklab, var(--bw-color-warning) 55%, black)"
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
},
|
|
249
|
+
"warning-strong": {
|
|
250
|
+
"$value": "oklch(0.778 0.159 70)",
|
|
251
|
+
"$extensions": {
|
|
252
|
+
"bw": {
|
|
253
|
+
"derived": "color-mix(in oklab, var(--bw-color-warning) 96%, white)"
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
},
|
|
257
|
+
"warning-fg": {
|
|
258
|
+
"$value": "oklch(0.82 0.129 70)",
|
|
259
|
+
"$extensions": {
|
|
260
|
+
"bw": {
|
|
261
|
+
"derived": "color-mix(in oklab, var(--bw-color-warning) 78%, white)"
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
},
|
|
265
|
+
"warning-on-fg": {
|
|
266
|
+
"$value": "{primitive.gray.950}"
|
|
267
|
+
},
|
|
268
|
+
"success": {
|
|
269
|
+
"$value": "{primitive.green.500}",
|
|
270
|
+
"$extensions": {
|
|
271
|
+
"bw": {
|
|
272
|
+
"loadBearing": true
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
},
|
|
276
|
+
"success-subtle": {
|
|
277
|
+
"$value": "oklch(0.166 0.039 152)",
|
|
278
|
+
"$description": "0.4.0 polish: mix lowered 37% to 23%; success-fg measures 10.19:1 on it. A literal (the green.950 alias no longer matches).",
|
|
279
|
+
"$extensions": {
|
|
280
|
+
"bw": {
|
|
281
|
+
"derived": "color-mix(in oklab, var(--bw-color-success) 23%, black)"
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
},
|
|
285
|
+
"success-border": {
|
|
286
|
+
"$value": "oklch(0.398 0.093 152)",
|
|
287
|
+
"$description": "Tinted badge/alert border for the success intent; clears the black-mixed subtle tint by delta-L 0.232.",
|
|
288
|
+
"$extensions": {
|
|
289
|
+
"bw": {
|
|
290
|
+
"derived": "color-mix(in oklab, var(--bw-color-success) 55%, black)"
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
},
|
|
294
|
+
"success-strong": {
|
|
295
|
+
"$value": "oklch(0.734 0.162 152)",
|
|
296
|
+
"$extensions": {
|
|
297
|
+
"bw": {
|
|
298
|
+
"derived": "color-mix(in oklab, var(--bw-color-success) 96%, white)"
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
},
|
|
302
|
+
"success-fg": {
|
|
303
|
+
"$value": "oklch(0.784 0.132 152)",
|
|
304
|
+
"$extensions": {
|
|
305
|
+
"bw": {
|
|
306
|
+
"derived": "color-mix(in oklab, var(--bw-color-success) 78%, white)"
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
},
|
|
310
|
+
"success-on-fg": {
|
|
311
|
+
"$value": "{primitive.gray.950}"
|
|
312
|
+
},
|
|
313
|
+
"info": {
|
|
314
|
+
"$value": "{primitive.cyan.400}",
|
|
315
|
+
"$extensions": {
|
|
316
|
+
"bw": {
|
|
317
|
+
"loadBearing": true,
|
|
318
|
+
"conditional": true,
|
|
319
|
+
"collapsesTo": "color-accent"
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
},
|
|
323
|
+
"info-subtle": {
|
|
324
|
+
"$value": "oklch(0.187 0.029 220)",
|
|
325
|
+
"$description": "Literal, not the cyan.950 alias: black is hue-powerless in the mix, so the resolved hue stays the info base's 220, not the ramp's 230. 0.4.0 polish: mix lowered 42% to 26%; info-fg measures 9.53:1 on it.",
|
|
326
|
+
"$extensions": {
|
|
327
|
+
"bw": {
|
|
328
|
+
"derived": "color-mix(in oklab, var(--bw-color-info) 26%, black)"
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
},
|
|
332
|
+
"info-border": {
|
|
333
|
+
"$value": "oklch(0.396 0.061 220)",
|
|
334
|
+
"$description": "Tinted badge/alert border for the info intent; clears the black-mixed subtle tint by delta-L 0.209.",
|
|
335
|
+
"$extensions": {
|
|
336
|
+
"bw": {
|
|
337
|
+
"derived": "color-mix(in oklab, var(--bw-color-info) 55%, black)"
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
},
|
|
341
|
+
"info-strong": {
|
|
342
|
+
"$value": "oklch(0.731 0.106 220)",
|
|
343
|
+
"$extensions": {
|
|
344
|
+
"bw": {
|
|
345
|
+
"derived": "color-mix(in oklab, var(--bw-color-info) 96%, white)"
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
},
|
|
349
|
+
"info-fg": {
|
|
350
|
+
"$value": "oklch(0.782 0.086 220)",
|
|
351
|
+
"$extensions": {
|
|
352
|
+
"bw": {
|
|
353
|
+
"derived": "color-mix(in oklab, var(--bw-color-info) 78%, white)"
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
},
|
|
357
|
+
"info-on-fg": {
|
|
358
|
+
"$value": "{primitive.gray.950}"
|
|
359
|
+
},
|
|
360
|
+
"icon-muted": {
|
|
361
|
+
"$value": "oklch(0.548 0.004 265)",
|
|
362
|
+
"$extensions": {
|
|
363
|
+
"bw": {
|
|
364
|
+
"derived": "var(--bw-color-fg-subtle)"
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
},
|
|
368
|
+
"focus-ring": {
|
|
369
|
+
"$value": "oklch(0.5797 0.1353 254)",
|
|
370
|
+
"$description": "brickwork#134: derived from accent, not a flat literal. A hardcoded amber broke brand-agnosticism (see semantic.light.tokens.json for the full rationale). Derived by mixing accent (blue.400 by default) toward black, in oklab, to force a contrast-safe lightness: 82% accent, 18% black. Darkening, not lightening, is the correct direction here even though the theme is dark: surface-inverse in this theme is near-white (oklch L 0.93), so a ring lightened toward white would fail against it just as badly as the raw accent does (2.15:1). Darkening clears all three surfaces the ring is painted on at once. A tenant's `--bw-color-accent` still flows through as the ring's hue. Resolved literal for the default blue.400 dark accent, not an alias: surface 4.38:1, surface-raised (card) 3.86:1, surface-inverse (the near-white inverse/hero band) 3.50:1.",
|
|
371
|
+
"$extensions": {
|
|
372
|
+
"bw": {
|
|
373
|
+
"derived": "color-mix(in oklab, var(--bw-color-accent) 82%, black)"
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
},
|
|
377
|
+
"nav-item-active-bg": {
|
|
378
|
+
"$value": "oklch(0.212 0.05 254)",
|
|
379
|
+
"$extensions": {
|
|
380
|
+
"bw": {
|
|
381
|
+
"derived": "var(--bw-color-accent-subtle)"
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
},
|
|
385
|
+
"nav-item-active-text": {
|
|
386
|
+
"$value": "{primitive.blue.100}",
|
|
387
|
+
"$extensions": {
|
|
388
|
+
"bw": {
|
|
389
|
+
"derived": "color-mix(in oklab, var(--bw-color-accent) 25%, white)"
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
},
|
|
393
|
+
"nav-item-active-border": {
|
|
394
|
+
"$value": "{primitive.blue.400}",
|
|
395
|
+
"$extensions": {
|
|
396
|
+
"bw": {
|
|
397
|
+
"derived": "var(--bw-color-accent)"
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
},
|
|
401
|
+
"nav-item-disabled-text": {
|
|
402
|
+
"$value": "oklch(0.548 0.004 265)",
|
|
403
|
+
"$extensions": {
|
|
404
|
+
"bw": {
|
|
405
|
+
"derived": "var(--bw-color-fg-subtle)"
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
},
|
|
409
|
+
"nav-section-text": {
|
|
410
|
+
"$value": "oklch(0.72 0.003 265)",
|
|
411
|
+
"$extensions": {
|
|
412
|
+
"bw": {
|
|
413
|
+
"derived": "var(--bw-color-fg-muted)"
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
},
|
|
417
|
+
"breadcrumb-current": {
|
|
418
|
+
"$value": "oklch(0.93 0.002 265)",
|
|
419
|
+
"$extensions": {
|
|
420
|
+
"bw": {
|
|
421
|
+
"derived": "var(--bw-color-fg)"
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
},
|
|
425
|
+
"breadcrumb-separator": {
|
|
426
|
+
"$value": "oklch(0.548 0.004 265)",
|
|
427
|
+
"$extensions": {
|
|
428
|
+
"bw": {
|
|
429
|
+
"derived": "var(--bw-color-fg-subtle)"
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
},
|
|
433
|
+
"skeleton-bg": {
|
|
434
|
+
"$value": "oklch(0.292 0.003 265)",
|
|
435
|
+
"$description": "Resolved literal of the 82%-toward-white mix over the 0.4.0 sunken canvas.",
|
|
436
|
+
"$extensions": {
|
|
437
|
+
"bw": {
|
|
438
|
+
"derived": "color-mix(in oklab, var(--bw-color-surface-sunken) 82%, white)"
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
},
|
|
442
|
+
"skeleton-shimmer": {
|
|
443
|
+
"$value": "oklch(0.391 0.003 265)",
|
|
444
|
+
"$extensions": {
|
|
445
|
+
"bw": {
|
|
446
|
+
"derived": "color-mix(in oklab, var(--bw-color-skeleton-bg) 86%, white)"
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
},
|
|
450
|
+
"surface-marketing-tint": {
|
|
451
|
+
"$value": "oklch(0.2432 0.0241 255.99)",
|
|
452
|
+
"$description": "1.2.0 marketing token (BR-BW-MKT marketing tokens), AUTHORED for dark per BR-BW-TOK-002 (never derived from the light value). Mixed toward the dark surface at 12% (mirroring the light theme's own accent-toward-surface shape, unlike accent-subtle's mix-toward-black, which would read as near-black at this low a percentage on an already-dark surface): a faint lift off surface (dark surface L 0.18, surface-raised L 0.237) rather than a heavy tint; text placed on it clears WCAG AA in both themes (BR-BW-MKT-002). brickwork#289: hue corrected from 263.68 to 255.99, the true resolved hue of mixing two chromatic sides (accent and the dark surface's own C 0.005) in Cartesian oklab; the previous value was computed by a circular hue-angle approximation the test harness used before that model was corrected, and never matched what color-mix(in oklab) actually renders.",
|
|
453
|
+
"$extensions": {
|
|
454
|
+
"bw": {
|
|
455
|
+
"derived": "color-mix(in oklab, var(--bw-color-accent) 12%, var(--bw-color-surface))"
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
},
|
|
459
|
+
"stage-wash": {
|
|
460
|
+
"$value": "oklch(0.707 0.165 254 / 0.16)",
|
|
461
|
+
"$description": "4.2.0 soft-stage wash (BR-BW-MKT-007 / #570), AUTHORED for dark: accent at 16% over transparent. Stronger than light so the wash reads on an already-dark surface. Text stays on the band surface, not on this wash.",
|
|
462
|
+
"$extensions": {
|
|
463
|
+
"bw": {
|
|
464
|
+
"derived": "color-mix(in oklab, var(--bw-color-accent) 16%, transparent)"
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
},
|
|
468
|
+
"stage-grid": {
|
|
469
|
+
"$value": "oklch(0.269 0.006 265 / 0.7)",
|
|
470
|
+
"$description": "4.2.0 soft-stage grid line (BR-BW-MKT-007 / #570), AUTHORED for dark: border at 70% over transparent so the grid stays visible on graphite.",
|
|
471
|
+
"$extensions": {
|
|
472
|
+
"bw": {
|
|
473
|
+
"derived": "color-mix(in oklab, var(--bw-color-border) 70%, transparent)"
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
},
|
|
477
|
+
"chart-1": {
|
|
478
|
+
"$value": "{primitive.chart.dark.1}",
|
|
479
|
+
"$extensions": {
|
|
480
|
+
"bw": {
|
|
481
|
+
"authoredPerTheme": true,
|
|
482
|
+
"series": 1
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
},
|
|
486
|
+
"chart-2": {
|
|
487
|
+
"$value": "{primitive.chart.dark.2}",
|
|
488
|
+
"$extensions": {
|
|
489
|
+
"bw": {
|
|
490
|
+
"authoredPerTheme": true,
|
|
491
|
+
"series": 2
|
|
492
|
+
}
|
|
493
|
+
}
|
|
494
|
+
},
|
|
495
|
+
"chart-3": {
|
|
496
|
+
"$value": "{primitive.chart.dark.3}",
|
|
497
|
+
"$extensions": {
|
|
498
|
+
"bw": {
|
|
499
|
+
"authoredPerTheme": true,
|
|
500
|
+
"series": 3
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
},
|
|
504
|
+
"chart-4": {
|
|
505
|
+
"$value": "{primitive.chart.dark.4}",
|
|
506
|
+
"$extensions": {
|
|
507
|
+
"bw": {
|
|
508
|
+
"authoredPerTheme": true,
|
|
509
|
+
"series": 4
|
|
510
|
+
}
|
|
511
|
+
}
|
|
512
|
+
},
|
|
513
|
+
"chart-5": {
|
|
514
|
+
"$value": "{primitive.chart.dark.5}",
|
|
515
|
+
"$extensions": {
|
|
516
|
+
"bw": {
|
|
517
|
+
"authoredPerTheme": true,
|
|
518
|
+
"series": 5
|
|
519
|
+
}
|
|
520
|
+
}
|
|
521
|
+
},
|
|
522
|
+
"chart-6": {
|
|
523
|
+
"$value": "{primitive.chart.dark.6}",
|
|
524
|
+
"$extensions": {
|
|
525
|
+
"bw": {
|
|
526
|
+
"authoredPerTheme": true,
|
|
527
|
+
"series": 6
|
|
528
|
+
}
|
|
529
|
+
}
|
|
530
|
+
},
|
|
531
|
+
"chart-7": {
|
|
532
|
+
"$value": "{primitive.chart.dark.7}",
|
|
533
|
+
"$extensions": {
|
|
534
|
+
"bw": {
|
|
535
|
+
"authoredPerTheme": true,
|
|
536
|
+
"series": 7
|
|
537
|
+
}
|
|
538
|
+
}
|
|
539
|
+
},
|
|
540
|
+
"chart-8": {
|
|
541
|
+
"$value": "{primitive.chart.dark.8}",
|
|
542
|
+
"$extensions": {
|
|
543
|
+
"bw": {
|
|
544
|
+
"authoredPerTheme": true,
|
|
545
|
+
"series": 8
|
|
546
|
+
}
|
|
547
|
+
}
|
|
548
|
+
},
|
|
549
|
+
"chart-axis": {
|
|
550
|
+
"$value": "oklch(0.62 0.004 265)",
|
|
551
|
+
"$description": "Axis line and ticks. Authored, not derived from light (CHT-005, BR-BW-TOK-002). Measures 4.55:1 on the raised surface a chart card sits on.",
|
|
552
|
+
"$extensions": {
|
|
553
|
+
"bw": {
|
|
554
|
+
"authoredPerTheme": true
|
|
555
|
+
}
|
|
556
|
+
}
|
|
557
|
+
},
|
|
558
|
+
"chart-grid": {
|
|
559
|
+
"$value": "oklch(0.33 0.004 265)",
|
|
560
|
+
"$description": "Gridlines. Deliberately low contrast (1.39:1) on the raised surface, mirroring light's intent rather than its value: decoration that recedes behind the data.",
|
|
561
|
+
"$extensions": {
|
|
562
|
+
"bw": {
|
|
563
|
+
"authoredPerTheme": true
|
|
564
|
+
}
|
|
565
|
+
}
|
|
566
|
+
},
|
|
567
|
+
"chart-axis-label": {
|
|
568
|
+
"$value": "oklch(0.72 0.003 265)",
|
|
569
|
+
"$description": "Axis tick labels. Measures 6.69:1 on the raised surface.",
|
|
570
|
+
"$extensions": {
|
|
571
|
+
"bw": {
|
|
572
|
+
"authoredPerTheme": true
|
|
573
|
+
}
|
|
574
|
+
}
|
|
575
|
+
},
|
|
576
|
+
"chart-tooltip-bg": {
|
|
577
|
+
"$value": "oklch(0.279 0.006 265)",
|
|
578
|
+
"$description": "Chart tooltip background. In dark the tooltip lifts ABOVE the surface rather than inverting: an inverted (near-white) tooltip in a dark theme is a glare source.",
|
|
579
|
+
"$extensions": {
|
|
580
|
+
"bw": {
|
|
581
|
+
"authoredPerTheme": true
|
|
582
|
+
}
|
|
583
|
+
}
|
|
584
|
+
},
|
|
585
|
+
"chart-tooltip-text": {
|
|
586
|
+
"$value": "oklch(0.985 0.001 265)",
|
|
587
|
+
"$description": "Chart tooltip text. Measures 14.0:1 on the dark tooltip-bg, comfortably clear of AA.",
|
|
588
|
+
"$extensions": {
|
|
589
|
+
"bw": {
|
|
590
|
+
"authoredPerTheme": true
|
|
591
|
+
}
|
|
592
|
+
}
|
|
593
|
+
},
|
|
594
|
+
"chart-tooltip-border": {
|
|
595
|
+
"$value": "oklch(0.371 0.007 265)",
|
|
596
|
+
"$description": "Chart tooltip border: a subtle lift off the tooltip background.",
|
|
597
|
+
"$extensions": {
|
|
598
|
+
"bw": {
|
|
599
|
+
"authoredPerTheme": true
|
|
600
|
+
}
|
|
601
|
+
}
|
|
602
|
+
},
|
|
603
|
+
"sparkline-stroke": {
|
|
604
|
+
"$value": "{primitive.chart.dark.1}",
|
|
605
|
+
"$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."
|
|
606
|
+
}
|
|
607
|
+
},
|
|
608
|
+
"state": {
|
|
609
|
+
"$description": "Interactive-state tokens, DARK theme (DESIGN.md section 4.6). Overlays flip to translucent white so transient feedback lightens the dark surface beneath. Same names as semantic.light.tokens.json.",
|
|
610
|
+
"$type": "color",
|
|
611
|
+
"hover-overlay": {
|
|
612
|
+
"$value": "oklch(1 0 0 / 0.06)"
|
|
613
|
+
},
|
|
614
|
+
"active-overlay": {
|
|
615
|
+
"$value": "oklch(1 0 0 / 0.12)"
|
|
616
|
+
},
|
|
617
|
+
"selected-bg": {
|
|
618
|
+
"$value": "oklch(0.212 0.05 254)",
|
|
619
|
+
"$extensions": {
|
|
620
|
+
"bw": {
|
|
621
|
+
"derived": "var(--bw-color-accent-subtle)"
|
|
622
|
+
}
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
},
|
|
626
|
+
"elevation": {
|
|
627
|
+
"$description": "Elevation ramp, DARK theme (DESIGN.md section 5). AUTHORED, not derived: shadows vanish on dark surfaces, so alpha rises and every level from 1 adds a faint inset top highlight to fake ambient light (0.4.0: levels 1 and 2 gained fainter highlights than 3+, so dark cards get depth instead of outlines only).",
|
|
628
|
+
"$type": "other",
|
|
629
|
+
"0": {
|
|
630
|
+
"$value": "none"
|
|
631
|
+
},
|
|
632
|
+
"1": {
|
|
633
|
+
"$value": "0 1px 2px 0 oklch(0 0 0 / 0.3), inset 0 1px 0 0 oklch(1 0 0 / 0.03)"
|
|
634
|
+
},
|
|
635
|
+
"2": {
|
|
636
|
+
"$value": "0 1px 3px 0 oklch(0 0 0 / 0.36), 0 1px 2px -1px oklch(0 0 0 / 0.3), inset 0 1px 0 0 oklch(1 0 0 / 0.04)"
|
|
637
|
+
},
|
|
638
|
+
"3": {
|
|
639
|
+
"$value": "0 4px 6px -1px oklch(0 0 0 / 0.4), 0 2px 4px -2px oklch(0 0 0 / 0.3), inset 0 1px 0 0 oklch(1 0 0 / 0.04)"
|
|
640
|
+
},
|
|
641
|
+
"4": {
|
|
642
|
+
"$value": "0 10px 15px -3px oklch(0 0 0 / 0.45), 0 4px 6px -4px oklch(0 0 0 / 0.35), inset 0 1px 0 0 oklch(1 0 0 / 0.05)"
|
|
643
|
+
},
|
|
644
|
+
"5": {
|
|
645
|
+
"$value": "0 20px 25px -5px oklch(0 0 0 / 0.5), 0 8px 10px -6px oklch(0 0 0 / 0.4), inset 0 1px 0 0 oklch(1 0 0 / 0.06)"
|
|
646
|
+
}
|
|
647
|
+
}
|
|
648
|
+
}
|