@weasel-js/theme 1.11.1 → 1.13.0-rc.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.
@@ -65,7 +65,7 @@ interface BakedTheme {
65
65
  readonly tokens: Readonly<Record<string, Varying<RawToken>>>;
66
66
  /** Each ramp this definition declares → its step names in order, which the tokens alone do not keep. */
67
67
  readonly ramps?: Readonly<Record<string, readonly string[]>>;
68
- readonly tones?: SerializableColorList;
68
+ readonly tints?: SerializableColorList;
69
69
  }
70
70
  /** Derive `definition` at every selection and fold the results into one record of tokens with no rules left. */
71
71
  declare function bake(definition: ThemeDefinition, lookup?: Lookup): BakedTheme;
@@ -74,7 +74,7 @@ declare function bakeChain(definition: ThemeDefinition, lookup?: Lookup): BakedT
74
74
 
75
75
  /** Every design token the built-in themes declare, spelled as the CSS
76
76
  * custom property it becomes. */
77
- type TokenName = '--wzl-accent' | '--wzl-accent-base' | '--wzl-accent-fg' | '--wzl-accent-hover' | '--wzl-accent-soft' | '--wzl-accent-strong' | '--wzl-backdrop' | '--wzl-border' | '--wzl-border-on-sunken' | '--wzl-border-strong' | '--wzl-border-w' | '--wzl-checker-a' | '--wzl-checker-b' | '--wzl-checker-size' | '--wzl-code-constant' | '--wzl-code-keyword' | '--wzl-code-name' | '--wzl-code-number' | '--wzl-code-property' | '--wzl-code-string' | '--wzl-control-h' | '--wzl-control-h-sm' | '--wzl-control-h-xs' | '--wzl-curve-color' | '--wzl-curve-width' | '--wzl-danger' | '--wzl-danger-base' | '--wzl-ease-in-cubic' | '--wzl-ease-in-out-cubic' | '--wzl-ease-out-back' | '--wzl-ease-out-cubic' | '--wzl-fg' | '--wzl-fg-inverse' | '--wzl-fg-muted' | '--wzl-fg-muted-on-accent' | '--wzl-fg-on-accent' | '--wzl-fg-subtle' | '--wzl-fg-subtle-on-accent' | '--wzl-field-pad-x' | '--wzl-focus-ring' | '--wzl-font-body' | '--wzl-font-display' | '--wzl-font-mono' | '--wzl-font-numeric' | '--wzl-font-size' | '--wzl-font-size-2xs' | '--wzl-font-size-lg' | '--wzl-font-size-md' | '--wzl-font-size-sm' | '--wzl-font-size-xl' | '--wzl-font-size-xs' | '--wzl-font-ui' | '--wzl-font-weight-bold' | '--wzl-font-weight-light' | '--wzl-font-weight-medium' | '--wzl-font-weight-normal' | '--wzl-glass-blur' | '--wzl-glass-tint' | '--wzl-gloss' | '--wzl-gray-100' | '--wzl-gray-200' | '--wzl-gray-300' | '--wzl-gray-400' | '--wzl-gray-50' | '--wzl-gray-500' | '--wzl-gray-600' | '--wzl-gray-700' | '--wzl-gray-800' | '--wzl-gray-900' | '--wzl-handle-dot-size' | '--wzl-handle-dot-size-sm' | '--wzl-handle-size' | '--wzl-handle-size-lg' | '--wzl-handle-size-sm' | '--wzl-icon-button-size' | '--wzl-leading' | '--wzl-leading-snug' | '--wzl-leading-tight' | '--wzl-line' | '--wzl-line-strong' | '--wzl-line-subtle' | '--wzl-line-width' | '--wzl-motion-fast' | '--wzl-motion-medium' | '--wzl-panel-blur' | '--wzl-panel-border-color' | '--wzl-panel-border-style' | '--wzl-panel-border-width' | '--wzl-panel-pad' | '--wzl-panel-radius' | '--wzl-panel-surface' | '--wzl-panel-title-case' | '--wzl-panel-title-color' | '--wzl-panel-title-font' | '--wzl-panel-title-inset' | '--wzl-panel-title-size' | '--wzl-panel-title-tracking' | '--wzl-panel-title-weight' | '--wzl-panel-tone-mix' | '--wzl-radius-lg' | '--wzl-radius-md' | '--wzl-radius-pill' | '--wzl-radius-sm' | '--wzl-scrim' | '--wzl-secondary' | '--wzl-secondary-base' | '--wzl-secondary-fg' | '--wzl-secondary-soft' | '--wzl-secondary-strong' | '--wzl-shadow' | '--wzl-slider-thumb-mix' | '--wzl-slider-thumb-size' | '--wzl-slider-thumb-slop' | '--wzl-slider-track-h' | '--wzl-slider-track-mix' | '--wzl-slider-track-slop' | '--wzl-space-1' | '--wzl-space-2' | '--wzl-space-3' | '--wzl-space-4' | '--wzl-space-5' | '--wzl-space-6' | '--wzl-space-7' | '--wzl-space-8' | '--wzl-space-lg' | '--wzl-space-md' | '--wzl-space-sm' | '--wzl-space-xs' | '--wzl-stance-advanced-title-color' | '--wzl-stance-aside-blur' | '--wzl-stance-aside-border-color' | '--wzl-stance-aside-surface' | '--wzl-stance-aside-title-color' | '--wzl-stance-danger-border-color' | '--wzl-stance-danger-title-color' | '--wzl-stance-danger-tone' | '--wzl-stance-debug-border-style' | '--wzl-stance-debug-title-case' | '--wzl-stance-debug-title-font' | '--wzl-stance-important-border-color' | '--wzl-stance-important-title-color' | '--wzl-stance-notice-tone' | '--wzl-stance-notice-tone-mix' | '--wzl-stance-preview-pad' | '--wzl-stance-preview-title-case' | '--wzl-stance-preview-title-inset' | '--wzl-stance-preview-title-size' | '--wzl-stance-scope-border-width' | '--wzl-stance-scope-nested-radius' | '--wzl-stance-scope-nested-surface' | '--wzl-stance-scope-radius' | '--wzl-stance-scope-tone-mix' | '--wzl-success' | '--wzl-success-base' | '--wzl-surface' | '--wzl-surface-hover' | '--wzl-surface-popover' | '--wzl-surface-pressed' | '--wzl-surface-raised' | '--wzl-surface-sunken' | '--wzl-swatch-amber' | '--wzl-swatch-blue' | '--wzl-swatch-citron' | '--wzl-swatch-fuchsia' | '--wzl-swatch-green' | '--wzl-swatch-red' | '--wzl-swatch-rose' | '--wzl-swatch-sky' | '--wzl-swatch-teal' | '--wzl-swatch-violet' | '--wzl-tb-height' | '--wzl-tracking-none' | '--wzl-tracking-wide' | '--wzl-tracking-wider' | '--wzl-warning' | '--wzl-warning-base' | '--wzl-workspace-line' | '--wzl-workspace-surface' | '--wzl-z-drag' | '--wzl-z-hud' | '--wzl-z-modal' | '--wzl-z-overlay' | '--wzl-z-popover' | '--wzl-z-toast' | '--wzl-z-toolbar';
77
+ type TokenName = '--wzl-accent' | '--wzl-accent-base' | '--wzl-accent-fg' | '--wzl-accent-hover' | '--wzl-accent-soft' | '--wzl-accent-strong' | '--wzl-backdrop' | '--wzl-border' | '--wzl-border-on-sunken' | '--wzl-border-strong' | '--wzl-border-w' | '--wzl-checker-a' | '--wzl-checker-b' | '--wzl-checker-size' | '--wzl-code-constant' | '--wzl-code-keyword' | '--wzl-code-name' | '--wzl-code-number' | '--wzl-code-property' | '--wzl-code-string' | '--wzl-control-h' | '--wzl-control-h-sm' | '--wzl-control-h-xs' | '--wzl-curve-color' | '--wzl-curve-width' | '--wzl-danger' | '--wzl-danger-base' | '--wzl-ease-in-cubic' | '--wzl-ease-in-out-cubic' | '--wzl-ease-out-back' | '--wzl-ease-out-cubic' | '--wzl-fg' | '--wzl-fg-inverse' | '--wzl-fg-muted' | '--wzl-fg-muted-on-accent' | '--wzl-fg-on-accent' | '--wzl-fg-subtle' | '--wzl-fg-subtle-on-accent' | '--wzl-field-pad-x' | '--wzl-focus-ring' | '--wzl-font-body' | '--wzl-font-display' | '--wzl-font-mono' | '--wzl-font-numeric' | '--wzl-font-size' | '--wzl-font-size-2xs' | '--wzl-font-size-lg' | '--wzl-font-size-md' | '--wzl-font-size-sm' | '--wzl-font-size-xl' | '--wzl-font-size-xs' | '--wzl-font-ui' | '--wzl-font-weight-bold' | '--wzl-font-weight-light' | '--wzl-font-weight-medium' | '--wzl-font-weight-normal' | '--wzl-glass-blur' | '--wzl-glass-tint' | '--wzl-gloss' | '--wzl-gray-100' | '--wzl-gray-200' | '--wzl-gray-300' | '--wzl-gray-400' | '--wzl-gray-50' | '--wzl-gray-500' | '--wzl-gray-600' | '--wzl-gray-700' | '--wzl-gray-800' | '--wzl-gray-900' | '--wzl-handle-dot-size' | '--wzl-handle-dot-size-sm' | '--wzl-handle-size' | '--wzl-handle-size-lg' | '--wzl-handle-size-sm' | '--wzl-icon-button-size' | '--wzl-info' | '--wzl-info-base' | '--wzl-leading' | '--wzl-leading-snug' | '--wzl-leading-tight' | '--wzl-line' | '--wzl-line-strong' | '--wzl-line-subtle' | '--wzl-line-width' | '--wzl-motion-fast' | '--wzl-motion-medium' | '--wzl-panel-blur' | '--wzl-panel-border-color' | '--wzl-panel-border-style' | '--wzl-panel-border-width' | '--wzl-panel-pad' | '--wzl-panel-radius' | '--wzl-panel-surface' | '--wzl-panel-tint-mix' | '--wzl-panel-title-case' | '--wzl-panel-title-color' | '--wzl-panel-title-font' | '--wzl-panel-title-inset' | '--wzl-panel-title-size' | '--wzl-panel-title-tracking' | '--wzl-panel-title-weight' | '--wzl-radius-lg' | '--wzl-radius-md' | '--wzl-radius-pill' | '--wzl-radius-sm' | '--wzl-scrim' | '--wzl-secondary' | '--wzl-secondary-base' | '--wzl-secondary-fg' | '--wzl-secondary-soft' | '--wzl-secondary-strong' | '--wzl-shadow' | '--wzl-slider-thumb-mix' | '--wzl-slider-thumb-size' | '--wzl-slider-thumb-slop' | '--wzl-slider-track-h' | '--wzl-slider-track-mix' | '--wzl-slider-track-slop' | '--wzl-space-1' | '--wzl-space-2' | '--wzl-space-3' | '--wzl-space-4' | '--wzl-space-5' | '--wzl-space-6' | '--wzl-space-7' | '--wzl-space-8' | '--wzl-space-lg' | '--wzl-space-md' | '--wzl-space-sm' | '--wzl-space-xs' | '--wzl-stance-advanced-title-color' | '--wzl-stance-aside-blur' | '--wzl-stance-aside-border-color' | '--wzl-stance-aside-surface' | '--wzl-stance-aside-title-color' | '--wzl-stance-clarify-border-width' | '--wzl-stance-clarify-nested-radius' | '--wzl-stance-clarify-nested-surface' | '--wzl-stance-clarify-radius' | '--wzl-stance-clarify-tint-mix' | '--wzl-stance-debug-border-style' | '--wzl-stance-debug-title-case' | '--wzl-stance-debug-title-font' | '--wzl-stance-preview-pad' | '--wzl-stance-preview-title-case' | '--wzl-stance-preview-title-inset' | '--wzl-stance-preview-title-size' | '--wzl-success' | '--wzl-success-base' | '--wzl-surface' | '--wzl-surface-hover' | '--wzl-surface-popover' | '--wzl-surface-pressed' | '--wzl-surface-raised' | '--wzl-surface-sunken' | '--wzl-swatch-amber' | '--wzl-swatch-blue' | '--wzl-swatch-citron' | '--wzl-swatch-fuchsia' | '--wzl-swatch-green' | '--wzl-swatch-red' | '--wzl-swatch-rose' | '--wzl-swatch-sky' | '--wzl-swatch-teal' | '--wzl-swatch-violet' | '--wzl-tb-height' | '--wzl-tracking-none' | '--wzl-tracking-wide' | '--wzl-tracking-wider' | '--wzl-warning' | '--wzl-warning-base' | '--wzl-workspace-line' | '--wzl-workspace-surface' | '--wzl-z-drag' | '--wzl-z-hud' | '--wzl-z-modal' | '--wzl-z-overlay' | '--wzl-z-popover' | '--wzl-z-toast' | '--wzl-z-toolbar';
78
78
  /** A built-in theme with its aliases already collapsed: every selection
79
79
  * (keyed `mode=dark`, axes in declaration order) maps every token name to
80
80
  * a final CSS value. */
