@weasel-js/theme 1.9.1 → 1.9.3

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.
@@ -72,7 +72,7 @@ declare function bakeChain(definition: ThemeDefinition, lookup?: Lookup): BakedT
72
72
 
73
73
  /** Every design token the built-in themes declare, spelled as the CSS
74
74
  * custom property it becomes. */
75
- 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-strong' | '--wzl-border-w' | '--wzl-checker-a' | '--wzl-checker-b' | '--wzl-checker-size' | '--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-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-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-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-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-modal' | '--wzl-z-overlay' | '--wzl-z-toolbar';
75
+ 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-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-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-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-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-modal' | '--wzl-z-overlay' | '--wzl-z-toolbar';
76
76
  /** A built-in theme with its aliases already collapsed: every selection
77
77
  * (keyed `mode=dark`, axes in declaration order) maps every token name to
78
78
  * a final CSS value. */
@@ -151,6 +151,7 @@ declare const THEMES: {
151
151
  readonly '--wzl-space-8': "16px";
152
152
  readonly '--wzl-surface': "#181a1e";
153
153
  readonly '--wzl-surface-raised': "#25272c";
154
+ readonly '--wzl-surface-popover': "#25272c";
154
155
  readonly '--wzl-surface-sunken': "#0e0f12";
155
156
  readonly '--wzl-fg': "#e6e7e9";
156
157
  readonly '--wzl-fg-muted': "rgb(from currentColor r g b / 0.7)";
@@ -163,6 +164,12 @@ declare const THEMES: {
163
164
  readonly '--wzl-secondary-fg': "#dc9d15";
164
165
  readonly '--wzl-fg-inverse': "#0e0f12";
165
166
  readonly '--wzl-shadow': "rgba(0, 0, 0, 0.6)";
167
+ readonly '--wzl-code-keyword': "#955cf9";
168
+ readonly '--wzl-code-string': "#48e628";
169
+ readonly '--wzl-code-number': "#e69628";
170
+ readonly '--wzl-code-constant': "#3ee1cb";
171
+ readonly '--wzl-code-property': "#36bff2";
172
+ readonly '--wzl-code-name': "#fa4590";
166
173
  readonly '--wzl-panel-surface': "#25272c";
167
174
  readonly '--wzl-panel-border-color': "#25272c";
168
175
  readonly '--wzl-panel-border-style': "solid";
@@ -322,6 +329,7 @@ declare const THEMES: {
322
329
  readonly '--wzl-space-8': "16px";
323
330
  readonly '--wzl-surface': "#181a1e";
324
331
  readonly '--wzl-surface-raised': "#25272c";
332
+ readonly '--wzl-surface-popover': "#25272c";
325
333
  readonly '--wzl-surface-sunken': "#0e0f12";
326
334
  readonly '--wzl-fg': "#e6e7e9";
327
335
  readonly '--wzl-fg-muted': "rgb(from currentColor r g b / 0.7)";
@@ -334,6 +342,12 @@ declare const THEMES: {
334
342
  readonly '--wzl-secondary-fg': "#dc9d15";
335
343
  readonly '--wzl-fg-inverse': "#0e0f12";
336
344
  readonly '--wzl-shadow': "rgba(0, 0, 0, 0.6)";
345
+ readonly '--wzl-code-keyword': "#955cf9";
346
+ readonly '--wzl-code-string': "#48e628";
347
+ readonly '--wzl-code-number': "#e69628";
348
+ readonly '--wzl-code-constant': "#3ee1cb";
349
+ readonly '--wzl-code-property': "#36bff2";
350
+ readonly '--wzl-code-name': "#fa4590";
337
351
  readonly '--wzl-panel-surface': "#25272c";
338
352
  readonly '--wzl-panel-border-color': "#25272c";
339
353
  readonly '--wzl-panel-border-style': "solid";
@@ -493,6 +507,7 @@ declare const THEMES: {
493
507
  readonly '--wzl-space-8': "16px";
494
508
  readonly '--wzl-surface': "#181a1e";
495
509
  readonly '--wzl-surface-raised': "#25272c";
510
+ readonly '--wzl-surface-popover': "#25272c";
496
511
  readonly '--wzl-surface-sunken': "#0e0f12";
497
512
  readonly '--wzl-fg': "#e6e7e9";
498
513
  readonly '--wzl-fg-muted': "rgb(from currentColor r g b / 0.7)";
@@ -505,6 +520,12 @@ declare const THEMES: {
505
520
  readonly '--wzl-secondary-fg': "#dc9d15";
506
521
  readonly '--wzl-fg-inverse': "#0e0f12";
507
522
  readonly '--wzl-shadow': "rgba(0, 0, 0, 0.6)";
523
+ readonly '--wzl-code-keyword': "#955cf9";
524
+ readonly '--wzl-code-string': "#48e628";
525
+ readonly '--wzl-code-number': "#e69628";
526
+ readonly '--wzl-code-constant': "#3ee1cb";
527
+ readonly '--wzl-code-property': "#36bff2";
528
+ readonly '--wzl-code-name': "#fa4590";
508
529
  readonly '--wzl-panel-surface': "#25272c";
509
530
  readonly '--wzl-panel-border-color': "#25272c";
510
531
  readonly '--wzl-panel-border-style': "solid";
@@ -664,6 +685,7 @@ declare const THEMES: {
664
685
  readonly '--wzl-space-8': "16px";
665
686
  readonly '--wzl-surface': "#f5f5f6";
666
687
  readonly '--wzl-surface-raised': "#e6e7e9";
688
+ readonly '--wzl-surface-popover': "#e6e7e9";
667
689
  readonly '--wzl-surface-sunken': "#c9cbcf";
668
690
  readonly '--wzl-fg': "#0e0f12";
669
691
  readonly '--wzl-fg-muted': "rgb(from currentColor r g b / 0.78)";
@@ -676,6 +698,12 @@ declare const THEMES: {
676
698
  readonly '--wzl-secondary-fg': "#016458";
677
699
  readonly '--wzl-fg-inverse': "#f5f5f6";
678
700
  readonly '--wzl-shadow': "rgba(0, 0, 0, 0.18)";
701
+ readonly '--wzl-code-keyword': "#6d28d9";
702
+ readonly '--wzl-code-string': "#15803d";
703
+ readonly '--wzl-code-number': "#b45309";
704
+ readonly '--wzl-code-constant': "#0f766e";
705
+ readonly '--wzl-code-property': "#0369a1";
706
+ readonly '--wzl-code-name': "#be123c";
679
707
  readonly '--wzl-panel-surface': "#e6e7e9";
680
708
  readonly '--wzl-panel-border-color': "#c9cbcf";
681
709
  readonly '--wzl-panel-border-style': "solid";
@@ -835,6 +863,7 @@ declare const THEMES: {
835
863
  readonly '--wzl-space-8': "16px";
836
864
  readonly '--wzl-surface': "#f5f5f6";
837
865
  readonly '--wzl-surface-raised': "#e6e7e9";
866
+ readonly '--wzl-surface-popover': "#e6e7e9";
838
867
  readonly '--wzl-surface-sunken': "#c9cbcf";
839
868
  readonly '--wzl-fg': "#0e0f12";
840
869
  readonly '--wzl-fg-muted': "rgb(from currentColor r g b / 0.78)";
@@ -847,6 +876,12 @@ declare const THEMES: {
847
876
  readonly '--wzl-secondary-fg': "#016458";
848
877
  readonly '--wzl-fg-inverse': "#f5f5f6";
849
878
  readonly '--wzl-shadow': "rgba(0, 0, 0, 0.18)";
879
+ readonly '--wzl-code-keyword': "#6d28d9";
880
+ readonly '--wzl-code-string': "#15803d";
881
+ readonly '--wzl-code-number': "#b45309";
882
+ readonly '--wzl-code-constant': "#0f766e";
883
+ readonly '--wzl-code-property': "#0369a1";
884
+ readonly '--wzl-code-name': "#be123c";
850
885
  readonly '--wzl-panel-surface': "#e6e7e9";
851
886
  readonly '--wzl-panel-border-color': "#c9cbcf";
852
887
  readonly '--wzl-panel-border-style': "solid";
@@ -1006,6 +1041,7 @@ declare const THEMES: {
1006
1041
  readonly '--wzl-space-8': "16px";
1007
1042
  readonly '--wzl-surface': "#f5f5f6";
1008
1043
  readonly '--wzl-surface-raised': "#e6e7e9";
1044
+ readonly '--wzl-surface-popover': "#e6e7e9";
1009
1045
  readonly '--wzl-surface-sunken': "#c9cbcf";
1010
1046
  readonly '--wzl-fg': "#0e0f12";
1011
1047
  readonly '--wzl-fg-muted': "rgb(from currentColor r g b / 0.78)";
@@ -1018,6 +1054,12 @@ declare const THEMES: {
1018
1054
  readonly '--wzl-secondary-fg': "#016458";
1019
1055
  readonly '--wzl-fg-inverse': "#f5f5f6";
1020
1056
  readonly '--wzl-shadow': "rgba(0, 0, 0, 0.18)";
1057
+ readonly '--wzl-code-keyword': "#6d28d9";
1058
+ readonly '--wzl-code-string': "#15803d";
1059
+ readonly '--wzl-code-number': "#b45309";
1060
+ readonly '--wzl-code-constant': "#0f766e";
1061
+ readonly '--wzl-code-property': "#0369a1";
1062
+ readonly '--wzl-code-name': "#be123c";
1021
1063
  readonly '--wzl-panel-surface': "#e6e7e9";
1022
1064
  readonly '--wzl-panel-border-color': "#c9cbcf";
1023
1065
  readonly '--wzl-panel-border-style': "solid";
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-BQHKxPoy.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 SemanticRule, j as StepRule, k as bake, l as bakeChain, m as mergeChain } from './definition-BQHKxPoy.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-DACR1H4A.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 SemanticRule, j as StepRule, k as bake, l as bakeChain, m as mergeChain } from './definition-DACR1H4A.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/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { n as TokenName, o as ResolvedTheme, a as Theme, S as Selection, p as TokenValue } from './definition-BQHKxPoy.js';
2
- export { q as AxisDef, A as AxisDefs, r as AxisValue, s as BAKED_THEMES, B as BakedTheme, t as ByAxis, u as ColorContext, v as ColorList, F as FlatTokens, G as GeneratedColors, w as GeneratedTheme, P as PinObject, e as PinValue, x as RampColors, R as RawToken, y as SerializableColorList, z as THEMES, D as THEME_SOURCES, T as ThemeDefinition, E as ThemeInput, V as Varying, H as colorAt, I as colorCount, J as colorCssAt, K as defineTheme, M as enumerateSelections, Q as fullSelection, U as isByAxis, W as rampSteps, X as resolveTheme, Y as selectionKey, Z as themeAxes, _ as themeTones, $ as weaselTheme } from './definition-BQHKxPoy.js';
1
+ import { n as TokenName, o as ResolvedTheme, a as Theme, S as Selection, p as TokenValue } from './definition-DACR1H4A.js';
2
+ export { q as AxisDef, A as AxisDefs, r as AxisValue, s as BAKED_THEMES, B as BakedTheme, t as ByAxis, u as ColorContext, v as ColorList, F as FlatTokens, G as GeneratedColors, w as GeneratedTheme, P as PinObject, e as PinValue, x as RampColors, R as RawToken, y as SerializableColorList, z as THEMES, D as THEME_SOURCES, T as ThemeDefinition, E as ThemeInput, V as Varying, H as colorAt, I as colorCount, J as colorCssAt, K as defineTheme, M as enumerateSelections, Q as fullSelection, U as isByAxis, W as rampSteps, X as resolveTheme, Y as selectionKey, Z as themeAxes, _ as themeTones, $ as weaselTheme } from './definition-DACR1H4A.js';
3
3
  export { C as ColorMode, a as ColorModePreference, i as isColorModePreference } from './colorMode-CoklZomJ.js';
4
4
 
5
5
  /** One row of `TOKEN_MANIFEST`: a token, its DTCG type, the name-prefix
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { weaselTheme } from './chunk-VUNWK7T2.js';
2
- export { BAKED_THEMES, THEMES, THEME_SOURCES, applyTheme, colorAt, colorCount, colorCssAt, defineTheme, isColorModePreference, rampSteps, themeTones, weaselTheme } from './chunk-VUNWK7T2.js';
1
+ import { weaselTheme } from './chunk-7FYXA7TA.js';
2
+ export { BAKED_THEMES, THEMES, THEME_SOURCES, applyTheme, colorAt, colorCount, colorCssAt, defineTheme, isColorModePreference, rampSteps, themeTones, weaselTheme } from './chunk-7FYXA7TA.js';
3
3
  import { AXES_EXT, overrideKey, ALPHA_EXT } from './chunk-Z675UQ26.js';
4
4
  import { atAlpha, withAlpha, themeAxes, mergeAxes } from './chunk-NUILKH2Z.js';
5
5
  export { enumerateSelections, fullSelection, isByAxis, parseTokenValue, resolveTheme, selectionKey, serializeTokenValue, themeAxes } from './chunk-NUILKH2Z.js';
@@ -48,6 +48,7 @@ var TOKEN_MANIFEST = [
48
48
  { name: "--wzl-space-8", type: "dimension", group: "space", defaultValue: "16px", description: "", hook: false },
49
49
  { name: "--wzl-surface", type: "color", group: "surface", defaultValue: "#181a1e", description: "", hook: false },
50
50
  { name: "--wzl-surface-raised", type: "color", group: "surface", defaultValue: "#25272c", description: "", hook: false },
51
+ { name: "--wzl-surface-popover", type: "color", group: "surface", defaultValue: "#25272c", description: "Background of a dropdown, menu or other popover list. Follows surface-raised unless a theme needs floating lists to read differently from the panels beneath them.", hook: false },
51
52
  { name: "--wzl-surface-sunken", type: "color", group: "surface", defaultValue: "#0e0f12", description: "", hook: false },
52
53
  { name: "--wzl-fg", type: "color", group: "fg", defaultValue: "#e6e7e9", description: "", hook: false },
53
54
  { name: "--wzl-fg-muted", type: "color", group: "fg", defaultValue: "rgb(from currentColor r g b / 0.7)", description: "Secondary text: the text color in effect where it is used, at reduced alpha, so it steps down from whatever text it sits beside on any surface. The alpha is absolute, so muted text nested in muted text stays one step down. Under fg it clears WCAG 4.5:1 on surface, surface-raised, and surface-sunken in both modes.", hook: false },
@@ -60,6 +61,12 @@ var TOKEN_MANIFEST = [
60
61
  { name: "--wzl-secondary-fg", type: "color", group: "secondary", defaultValue: "#dc9d15", description: "Secondary accent for foreground use: a second voice beside the accent, such as a value the panel derived rather than one the user set. Picked from the ramp so it clears 4.5:1 on the surface in both modes.", hook: false },
61
62
  { name: "--wzl-fg-inverse", type: "color", group: "fg", defaultValue: "#0e0f12", description: "Text drawn on a filled foreground-colored element (e.g. a slider thumb). Flips with the mode, so it is a semantic, not an alias to a primitive.", hook: false },
62
63
  { name: "--wzl-shadow", type: "color", group: "shadow", defaultValue: "rgba(0, 0, 0, 0.6)", description: "Elevation. Always darker than any surface \u2014 never derived from fg, which is near-white on dark.", hook: false },
64
+ { name: "--wzl-code-keyword", type: "color", group: "code", defaultValue: "#955cf9", description: "Keywords in highlighted code.", hook: false },
65
+ { name: "--wzl-code-string", type: "color", group: "code", defaultValue: "#48e628", description: "String literals in highlighted code.", hook: false },
66
+ { name: "--wzl-code-number", type: "color", group: "code", defaultValue: "#e69628", description: "Numbers in highlighted code.", hook: false },
67
+ { name: "--wzl-code-constant", type: "color", group: "code", defaultValue: "#3ee1cb", description: "true, false, null and undefined in highlighted code.", hook: false },
68
+ { name: "--wzl-code-property", type: "color", group: "code", defaultValue: "#36bff2", description: "Property keys and attribute names in highlighted code.", hook: false },
69
+ { name: "--wzl-code-name", type: "color", group: "code", defaultValue: "#fa4590", description: "Functions, classes and other names in highlighted code.", hook: false },
63
70
  { name: "--wzl-panel-surface", type: "color", group: "panel", defaultValue: "#25272c", description: "Fill of a PropertyPanel.", hook: false },
64
71
  { name: "--wzl-panel-border-color", type: "color", group: "panel", defaultValue: "#25272c", description: "", hook: false },
65
72
  { name: "--wzl-panel-border-style", type: "string", group: "panel", defaultValue: "solid", description: "", hook: false },