@bwui/tokens 0.1.16 → 0.1.18
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 +47 -5
- package/dist/tailwind-preset.mjs +8 -1
- package/dist/tailwind-theme.css +7 -0
- package/dist/token-manifest.json +13 -0
- package/dist/tokens.css +40 -12
- package/dist/tokens.dtcg.json +92 -41
- package/dist/tokens.js +7 -0
- package/package.json +2 -1
- package/src/dtcg/semantic.dark.tokens.json +91 -40
- package/src/dtcg/semantic.light.tokens.json +92 -41
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
}
|
|
63
63
|
},
|
|
64
64
|
"fg-subtle": {
|
|
65
|
-
"$value": "oklch(0.
|
|
65
|
+
"$value": "oklch(0.547 0.004 265)",
|
|
66
66
|
"$extensions": {
|
|
67
67
|
"bw": {
|
|
68
68
|
"derived": "color-mix(in oklab, var(--bw-color-fg) 49%, var(--bw-color-surface))"
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
}
|
|
105
105
|
},
|
|
106
106
|
"border-strong": {
|
|
107
|
-
"$value": "
|
|
107
|
+
"$value": "oklch(0.376 0.005 286.03)",
|
|
108
108
|
"$extensions": {
|
|
109
109
|
"bw": {
|
|
110
110
|
"derived": "color-mix(in oklab, var(--bw-color-border) 86%, white)"
|
|
@@ -158,7 +158,7 @@
|
|
|
158
158
|
}
|
|
159
159
|
},
|
|
160
160
|
"accent-hover": {
|
|
161
|
-
"$value": "oklch(0.622 0.145 254)",
|
|
161
|
+
"$value": "oklch(0.622 0.145 254.62)",
|
|
162
162
|
"$extensions": {
|
|
163
163
|
"bw": {
|
|
164
164
|
"derived": "color-mix(in oklab, var(--bw-color-accent) 88%, black)"
|
|
@@ -166,7 +166,7 @@
|
|
|
166
166
|
}
|
|
167
167
|
},
|
|
168
168
|
"accent-subtle": {
|
|
169
|
-
"$value": "oklch(0.212 0.05 254)",
|
|
169
|
+
"$value": "oklch(0.212 0.05 254.62)",
|
|
170
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
171
|
"$extensions": {
|
|
172
172
|
"bw": {
|
|
@@ -174,6 +174,19 @@
|
|
|
174
174
|
}
|
|
175
175
|
}
|
|
176
176
|
},
|
|
177
|
+
"accent-wash": {
|
|
178
|
+
"$value": "oklch(0.707 0.165 254.62 / 0.14)",
|
|
179
|
+
"$description": "Translucent accent wash for a highlighted table column (comparison and pricing). Authored per theme: the wash is stronger on dark so it still reads.",
|
|
180
|
+
"$extensions": {
|
|
181
|
+
"bw": {
|
|
182
|
+
"derived": "color-mix(in oklab, var(--bw-color-accent) 14%, transparent)"
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
},
|
|
186
|
+
"edge-shade": {
|
|
187
|
+
"$value": "{primitive.black}",
|
|
188
|
+
"$description": "Mix target for the darker edge on filled buttons (accent and danger at 80% toward this colour). Theme-variant so a theme can retune or flatten the edge."
|
|
189
|
+
},
|
|
177
190
|
"danger": {
|
|
178
191
|
"$value": "{primitive.red.500}",
|
|
179
192
|
"$extensions": {
|
|
@@ -183,7 +196,7 @@
|
|
|
183
196
|
}
|
|
184
197
|
},
|
|
185
198
|
"danger-subtle": {
|
|
186
|
-
"$value": "oklch(0.166 0.
|
|
199
|
+
"$value": "oklch(0.166 0.062 25.33)",
|
|
187
200
|
"$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
201
|
"$extensions": {
|
|
189
202
|
"bw": {
|
|
@@ -192,7 +205,7 @@
|
|
|
192
205
|
}
|
|
193
206
|
},
|
|
194
207
|
"danger-border": {
|
|
195
|
-
"$value": "oklch(0.35 0.
|
|
208
|
+
"$value": "oklch(0.35 0.13 25.33)",
|
|
196
209
|
"$description": "Tinted badge/alert border for the danger intent; clears the black-mixed subtle tint by delta-L 0.184.",
|
|
197
210
|
"$extensions": {
|
|
198
211
|
"bw": {
|
|
@@ -201,7 +214,7 @@
|
|
|
201
214
|
}
|
|
202
215
|
},
|
|
203
216
|
"danger-strong": {
|
|
204
|
-
"$value": "oklch(0.652 0.
|
|
217
|
+
"$value": "oklch(0.652 0.228 25.33)",
|
|
205
218
|
"$extensions": {
|
|
206
219
|
"bw": {
|
|
207
220
|
"derived": "color-mix(in oklab, var(--bw-color-danger) 96%, white)"
|
|
@@ -209,7 +222,7 @@
|
|
|
209
222
|
}
|
|
210
223
|
},
|
|
211
224
|
"danger-fg": {
|
|
212
|
-
"$value": "oklch(0.735 0.
|
|
225
|
+
"$value": "oklch(0.735 0.173 25.33)",
|
|
213
226
|
"$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
227
|
"$extensions": {
|
|
215
228
|
"bw": {
|
|
@@ -218,7 +231,15 @@
|
|
|
218
231
|
}
|
|
219
232
|
},
|
|
220
233
|
"danger-on-fg": {
|
|
221
|
-
"$value": "{primitive.zinc.950}"
|
|
234
|
+
"$value": "{primitive.zinc.950}",
|
|
235
|
+
"$extensions": {
|
|
236
|
+
"bw": {
|
|
237
|
+
"loadBearing": true,
|
|
238
|
+
"authoredPerTheme": true,
|
|
239
|
+
"contrastPair": "color-danger",
|
|
240
|
+
"minContrast": 4.5
|
|
241
|
+
}
|
|
242
|
+
}
|
|
222
243
|
},
|
|
223
244
|
"warning": {
|
|
224
245
|
"$value": "{primitive.amber.500}",
|
|
@@ -229,7 +250,7 @@
|
|
|
229
250
|
}
|
|
230
251
|
},
|
|
231
252
|
"warning-subtle": {
|
|
232
|
-
"$value": "oklch(0.169 0.
|
|
253
|
+
"$value": "oklch(0.169 0.041 70.08)",
|
|
233
254
|
"$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
255
|
"$extensions": {
|
|
235
256
|
"bw": {
|
|
@@ -238,7 +259,7 @@
|
|
|
238
259
|
}
|
|
239
260
|
},
|
|
240
261
|
"warning-border": {
|
|
241
|
-
"$value": "oklch(0.423 0.
|
|
262
|
+
"$value": "oklch(0.423 0.103 70.08)",
|
|
242
263
|
"$description": "Tinted badge/alert border for the warning intent; clears the black-mixed subtle tint by delta-L 0.254.",
|
|
243
264
|
"$extensions": {
|
|
244
265
|
"bw": {
|
|
@@ -247,7 +268,7 @@
|
|
|
247
268
|
}
|
|
248
269
|
},
|
|
249
270
|
"warning-strong": {
|
|
250
|
-
"$value": "oklch(0.778 0.
|
|
271
|
+
"$value": "oklch(0.778 0.18 70.08)",
|
|
251
272
|
"$extensions": {
|
|
252
273
|
"bw": {
|
|
253
274
|
"derived": "color-mix(in oklab, var(--bw-color-warning) 96%, white)"
|
|
@@ -255,7 +276,7 @@
|
|
|
255
276
|
}
|
|
256
277
|
},
|
|
257
278
|
"warning-fg": {
|
|
258
|
-
"$value": "oklch(0.82 0.
|
|
279
|
+
"$value": "oklch(0.82 0.147 70.08)",
|
|
259
280
|
"$extensions": {
|
|
260
281
|
"bw": {
|
|
261
282
|
"derived": "color-mix(in oklab, var(--bw-color-warning) 78%, white)"
|
|
@@ -274,7 +295,7 @@
|
|
|
274
295
|
}
|
|
275
296
|
},
|
|
276
297
|
"success-subtle": {
|
|
277
|
-
"$value": "oklch(0.166 0.
|
|
298
|
+
"$value": "oklch(0.166 0.05 149.58)",
|
|
278
299
|
"$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
300
|
"$extensions": {
|
|
280
301
|
"bw": {
|
|
@@ -283,7 +304,7 @@
|
|
|
283
304
|
}
|
|
284
305
|
},
|
|
285
306
|
"success-border": {
|
|
286
|
-
"$value": "oklch(0.398 0.
|
|
307
|
+
"$value": "oklch(0.398 0.12 149.58)",
|
|
287
308
|
"$description": "Tinted badge/alert border for the success intent; clears the black-mixed subtle tint by delta-L 0.232.",
|
|
288
309
|
"$extensions": {
|
|
289
310
|
"bw": {
|
|
@@ -292,7 +313,7 @@
|
|
|
292
313
|
}
|
|
293
314
|
},
|
|
294
315
|
"success-strong": {
|
|
295
|
-
"$value": "oklch(0.734 0.
|
|
316
|
+
"$value": "oklch(0.734 0.21 149.58)",
|
|
296
317
|
"$extensions": {
|
|
297
318
|
"bw": {
|
|
298
319
|
"derived": "color-mix(in oklab, var(--bw-color-success) 96%, white)"
|
|
@@ -300,7 +321,7 @@
|
|
|
300
321
|
}
|
|
301
322
|
},
|
|
302
323
|
"success-fg": {
|
|
303
|
-
"$value": "oklch(0.784 0.
|
|
324
|
+
"$value": "oklch(0.784 0.171 149.58)",
|
|
304
325
|
"$extensions": {
|
|
305
326
|
"bw": {
|
|
306
327
|
"derived": "color-mix(in oklab, var(--bw-color-success) 78%, white)"
|
|
@@ -321,7 +342,7 @@
|
|
|
321
342
|
}
|
|
322
343
|
},
|
|
323
344
|
"info-subtle": {
|
|
324
|
-
"$value": "oklch(0.
|
|
345
|
+
"$value": "oklch(0.205 0.04 211.53)",
|
|
325
346
|
"$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
347
|
"$extensions": {
|
|
327
348
|
"bw": {
|
|
@@ -330,7 +351,7 @@
|
|
|
330
351
|
}
|
|
331
352
|
},
|
|
332
353
|
"info-border": {
|
|
333
|
-
"$value": "oklch(0.
|
|
354
|
+
"$value": "oklch(0.434 0.085 211.53)",
|
|
334
355
|
"$description": "Tinted badge/alert border for the info intent; clears the black-mixed subtle tint by delta-L 0.209.",
|
|
335
356
|
"$extensions": {
|
|
336
357
|
"bw": {
|
|
@@ -339,7 +360,7 @@
|
|
|
339
360
|
}
|
|
340
361
|
},
|
|
341
362
|
"info-strong": {
|
|
342
|
-
"$value": "oklch(0.
|
|
363
|
+
"$value": "oklch(0.797 0.148 211.53)",
|
|
343
364
|
"$extensions": {
|
|
344
365
|
"bw": {
|
|
345
366
|
"derived": "color-mix(in oklab, var(--bw-color-info) 96%, white)"
|
|
@@ -347,7 +368,7 @@
|
|
|
347
368
|
}
|
|
348
369
|
},
|
|
349
370
|
"info-fg": {
|
|
350
|
-
"$value": "oklch(0.
|
|
371
|
+
"$value": "oklch(0.835 0.12 211.53)",
|
|
351
372
|
"$extensions": {
|
|
352
373
|
"bw": {
|
|
353
374
|
"derived": "color-mix(in oklab, var(--bw-color-info) 78%, white)"
|
|
@@ -358,7 +379,7 @@
|
|
|
358
379
|
"$value": "{primitive.zinc.950}"
|
|
359
380
|
},
|
|
360
381
|
"icon-muted": {
|
|
361
|
-
"$value": "oklch(0.
|
|
382
|
+
"$value": "oklch(0.547 0.004 265)",
|
|
362
383
|
"$extensions": {
|
|
363
384
|
"bw": {
|
|
364
385
|
"derived": "var(--bw-color-fg-subtle)"
|
|
@@ -366,7 +387,7 @@
|
|
|
366
387
|
}
|
|
367
388
|
},
|
|
368
389
|
"focus-ring": {
|
|
369
|
-
"$value": "oklch(0.
|
|
390
|
+
"$value": "oklch(0.58 0.135 254.62)",
|
|
370
391
|
"$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
392
|
"$extensions": {
|
|
372
393
|
"bw": {
|
|
@@ -375,7 +396,7 @@
|
|
|
375
396
|
}
|
|
376
397
|
},
|
|
377
398
|
"nav-item-active-bg": {
|
|
378
|
-
"$value": "oklch(0.212 0.05 254)",
|
|
399
|
+
"$value": "oklch(0.212 0.05 254.62)",
|
|
379
400
|
"$extensions": {
|
|
380
401
|
"bw": {
|
|
381
402
|
"derived": "var(--bw-color-accent-subtle)"
|
|
@@ -383,7 +404,7 @@
|
|
|
383
404
|
}
|
|
384
405
|
},
|
|
385
406
|
"nav-item-active-text": {
|
|
386
|
-
"$value": "
|
|
407
|
+
"$value": "oklch(0.927 0.041 254.62)",
|
|
387
408
|
"$extensions": {
|
|
388
409
|
"bw": {
|
|
389
410
|
"derived": "color-mix(in oklab, var(--bw-color-accent) 25%, white)"
|
|
@@ -399,7 +420,7 @@
|
|
|
399
420
|
}
|
|
400
421
|
},
|
|
401
422
|
"nav-item-disabled-text": {
|
|
402
|
-
"$value": "oklch(0.
|
|
423
|
+
"$value": "oklch(0.547 0.004 265)",
|
|
403
424
|
"$extensions": {
|
|
404
425
|
"bw": {
|
|
405
426
|
"derived": "var(--bw-color-fg-subtle)"
|
|
@@ -423,7 +444,7 @@
|
|
|
423
444
|
}
|
|
424
445
|
},
|
|
425
446
|
"breadcrumb-separator": {
|
|
426
|
-
"$value": "oklch(0.
|
|
447
|
+
"$value": "oklch(0.547 0.004 265)",
|
|
427
448
|
"$extensions": {
|
|
428
449
|
"bw": {
|
|
429
450
|
"derived": "var(--bw-color-fg-subtle)"
|
|
@@ -448,7 +469,7 @@
|
|
|
448
469
|
}
|
|
449
470
|
},
|
|
450
471
|
"surface-marketing-tint": {
|
|
451
|
-
"$value": "oklch(0.
|
|
472
|
+
"$value": "oklch(0.243 0.024 256.51)",
|
|
452
473
|
"$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
474
|
"$extensions": {
|
|
454
475
|
"bw": {
|
|
@@ -457,7 +478,7 @@
|
|
|
457
478
|
}
|
|
458
479
|
},
|
|
459
480
|
"stage-wash": {
|
|
460
|
-
"$value": "oklch(0.707 0.165 254 / 0.16)",
|
|
481
|
+
"$value": "oklch(0.707 0.165 254.62 / 0.16)",
|
|
461
482
|
"$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
483
|
"$extensions": {
|
|
463
484
|
"bw": {
|
|
@@ -466,7 +487,7 @@
|
|
|
466
487
|
}
|
|
467
488
|
},
|
|
468
489
|
"stage-grid": {
|
|
469
|
-
"$value": "oklch(0.274 0.006 286.
|
|
490
|
+
"$value": "oklch(0.274 0.006 286.03 / 0.7)",
|
|
470
491
|
"$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
492
|
"$extensions": {
|
|
472
493
|
"bw": {
|
|
@@ -602,7 +623,12 @@
|
|
|
602
623
|
},
|
|
603
624
|
"sparkline-stroke": {
|
|
604
625
|
"$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."
|
|
626
|
+
"$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.",
|
|
627
|
+
"$extensions": {
|
|
628
|
+
"bw": {
|
|
629
|
+
"derived": "var(--bw-color-chart-1)"
|
|
630
|
+
}
|
|
631
|
+
}
|
|
606
632
|
}
|
|
607
633
|
},
|
|
608
634
|
"state": {
|
|
@@ -615,7 +641,7 @@
|
|
|
615
641
|
"$value": "oklch(1 0 0 / 0.12)"
|
|
616
642
|
},
|
|
617
643
|
"selected-bg": {
|
|
618
|
-
"$value": "oklch(0.212 0.05 254)",
|
|
644
|
+
"$value": "oklch(0.212 0.05 254.62)",
|
|
619
645
|
"$extensions": {
|
|
620
646
|
"bw": {
|
|
621
647
|
"derived": "var(--bw-color-accent-subtle)"
|
|
@@ -645,20 +671,45 @@
|
|
|
645
671
|
"$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
672
|
},
|
|
647
673
|
"ambient-1": {
|
|
648
|
-
"$value": "
|
|
649
|
-
"$description": "Light-theme soft ambient; dark elevation tokens already carry depth (#97)."
|
|
674
|
+
"$value": "0 0 0 0 transparent",
|
|
675
|
+
"$description": "Light-theme soft ambient; dark elevation tokens already carry depth (#97). A valid zero shadow, not none: none inside a box-shadow list invalidates the whole declaration, which is why components used to need per-theme resets."
|
|
650
676
|
},
|
|
651
677
|
"ambient-2": {
|
|
652
|
-
"$value": "
|
|
653
|
-
"$description": "Light-theme soft ambient; dark elevation tokens already carry depth (#97)."
|
|
678
|
+
"$value": "0 0 0 0 transparent",
|
|
679
|
+
"$description": "Light-theme soft ambient; dark elevation tokens already carry depth (#97). A valid zero shadow, not none: none inside a box-shadow list invalidates the whole declaration, which is why components used to need per-theme resets."
|
|
654
680
|
},
|
|
655
681
|
"ambient-3": {
|
|
656
|
-
"$value": "
|
|
657
|
-
"$description": "Light-theme soft ambient; dark elevation tokens already carry depth (#97)."
|
|
682
|
+
"$value": "0 0 0 0 transparent",
|
|
683
|
+
"$description": "Light-theme soft ambient; dark elevation tokens already carry depth (#97). A valid zero shadow, not none: none inside a box-shadow list invalidates the whole declaration, which is why components used to need per-theme resets."
|
|
658
684
|
},
|
|
659
685
|
"ambient-4": {
|
|
660
|
-
"$value": "
|
|
661
|
-
"$description": "Light-theme soft ambient; dark elevation tokens already carry depth (#97)."
|
|
686
|
+
"$value": "0 0 0 0 transparent",
|
|
687
|
+
"$description": "Light-theme soft ambient; dark elevation tokens already carry depth (#97). A valid zero shadow, not none: none inside a box-shadow list invalidates the whole declaration, which is why components used to need per-theme resets."
|
|
688
|
+
},
|
|
689
|
+
"control-bevel": {
|
|
690
|
+
"$value": "inset 0 1px 0 0 oklch(1 0 0 / 0.12)",
|
|
691
|
+
"$description": "Catch-light on the top edge of a filled button (resting and hover)."
|
|
692
|
+
},
|
|
693
|
+
"control-pressed": {
|
|
694
|
+
"$value": "inset 0 1px 2px 0 oklch(0 0 0 / 0.2)",
|
|
695
|
+
"$description": "Inner shadow on a pressed (active) button."
|
|
696
|
+
},
|
|
697
|
+
"control-inset": {
|
|
698
|
+
"$value": "inset 0 1px 2px 0 oklch(0 0 0 / 0.04)",
|
|
699
|
+
"$description": "Faint inner shadow on text inputs, selects and the combobox field."
|
|
700
|
+
},
|
|
701
|
+
"panel-highlight": {
|
|
702
|
+
"$value": "inset 0 0 0 0 transparent",
|
|
703
|
+
"$description": "Top-edge catch-light on floating panels (theme switch, account menu, combobox listbox). Dark elevation levels carry their own highlight, so dark sets a zero shadow."
|
|
704
|
+
},
|
|
705
|
+
"floating": {
|
|
706
|
+
"$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)",
|
|
707
|
+
"$description": "Shadow under the smallest floating layer (tooltip bubble). Derived from the elevation ramp so a brand that retunes the ramp moves it too: one step above the resting panel level on dark, where it must lift off the canvas.",
|
|
708
|
+
"$extensions": {
|
|
709
|
+
"bw": {
|
|
710
|
+
"derived": "var(--bw-elevation-3)"
|
|
711
|
+
}
|
|
712
|
+
}
|
|
662
713
|
}
|
|
663
714
|
}
|
|
664
715
|
}
|