@@ -182,7 +182,7 @@ declare const THEMES: {
182
182
  readonly '--wzl-panel-pad': "14px 16px";
183
183
  readonly '--wzl-glass-blur': "3px";
184
184
  readonly '--wzl-panel-blur': "3px";
185
- readonly '--wzl-panel-tone-mix': "14%";
185
+ readonly '--wzl-panel-tint-mix': "14%";
186
186
  readonly '--wzl-font-display': "Oswald, 'Helvetica Neue Condensed', 'Arial Narrow', system-ui, sans-serif";
187
187
  readonly '--wzl-panel-title-font': "Oswald, 'Helvetica Neue Condensed', 'Arial Narrow', system-ui, sans-serif";
188
188
  readonly '--wzl-font-weight-light': "200";
@@ -192,11 +192,11 @@ declare const THEMES: {
192
192
  readonly '--wzl-panel-title-tracking': "0.01em";
193
193
  readonly '--wzl-panel-title-color': "#e6e7e9";
194
194
  readonly '--wzl-panel-title-inset': "0";
195
- readonly '--wzl-stance-scope-border-width': "0";
196
- readonly '--wzl-stance-scope-radius': "8px";
197
- readonly '--wzl-stance-scope-tone-mix': "22%";
198
- readonly '--wzl-stance-scope-nested-radius': "6px";
199
- readonly '--wzl-stance-scope-nested-surface': "#181a1e";
195
+ readonly '--wzl-stance-clarify-border-width': "0";
196
+ readonly '--wzl-stance-clarify-radius': "8px";
197
+ readonly '--wzl-stance-clarify-tint-mix': "22%";
198
+ readonly '--wzl-stance-clarify-nested-radius': "6px";
199
+ readonly '--wzl-stance-clarify-nested-surface': "#181a1e";
200
200
  readonly '--wzl-stance-aside-surface': "transparent";
201
201
  readonly '--wzl-line-subtle': "rgba(230, 231, 233, 0.1)";
202
202
  readonly '--wzl-stance-aside-border-color': "rgba(230, 231, 233, 0.1)";
@@ -207,31 +207,26 @@ declare const THEMES: {
207
207
  readonly '--wzl-font-mono': "ui-monospace, SFMono-Regular, Menlo, Consolas, monospace";
208
208
  readonly '--wzl-stance-debug-title-font': "ui-monospace, SFMono-Regular, Menlo, Consolas, monospace";
209
209
  readonly '--wzl-stance-debug-title-case': "none";
210
- readonly '--wzl-danger-base': "#d94a3f";
211
- readonly '--wzl-danger': "#d94a3f";
212
- readonly '--wzl-stance-danger-tone': "#d94a3f";
213
- readonly '--wzl-stance-danger-border-color': "#d94a3f";
214
- readonly '--wzl-stance-danger-title-color': "#d94a3f";
215
- readonly '--wzl-accent': "#5b63c9";
216
- readonly '--wzl-stance-notice-tone': "#5b63c9";
217
- readonly '--wzl-stance-notice-tone-mix': "8%";
218
- readonly '--wzl-stance-important-border-color': "#8c94ee";
219
- readonly '--wzl-stance-important-title-color': "#8c94ee";
220
210
  readonly '--wzl-stance-preview-pad': "0";
221
211
  readonly '--wzl-stance-preview-title-size': "10px";
222
212
  readonly '--wzl-stance-preview-title-case': "none";
223
213
  readonly '--wzl-stance-preview-title-inset': "6px 10px 0";
214
+ readonly '--wzl-danger-base': "#d94a3f";
224
215
  readonly '--wzl-warning-base': "#d99a3f";
225
216
  readonly '--wzl-success-base': "#2ec27e";
217
+ readonly '--wzl-info-base': "#7ab8d4";
226
218
  readonly '--wzl-fg-on-accent': "#f5f5f6";
227
219
  readonly '--wzl-line': "rgba(230, 231, 233, 0.2)";
228
220
  readonly '--wzl-line-strong': "rgba(230, 231, 233, 0.4)";
229
221
  readonly '--wzl-border-on-sunken': "rgba(230, 231, 233, 0.12)";
230
222
  readonly '--wzl-curve-color': "#8c94ee";
223
+ readonly '--wzl-accent': "#5b63c9";
231
224
  readonly '--wzl-accent-hover': "#8c94ee";
232
225
  readonly '--wzl-secondary': "#dc9d15";
226
+ readonly '--wzl-danger': "#d94a3f";
233
227
  readonly '--wzl-warning': "#d99a3f";
234
228
  readonly '--wzl-success': "#2ec27e";
229
+ readonly '--wzl-info': "#7ab8d4";
235
230
  readonly '--wzl-focus-ring': "#8c94ee";
236
231
  readonly '--wzl-glass-tint': "#5b63c9";
237
232
  readonly '--wzl-surface-hover': "rgba(230, 231, 233, 0.1)";
@@ -369,7 +364,7 @@ declare const THEMES: {
369
364
  readonly '--wzl-panel-pad': "14px 16px";
370
365
  readonly '--wzl-glass-blur': "3px";
371
366
  readonly '--wzl-panel-blur': "3px";
372
- readonly '--wzl-panel-tone-mix': "14%";
367
+ readonly '--wzl-panel-tint-mix': "14%";
373
368
  readonly '--wzl-font-display': "Oswald, 'Helvetica Neue Condensed', 'Arial Narrow', system-ui, sans-serif";
374
369
  readonly '--wzl-panel-title-font': "Oswald, 'Helvetica Neue Condensed', 'Arial Narrow', system-ui, sans-serif";
375
370
  readonly '--wzl-font-weight-light': "200";
@@ -379,11 +374,11 @@ declare const THEMES: {
379
374
  readonly '--wzl-panel-title-tracking': "0.01em";
380
375
  readonly '--wzl-panel-title-color': "#e6e7e9";
381
376
  readonly '--wzl-panel-title-inset': "0";
382
- readonly '--wzl-stance-scope-border-width': "0";
383
- readonly '--wzl-stance-scope-radius': "8px";
384
- readonly '--wzl-stance-scope-tone-mix': "22%";
385
- readonly '--wzl-stance-scope-nested-radius': "6px";
386
- readonly '--wzl-stance-scope-nested-surface': "#181a1e";
377
+ readonly '--wzl-stance-clarify-border-width': "0";
378
+ readonly '--wzl-stance-clarify-radius': "8px";
379
+ readonly '--wzl-stance-clarify-tint-mix': "22%";
380
+ readonly '--wzl-stance-clarify-nested-radius': "6px";
381
+ readonly '--wzl-stance-clarify-nested-surface': "#181a1e";
387
382
  readonly '--wzl-stance-aside-surface': "transparent";
388
383
  readonly '--wzl-line-subtle': "rgba(230, 231, 233, 0.1)";
389
384
  readonly '--wzl-stance-aside-border-color': "rgba(230, 231, 233, 0.1)";
@@ -394,31 +389,26 @@ declare const THEMES: {
394
389
  readonly '--wzl-font-mono': "ui-monospace, SFMono-Regular, Menlo, Consolas, monospace";
395
390
  readonly '--wzl-stance-debug-title-font': "ui-monospace, SFMono-Regular, Menlo, Consolas, monospace";
396
391
  readonly '--wzl-stance-debug-title-case': "none";
397
- readonly '--wzl-danger-base': "#d94a3f";
398
- readonly '--wzl-danger': "#d94a3f";
399
- readonly '--wzl-stance-danger-tone': "#d94a3f";
400
- readonly '--wzl-stance-danger-border-color': "#d94a3f";
401
- readonly '--wzl-stance-danger-title-color': "#d94a3f";
402
- readonly '--wzl-accent': "#5b63c9";
403
- readonly '--wzl-stance-notice-tone': "#5b63c9";
404
- readonly '--wzl-stance-notice-tone-mix': "8%";
405
- readonly '--wzl-stance-important-border-color': "#8c94ee";
406
- readonly '--wzl-stance-important-title-color': "#8c94ee";
407
392
  readonly '--wzl-stance-preview-pad': "0";
408
393
  readonly '--wzl-stance-preview-title-size': "12px";
409
394
  readonly '--wzl-stance-preview-title-case': "none";
410
395
  readonly '--wzl-stance-preview-title-inset': "6px 10px 0";
396
+ readonly '--wzl-danger-base': "#d94a3f";
411
397
  readonly '--wzl-warning-base': "#d99a3f";
412
398
  readonly '--wzl-success-base': "#2ec27e";
399
+ readonly '--wzl-info-base': "#7ab8d4";
413
400
  readonly '--wzl-fg-on-accent': "#f5f5f6";
414
401
  readonly '--wzl-line': "rgba(230, 231, 233, 0.2)";
415
402
  readonly '--wzl-line-strong': "rgba(230, 231, 233, 0.4)";
416
403
  readonly '--wzl-border-on-sunken': "rgba(230, 231, 233, 0.12)";
417
404
  readonly '--wzl-curve-color': "#8c94ee";
405
+ readonly '--wzl-accent': "#5b63c9";
418
406
  readonly '--wzl-accent-hover': "#8c94ee";
419
407
  readonly '--wzl-secondary': "#dc9d15";
408
+ readonly '--wzl-danger': "#d94a3f";
420
409
  readonly '--wzl-warning': "#d99a3f";
421
410
  readonly '--wzl-success': "#2ec27e";
411
+ readonly '--wzl-info': "#7ab8d4";
422
412
  readonly '--wzl-focus-ring': "#8c94ee";
423
413
  readonly '--wzl-glass-tint': "#5b63c9";
424
414
  readonly '--wzl-surface-hover': "rgba(230, 231, 233, 0.1)";
@@ -556,7 +546,7 @@ declare const THEMES: {
556
546
  readonly '--wzl-panel-pad': "14px 16px";
557
547
  readonly '--wzl-glass-blur': "3px";
558
548
  readonly '--wzl-panel-blur': "3px";
559
- readonly '--wzl-panel-tone-mix': "14%";
549
+ readonly '--wzl-panel-tint-mix': "14%";
560
550
  readonly '--wzl-font-display': "Oswald, 'Helvetica Neue Condensed', 'Arial Narrow', system-ui, sans-serif";
561
551
  readonly '--wzl-panel-title-font': "Oswald, 'Helvetica Neue Condensed', 'Arial Narrow', system-ui, sans-serif";
562
552
  readonly '--wzl-font-weight-light': "200";
@@ -566,11 +556,11 @@ declare const THEMES: {
566
556
  readonly '--wzl-panel-title-tracking': "0.01em";
567
557
  readonly '--wzl-panel-title-color': "#e6e7e9";
568
558
  readonly '--wzl-panel-title-inset': "0";
569
- readonly '--wzl-stance-scope-border-width': "0";
570
- readonly '--wzl-stance-scope-radius': "8px";
571
- readonly '--wzl-stance-scope-tone-mix': "22%";
572
- readonly '--wzl-stance-scope-nested-radius': "6px";
573
- readonly '--wzl-stance-scope-nested-surface': "#181a1e";
559
+ readonly '--wzl-stance-clarify-border-width': "0";
560
+ readonly '--wzl-stance-clarify-radius': "8px";
561
+ readonly '--wzl-stance-clarify-tint-mix': "22%";
562
+ readonly '--wzl-stance-clarify-nested-radius': "6px";
563
+ readonly '--wzl-stance-clarify-nested-surface': "#181a1e";
574
564
  readonly '--wzl-stance-aside-surface': "transparent";
575
565
  readonly '--wzl-line-subtle': "rgba(230, 231, 233, 0.1)";
576
566
  readonly '--wzl-stance-aside-border-color': "rgba(230, 231, 233, 0.1)";
@@ -581,31 +571,26 @@ declare const THEMES: {
581
571
  readonly '--wzl-font-mono': "ui-monospace, SFMono-Regular, Menlo, Consolas, monospace";
582
572
  readonly '--wzl-stance-debug-title-font': "ui-monospace, SFMono-Regular, Menlo, Consolas, monospace";
583
573
  readonly '--wzl-stance-debug-title-case': "none";
584
- readonly '--wzl-danger-base': "#d94a3f";
585
- readonly '--wzl-danger': "#d94a3f";
586
- readonly '--wzl-stance-danger-tone': "#d94a3f";
587
- readonly '--wzl-stance-danger-border-color': "#d94a3f";
588
- readonly '--wzl-stance-danger-title-color': "#d94a3f";
589
- readonly '--wzl-accent': "#5b63c9";
590
- readonly '--wzl-stance-notice-tone': "#5b63c9";
591
- readonly '--wzl-stance-notice-tone-mix': "8%";
592
- readonly '--wzl-stance-important-border-color': "#8c94ee";
593
- readonly '--wzl-stance-important-title-color': "#8c94ee";
594
574
  readonly '--wzl-stance-preview-pad': "0";
595
575
  readonly '--wzl-stance-preview-title-size': "14px";
596
576
  readonly '--wzl-stance-preview-title-case': "none";
597
577
  readonly '--wzl-stance-preview-title-inset': "6px 10px 0";
578
+ readonly '--wzl-danger-base': "#d94a3f";
598
579
  readonly '--wzl-warning-base': "#d99a3f";
599
580
  readonly '--wzl-success-base': "#2ec27e";
581
+ readonly '--wzl-info-base': "#7ab8d4";
600
582
  readonly '--wzl-fg-on-accent': "#f5f5f6";
601
583
  readonly '--wzl-line': "rgba(230, 231, 233, 0.2)";
602
584
  readonly '--wzl-line-strong': "rgba(230, 231, 233, 0.4)";
603
585
  readonly '--wzl-border-on-sunken': "rgba(230, 231, 233, 0.12)";
604
586
  readonly '--wzl-curve-color': "#8c94ee";
587
+ readonly '--wzl-accent': "#5b63c9";
605
588
  readonly '--wzl-accent-hover': "#8c94ee";
606
589
  readonly '--wzl-secondary': "#dc9d15";
590
+ readonly '--wzl-danger': "#d94a3f";
607
591
  readonly '--wzl-warning': "#d99a3f";
608
592
  readonly '--wzl-success': "#2ec27e";
593
+ readonly '--wzl-info': "#7ab8d4";
609
594
  readonly '--wzl-focus-ring': "#8c94ee";
610
595
  readonly '--wzl-glass-tint': "#5b63c9";
611
596
  readonly '--wzl-surface-hover': "rgba(230, 231, 233, 0.1)";
@@ -743,7 +728,7 @@ declare const THEMES: {
743
728
  readonly '--wzl-panel-pad': "14px 16px";
744
729
  readonly '--wzl-glass-blur': "3px";
745
730
  readonly '--wzl-panel-blur': "3px";
746
- readonly '--wzl-panel-tone-mix': "14%";
731
+ readonly '--wzl-panel-tint-mix': "14%";
747
732
  readonly '--wzl-font-display': "Oswald, 'Helvetica Neue Condensed', 'Arial Narrow', system-ui, sans-serif";
748
733
  readonly '--wzl-panel-title-font': "Oswald, 'Helvetica Neue Condensed', 'Arial Narrow', system-ui, sans-serif";
749
734
  readonly '--wzl-font-weight-light': "200";
@@ -753,11 +738,11 @@ declare const THEMES: {
753
738
  readonly '--wzl-panel-title-tracking': "0.01em";
754
739
  readonly '--wzl-panel-title-color': "#0e0f12";
755
740
  readonly '--wzl-panel-title-inset': "0";
756
- readonly '--wzl-stance-scope-border-width': "0";
757
- readonly '--wzl-stance-scope-radius': "8px";
758
- readonly '--wzl-stance-scope-tone-mix': "22%";
759
- readonly '--wzl-stance-scope-nested-radius': "6px";
760
- readonly '--wzl-stance-scope-nested-surface': "#f5f5f6";
741
+ readonly '--wzl-stance-clarify-border-width': "0";
742
+ readonly '--wzl-stance-clarify-radius': "8px";
743
+ readonly '--wzl-stance-clarify-tint-mix': "22%";
744
+ readonly '--wzl-stance-clarify-nested-radius': "6px";
745
+ readonly '--wzl-stance-clarify-nested-surface': "#f5f5f6";
761
746
  readonly '--wzl-stance-aside-surface': "transparent";
762
747
  readonly '--wzl-line-subtle': "rgba(14, 15, 18, 0.1)";
763
748
  readonly '--wzl-stance-aside-border-color': "rgba(14, 15, 18, 0.1)";
@@ -768,31 +753,26 @@ declare const THEMES: {
768
753
  readonly '--wzl-font-mono': "ui-monospace, SFMono-Regular, Menlo, Consolas, monospace";
769
754
  readonly '--wzl-stance-debug-title-font': "ui-monospace, SFMono-Regular, Menlo, Consolas, monospace";
770
755
  readonly '--wzl-stance-debug-title-case': "none";
771
- readonly '--wzl-danger-base': "#d94a3f";
772
- readonly '--wzl-danger': "#d94a3f";
773
- readonly '--wzl-stance-danger-tone': "#d94a3f";
774
- readonly '--wzl-stance-danger-border-color': "#d94a3f";
775
- readonly '--wzl-stance-danger-title-color': "#d94a3f";
776
- readonly '--wzl-accent': "#4338ca";
777
- readonly '--wzl-stance-notice-tone': "#4338ca";
778
- readonly '--wzl-stance-notice-tone-mix': "8%";
779
- readonly '--wzl-stance-important-border-color': "#4338ca";
780
- readonly '--wzl-stance-important-title-color': "#4338ca";
781
756
  readonly '--wzl-stance-preview-pad': "0";
782
757
  readonly '--wzl-stance-preview-title-size': "10px";
783
758
  readonly '--wzl-stance-preview-title-case': "none";
784
759
  readonly '--wzl-stance-preview-title-inset': "6px 10px 0";
760
+ readonly '--wzl-danger-base': "#d94a3f";
785
761
  readonly '--wzl-warning-base': "#d99a3f";
786
762
  readonly '--wzl-success-base': "#2ec27e";
763
+ readonly '--wzl-info-base': "#7ab8d4";
787
764
  readonly '--wzl-fg-on-accent': "#f5f5f6";
788
765
  readonly '--wzl-line': "rgba(14, 15, 18, 0.2)";
789
766
  readonly '--wzl-line-strong': "rgba(14, 15, 18, 0.4)";
790
767
  readonly '--wzl-border-on-sunken': "rgba(14, 15, 18, 0.12)";
791
768
  readonly '--wzl-curve-color': "#6366f1";
769
+ readonly '--wzl-accent': "#4338ca";
792
770
  readonly '--wzl-accent-hover': "#6366f1";
793
771
  readonly '--wzl-secondary': "#3ee1cb";
772
+ readonly '--wzl-danger': "#d94a3f";
794
773
  readonly '--wzl-warning': "#d99a3f";
795
774
  readonly '--wzl-success': "#2ec27e";
775
+ readonly '--wzl-info': "#7ab8d4";
796
776
  readonly '--wzl-focus-ring': "#6366f1";
797
777
  readonly '--wzl-glass-tint': "#4338ca";
798
778
  readonly '--wzl-surface-hover': "rgba(14, 15, 18, 0.1)";
@@ -930,7 +910,7 @@ declare const THEMES: {
930
910
  readonly '--wzl-panel-pad': "14px 16px";
931
911
  readonly '--wzl-glass-blur': "3px";
932
912
  readonly '--wzl-panel-blur': "3px";
933
- readonly '--wzl-panel-tone-mix': "14%";
913
+ readonly '--wzl-panel-tint-mix': "14%";
934
914
  readonly '--wzl-font-display': "Oswald, 'Helvetica Neue Condensed', 'Arial Narrow', system-ui, sans-serif";
935
915
  readonly '--wzl-panel-title-font': "Oswald, 'Helvetica Neue Condensed', 'Arial Narrow', system-ui, sans-serif";
936
916
  readonly '--wzl-font-weight-light': "200";
@@ -940,11 +920,11 @@ declare const THEMES: {
940
920
  readonly '--wzl-panel-title-tracking': "0.01em";
941
921
  readonly '--wzl-panel-title-color': "#0e0f12";
942
922
  readonly '--wzl-panel-title-inset': "0";
943
- readonly '--wzl-stance-scope-border-width': "0";
944
- readonly '--wzl-stance-scope-radius': "8px";
945
- readonly '--wzl-stance-scope-tone-mix': "22%";
946
- readonly '--wzl-stance-scope-nested-radius': "6px";
947
- readonly '--wzl-stance-scope-nested-surface': "#f5f5f6";
923
+ readonly '--wzl-stance-clarify-border-width': "0";
924
+ readonly '--wzl-stance-clarify-radius': "8px";
925
+ readonly '--wzl-stance-clarify-tint-mix': "22%";
926
+ readonly '--wzl-stance-clarify-nested-radius': "6px";
927
+ readonly '--wzl-stance-clarify-nested-surface': "#f5f5f6";
948
928
  readonly '--wzl-stance-aside-surface': "transparent";
949
929
  readonly '--wzl-line-subtle': "rgba(14, 15, 18, 0.1)";
950
930
  readonly '--wzl-stance-aside-border-color': "rgba(14, 15, 18, 0.1)";
@@ -955,31 +935,26 @@ declare const THEMES: {
955
935
  readonly '--wzl-font-mono': "ui-monospace, SFMono-Regular, Menlo, Consolas, monospace";
956
936
  readonly '--wzl-stance-debug-title-font': "ui-monospace, SFMono-Regular, Menlo, Consolas, monospace";
957
937
  readonly '--wzl-stance-debug-title-case': "none";
958
- readonly '--wzl-danger-base': "#d94a3f";
959
- readonly '--wzl-danger': "#d94a3f";
960
- readonly '--wzl-stance-danger-tone': "#d94a3f";
961
- readonly '--wzl-stance-danger-border-color': "#d94a3f";
962
- readonly '--wzl-stance-danger-title-color': "#d94a3f";
963
- readonly '--wzl-accent': "#4338ca";
964
- readonly '--wzl-stance-notice-tone': "#4338ca";
965
- readonly '--wzl-stance-notice-tone-mix': "8%";
966
- readonly '--wzl-stance-important-border-color': "#4338ca";
967
- readonly '--wzl-stance-important-title-color': "#4338ca";
968
938
  readonly '--wzl-stance-preview-pad': "0";
969
939
  readonly '--wzl-stance-preview-title-size': "12px";
970
940
  readonly '--wzl-stance-preview-title-case': "none";
971
941
  readonly '--wzl-stance-preview-title-inset': "6px 10px 0";
942
+ readonly '--wzl-danger-base': "#d94a3f";
972
943
  readonly '--wzl-warning-base': "#d99a3f";
973
944
  readonly '--wzl-success-base': "#2ec27e";
945
+ readonly '--wzl-info-base': "#7ab8d4";
974
946
  readonly '--wzl-fg-on-accent': "#f5f5f6";
975
947
  readonly '--wzl-line': "rgba(14, 15, 18, 0.2)";
976
948
  readonly '--wzl-line-strong': "rgba(14, 15, 18, 0.4)";
977
949
  readonly '--wzl-border-on-sunken': "rgba(14, 15, 18, 0.12)";
978
950
  readonly '--wzl-curve-color': "#6366f1";
951
+ readonly '--wzl-accent': "#4338ca";
979
952
  readonly '--wzl-accent-hover': "#6366f1";
980
953
  readonly '--wzl-secondary': "#3ee1cb";
954
+ readonly '--wzl-danger': "#d94a3f";
981
955
  readonly '--wzl-warning': "#d99a3f";
982
956
  readonly '--wzl-success': "#2ec27e";
957
+ readonly '--wzl-info': "#7ab8d4";
983
958
  readonly '--wzl-focus-ring': "#6366f1";
984
959
  readonly '--wzl-glass-tint': "#4338ca";
985
960
  readonly '--wzl-surface-hover': "rgba(14, 15, 18, 0.1)";
@@ -1117,7 +1092,7 @@ declare const THEMES: {
1117
1092
  readonly '--wzl-panel-pad': "14px 16px";
1118
1093
  readonly '--wzl-glass-blur': "3px";
1119
1094
  readonly '--wzl-panel-blur': "3px";
1120
- readonly '--wzl-panel-tone-mix': "14%";
1095
+ readonly '--wzl-panel-tint-mix': "14%";
1121
1096
  readonly '--wzl-font-display': "Oswald, 'Helvetica Neue Condensed', 'Arial Narrow', system-ui, sans-serif";
1122
1097
  readonly '--wzl-panel-title-font': "Oswald, 'Helvetica Neue Condensed', 'Arial Narrow', system-ui, sans-serif";
1123
1098
  readonly '--wzl-font-weight-light': "200";
@@ -1127,11 +1102,11 @@ declare const THEMES: {
1127
1102
  readonly '--wzl-panel-title-tracking': "0.01em";
1128
1103
  readonly '--wzl-panel-title-color': "#0e0f12";
1129
1104
  readonly '--wzl-panel-title-inset': "0";
1130
- readonly '--wzl-stance-scope-border-width': "0";
1131
- readonly '--wzl-stance-scope-radius': "8px";
1132
- readonly '--wzl-stance-scope-tone-mix': "22%";
1133
- readonly '--wzl-stance-scope-nested-radius': "6px";
1134
- readonly '--wzl-stance-scope-nested-surface': "#f5f5f6";
1105
+ readonly '--wzl-stance-clarify-border-width': "0";
1106
+ readonly '--wzl-stance-clarify-radius': "8px";
1107
+ readonly '--wzl-stance-clarify-tint-mix': "22%";
1108
+ readonly '--wzl-stance-clarify-nested-radius': "6px";
1109
+ readonly '--wzl-stance-clarify-nested-surface': "#f5f5f6";
1135
1110
  readonly '--wzl-stance-aside-surface': "transparent";
1136
1111
  readonly '--wzl-line-subtle': "rgba(14, 15, 18, 0.1)";
1137
1112
  readonly '--wzl-stance-aside-border-color': "rgba(14, 15, 18, 0.1)";
@@ -1142,31 +1117,26 @@ declare const THEMES: {
1142
1117
  readonly '--wzl-font-mono': "ui-monospace, SFMono-Regular, Menlo, Consolas, monospace";
1143
1118
  readonly '--wzl-stance-debug-title-font': "ui-monospace, SFMono-Regular, Menlo, Consolas, monospace";
1144
1119
  readonly '--wzl-stance-debug-title-case': "none";
1145
- readonly '--wzl-danger-base': "#d94a3f";
1146
- readonly '--wzl-danger': "#d94a3f";
1147
- readonly '--wzl-stance-danger-tone': "#d94a3f";
1148
- readonly '--wzl-stance-danger-border-color': "#d94a3f";
1149
- readonly '--wzl-stance-danger-title-color': "#d94a3f";
1150
- readonly '--wzl-accent': "#4338ca";
1151
- readonly '--wzl-stance-notice-tone': "#4338ca";
1152
- readonly '--wzl-stance-notice-tone-mix': "8%";
1153
- readonly '--wzl-stance-important-border-color': "#4338ca";
1154
- readonly '--wzl-stance-important-title-color': "#4338ca";
1155
1120
  readonly '--wzl-stance-preview-pad': "0";
1156
1121
  readonly '--wzl-stance-preview-title-size': "14px";
1157
1122
  readonly '--wzl-stance-preview-title-case': "none";
1158
1123
  readonly '--wzl-stance-preview-title-inset': "6px 10px 0";
1124
+ readonly '--wzl-danger-base': "#d94a3f";
1159
1125
  readonly '--wzl-warning-base': "#d99a3f";
1160
1126
  readonly '--wzl-success-base': "#2ec27e";
1127
+ readonly '--wzl-info-base': "#7ab8d4";
1161
1128
  readonly '--wzl-fg-on-accent': "#f5f5f6";
1162
1129
  readonly '--wzl-line': "rgba(14, 15, 18, 0.2)";
1163
1130
  readonly '--wzl-line-strong': "rgba(14, 15, 18, 0.4)";
1164
1131
  readonly '--wzl-border-on-sunken': "rgba(14, 15, 18, 0.12)";
1165
1132
  readonly '--wzl-curve-color': "#6366f1";
1133
+ readonly '--wzl-accent': "#4338ca";
1166
1134
  readonly '--wzl-accent-hover': "#6366f1";
1167
1135
  readonly '--wzl-secondary': "#3ee1cb";
1136
+ readonly '--wzl-danger': "#d94a3f";
1168
1137
  readonly '--wzl-warning': "#d99a3f";
1169
1138
  readonly '--wzl-success': "#2ec27e";
1139
+ readonly '--wzl-info': "#7ab8d4";
1170
1140
  readonly '--wzl-focus-ring': "#6366f1";
1171
1141
  readonly '--wzl-glass-tint': "#4338ca";
1172
1142
  readonly '--wzl-surface-hover': "rgba(14, 15, 18, 0.1)";
@@ -1253,8 +1223,8 @@ interface Theme {
1253
1223
  readonly tokens: Readonly<Record<string, Varying<RawToken>>>;
1254
1224
  /** Ramp name → step names in order, for the ramps this theme declares itself. */
1255
1225
  readonly ramps?: Readonly<Record<string, readonly string[]>>;
1256
- /** The colors a `tone` index picks from. Absent: the nearest theme it extends that has one. */
1257
- readonly tones?: SerializableColorList;
1226
+ /** The colors a `tint` index picks from. Absent: the nearest theme it extends that has one. */
1227
+ readonly tints?: SerializableColorList;
1258
1228
  }
1259
1229
  /** What `defineTheme` accepts: a definition whose `extends` is a `Theme`, holding pins and components only. */
1260
1230
  type ThemeInput = Omit<ThemeDefinition, 'extends'> & {
@@ -1310,17 +1280,17 @@ interface ColorContext {
1310
1280
  readonly theme: Theme;
1311
1281
  readonly resolved: ResolvedTheme;
1312
1282
  }
1313
- /** What a `ColorSource` resolves against under a theme. `useTones()`'s value is one. */
1283
+ /** What a `ColorSource` resolves against under a theme. `useTints()`'s value is one. */
1314
1284
  interface ColorSourceContext extends ColorContext {
1315
- /** The list `{ ref: 'tone' }` indexes. Absent: the theme's own. */
1316
- readonly tones?: ColorList;
1285
+ /** The list `{ ref: 'tint' }` indexes. Absent: the theme's own. */
1286
+ readonly tints?: ColorList;
1317
1287
  /** Names answered before the theme's. */
1318
1288
  readonly palette?: Palette;
1319
1289
  }
1320
1290
  /** A ramp's step names, from the nearest theme in the chain that declares it. */
1321
1291
  declare function rampSteps(theme: Theme, ramp: string): readonly string[];
1322
- /** The tone list a theme declares, from the nearest theme in its chain that has one. */
1323
- declare function themeTones(theme: Theme): ColorList;
1292
+ /** The tint list a theme declares, from the nearest theme in its chain that has one. */
1293
+ declare function themeTints(theme: Theme): ColorList;
1324
1294
  /** How many distinct colors `list` holds before it wraps; `undefined` for a function, which never does. */
1325
1295
  declare function colorCount(list: ColorList, ctx?: ColorContext): number | undefined;
1326
1296
 
@@ -1455,8 +1425,8 @@ interface ThemeDefinition {
1455
1425
  readonly semantics?: Readonly<Record<string, Varying<SemanticRule>>>;
1456
1426
  readonly components?: Readonly<Record<string, Varying<PinValue>>>;
1457
1427
  readonly pins?: Readonly<Record<string, Varying<PinValue>>>;
1458
- /** The colors a `tone` index picks from. Absent: the nearest theme it extends that has one, else the swatch ramp. */
1459
- readonly tones?: SerializableColorList;
1428
+ /** The colors a `tint` index picks from. Absent: the nearest theme it extends that has one, else the swatch ramp. */
1429
+ readonly tints?: SerializableColorList;
1460
1430
  }
1461
1431
 
1462
- export { themeTones as $, type AxisDefs as A, type BakedTheme as B, type CategoricalRampDef as C, type RampColors as D, type SerializableColorList as E, type FlatTokens as F, type GeneratedColors as G, THEMES as H, THEME_SOURCES as I, type ThemeInput as J, colorCount as K, type Lookup as L, defineTheme as M, type NumberParam as N, type OffsetRule as O, type PinObject as P, enumerateSelections as Q, type RawToken as R, type Selection as S, type ThemeDefinition as T, fullSelection as U, type Varying as V, isByAxis as W, rampSteps as X, resolveTheme as Y, selectionKey as Z, themeAxes as _, type Theme as a, weaselTheme as a0, type ContrastRule as b, type LightnessRampDef as c, type LiteralRule as d, type PinValue as e, type RampDef as f, type RefRule as g, type ScaleDef as h, type SemanticCommon as i, type SemanticRule as j, type StepRule as k, bake as l, bakeChain as m, mergeChain as n, type ColorList as o, type ColorSourceContext as p, type TokenName as q, type ResolvedTheme as r, type TokenValue as s, type AxisDef as t, type AxisValue as u, BAKED_THEMES as v, type ByAxis as w, type ColorContext as x, type ColorListItem as y, type GeneratedTheme as z };
1432
+ export { themeTints as $, type AxisDefs as A, type BakedTheme as B, type CategoricalRampDef as C, type RampColors as D, type SerializableColorList as E, type FlatTokens as F, type GeneratedColors as G, THEMES as H, THEME_SOURCES as I, type ThemeInput as J, colorCount as K, type Lookup as L, defineTheme as M, type NumberParam as N, type OffsetRule as O, type PinObject as P, enumerateSelections as Q, type RawToken as R, type Selection as S, type ThemeDefinition as T, fullSelection as U, type Varying as V, isByAxis as W, rampSteps as X, resolveTheme as Y, selectionKey as Z, themeAxes as _, type Theme as a, weaselTheme as a0, type ContrastRule as b, type LightnessRampDef as c, type LiteralRule as d, type PinValue as e, type RampDef as f, type RefRule as g, type ScaleDef as h, type SemanticCommon as i, type SemanticRule as j, type StepRule as k, bake as l, bakeChain as m, mergeChain as n, type ColorList as o, type ColorSourceContext as p, type TokenName as q, type ResolvedTheme as r, type TokenValue as s, type AxisDef as t, type AxisValue as u, BAKED_THEMES as v, type ByAxis as w, type ColorContext as x, type ColorListItem as y, type GeneratedTheme as z };
package/dist/engine.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { OklchDeg, oklchDegToHex } from '@weasel-js/paint';
2
- import { T as ThemeDefinition, L as Lookup, F as FlatTokens, R as RawToken, S as Selection, B as BakedTheme, A as AxisDefs, a as Theme } from './definition-CSeERbSL.js';
3
- export { C as CategoricalRampDef, b as ContrastRule, c as LightnessRampDef, d as LiteralRule, N as NumberParam, O as OffsetRule, P as PinObject, e as PinValue, f as RampDef, g as RefRule, h as ScaleDef, i as SemanticCommon, j as SemanticRule, k as StepRule, l as bake, m as bakeChain, n as mergeChain } from './definition-CSeERbSL.js';
2
+ import { T as ThemeDefinition, L as Lookup, F as FlatTokens, R as RawToken, S as Selection, B as BakedTheme, A as AxisDefs, a as Theme } from './definition-wsEi-XBr.js';
3
+ export { C as CategoricalRampDef, b as ContrastRule, c as LightnessRampDef, d as LiteralRule, N as NumberParam, O as OffsetRule, P as PinObject, e as PinValue, f as RampDef, g as RefRule, h as ScaleDef, i as SemanticCommon, j as SemanticRule, k as StepRule, l as bake, m as bakeChain, n as mergeChain } from './definition-wsEi-XBr.js';
4
4
 
5
5
  /** A color in OKLCH: lightness 0–1, chroma, hue in degrees. paint's own type,
6
6
  * under the name this engine has always called it. */
package/dist/engine.js CHANGED
@@ -70,8 +70,8 @@ function mergeChain(def, lookup, seen = /* @__PURE__ */ new Set()) {
70
70
  const own = Object.entries(def.pins ?? {}).map(([name, v]) => [name, fillFromParent(v, parentPins[name], axes)]);
71
71
  out.pins = { ...Object.fromEntries(inherited), ...Object.fromEntries(own) };
72
72
  out.axes = axes;
73
- out.tones = def.tones ?? parent.tones;
74
- if (out.tones === void 0) delete out.tones;
73
+ out.tints = def.tints ?? parent.tints;
74
+ if (out.tints === void 0) delete out.tints;
75
75
  return out;
76
76
  }
77
77
 
@@ -988,7 +988,7 @@ function bakeOver(definition, merged, above, lookup) {
988
988
  axes,
989
989
  tokens,
990
990
  ...Object.keys(ramps).length > 0 ? { ramps } : {},
991
- ...definition.tones !== void 0 ? { tones: definition.tones } : {}
991
+ ...definition.tints !== void 0 ? { tints: definition.tints } : {}
992
992
  };
993
993
  }
994
994
 
@@ -1255,7 +1255,7 @@ var TOKEN_HOOKS = [
1255
1255
  name: "titlebar-surface",
1256
1256
  type: "color",
1257
1257
  value: "var(--_edge)",
1258
- description: "Background of the strip a `titlebar` frame carries its title in: a color, a gradient, or stripes. Unset, the frame\u2019s edge color. A frame that names a tone paints the tone instead."
1258
+ description: "Background of the strip a `titlebar` frame carries its title in: a color, a gradient, or stripes. Unset, the frame\u2019s edge color. A frame that names a tint paints the tint instead."
1259
1259
  },
1260
1260
  {
1261
1261
  name: "titlebar-fg",
@@ -1339,37 +1339,37 @@ var TOKEN_HOOKS = [
1339
1339
  name: "button-surface",
1340
1340
  type: "color",
1341
1341
  value: "var(--btn-glass)",
1342
- description: "Background of a secondary Button. Unset, neutral glass mixed from the surfaces."
1342
+ description: "Background of a solid Button. Unset, neutral glass mixed from the surfaces."
1343
1343
  },
1344
1344
  {
1345
1345
  name: "button-pressed-surface",
1346
1346
  type: "color",
1347
1347
  value: "var(--btn-glass-pressed)",
1348
- description: "Background of a secondary Button while it is held down."
1348
+ description: "Background of a solid Button while it is held down."
1349
1349
  },
1350
1350
  {
1351
- name: "button-primary-surface",
1351
+ name: "button-confirm-surface",
1352
1352
  type: "color",
1353
1353
  value: "var(--btn-glass)",
1354
- description: "Background of a primary Button. Unset, glass tinted with --wzl-accent."
1354
+ description: "Background of a confirm Button. Unset, glass tinted with --wzl-accent."
1355
1355
  },
1356
1356
  {
1357
- name: "button-primary-pressed-surface",
1357
+ name: "button-confirm-pressed-surface",
1358
1358
  type: "color",
1359
1359
  value: "var(--btn-glass-pressed)",
1360
- description: "Background of a primary Button while it is held down."
1360
+ description: "Background of a confirm Button while it is held down."
1361
1361
  },
1362
1362
  {
1363
- name: "button-primary-fg",
1363
+ name: "button-confirm-fg",
1364
1364
  type: "color",
1365
1365
  value: "var(--wzl-fg-on-accent)",
1366
- description: "Text color of a primary Button, for a theme whose --wzl-button-primary-surface is not an accent fill."
1366
+ description: "Text color of a confirm Button, for a theme whose --wzl-button-confirm-surface is not an accent fill."
1367
1367
  },
1368
1368
  {
1369
- name: "button-primary-bevel",
1369
+ name: "button-confirm-bevel",
1370
1370
  type: "shadow",
1371
1371
  value: "var(--wzl-bevel-raised)",
1372
- description: "Box shadow of a primary Button, where it differs from --wzl-bevel-raised: the heavier frame of a default button."
1372
+ description: "Box shadow of a confirm Button, where it differs from --wzl-bevel-raised: the heavier frame of a default button."
1373
1373
  },
1374
1374
  {
1375
1375
  name: "button-gloss",
@@ -1381,7 +1381,7 @@ var TOKEN_HOOKS = [
1381
1381
  name: "button-text-shadow",
1382
1382
  type: "shadow",
1383
1383
  value: "var(--btn-engraving)",
1384
- description: "Text shadow of a primary or secondary Button\u2019s label. Unset, an engraving stamp under the glyphs in dark mode."
1384
+ description: "Text shadow of a Button\u2019s label. Unset, an engraving stamp under the glyphs in dark mode."
1385
1385
  },
1386
1386
  {
1387
1387
  name: "detail-figure-min-width",
@@ -1592,6 +1592,12 @@ var TOKEN_HOOKS = [
1592
1592
  type: "string",
1593
1593
  value: "center",
1594
1594
  description: "How a PropertyPanel\u2019s title row lines its actions up with the title: center, or baseline for actions that are text."
1595
+ },
1596
+ {
1597
+ name: "entered-group",
1598
+ type: "color",
1599
+ value: "#a48bd4",
1600
+ description: "Color of the dashed frame a canvas draws around the group it is working inside. Read off the canvas element, so it can be set on it or anything above it."
1595
1601
  }
1596
1602
  ];
1597
1603