@adea-ai/ui 0.156.0 → 0.158.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.
Files changed (141) hide show
  1. package/README.md +3 -3
  2. package/dist/components/composites/appearance-editor/appearance-editor.d.ts +1 -1
  3. package/dist/components/composites/appearance-editor/appearance-editor.d.ts.map +1 -1
  4. package/dist/components/composites/appearance-editor/appearance-editor.js +305 -172
  5. package/dist/components/composites/appearance-editor/appearance-editor.js.map +1 -1
  6. package/dist/components/composites/appearance-editor/appearance-rows.d.ts +6 -0
  7. package/dist/components/composites/appearance-editor/appearance-rows.d.ts.map +1 -1
  8. package/dist/components/composites/appearance-editor/appearance-rows.js +2 -2
  9. package/dist/components/composites/appearance-editor/appearance-rows.js.map +1 -1
  10. package/dist/components/composites/appearance-editor/appearance-types.d.ts +26 -0
  11. package/dist/components/composites/appearance-editor/appearance-types.d.ts.map +1 -1
  12. package/dist/components/composites/appearance-editor/appearance-types.js +10 -0
  13. package/dist/components/composites/appearance-editor/appearance-types.js.map +1 -0
  14. package/dist/components/composites/appearance-editor/font-settings-group.d.ts +13 -1
  15. package/dist/components/composites/appearance-editor/font-settings-group.d.ts.map +1 -1
  16. package/dist/components/composites/appearance-editor/font-settings-group.js +51 -15
  17. package/dist/components/composites/appearance-editor/font-settings-group.js.map +1 -1
  18. package/dist/components/composites/appearance-editor/index.d.ts +2 -1
  19. package/dist/components/composites/appearance-editor/index.d.ts.map +1 -1
  20. package/dist/components/composites/appearance-editor/index.js +3 -2
  21. package/dist/components/theme/theme-document.d.ts +1 -1
  22. package/dist/components/theme/theme-document.js.map +1 -1
  23. package/dist/components/theme/theme-provider-value.d.ts +1 -1
  24. package/dist/components/theme/theme-provider-value.js.map +1 -1
  25. package/dist/components/ui/button/button.d.ts.map +1 -1
  26. package/dist/components/ui/button/button.js +3 -3
  27. package/dist/components/ui/button/button.js.map +1 -1
  28. package/dist/components/ui/tooltip/tooltip.d.ts.map +1 -1
  29. package/dist/components/ui/tooltip/tooltip.js +4 -18
  30. package/dist/components/ui/tooltip/tooltip.js.map +1 -1
  31. package/dist/index.js +3 -2
  32. package/dist/lib/appearance-font-settings.d.ts +18 -4
  33. package/dist/lib/appearance-font-settings.d.ts.map +1 -1
  34. package/dist/lib/appearance-font-settings.js +24 -6
  35. package/dist/lib/appearance-font-settings.js.map +1 -1
  36. package/dist/lib/fast-icon.d.ts +2 -1
  37. package/dist/lib/fast-icon.d.ts.map +1 -1
  38. package/dist/lib/fast-icon.js +4 -3
  39. package/dist/lib/fast-icon.js.map +1 -1
  40. package/dist/lib/font-catalog.d.ts +5 -0
  41. package/dist/lib/font-catalog.d.ts.map +1 -1
  42. package/dist/lib/font-catalog.js +10 -5
  43. package/dist/lib/font-catalog.js.map +1 -1
  44. package/dist/lib/font-zoom.d.ts +1 -1
  45. package/dist/lib/font-zoom.d.ts.map +1 -1
  46. package/dist/lib/font-zoom.js +5 -1
  47. package/dist/lib/font-zoom.js.map +1 -1
  48. package/dist/lib/theme-defaults.generated.d.ts.map +1 -1
  49. package/dist/lib/theme-defaults.generated.js +88 -60
  50. package/dist/lib/theme-defaults.generated.js.map +1 -1
  51. package/dist/lib/theme-projection.d.ts +2 -0
  52. package/dist/lib/theme-projection.d.ts.map +1 -1
  53. package/dist/lib/theme-projection.js +2 -2
  54. package/dist/lib/theme-projection.js.map +1 -1
  55. package/dist/lib/theme-types.d.ts +7 -0
  56. package/dist/lib/theme-types.d.ts.map +1 -1
  57. package/dist/lib/theme-types.js +7 -0
  58. package/dist/lib/theme-types.js.map +1 -1
  59. package/dist/lib/tokens.d.ts.map +1 -1
  60. package/dist/lib/tokens.js +17 -2
  61. package/dist/lib/tokens.js.map +1 -1
  62. package/dist/r/appearance-editor.json +2 -1
  63. package/dist/r/lib.json +1 -1
  64. package/dist/r/registry.json +4 -3
  65. package/dist/r/src/components/composites/appearance-editor/appearance-editor.tsx +202 -110
  66. package/dist/r/src/components/composites/appearance-editor/appearance-rows.tsx +11 -1
  67. package/dist/r/src/components/composites/appearance-editor/appearance-types.ts +27 -0
  68. package/dist/r/src/components/composites/appearance-editor/font-settings-group.tsx +50 -10
  69. package/dist/r/src/components/composites/appearance-editor/index.ts +3 -0
  70. package/dist/r/src/components/theme/theme-document.ts +1 -1
  71. package/dist/r/src/components/theme/theme-provider-value.ts +1 -1
  72. package/dist/r/src/components/ui/button/button.tsx +12 -3
  73. package/dist/r/src/components/ui/tooltip/tooltip.tsx +9 -18
  74. package/dist/r/src/lib/appearance-font-settings.ts +43 -7
  75. package/dist/r/src/lib/fast-icon.ts +11 -4
  76. package/dist/r/src/lib/font-catalog.ts +5 -0
  77. package/dist/r/src/lib/font-zoom.ts +3 -0
  78. package/dist/r/src/lib/theme-defaults.generated.ts +88 -60
  79. package/dist/r/src/lib/theme-projection.ts +2 -0
  80. package/dist/r/src/lib/theme-types.ts +7 -0
  81. package/dist/r/src/lib/tokens.ts +17 -2
  82. package/dist/r/src/styles/appearance-font-settings.css +2 -0
  83. package/dist/r/src/styles/theme-variants.css +608 -370
  84. package/dist/r/src/styles/theme.css +4 -4
  85. package/dist/r/theming.json +1 -1
  86. package/package.json +2 -2
  87. package/registry.json +4 -3
  88. package/src/components/composites/appearance-editor/appearance-editor.tsx +202 -110
  89. package/src/components/composites/appearance-editor/appearance-rows.tsx +11 -1
  90. package/src/components/composites/appearance-editor/appearance-types.ts +27 -0
  91. package/src/components/composites/appearance-editor/font-settings-group.tsx +50 -10
  92. package/src/components/composites/appearance-editor/index.ts +3 -0
  93. package/src/components/theme/theme-document.ts +1 -1
  94. package/src/components/theme/theme-provider-value.ts +1 -1
  95. package/src/components/ui/button/button.tsx +12 -3
  96. package/src/components/ui/tooltip/tooltip.tsx +9 -18
  97. package/src/lib/appearance-font-settings.ts +43 -7
  98. package/src/lib/fast-icon.ts +11 -4
  99. package/src/lib/font-catalog.ts +5 -0
  100. package/src/lib/font-zoom.ts +3 -0
  101. package/src/lib/theme-defaults.generated.ts +88 -60
  102. package/src/lib/theme-projection.ts +2 -0
  103. package/src/lib/theme-types.ts +7 -0
  104. package/src/lib/tokens.ts +17 -2
  105. package/src/styles/appearance-font-settings.css +2 -0
  106. package/src/styles/theme-variants.css +608 -370
  107. package/src/styles/theme.css +4 -4
  108. package/src/styles/themes/aardvark-blue.css +7 -0
  109. package/src/styles/themes/aardvark-ink.css +7 -0
  110. package/src/styles/themes/adea-dark-colorblind.css +22 -15
  111. package/src/styles/themes/adea-dark-high-contrast.css +22 -15
  112. package/src/styles/themes/adea-dark.css +22 -15
  113. package/src/styles/themes/adea-light-colorblind.css +21 -14
  114. package/src/styles/themes/adea-light-high-contrast.css +21 -14
  115. package/src/styles/themes/adea-light.css +22 -15
  116. package/src/styles/themes/ayu-light.css +20 -13
  117. package/src/styles/themes/ayu-mirage.css +21 -14
  118. package/src/styles/themes/ayu.css +22 -15
  119. package/src/styles/themes/catppuccin-frappe.css +16 -9
  120. package/src/styles/themes/catppuccin-latte.css +15 -8
  121. package/src/styles/themes/catppuccin-macchiato.css +16 -9
  122. package/src/styles/themes/catppuccin-mocha.css +16 -9
  123. package/src/styles/themes/dracula.css +16 -9
  124. package/src/styles/themes/everforest-dark.css +19 -12
  125. package/src/styles/themes/everforest-light.css +21 -14
  126. package/src/styles/themes/gruvbox-dark.css +21 -14
  127. package/src/styles/themes/gruvbox-light.css +20 -13
  128. package/src/styles/themes/kanagawa.css +18 -11
  129. package/src/styles/themes/monokai.css +19 -12
  130. package/src/styles/themes/nord-light.css +7 -0
  131. package/src/styles/themes/nord.css +19 -12
  132. package/src/styles/themes/one-dark.css +16 -9
  133. package/src/styles/themes/rosepine-dawn.css +19 -12
  134. package/src/styles/themes/rosepine-moon.css +20 -13
  135. package/src/styles/themes/rosepine.css +20 -13
  136. package/src/styles/themes/solarized-dark.css +19 -12
  137. package/src/styles/themes/solarized-light.css +19 -12
  138. package/src/styles/themes/tokyonight-day.css +7 -0
  139. package/src/styles/themes/tokyonight-night.css +18 -11
  140. package/src/styles/themes/tokyonight-storm.css +18 -11
  141. package/src/styles/themes/vesper.css +22 -15
@@ -15,7 +15,8 @@ var fontOptions = Object.freeze([
15
15
  familyVariables: {
16
16
  ui: "--font-family-space-grotesk",
17
17
  content: "--font-family-space-grotesk",
18
- code: "--font-family-space-grotesk"
18
+ code: "--font-family-space-grotesk",
19
+ terminal: "--font-family-space-grotesk"
19
20
  },
20
21
  uiTracking: "normal",
21
22
  uiWordSpacing: "normal"
@@ -27,7 +28,8 @@ var fontOptions = Object.freeze([
27
28
  familyVariables: {
28
29
  ui: "--font-family-system",
29
30
  content: "--font-family-system",
30
- code: "--font-family-system-mono"
31
+ code: "--font-family-system-mono",
32
+ terminal: "--font-family-system-mono"
31
33
  },
32
34
  uiTracking: "normal",
33
35
  uiWordSpacing: "normal"
@@ -39,7 +41,8 @@ var fontOptions = Object.freeze([
39
41
  familyVariables: {
40
42
  ui: "--font-family-geist",
41
43
  content: "--font-family-geist",
42
- code: "--font-family-geist"
44
+ code: "--font-family-geist",
45
+ terminal: "--font-family-geist"
43
46
  },
44
47
  uiTracking: "normal",
45
48
  uiWordSpacing: "normal"
@@ -51,7 +54,8 @@ var fontOptions = Object.freeze([
51
54
  familyVariables: {
52
55
  ui: "--font-family-geist-mono",
53
56
  content: "--font-family-geist-mono",
54
- code: "--font-family-geist-mono"
57
+ code: "--font-family-geist-mono",
58
+ terminal: "--font-family-geist-mono"
55
59
  },
56
60
  uiTracking: "-0.03em",
57
61
  uiWordSpacing: "-1.5px"
@@ -63,7 +67,8 @@ var fontOptions = Object.freeze([
63
67
  familyVariables: {
64
68
  ui: "--font-family-jetbrains-mono",
65
69
  content: "--font-family-jetbrains-mono",
66
- code: "--font-family-jetbrains-mono"
70
+ code: "--font-family-jetbrains-mono",
71
+ terminal: "--font-family-jetbrains-mono"
67
72
  },
68
73
  uiTracking: "-0.04em",
69
74
  uiWordSpacing: "-2.5px"
@@ -1 +1 @@
1
- {"version":3,"file":"font-catalog.js","names":[],"sources":["../../src/lib/font-catalog.ts"],"sourcesContent":["/**\n * Stable font-family choices shared by the appearance editor and its host APIs.\n *\n * This stays independent of the theme-token manifest so consumers that need\n * only font settings do not retain the palette catalogue.\n */\n// Explicit catalogue choices resolve to the same named face in every role.\n// System Code is the exception: it resolves to the platform monospace stack.\n/** The platform's own family; the default for every font role. */\nexport const DEFAULT_FONT_ID = 'system'\n\nconst FONT_OPTIONS = [\n {\n id: 'space-grotesk',\n label: 'Space Grotesk',\n description: 'The self-hosted Space Grotesk family.',\n familyVariables: {\n ui: '--font-family-space-grotesk',\n content: '--font-family-space-grotesk',\n code: '--font-family-space-grotesk',\n },\n uiTracking: 'normal',\n uiWordSpacing: 'normal',\n },\n {\n id: DEFAULT_FONT_ID,\n label: 'System',\n description: \"The platform's own interface family and system monospace counterpart.\",\n familyVariables: {\n ui: '--font-family-system',\n content: '--font-family-system',\n code: '--font-family-system-mono',\n },\n uiTracking: 'normal',\n uiWordSpacing: 'normal',\n },\n {\n id: 'geist',\n label: 'Geist',\n description: 'The face cortana already ships. Neutral and wide.',\n familyVariables: {\n ui: '--font-family-geist',\n content: '--font-family-geist',\n code: '--font-family-geist',\n },\n uiTracking: 'normal',\n uiWordSpacing: 'normal',\n },\n {\n id: 'geist-mono',\n label: 'Geist Mono',\n description: 'Monospace throughout, for someone who wants a uniform texture.',\n familyVariables: {\n ui: '--font-family-geist-mono',\n content: '--font-family-geist-mono',\n code: '--font-family-geist-mono',\n },\n uiTracking: '-0.03em',\n uiWordSpacing: '-1.5px',\n },\n {\n id: 'jetbrains-mono',\n label: 'JetBrains Mono',\n description: 'Monospace throughout, with coding ligatures off.',\n familyVariables: {\n ui: '--font-family-jetbrains-mono',\n content: '--font-family-jetbrains-mono',\n code: '--font-family-jetbrains-mono',\n },\n uiTracking: '-0.04em',\n uiWordSpacing: '-2.5px',\n },\n] as const\n\n/** Stable catalogue record type; saved values never contain CSS family strings. */\nexport type FontOption = (typeof FONT_OPTIONS)[number]\n\nexport const fontOptions: readonly FontOption[] = Object.freeze(FONT_OPTIONS)\n"],"mappings":";;;;;;;;AASA,IAAa,kBAAkB;AAoE/B,IAAa,cAAqC,OAAO,OAAO;CAjE9D;EACE,IAAI;EACJ,OAAO;EACP,aAAa;EACb,iBAAiB;GACf,IAAI;GACJ,SAAS;GACT,MAAM;EACR;EACA,YAAY;EACZ,eAAe;CACjB;CACA;EACE,IAAI;EACJ,OAAO;EACP,aAAa;EACb,iBAAiB;GACf,IAAI;GACJ,SAAS;GACT,MAAM;EACR;EACA,YAAY;EACZ,eAAe;CACjB;CACA;EACE,IAAI;EACJ,OAAO;EACP,aAAa;EACb,iBAAiB;GACf,IAAI;GACJ,SAAS;GACT,MAAM;EACR;EACA,YAAY;EACZ,eAAe;CACjB;CACA;EACE,IAAI;EACJ,OAAO;EACP,aAAa;EACb,iBAAiB;GACf,IAAI;GACJ,SAAS;GACT,MAAM;EACR;EACA,YAAY;EACZ,eAAe;CACjB;CACA;EACE,IAAI;EACJ,OAAO;EACP,aAAa;EACb,iBAAiB;GACf,IAAI;GACJ,SAAS;GACT,MAAM;EACR;EACA,YAAY;EACZ,eAAe;CACjB;AAM8D,CAAY"}
1
+ {"version":3,"file":"font-catalog.js","names":[],"sources":["../../src/lib/font-catalog.ts"],"sourcesContent":["/**\n * Stable font-family choices shared by the appearance editor and its host APIs.\n *\n * This stays independent of the theme-token manifest so consumers that need\n * only font settings do not retain the palette catalogue.\n */\n// Explicit catalogue choices resolve to the same named face in every role.\n// System Code is the exception: it resolves to the platform monospace stack.\n/** The platform's own family; the default for every font role. */\nexport const DEFAULT_FONT_ID = 'system'\n\nconst FONT_OPTIONS = [\n {\n id: 'space-grotesk',\n label: 'Space Grotesk',\n description: 'The self-hosted Space Grotesk family.',\n familyVariables: {\n ui: '--font-family-space-grotesk',\n content: '--font-family-space-grotesk',\n code: '--font-family-space-grotesk',\n terminal: '--font-family-space-grotesk',\n },\n uiTracking: 'normal',\n uiWordSpacing: 'normal',\n },\n {\n id: DEFAULT_FONT_ID,\n label: 'System',\n description: \"The platform's own interface family and system monospace counterpart.\",\n familyVariables: {\n ui: '--font-family-system',\n content: '--font-family-system',\n code: '--font-family-system-mono',\n terminal: '--font-family-system-mono',\n },\n uiTracking: 'normal',\n uiWordSpacing: 'normal',\n },\n {\n id: 'geist',\n label: 'Geist',\n description: 'The face cortana already ships. Neutral and wide.',\n familyVariables: {\n ui: '--font-family-geist',\n content: '--font-family-geist',\n code: '--font-family-geist',\n terminal: '--font-family-geist',\n },\n uiTracking: 'normal',\n uiWordSpacing: 'normal',\n },\n {\n id: 'geist-mono',\n label: 'Geist Mono',\n description: 'Monospace throughout, for someone who wants a uniform texture.',\n familyVariables: {\n ui: '--font-family-geist-mono',\n content: '--font-family-geist-mono',\n code: '--font-family-geist-mono',\n terminal: '--font-family-geist-mono',\n },\n uiTracking: '-0.03em',\n uiWordSpacing: '-1.5px',\n },\n {\n id: 'jetbrains-mono',\n label: 'JetBrains Mono',\n description: 'Monospace throughout, with coding ligatures off.',\n familyVariables: {\n ui: '--font-family-jetbrains-mono',\n content: '--font-family-jetbrains-mono',\n code: '--font-family-jetbrains-mono',\n terminal: '--font-family-jetbrains-mono',\n },\n uiTracking: '-0.04em',\n uiWordSpacing: '-2.5px',\n },\n] as const\n\n/** Stable catalogue record type; saved values never contain CSS family strings. */\nexport type FontOption = (typeof FONT_OPTIONS)[number]\n\nexport const fontOptions: readonly FontOption[] = Object.freeze(FONT_OPTIONS)\n"],"mappings":";;;;;;;;AASA,IAAa,kBAAkB;AAyE/B,IAAa,cAAqC,OAAO,OAAO;CAtE9D;EACE,IAAI;EACJ,OAAO;EACP,aAAa;EACb,iBAAiB;GACf,IAAI;GACJ,SAAS;GACT,MAAM;GACN,UAAU;EACZ;EACA,YAAY;EACZ,eAAe;CACjB;CACA;EACE,IAAI;EACJ,OAAO;EACP,aAAa;EACb,iBAAiB;GACf,IAAI;GACJ,SAAS;GACT,MAAM;GACN,UAAU;EACZ;EACA,YAAY;EACZ,eAAe;CACjB;CACA;EACE,IAAI;EACJ,OAAO;EACP,aAAa;EACb,iBAAiB;GACf,IAAI;GACJ,SAAS;GACT,MAAM;GACN,UAAU;EACZ;EACA,YAAY;EACZ,eAAe;CACjB;CACA;EACE,IAAI;EACJ,OAAO;EACP,aAAa;EACb,iBAAiB;GACf,IAAI;GACJ,SAAS;GACT,MAAM;GACN,UAAU;EACZ;EACA,YAAY;EACZ,eAAe;CACjB;CACA;EACE,IAAI;EACJ,OAAO;EACP,aAAa;EACb,iBAAiB;GACf,IAAI;GACJ,SAAS;GACT,MAAM;GACN,UAAU;EACZ;EACA,YAAY;EACZ,eAAe;CACjB;AAM8D,CAAY"}
@@ -21,5 +21,5 @@ export declare function fontZoomShortcut(event: {
21
21
  */
22
22
  export declare function stepAppearanceFontSizes(fonts: unknown, delta: 1 | -1): AppearanceEditorFontSettings;
23
23
  /** @deprecated Use `APPEARANCE_EDITOR_FONT_AXES` from `@adea-ai/ui/lib/appearance-font-settings`. */
24
- export declare const FONT_ZOOM_AXES: readonly ["ui", "content", "code"];
24
+ export declare const FONT_ZOOM_AXES: readonly ["ui", "content", "code", "terminal"];
25
25
  //# sourceMappingURL=font-zoom.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"font-zoom.d.ts","sourceRoot":"","sources":["../../src/lib/font-zoom.ts"],"names":[],"mappings":"AAkBA,OAAO,EAIL,KAAK,4BAA4B,EAClC,MAAM,+BAA+B,CAAA;AAEtC,4CAA4C;AAC5C,MAAM,MAAM,cAAc,GAAG,IAAI,GAAG,KAAK,GAAG,OAAO,CAAA;AAEnD;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE;IACtC,GAAG,EAAE,MAAM,CAAA;IACX,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,OAAO,CAAA;IAChB,MAAM,EAAE,OAAO,CAAA;IACf,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB,GAAG,cAAc,GAAG,SAAS,CAO7B;AAED;;;;GAIG;AACH,wBAAgB,uBAAuB,CACrC,KAAK,EAAE,OAAO,EACd,KAAK,EAAE,CAAC,GAAG,CAAC,CAAC,GACZ,4BAA4B,CAQ9B;AAED,qGAAqG;AACrG,eAAO,MAAM,cAAc,oCAA8B,CAAA"}
1
+ {"version":3,"file":"font-zoom.d.ts","sourceRoot":"","sources":["../../src/lib/font-zoom.ts"],"names":[],"mappings":"AAkBA,OAAO,EAIL,KAAK,4BAA4B,EAClC,MAAM,+BAA+B,CAAA;AAEtC,4CAA4C;AAC5C,MAAM,MAAM,cAAc,GAAG,IAAI,GAAG,KAAK,GAAG,OAAO,CAAA;AAEnD;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE;IACtC,GAAG,EAAE,MAAM,CAAA;IACX,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,OAAO,CAAA;IAChB,MAAM,EAAE,OAAO,CAAA;IACf,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB,GAAG,cAAc,GAAG,SAAS,CAO7B;AAED;;;;GAIG;AACH,wBAAgB,uBAAuB,CACrC,KAAK,EAAE,OAAO,EACd,KAAK,EAAE,CAAC,GAAG,CAAC,CAAC,GACZ,4BAA4B,CAW9B;AAED,qGAAqG;AACrG,eAAO,MAAM,cAAc,gDAA8B,CAAA"}
@@ -33,7 +33,11 @@ function stepAppearanceFontSizes(fonts, delta) {
33
33
  code: {
34
34
  ...current.code,
35
35
  size: step(current.code.size)
36
- }
36
+ },
37
+ ...current.terminal ? { terminal: {
38
+ ...current.terminal,
39
+ size: step(current.terminal.size)
40
+ } } : {}
37
41
  };
38
42
  }
39
43
  /** @deprecated Use `APPEARANCE_EDITOR_FONT_AXES` from `@adea-ai/ui/lib/appearance-font-settings`. */
@@ -1 +1 @@
1
- {"version":3,"file":"font-zoom.js","names":[],"sources":["../../src/lib/font-zoom.ts"],"sourcesContent":["/*\n * Copyright (c) 2026 Wing\n * Licensed under the MIT License.\n *\n * The platform zoom chords, mapped onto Adea's three text roles.\n *\n * macOS (and Windows/Linux) zoom shortcuts: Cmd/Ctrl with `=`, `+`, `-`, or\n * `0`, normally scale the browser's page zoom. In Adea every text element is\n * already tied to one of the three appearance font tiers (the UI tier drives\n * the whole `text-*` scale through `--font-ui-scale`; content and code roles\n * scale through their own tokens), so stepping those tiers reproduces zoom\n * while keeping the app inside its tokenized, persisted type system: the page\n * layout, menus, sheets, and terminals reflow live from the same projection\n * the appearance editor writes.\n *\n * Translated from Adea's accepted port (`packages/ui/src/components/font-zoom.ts`) so\n * the shared provider and Adea run one implementation. See NOTICE.\n */\nimport {\n APPEARANCE_EDITOR_FONT_AXES,\n normalizeAppearanceEditorFontSettings,\n normalizeAppearanceEditorFontSize,\n type AppearanceEditorFontSettings,\n} from '#lib/appearance-font-settings'\n\n/** What the user's zoom chord asked for. */\nexport type FontZoomIntent = 'in' | 'out' | 'reset'\n\n/**\n * Classify the platform zoom chord: Cmd (macOS) or Ctrl (other platforms)\n * with `=`/`+` zooming in, `-` zooming out, and `0` resetting to the System\n * defaults. Unmodified keys, Alt-modified chords, and IME composition never\n * count, so typing and text editing are untouched.\n */\nexport function fontZoomShortcut(event: {\n key: string\n metaKey: boolean\n ctrlKey: boolean\n altKey: boolean\n isComposing?: boolean\n}): FontZoomIntent | undefined {\n if (event.isComposing || event.altKey) return undefined\n if (!(event.metaKey || event.ctrlKey)) return undefined\n if (event.key === '=' || event.key === '+') return 'in'\n if (event.key === '-') return 'out'\n if (event.key === '0') return 'reset'\n return undefined\n}\n\n/**\n * Step every text tier by `delta` pixels, clamped to the range the appearance editor\n * enforces. The axes move together, that is what makes the chord read as zoom, and\n * each keeps its own family choice.\n */\nexport function stepAppearanceFontSizes(\n fonts: unknown,\n delta: 1 | -1\n): AppearanceEditorFontSettings {\n const current = normalizeAppearanceEditorFontSettings(fonts).settings\n const step = (size: number) => normalizeAppearanceEditorFontSize(size + delta, size)\n return {\n ui: { ...current.ui, size: step(current.ui.size) },\n content: { ...current.content, size: step(current.content.size) },\n code: { ...current.code, size: step(current.code.size) },\n }\n}\n\n/** @deprecated Use `APPEARANCE_EDITOR_FONT_AXES` from `@adea-ai/ui/lib/appearance-font-settings`. */\nexport const FONT_ZOOM_AXES = APPEARANCE_EDITOR_FONT_AXES\n"],"mappings":";;;;;;;;AAkCA,SAAgB,iBAAiB,OAMF;CAC7B,IAAI,MAAM,eAAe,MAAM,QAAQ,OAAO,KAAA;CAC9C,IAAI,EAAE,MAAM,WAAW,MAAM,UAAU,OAAO,KAAA;CAC9C,IAAI,MAAM,QAAQ,OAAO,MAAM,QAAQ,KAAK,OAAO;CACnD,IAAI,MAAM,QAAQ,KAAK,OAAO;CAC9B,IAAI,MAAM,QAAQ,KAAK,OAAO;AAEhC;;;;;;AAOA,SAAgB,wBACd,OACA,OAC8B;CAC9B,MAAM,UAAU,sCAAsC,KAAK,CAAC,CAAC;CAC7D,MAAM,QAAQ,SAAiB,kCAAkC,OAAO,OAAO,IAAI;CACnF,OAAO;EACL,IAAI;GAAE,GAAG,QAAQ;GAAI,MAAM,KAAK,QAAQ,GAAG,IAAI;EAAE;EACjD,SAAS;GAAE,GAAG,QAAQ;GAAS,MAAM,KAAK,QAAQ,QAAQ,IAAI;EAAE;EAChE,MAAM;GAAE,GAAG,QAAQ;GAAM,MAAM,KAAK,QAAQ,KAAK,IAAI;EAAE;CACzD;AACF;;AAGA,IAAa,iBAAiB"}
1
+ {"version":3,"file":"font-zoom.js","names":[],"sources":["../../src/lib/font-zoom.ts"],"sourcesContent":["/*\n * Copyright (c) 2026 Wing\n * Licensed under the MIT License.\n *\n * The platform zoom chords, mapped onto Adea's three text roles.\n *\n * macOS (and Windows/Linux) zoom shortcuts: Cmd/Ctrl with `=`, `+`, `-`, or\n * `0`, normally scale the browser's page zoom. In Adea every text element is\n * already tied to one of the three appearance font tiers (the UI tier drives\n * the whole `text-*` scale through `--font-ui-scale`; content and code roles\n * scale through their own tokens), so stepping those tiers reproduces zoom\n * while keeping the app inside its tokenized, persisted type system: the page\n * layout, menus, sheets, and terminals reflow live from the same projection\n * the appearance editor writes.\n *\n * Translated from Adea's accepted port (`packages/ui/src/components/font-zoom.ts`) so\n * the shared provider and Adea run one implementation. See NOTICE.\n */\nimport {\n APPEARANCE_EDITOR_FONT_AXES,\n normalizeAppearanceEditorFontSettings,\n normalizeAppearanceEditorFontSize,\n type AppearanceEditorFontSettings,\n} from '#lib/appearance-font-settings'\n\n/** What the user's zoom chord asked for. */\nexport type FontZoomIntent = 'in' | 'out' | 'reset'\n\n/**\n * Classify the platform zoom chord: Cmd (macOS) or Ctrl (other platforms)\n * with `=`/`+` zooming in, `-` zooming out, and `0` resetting to the System\n * defaults. Unmodified keys, Alt-modified chords, and IME composition never\n * count, so typing and text editing are untouched.\n */\nexport function fontZoomShortcut(event: {\n key: string\n metaKey: boolean\n ctrlKey: boolean\n altKey: boolean\n isComposing?: boolean\n}): FontZoomIntent | undefined {\n if (event.isComposing || event.altKey) return undefined\n if (!(event.metaKey || event.ctrlKey)) return undefined\n if (event.key === '=' || event.key === '+') return 'in'\n if (event.key === '-') return 'out'\n if (event.key === '0') return 'reset'\n return undefined\n}\n\n/**\n * Step every text tier by `delta` pixels, clamped to the range the appearance editor\n * enforces. The axes move together, that is what makes the chord read as zoom, and\n * each keeps its own family choice.\n */\nexport function stepAppearanceFontSizes(\n fonts: unknown,\n delta: 1 | -1\n): AppearanceEditorFontSettings {\n const current = normalizeAppearanceEditorFontSettings(fonts).settings\n const step = (size: number) => normalizeAppearanceEditorFontSize(size + delta, size)\n return {\n ui: { ...current.ui, size: step(current.ui.size) },\n content: { ...current.content, size: step(current.content.size) },\n code: { ...current.code, size: step(current.code.size) },\n ...(current.terminal\n ? { terminal: { ...current.terminal, size: step(current.terminal.size) } }\n : {}),\n }\n}\n\n/** @deprecated Use `APPEARANCE_EDITOR_FONT_AXES` from `@adea-ai/ui/lib/appearance-font-settings`. */\nexport const FONT_ZOOM_AXES = APPEARANCE_EDITOR_FONT_AXES\n"],"mappings":";;;;;;;;AAkCA,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,CAAC,YAAY,GAAG,WAAW,EAAE,YAAY,CAAC,CAiMvF,CAAA;AAED,yEAAyE;AACzE,eAAO,MAAM,qBAAqB,EAAE,SAAS,YAAY,EA6BxD,CAAA;AAED,6DAA6D;AAC7D,eAAO,MAAM,sBAAsB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAGnE,CAAA;AAED,6FAA6F;AAC7F,eAAO,MAAM,oBAAoB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAqC7E,CAAA"}
1
+ {"version":3,"file":"theme-defaults.generated.d.ts","sourceRoot":"","sources":["../../src/lib/theme-defaults.generated.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AACnD,OAAO,KAAK,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAErE,uEAAuE;AACvE,eAAO,MAAM,WAAW,EAAE,SAAS,CAAC,SAAS,CAAC,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,GAAG,MAAM,CAAC,CAAC,EAmCvF,CAAA;AAED,mDAAmD;AACnD,eAAO,MAAM,gBAAgB,EAAE,QAAQ,CAAC,MAAM,CAAC,YAAY,GAAG,WAAW,EAAE,YAAY,CAAC,CA+MvF,CAAA;AAED,yEAAyE;AACzE,eAAO,MAAM,qBAAqB,EAAE,SAAS,YAAY,EA6BxD,CAAA;AAED,6DAA6D;AAC7D,eAAO,MAAM,sBAAsB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAGnE,CAAA;AAED,6FAA6F;AAC7F,eAAO,MAAM,oBAAoB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAmD7E,CAAA"}
@@ -106,21 +106,28 @@ var DEFAULT_VARIANTS = {
106
106
  brightWhite: "oklch(0.6658 0.0181 250.92)"
107
107
  },
108
108
  editor: {
109
- keyword: "oklch(0.5143 0.1668 301.69)",
110
- string: "oklch(0.4771 0.1809 145.62)",
111
- number: "oklch(0.5016 0.1401 79.91)",
112
- comment: "oklch(0.4849 0.0196 251.02)",
113
- function: "oklch(0.4973 0.1518 253.31)",
114
- variable: "oklch(0.2785 0.0132 253.04)",
115
- type: "oklch(0.5375 0.1155 202.14)",
116
- tag: "oklch(0.5165 0.1626 25.78)",
117
- attribute: "oklch(0.5016 0.1401 79.91)",
118
- operator: "oklch(0.2785 0.0132 253.04)",
119
- heading: "oklch(0.5143 0.1668 301.69)",
120
- link: "oklch(0.4973 0.1518 253.31)",
121
- diffAdd: "oklch(0.4771 0.1809 145.62)",
122
- diffDelete: "oklch(0.5165 0.1626 25.78)",
123
- diffHunk: "oklch(0.5375 0.1155 202.14)",
109
+ keyword: "oklch(0.5517 0.2051 24.53)",
110
+ storage: "oklch(0.5517 0.2051 24.53)",
111
+ string: "oklch(0.321 0.1084 259.11)",
112
+ number: "oklch(0.4509 0.1641 258.18)",
113
+ comment: "oklch(0.5651 0.0189 250.97)",
114
+ function: "oklch(0.5631 0.2069 294.97)",
115
+ variable: "oklch(0.2542 0.0111 254.04)",
116
+ parameter: "oklch(0.4657 0.1371 43.35)",
117
+ property: "oklch(0.2542 0.0111 254.04)",
118
+ field: "oklch(0.2542 0.0111 254.04)",
119
+ member: "oklch(0.2542 0.0111 254.04)",
120
+ type: "oklch(0.4657 0.1371 43.35)",
121
+ tag: "oklch(0.4391 0.1179 148.07)",
122
+ attribute: "oklch(0.4509 0.1641 258.18)",
123
+ operator: "oklch(0.5517 0.2051 24.53)",
124
+ heading: "oklch(0.4509 0.1641 258.18)",
125
+ link: "oklch(0.2542 0.0111 254.04)",
126
+ constant: "oklch(0.4509 0.1641 258.18)",
127
+ punctuation: "oklch(0.2542 0.0111 254.04)",
128
+ diffAdd: "oklch(0.4391 0.1179 148.07)",
129
+ diffDelete: "oklch(0.387 0.1507 20.77)",
130
+ diffHunk: "oklch(0.5631 0.2069 294.97)",
124
131
  searchMatch: "oklch(0.5016 0.1401 79.91)"
125
132
  },
126
133
  chart: [
@@ -205,21 +212,28 @@ var DEFAULT_VARIANTS = {
205
212
  brightWhite: "oklch(1 0 0)"
206
213
  },
207
214
  editor: {
208
- keyword: "oklch(0.7323 0.1668 301.69)",
209
- string: "oklch(0.6951 0.1809 145.62)",
210
- number: "oklch(0.7196 0.1401 79.91)",
211
- comment: "oklch(0.5627 0.0094 301.22)",
212
- function: "oklch(0.7153 0.1518 253.31)",
213
- variable: "oklch(0.786 0.0087 301.32)",
214
- type: "oklch(0.7555 0.1155 202.14)",
215
- tag: "oklch(0.7345 0.1626 25.78)",
216
- attribute: "oklch(0.7196 0.1401 79.91)",
217
- operator: "oklch(0.786 0.0087 301.32)",
218
- heading: "oklch(0.7323 0.1668 301.69)",
219
- link: "oklch(0.7153 0.1518 253.31)",
220
- diffAdd: "oklch(0.6951 0.1809 145.62)",
221
- diffDelete: "oklch(0.7345 0.1626 25.78)",
222
- diffHunk: "oklch(0.7555 0.1155 202.14)",
215
+ keyword: "oklch(0.7345 0.1626 25.78)",
216
+ storage: "oklch(0.7345 0.1626 25.78)",
217
+ string: "oklch(0.856 0.0768 244.09)",
218
+ number: "oklch(0.7857 0.1153 246.66)",
219
+ comment: "oklch(0.6625 0.0181 250.92)",
220
+ function: "oklch(0.8005 0.1275 305.86)",
221
+ variable: "oklch(0.9425 0.0111 243.66)",
222
+ parameter: "oklch(0.7991 0.1412 60.1)",
223
+ property: "oklch(0.9425 0.0111 243.66)",
224
+ field: "oklch(0.9425 0.0111 243.66)",
225
+ member: "oklch(0.9425 0.0111 243.66)",
226
+ type: "oklch(0.7991 0.1412 60.1)",
227
+ tag: "oklch(0.8416 0.1641 145.75)",
228
+ attribute: "oklch(0.7857 0.1153 246.66)",
229
+ operator: "oklch(0.7345 0.1626 25.78)",
230
+ heading: "oklch(0.7857 0.1153 246.66)",
231
+ link: "oklch(0.9425 0.0111 243.66)",
232
+ constant: "oklch(0.7857 0.1153 246.66)",
233
+ punctuation: "oklch(0.9425 0.0111 243.66)",
234
+ diffAdd: "oklch(0.8416 0.1641 145.75)",
235
+ diffDelete: "oklch(0.8014 0.1134 25.81)",
236
+ diffHunk: "oklch(0.8005 0.1275 305.86)",
223
237
  searchMatch: "oklch(0.7196 0.1401 79.91)"
224
238
  },
225
239
  chart: [
@@ -276,39 +290,53 @@ var DEFAULT_PRIMARY_SUBTLE = {
276
290
  /** Each default's `--editor-*` ramp held to 4.5:1 on its canvas (`editorRoles: 'floor'`). */
277
291
  var DEFAULT_FLOOR_EDITOR = {
278
292
  "adea-light": {
279
- keyword: "#7a49b5",
280
- string: "#00711f",
281
- number: "#825c00",
282
- comment: "#57606a",
283
- function: "#0662b5",
284
- variable: "#24292f",
285
- type: "#007d85",
286
- tag: "#b23533",
287
- attribute: "#825c00",
288
- operator: "#24292f",
289
- heading: "#7a49b5",
290
- link: "#0662b5",
291
- diffAdd: "#00711f",
292
- diffDelete: "#b23533",
293
- diffHunk: "#007d85",
293
+ keyword: "#cf222e",
294
+ storage: "#cf222e",
295
+ string: "#0a3069",
296
+ number: "#0550ae",
297
+ comment: "#6e7781",
298
+ function: "#8250df",
299
+ variable: "#1f2328",
300
+ parameter: "#953800",
301
+ property: "#1f2328",
302
+ field: "#1f2328",
303
+ member: "#1f2328",
304
+ type: "#953800",
305
+ tag: "#116329",
306
+ attribute: "#0550ae",
307
+ operator: "#cf222e",
308
+ heading: "#0550ae",
309
+ link: "#1f2328",
310
+ constant: "#0550ae",
311
+ punctuation: "#1f2328",
312
+ diffAdd: "#116329",
313
+ diffDelete: "#82071e",
314
+ diffHunk: "#8250df",
294
315
  searchMatch: "#825c00"
295
316
  },
296
317
  "adea-dark": {
297
- keyword: "#bc8cff",
298
- string: "#3fb950",
299
- number: "#d29922",
300
- comment: "#7d7b81",
301
- function: "#58a6ff",
302
- variable: "#bab8be",
303
- type: "#39c5cf",
304
- tag: "#ff7b72",
305
- attribute: "#d29922",
306
- operator: "#bab8be",
307
- heading: "#bc8cff",
308
- link: "#58a6ff",
309
- diffAdd: "#3fb950",
310
- diffDelete: "#ff7b72",
311
- diffHunk: "#39c5cf",
318
+ keyword: "#ff7b72",
319
+ storage: "#ff7b72",
320
+ string: "#a5d6ff",
321
+ number: "#79c0ff",
322
+ comment: "#8b949e",
323
+ function: "#d2a8ff",
324
+ variable: "#e6edf3",
325
+ parameter: "#ffa657",
326
+ property: "#e6edf3",
327
+ field: "#e6edf3",
328
+ member: "#e6edf3",
329
+ type: "#ffa657",
330
+ tag: "#7ee787",
331
+ attribute: "#79c0ff",
332
+ operator: "#ff7b72",
333
+ heading: "#79c0ff",
334
+ link: "#e6edf3",
335
+ constant: "#79c0ff",
336
+ punctuation: "#e6edf3",
337
+ diffAdd: "#7ee787",
338
+ diffDelete: "#ffa198",
339
+ diffHunk: "#d2a8ff",
312
340
  searchMatch: "#d29922"
313
341
  }
314
342
  };
@@ -1 +1 @@
1
- {"version":3,"file":"theme-defaults.generated.js","names":[],"sources":["../../src/lib/theme-defaults.generated.ts"],"sourcesContent":["/*\n * GENERATED by scripts/build-theme-defaults.ts from @adea-ai/themes. Do not edit.\n * Run `bun run theme:defaults` after the catalogue changes;\n * tests/theme-defaults.test.ts fails when this file is stale.\n */\nimport type { AccentPreset } from '@adea-ai/themes'\nimport type { ThemeEditorPalette, ThemeVariant } from './theme-types'\n\n/** Every catalogue theme id and its appearance, in catalogue order. */\nexport const THEME_INDEX: readonly (readonly [id: string, appearance: 'light' | 'dark'])[] = [\n ['adea-dark', 'dark'],\n ['adea-dark-colorblind', 'dark'],\n ['adea-dark-high-contrast', 'dark'],\n ['adea-light', 'light'],\n ['adea-light-colorblind', 'light'],\n ['adea-light-high-contrast', 'light'],\n ['aardvark-blue', 'dark'],\n ['aardvark-ink', 'dark'],\n ['ayu', 'dark'],\n ['ayu-light', 'light'],\n ['ayu-mirage', 'dark'],\n ['catppuccin-frappe', 'dark'],\n ['catppuccin-latte', 'light'],\n ['catppuccin-macchiato', 'dark'],\n ['catppuccin-mocha', 'dark'],\n ['dracula', 'dark'],\n ['everforest-dark', 'dark'],\n ['everforest-light', 'light'],\n ['gruvbox-dark', 'dark'],\n ['gruvbox-light', 'light'],\n ['kanagawa', 'dark'],\n ['monokai', 'dark'],\n ['nord', 'dark'],\n ['nord-light', 'light'],\n ['one-dark', 'dark'],\n ['rosepine', 'dark'],\n ['rosepine-dawn', 'light'],\n ['rosepine-moon', 'dark'],\n ['solarized-dark', 'dark'],\n ['solarized-light', 'light'],\n ['tokyonight-day', 'light'],\n ['tokyonight-night', 'dark'],\n ['tokyonight-storm', 'dark'],\n ['vesper', 'dark'],\n]\n\n/** The default light and dark themes, complete. */\nexport const DEFAULT_VARIANTS: Readonly<Record<'adea-light' | 'adea-dark', ThemeVariant>> = {\n 'adea-light': {\n id: 'adea-light',\n family: 'adea',\n familyLabel: 'Adea',\n label: 'Light',\n appearance: 'light',\n description:\n \"The default light theme: GitHub's own white canvas carrying the dark theme's hues, transposed to survive on paper, with the family violet accent.\",\n colors: {\n background: 'oklch(1 0 0)',\n foreground: 'oklch(0.2542 0.0111 254.04)',\n card: 'oklch(0.965 0 0)',\n cardForeground: 'oklch(0.2542 0.0111 254.04)',\n popover: 'oklch(0.935 0 0)',\n popoverForeground: 'oklch(0.2542 0.0111 254.04)',\n primary: 'oklch(0.5143 0.1668 301.69)',\n primaryForeground: 'oklch(1 0 0)',\n secondary: 'oklch(0.965 0 0)',\n secondaryForeground: 'oklch(0.2542 0.0111 254.04)',\n muted: 'oklch(0.965 0 0)',\n mutedForeground: 'oklch(0.4929 0.0076 254.04)',\n accent: 'oklch(0.9 0 0)',\n accentForeground: 'oklch(0.2542 0.0111 254.04)',\n destructive: 'oklch(0.5165 0.1626 25.78)',\n destructiveForeground: 'oklch(1 0 0)',\n destructiveSubtle: 'oklch(0.9323 0.0228 25.78)',\n destructiveAction: 'oklch(0.5165 0.1626 25.78)',\n destructiveActionForeground: 'oklch(1 0 0)',\n success: 'oklch(0.4771 0.1809 145.62)',\n successForeground: 'oklch(1 0 0)',\n successSubtle: 'oklch(0.9268 0.0253 145.62)',\n warning: 'oklch(0.5016 0.1401 79.91)',\n warningForeground: 'oklch(1 0 0)',\n warningSubtle: 'oklch(0.9302 0.0196 79.91)',\n info: 'oklch(0.5375 0.1155 202.14)',\n infoForeground: 'oklch(1 0 0)',\n infoSubtle: 'oklch(0.9353 0.0162 202.14)',\n border: 'oklch(0.85 0 0)',\n input: 'oklch(0.85 0 0)',\n ring: 'oklch(0.5143 0.1668 301.69)',\n sidebar: 'oklch(0.965 0 0)',\n sidebarForeground: 'oklch(0.2542 0.0111 254.04)',\n sidebarAccent: 'oklch(0.9 0 0)',\n sidebarBorder: 'oklch(0.85 0 0)',\n sidebarMutedForeground: 'oklch(0.4929 0.0076 254.04)',\n },\n terminal: {\n background: 'oklch(1 0 0)',\n foreground: 'oklch(0.2542 0.0111 254.04)',\n cursor: 'oklch(0.5399 0.1906 257.48)',\n selection: 'oklch(0.2542 0.0111 254.04)',\n black: 'oklch(0.2785 0.0132 253.04)',\n red: 'oklch(0.5165 0.1626 25.78)',\n green: 'oklch(0.4771 0.1809 145.62)',\n yellow: 'oklch(0.5016 0.1401 79.91)',\n blue: 'oklch(0.4973 0.1518 253.31)',\n magenta: 'oklch(0.5143 0.1668 301.69)',\n cyan: 'oklch(0.5375 0.1155 202.14)',\n white: 'oklch(0.5651 0.0189 250.97)',\n brightBlack: 'oklch(0.4849 0.0196 251.02)',\n brightRed: 'oklch(0.5834 0.1134 25.81)',\n brightGreen: 'oklch(0.5537 0.188 145.48)',\n brightYellow: 'oklch(0.5724 0.1386 85.24)',\n brightBlue: 'oklch(0.5677 0.1153 246.66)',\n brightMagenta: 'oklch(0.5825 0.1275 305.86)',\n brightCyan: 'oklch(0.5856 0.1107 201.78)',\n brightWhite: 'oklch(0.6658 0.0181 250.92)',\n },\n editor: {\n keyword: 'oklch(0.5143 0.1668 301.69)',\n string: 'oklch(0.4771 0.1809 145.62)',\n number: 'oklch(0.5016 0.1401 79.91)',\n comment: 'oklch(0.4849 0.0196 251.02)',\n function: 'oklch(0.4973 0.1518 253.31)',\n variable: 'oklch(0.2785 0.0132 253.04)',\n type: 'oklch(0.5375 0.1155 202.14)',\n tag: 'oklch(0.5165 0.1626 25.78)',\n attribute: 'oklch(0.5016 0.1401 79.91)',\n operator: 'oklch(0.2785 0.0132 253.04)',\n heading: 'oklch(0.5143 0.1668 301.69)',\n link: 'oklch(0.4973 0.1518 253.31)',\n diffAdd: 'oklch(0.4771 0.1809 145.62)',\n diffDelete: 'oklch(0.5165 0.1626 25.78)',\n diffHunk: 'oklch(0.5375 0.1155 202.14)',\n searchMatch: 'oklch(0.5016 0.1401 79.91)',\n },\n chart: [\n 'oklch(0.4973 0.1518 253.31)',\n 'oklch(0.5143 0.1668 301.69)',\n 'oklch(0.5375 0.1155 202.14)',\n 'oklch(0.4771 0.1809 145.62)',\n 'oklch(0.5016 0.1401 79.91)',\n 'oklch(0.5165 0.1626 25.78)',\n ],\n provenance: { source: 'Adea', url: 'https://github.com/adea-ai/themes', license: 'Apache-2.0' },\n },\n 'adea-dark': {\n id: 'adea-dark',\n family: 'adea',\n familyLabel: 'Adea',\n label: 'Dark',\n appearance: 'dark',\n description:\n 'The default dark theme: GitHub Dark Default with the canvas re-greyed to a violet-leaning neutral and the family violet accent, kept as a composition so the default can diverge from it one slot at a time.',\n colors: {\n background: 'oklch(0.1756 0.0063 300.91)',\n foreground: 'oklch(0.942 0.0054 297.72)',\n card: 'oklch(0.2106 0.0076 300.91)',\n cardForeground: 'oklch(0.942 0.0054 297.72)',\n popover: 'oklch(0.2406 0.0088 300.91)',\n popoverForeground: 'oklch(0.942 0.0054 297.72)',\n primary: 'oklch(0.7323 0.1668 301.69)',\n primaryForeground: 'oklch(0.1756 0.0063 300.91)',\n secondary: 'oklch(0.2106 0.0076 300.91)',\n secondaryForeground: 'oklch(0.942 0.0054 297.72)',\n muted: 'oklch(0.2106 0.0076 300.91)',\n mutedForeground: 'oklch(0.6967 0.0057 298.74)',\n accent: 'oklch(0.2756 0.0101 300.91)',\n accentForeground: 'oklch(0.942 0.0054 297.72)',\n destructive: 'oklch(0.7345 0.1626 25.78)',\n destructiveForeground: 'oklch(0.1756 0.0063 300.91)',\n destructiveSubtle: 'oklch(0.2538 0.0282 312.79)',\n destructiveAction: 'oklch(0.7345 0.1626 25.78)',\n destructiveActionForeground: 'oklch(0.1756 0.0063 300.91)',\n success: 'oklch(0.6951 0.1809 145.62)',\n successForeground: 'oklch(0.1756 0.0063 300.91)',\n successSubtle: 'oklch(0.2483 0.0307 279.17)',\n warning: 'oklch(0.7196 0.1401 79.91)',\n warningForeground: 'oklch(0.1756 0.0063 300.91)',\n warningSubtle: 'oklch(0.2518 0.025 320.37)',\n info: 'oklch(0.7555 0.1155 202.14)',\n infoForeground: 'oklch(0.1756 0.0063 300.91)',\n infoSubtle: 'oklch(0.2568 0.0216 287.08)',\n border: 'oklch(0.3256 0.0057 300.91)',\n input: 'oklch(0.3256 0.0057 300.91)',\n ring: 'oklch(0.7323 0.1668 301.69)',\n sidebar: 'oklch(0.2106 0.0076 300.91)',\n sidebarForeground: 'oklch(0.942 0.0054 297.72)',\n sidebarAccent: 'oklch(0.2756 0.0101 300.91)',\n sidebarBorder: 'oklch(0.3256 0.0057 300.91)',\n sidebarMutedForeground: 'oklch(0.6967 0.0057 298.74)',\n },\n terminal: {\n background: 'oklch(0.1756 0.0063 300.91)',\n foreground: 'oklch(0.942 0.0054 297.72)',\n cursor: 'oklch(0.6182 0.1935 258.33)',\n selection: 'oklch(0.9425 0.0111 243.66)',\n black: 'oklch(0.4243 0.0101 301.11)',\n red: 'oklch(0.7345 0.1626 25.78)',\n green: 'oklch(0.6951 0.1809 145.62)',\n yellow: 'oklch(0.7196 0.1401 79.91)',\n blue: 'oklch(0.7153 0.1518 253.31)',\n magenta: 'oklch(0.7323 0.1668 301.69)',\n cyan: 'oklch(0.7555 0.1155 202.14)',\n white: 'oklch(0.786 0.0087 301.32)',\n brightBlack: 'oklch(0.5627 0.0094 301.22)',\n brightRed: 'oklch(0.8014 0.1134 25.81)',\n brightGreen: 'oklch(0.7717 0.188 145.48)',\n brightYellow: 'oklch(0.7904 0.1386 85.24)',\n brightBlue: 'oklch(0.7857 0.1153 246.66)',\n brightMagenta: 'oklch(0.8005 0.1275 305.86)',\n brightCyan: 'oklch(0.8036 0.1107 201.78)',\n brightWhite: 'oklch(1 0 0)',\n },\n editor: {\n keyword: 'oklch(0.7323 0.1668 301.69)',\n string: 'oklch(0.6951 0.1809 145.62)',\n number: 'oklch(0.7196 0.1401 79.91)',\n comment: 'oklch(0.5627 0.0094 301.22)',\n function: 'oklch(0.7153 0.1518 253.31)',\n variable: 'oklch(0.786 0.0087 301.32)',\n type: 'oklch(0.7555 0.1155 202.14)',\n tag: 'oklch(0.7345 0.1626 25.78)',\n attribute: 'oklch(0.7196 0.1401 79.91)',\n operator: 'oklch(0.786 0.0087 301.32)',\n heading: 'oklch(0.7323 0.1668 301.69)',\n link: 'oklch(0.7153 0.1518 253.31)',\n diffAdd: 'oklch(0.6951 0.1809 145.62)',\n diffDelete: 'oklch(0.7345 0.1626 25.78)',\n diffHunk: 'oklch(0.7555 0.1155 202.14)',\n searchMatch: 'oklch(0.7196 0.1401 79.91)',\n },\n chart: [\n 'oklch(0.7153 0.1518 253.31)',\n 'oklch(0.7323 0.1668 301.69)',\n 'oklch(0.7555 0.1155 202.14)',\n 'oklch(0.6951 0.1809 145.62)',\n 'oklch(0.7196 0.1401 79.91)',\n 'oklch(0.7345 0.1626 25.78)',\n ],\n provenance: { source: 'Adea', url: 'https://github.com/adea-ai/themes', license: 'Apache-2.0' },\n },\n}\n\n/** The accents the default light/dark pair offers beside the presets. */\nexport const DEFAULT_THEME_ACCENTS: readonly AccentPreset[] = [\n {\n id: 'ansi-blue',\n label: 'Blue',\n description: \"The theme's own blue colour.\",\n light: 'oklch(0.4973 0.1518 253.31)',\n dark: 'oklch(0.7153 0.1518 253.31)',\n },\n {\n id: 'ansi-magenta',\n label: 'Magenta',\n description: \"The theme's own magenta colour.\",\n light: 'oklch(0.5143 0.1668 301.69)',\n dark: 'oklch(0.7323 0.1668 301.69)',\n },\n {\n id: 'ansi-cyan',\n label: 'Cyan',\n description: \"The theme's own cyan colour.\",\n light: 'oklch(0.5375 0.1155 202.14)',\n dark: 'oklch(0.7555 0.1155 202.14)',\n },\n {\n id: 'ansi-green',\n label: 'Green',\n description: \"The theme's own green colour.\",\n light: 'oklch(0.4771 0.1809 145.62)',\n dark: 'oklch(0.6951 0.1809 145.62)',\n },\n]\n\n/** Each default's measured `--primary-subtle` expression. */\nexport const DEFAULT_PRIMARY_SUBTLE: Readonly<Record<string, string>> = {\n 'adea-light': 'color-mix(in oklch, var(--primary) 10%, transparent)',\n 'adea-dark': 'color-mix(in oklch, var(--primary) 16%, transparent)',\n}\n\n/** Each default's `--editor-*` ramp held to 4.5:1 on its canvas (`editorRoles: 'floor'`). */\nexport const DEFAULT_FLOOR_EDITOR: Readonly<Record<string, ThemeEditorPalette>> = {\n 'adea-light': {\n keyword: '#7a49b5',\n string: '#00711f',\n number: '#825c00',\n comment: '#57606a',\n function: '#0662b5',\n variable: '#24292f',\n type: '#007d85',\n tag: '#b23533',\n attribute: '#825c00',\n operator: '#24292f',\n heading: '#7a49b5',\n link: '#0662b5',\n diffAdd: '#00711f',\n diffDelete: '#b23533',\n diffHunk: '#007d85',\n searchMatch: '#825c00',\n },\n 'adea-dark': {\n keyword: '#bc8cff',\n string: '#3fb950',\n number: '#d29922',\n comment: '#7d7b81',\n function: '#58a6ff',\n variable: '#bab8be',\n type: '#39c5cf',\n tag: '#ff7b72',\n attribute: '#d29922',\n operator: '#bab8be',\n heading: '#bc8cff',\n link: '#58a6ff',\n diffAdd: '#3fb950',\n diffDelete: '#ff7b72',\n diffHunk: '#39c5cf',\n searchMatch: '#d29922',\n },\n}\n"],"mappings":";;AASA,IAAa,cAAgF;CAC3F,CAAC,aAAa,MAAM;CACpB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EACV,MAAM;EACN,KAAK;EACL,WAAW;EACX,UAAU;EACV,SAAS;EACT,MAAM;EACN,SAAS;EACT,YAAY;EACZ,UAAU;EACV,aAAa;CACf;AACF"}
1
+ {"version":3,"file":"theme-defaults.generated.js","names":[],"sources":["../../src/lib/theme-defaults.generated.ts"],"sourcesContent":["/*\n * GENERATED by scripts/build-theme-defaults.ts from @adea-ai/themes. Do not edit.\n * Run `bun run theme:defaults` after the catalogue changes;\n * tests/theme-defaults.test.ts fails when this file is stale.\n */\nimport type { AccentPreset } from '@adea-ai/themes'\nimport type { ThemeEditorPalette, ThemeVariant } from './theme-types'\n\n/** Every catalogue theme id and its appearance, in catalogue order. */\nexport const THEME_INDEX: readonly (readonly [id: string, appearance: 'light' | 'dark'])[] = [\n ['adea-dark', 'dark'],\n ['adea-dark-colorblind', 'dark'],\n ['adea-dark-high-contrast', 'dark'],\n ['adea-light', 'light'],\n ['adea-light-colorblind', 'light'],\n ['adea-light-high-contrast', 'light'],\n ['aardvark-blue', 'dark'],\n ['aardvark-ink', 'dark'],\n ['ayu', 'dark'],\n ['ayu-light', 'light'],\n ['ayu-mirage', 'dark'],\n ['catppuccin-frappe', 'dark'],\n ['catppuccin-latte', 'light'],\n ['catppuccin-macchiato', 'dark'],\n ['catppuccin-mocha', 'dark'],\n ['dracula', 'dark'],\n ['everforest-dark', 'dark'],\n ['everforest-light', 'light'],\n ['gruvbox-dark', 'dark'],\n ['gruvbox-light', 'light'],\n ['kanagawa', 'dark'],\n ['monokai', 'dark'],\n ['nord', 'dark'],\n ['nord-light', 'light'],\n ['one-dark', 'dark'],\n ['rosepine', 'dark'],\n ['rosepine-dawn', 'light'],\n ['rosepine-moon', 'dark'],\n ['solarized-dark', 'dark'],\n ['solarized-light', 'light'],\n ['tokyonight-day', 'light'],\n ['tokyonight-night', 'dark'],\n ['tokyonight-storm', 'dark'],\n ['vesper', 'dark'],\n]\n\n/** The default light and dark themes, complete. */\nexport const DEFAULT_VARIANTS: Readonly<Record<'adea-light' | 'adea-dark', ThemeVariant>> = {\n 'adea-light': {\n id: 'adea-light',\n family: 'adea',\n familyLabel: 'Adea',\n label: 'Light',\n appearance: 'light',\n description:\n \"The default light theme: GitHub's own white canvas carrying the dark theme's hues, transposed to survive on paper, with the family violet accent.\",\n colors: {\n background: 'oklch(1 0 0)',\n foreground: 'oklch(0.2542 0.0111 254.04)',\n card: 'oklch(0.965 0 0)',\n cardForeground: 'oklch(0.2542 0.0111 254.04)',\n popover: 'oklch(0.935 0 0)',\n popoverForeground: 'oklch(0.2542 0.0111 254.04)',\n primary: 'oklch(0.5143 0.1668 301.69)',\n primaryForeground: 'oklch(1 0 0)',\n secondary: 'oklch(0.965 0 0)',\n secondaryForeground: 'oklch(0.2542 0.0111 254.04)',\n muted: 'oklch(0.965 0 0)',\n mutedForeground: 'oklch(0.4929 0.0076 254.04)',\n accent: 'oklch(0.9 0 0)',\n accentForeground: 'oklch(0.2542 0.0111 254.04)',\n destructive: 'oklch(0.5165 0.1626 25.78)',\n destructiveForeground: 'oklch(1 0 0)',\n destructiveSubtle: 'oklch(0.9323 0.0228 25.78)',\n destructiveAction: 'oklch(0.5165 0.1626 25.78)',\n destructiveActionForeground: 'oklch(1 0 0)',\n success: 'oklch(0.4771 0.1809 145.62)',\n successForeground: 'oklch(1 0 0)',\n successSubtle: 'oklch(0.9268 0.0253 145.62)',\n warning: 'oklch(0.5016 0.1401 79.91)',\n warningForeground: 'oklch(1 0 0)',\n warningSubtle: 'oklch(0.9302 0.0196 79.91)',\n info: 'oklch(0.5375 0.1155 202.14)',\n infoForeground: 'oklch(1 0 0)',\n infoSubtle: 'oklch(0.9353 0.0162 202.14)',\n border: 'oklch(0.85 0 0)',\n input: 'oklch(0.85 0 0)',\n ring: 'oklch(0.5143 0.1668 301.69)',\n sidebar: 'oklch(0.965 0 0)',\n sidebarForeground: 'oklch(0.2542 0.0111 254.04)',\n sidebarAccent: 'oklch(0.9 0 0)',\n sidebarBorder: 'oklch(0.85 0 0)',\n sidebarMutedForeground: 'oklch(0.4929 0.0076 254.04)',\n },\n terminal: {\n background: 'oklch(1 0 0)',\n foreground: 'oklch(0.2542 0.0111 254.04)',\n cursor: 'oklch(0.5399 0.1906 257.48)',\n selection: 'oklch(0.2542 0.0111 254.04)',\n black: 'oklch(0.2785 0.0132 253.04)',\n red: 'oklch(0.5165 0.1626 25.78)',\n green: 'oklch(0.4771 0.1809 145.62)',\n yellow: 'oklch(0.5016 0.1401 79.91)',\n blue: 'oklch(0.4973 0.1518 253.31)',\n magenta: 'oklch(0.5143 0.1668 301.69)',\n cyan: 'oklch(0.5375 0.1155 202.14)',\n white: 'oklch(0.5651 0.0189 250.97)',\n brightBlack: 'oklch(0.4849 0.0196 251.02)',\n brightRed: 'oklch(0.5834 0.1134 25.81)',\n brightGreen: 'oklch(0.5537 0.188 145.48)',\n brightYellow: 'oklch(0.5724 0.1386 85.24)',\n brightBlue: 'oklch(0.5677 0.1153 246.66)',\n brightMagenta: 'oklch(0.5825 0.1275 305.86)',\n brightCyan: 'oklch(0.5856 0.1107 201.78)',\n brightWhite: 'oklch(0.6658 0.0181 250.92)',\n },\n editor: {\n keyword: 'oklch(0.5517 0.2051 24.53)',\n storage: 'oklch(0.5517 0.2051 24.53)',\n string: 'oklch(0.321 0.1084 259.11)',\n number: 'oklch(0.4509 0.1641 258.18)',\n comment: 'oklch(0.5651 0.0189 250.97)',\n function: 'oklch(0.5631 0.2069 294.97)',\n variable: 'oklch(0.2542 0.0111 254.04)',\n parameter: 'oklch(0.4657 0.1371 43.35)',\n property: 'oklch(0.2542 0.0111 254.04)',\n field: 'oklch(0.2542 0.0111 254.04)',\n member: 'oklch(0.2542 0.0111 254.04)',\n type: 'oklch(0.4657 0.1371 43.35)',\n tag: 'oklch(0.4391 0.1179 148.07)',\n attribute: 'oklch(0.4509 0.1641 258.18)',\n operator: 'oklch(0.5517 0.2051 24.53)',\n heading: 'oklch(0.4509 0.1641 258.18)',\n link: 'oklch(0.2542 0.0111 254.04)',\n constant: 'oklch(0.4509 0.1641 258.18)',\n punctuation: 'oklch(0.2542 0.0111 254.04)',\n diffAdd: 'oklch(0.4391 0.1179 148.07)',\n diffDelete: 'oklch(0.387 0.1507 20.77)',\n diffHunk: 'oklch(0.5631 0.2069 294.97)',\n searchMatch: 'oklch(0.5016 0.1401 79.91)',\n },\n chart: [\n 'oklch(0.4973 0.1518 253.31)',\n 'oklch(0.5143 0.1668 301.69)',\n 'oklch(0.5375 0.1155 202.14)',\n 'oklch(0.4771 0.1809 145.62)',\n 'oklch(0.5016 0.1401 79.91)',\n 'oklch(0.5165 0.1626 25.78)',\n ],\n provenance: { source: 'Adea', url: 'https://github.com/adea-ai/themes', license: 'Apache-2.0' },\n },\n 'adea-dark': {\n id: 'adea-dark',\n family: 'adea',\n familyLabel: 'Adea',\n label: 'Dark',\n appearance: 'dark',\n description:\n 'The default dark theme: GitHub Dark Default with the canvas re-greyed to a violet-leaning neutral and the family violet accent, kept as a composition so the default can diverge from it one slot at a time.',\n colors: {\n background: 'oklch(0.1756 0.0063 300.91)',\n foreground: 'oklch(0.942 0.0054 297.72)',\n card: 'oklch(0.2106 0.0076 300.91)',\n cardForeground: 'oklch(0.942 0.0054 297.72)',\n popover: 'oklch(0.2406 0.0088 300.91)',\n popoverForeground: 'oklch(0.942 0.0054 297.72)',\n primary: 'oklch(0.7323 0.1668 301.69)',\n primaryForeground: 'oklch(0.1756 0.0063 300.91)',\n secondary: 'oklch(0.2106 0.0076 300.91)',\n secondaryForeground: 'oklch(0.942 0.0054 297.72)',\n muted: 'oklch(0.2106 0.0076 300.91)',\n mutedForeground: 'oklch(0.6967 0.0057 298.74)',\n accent: 'oklch(0.2756 0.0101 300.91)',\n accentForeground: 'oklch(0.942 0.0054 297.72)',\n destructive: 'oklch(0.7345 0.1626 25.78)',\n destructiveForeground: 'oklch(0.1756 0.0063 300.91)',\n destructiveSubtle: 'oklch(0.2538 0.0282 312.79)',\n destructiveAction: 'oklch(0.7345 0.1626 25.78)',\n destructiveActionForeground: 'oklch(0.1756 0.0063 300.91)',\n success: 'oklch(0.6951 0.1809 145.62)',\n successForeground: 'oklch(0.1756 0.0063 300.91)',\n successSubtle: 'oklch(0.2483 0.0307 279.17)',\n warning: 'oklch(0.7196 0.1401 79.91)',\n warningForeground: 'oklch(0.1756 0.0063 300.91)',\n warningSubtle: 'oklch(0.2518 0.025 320.37)',\n info: 'oklch(0.7555 0.1155 202.14)',\n infoForeground: 'oklch(0.1756 0.0063 300.91)',\n infoSubtle: 'oklch(0.2568 0.0216 287.08)',\n border: 'oklch(0.3256 0.0057 300.91)',\n input: 'oklch(0.3256 0.0057 300.91)',\n ring: 'oklch(0.7323 0.1668 301.69)',\n sidebar: 'oklch(0.2106 0.0076 300.91)',\n sidebarForeground: 'oklch(0.942 0.0054 297.72)',\n sidebarAccent: 'oklch(0.2756 0.0101 300.91)',\n sidebarBorder: 'oklch(0.3256 0.0057 300.91)',\n sidebarMutedForeground: 'oklch(0.6967 0.0057 298.74)',\n },\n terminal: {\n background: 'oklch(0.1756 0.0063 300.91)',\n foreground: 'oklch(0.942 0.0054 297.72)',\n cursor: 'oklch(0.6182 0.1935 258.33)',\n selection: 'oklch(0.9425 0.0111 243.66)',\n black: 'oklch(0.4243 0.0101 301.11)',\n red: 'oklch(0.7345 0.1626 25.78)',\n green: 'oklch(0.6951 0.1809 145.62)',\n yellow: 'oklch(0.7196 0.1401 79.91)',\n blue: 'oklch(0.7153 0.1518 253.31)',\n magenta: 'oklch(0.7323 0.1668 301.69)',\n cyan: 'oklch(0.7555 0.1155 202.14)',\n white: 'oklch(0.786 0.0087 301.32)',\n brightBlack: 'oklch(0.5627 0.0094 301.22)',\n brightRed: 'oklch(0.8014 0.1134 25.81)',\n brightGreen: 'oklch(0.7717 0.188 145.48)',\n brightYellow: 'oklch(0.7904 0.1386 85.24)',\n brightBlue: 'oklch(0.7857 0.1153 246.66)',\n brightMagenta: 'oklch(0.8005 0.1275 305.86)',\n brightCyan: 'oklch(0.8036 0.1107 201.78)',\n brightWhite: 'oklch(1 0 0)',\n },\n editor: {\n keyword: 'oklch(0.7345 0.1626 25.78)',\n storage: 'oklch(0.7345 0.1626 25.78)',\n string: 'oklch(0.856 0.0768 244.09)',\n number: 'oklch(0.7857 0.1153 246.66)',\n comment: 'oklch(0.6625 0.0181 250.92)',\n function: 'oklch(0.8005 0.1275 305.86)',\n variable: 'oklch(0.9425 0.0111 243.66)',\n parameter: 'oklch(0.7991 0.1412 60.1)',\n property: 'oklch(0.9425 0.0111 243.66)',\n field: 'oklch(0.9425 0.0111 243.66)',\n member: 'oklch(0.9425 0.0111 243.66)',\n type: 'oklch(0.7991 0.1412 60.1)',\n tag: 'oklch(0.8416 0.1641 145.75)',\n attribute: 'oklch(0.7857 0.1153 246.66)',\n operator: 'oklch(0.7345 0.1626 25.78)',\n heading: 'oklch(0.7857 0.1153 246.66)',\n link: 'oklch(0.9425 0.0111 243.66)',\n constant: 'oklch(0.7857 0.1153 246.66)',\n punctuation: 'oklch(0.9425 0.0111 243.66)',\n diffAdd: 'oklch(0.8416 0.1641 145.75)',\n diffDelete: 'oklch(0.8014 0.1134 25.81)',\n diffHunk: 'oklch(0.8005 0.1275 305.86)',\n searchMatch: 'oklch(0.7196 0.1401 79.91)',\n },\n chart: [\n 'oklch(0.7153 0.1518 253.31)',\n 'oklch(0.7323 0.1668 301.69)',\n 'oklch(0.7555 0.1155 202.14)',\n 'oklch(0.6951 0.1809 145.62)',\n 'oklch(0.7196 0.1401 79.91)',\n 'oklch(0.7345 0.1626 25.78)',\n ],\n provenance: { source: 'Adea', url: 'https://github.com/adea-ai/themes', license: 'Apache-2.0' },\n },\n}\n\n/** The accents the default light/dark pair offers beside the presets. */\nexport const DEFAULT_THEME_ACCENTS: readonly AccentPreset[] = [\n {\n id: 'ansi-blue',\n label: 'Blue',\n description: \"The theme's own blue colour.\",\n light: 'oklch(0.4973 0.1518 253.31)',\n dark: 'oklch(0.7153 0.1518 253.31)',\n },\n {\n id: 'ansi-magenta',\n label: 'Magenta',\n description: \"The theme's own magenta colour.\",\n light: 'oklch(0.5143 0.1668 301.69)',\n dark: 'oklch(0.7323 0.1668 301.69)',\n },\n {\n id: 'ansi-cyan',\n label: 'Cyan',\n description: \"The theme's own cyan colour.\",\n light: 'oklch(0.5375 0.1155 202.14)',\n dark: 'oklch(0.7555 0.1155 202.14)',\n },\n {\n id: 'ansi-green',\n label: 'Green',\n description: \"The theme's own green colour.\",\n light: 'oklch(0.4771 0.1809 145.62)',\n dark: 'oklch(0.6951 0.1809 145.62)',\n },\n]\n\n/** Each default's measured `--primary-subtle` expression. */\nexport const DEFAULT_PRIMARY_SUBTLE: Readonly<Record<string, string>> = {\n 'adea-light': 'color-mix(in oklch, var(--primary) 10%, transparent)',\n 'adea-dark': 'color-mix(in oklch, var(--primary) 16%, transparent)',\n}\n\n/** Each default's `--editor-*` ramp held to 4.5:1 on its canvas (`editorRoles: 'floor'`). */\nexport const DEFAULT_FLOOR_EDITOR: Readonly<Record<string, ThemeEditorPalette>> = {\n 'adea-light': {\n keyword: '#cf222e',\n storage: '#cf222e',\n string: '#0a3069',\n number: '#0550ae',\n comment: '#6e7781',\n function: '#8250df',\n variable: '#1f2328',\n parameter: '#953800',\n property: '#1f2328',\n field: '#1f2328',\n member: '#1f2328',\n type: '#953800',\n tag: '#116329',\n attribute: '#0550ae',\n operator: '#cf222e',\n heading: '#0550ae',\n link: '#1f2328',\n constant: '#0550ae',\n punctuation: '#1f2328',\n diffAdd: '#116329',\n diffDelete: '#82071e',\n diffHunk: '#8250df',\n searchMatch: '#825c00',\n },\n 'adea-dark': {\n keyword: '#ff7b72',\n storage: '#ff7b72',\n string: '#a5d6ff',\n number: '#79c0ff',\n comment: '#8b949e',\n function: '#d2a8ff',\n variable: '#e6edf3',\n parameter: '#ffa657',\n property: '#e6edf3',\n field: '#e6edf3',\n member: '#e6edf3',\n type: '#ffa657',\n tag: '#7ee787',\n attribute: '#79c0ff',\n operator: '#ff7b72',\n heading: '#79c0ff',\n link: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A,IAAa,yBAA2D;CACtE,cAAc;CACd,aAAa;AACf;;AAGA,IAAa,uBAAqE;CAChF,cAAc;EACZ,SAAS;EACT,SAAS;EACT,QAAQ;EACR,QAAQ;EACR,SAAS;EACT,UAAU;EACV,UAAU;EACV,WAAW;EACX,UAAU;EACV,OAAO;EACP,QAAQ;EACR,MAAM;EACN,KAAK;EACL,WAAW;EACX,UAAU;EACV,SAAS;EACT,MAAM;EACN,UAAU;EACV,aAAa;EACb,SAAS;EACT,YAAY;EACZ,UAAU;EACV,aAAa;CACf;CACA,aAAa;EACX,SAAS;EACT,SAAS;EACT,QAAQ;EACR,QAAQ;EACR,SAAS;EACT,UAAU;EACV,UAAU;EACV,WAAW;EACX,UAAU;EACV,OAAO;EACP,QAAQ;EACR,MAAM;EACN,KAAK;EACL,WAAW;EACX,UAAU;EACV,SAAS;EACT,MAAM;EACN,UAAU;EACV,aAAa;EACb,SAAS;EACT,YAAY;EACZ,UAAU;EACV,aAAa;CACf;AACF"}
@@ -1,5 +1,7 @@
1
1
  import { type AccentPreset, type AdeaTheme, type AdeaThemeRecord } from '@adea-ai/themes';
2
2
  export { editorRolesHex, syntaxRolesHex } from '@adea-ai/themes';
3
+ /** A VS Code colour theme's syntax roles, resolved as VS Code paints them, for importers. */
4
+ export { opaqueHex, parseVsCodeTheme, vsCodeSyntax, type VsCodeTheme } from '@adea-ai/themes';
3
5
  export { oklchToHex, parseColor as parseOklchColor } from '@adea-ai/themes/oklch';
4
6
  export { shadcnDestructiveProjection, shadcnVariables } from '@adea-ai/themes/adapters/shadcn';
5
7
  export { toXtermTheme } from '@adea-ai/themes/adapters/xterm';
@@ -1 +1 @@
1
- {"version":3,"file":"theme-projection.d.ts","sourceRoot":"","sources":["../../src/lib/theme-projection.ts"],"names":[],"mappings":"AAkBA,OAAO,EAEL,KAAK,YAAY,EACjB,KAAK,SAAS,EACd,KAAK,eAAe,EACrB,MAAM,iBAAiB,CAAA;AAExB,OAAO,EAAE,cAAc,EAAE,cAAc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RolesHex, themeAccentPresets } from "@adea-ai/themes";
1
+ import { editorRolesHex, opaqueHex, parseVsCodeTheme, syntaxRolesHex, themeAccentPresets, vsCodeSyntax } from "@adea-ai/themes";
2
2
  import { oklchToHex, parseColor as parseOklchColor } from "@adea-ai/themes/oklch";
3
3
  import { shadcnDestructiveProjection, shadcnVariables } from "@adea-ai/themes/adapters/shadcn";
4
4
  import adeaDark from "@adea-ai/themes/themes/adea-dark";
@@ -42,6 +42,6 @@ function defaultThemeRecord(appearance) {
42
42
  function themeAccentsForRecords(light, dark) {
43
43
  return themeAccentPresets(light, dark);
44
44
  }
45
- export { defaultThemeRecord, editorRolesHex, oklchToHex, parseOklchColor, shadcnDestructiveProjection, shadcnVariables, syntaxRolesHex, themeAccentsForRecords, toXtermTheme };
45
+ export { defaultThemeRecord, editorRolesHex, oklchToHex, opaqueHex, parseOklchColor, parseVsCodeTheme, shadcnDestructiveProjection, shadcnVariables, syntaxRolesHex, themeAccentsForRecords, toXtermTheme, vsCodeSyntax };
46
46
 
47
47
  //# sourceMappingURL=theme-projection.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"theme-projection.js","names":[],"sources":["../../src/lib/theme-projection.ts"],"sourcesContent":["/**\n * What a host needs to turn a canonical theme record into the values it stores.\n *\n * Adea imports user themes: a file is validated, repaired toward the readable floor,\n * and projected onto the hex values the host persists. That projection is the\n * catalogue's own (`shadcnVariables`, the xterm adapter, the editor roles), so it is\n * re-exported here and the host depends on this package alone for it, the pin\n * between this package and `@adea-ai/themes` cannot drift from the host's.\n *\n * Its own module, with no catalogue data and no definition of its own beyond the two\n * default records, so that:\n *\n * - a host's start-up path never reaches it (it is for an importer loaded on demand);\n * - `lib/themes.ts`, which holds the 34-theme table, is not the place a host has to\n * import from to get a record-shaped helper.\n */\nimport adeaDark from '@adea-ai/themes/themes/adea-dark'\nimport adeaLight from '@adea-ai/themes/themes/adea-light'\nimport {\n themeAccentPresets,\n type AccentPreset,\n type AdeaTheme,\n type AdeaThemeRecord,\n} from '@adea-ai/themes'\n\nexport { editorRolesHex, syntaxRolesHex } from '@adea-ai/themes'\nexport { oklchToHex, parseColor as parseOklchColor } from '@adea-ai/themes/oklch'\nexport { shadcnDestructiveProjection, shadcnVariables } from '@adea-ai/themes/adapters/shadcn'\nexport { toXtermTheme } from '@adea-ai/themes/adapters/xterm'\n\n/**\n * The default theme of an appearance as a canonical record: the roles an imported\n * theme falls back to for anything its file does not carry.\n *\n * `defaultVariantFor` is the same theme as a runtime variant; a record keeps the\n * catalogue's own roles (`surfaceActive`, `textSubtle`, the ANSI ramp) that a variant\n * folds together.\n */\nexport function defaultThemeRecord(appearance: 'light' | 'dark'): AdeaThemeRecord {\n return appearance === 'dark' ? adeaDark : adeaLight\n}\n\n/**\n * The accents a light/dark pair of records carries itself, beside the presets.\n *\n * For a host whose pair is not in the catalogue, an imported theme, where\n * `themeAccentsFor` (which looks the pair up by id) cannot answer. A slot is offered\n * only when both themes clear the catalogue's accent floors.\n */\nexport function themeAccentsForRecords(light: AdeaTheme, dark: AdeaTheme): readonly AccentPreset[] {\n return themeAccentPresets(light, dark)\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsCA,SAAgB,mBAAmB,YAA+C;CAChF,OAAO,eAAe,SAAS,WAAW;AAC5C;;;;;;;;AASA,SAAgB,uBAAuB,OAAkB,MAA0C;CACjG,OAAO,mBAAmB,OAAO,IAAI;AACvC"}
1
+ {"version":3,"file":"theme-projection.js","names":[],"sources":["../../src/lib/theme-projection.ts"],"sourcesContent":["/**\n * What a host needs to turn a canonical theme record into the values it stores.\n *\n * Adea imports user themes: a file is validated, repaired toward the readable floor,\n * and projected onto the hex values the host persists. That projection is the\n * catalogue's own (`shadcnVariables`, the xterm adapter, the editor roles), so it is\n * re-exported here and the host depends on this package alone for it, the pin\n * between this package and `@adea-ai/themes` cannot drift from the host's.\n *\n * Its own module, with no catalogue data and no definition of its own beyond the two\n * default records, so that:\n *\n * - a host's start-up path never reaches it (it is for an importer loaded on demand);\n * - `lib/themes.ts`, which holds the 34-theme table, is not the place a host has to\n * import from to get a record-shaped helper.\n */\nimport adeaDark from '@adea-ai/themes/themes/adea-dark'\nimport adeaLight from '@adea-ai/themes/themes/adea-light'\nimport {\n themeAccentPresets,\n type AccentPreset,\n type AdeaTheme,\n type AdeaThemeRecord,\n} from '@adea-ai/themes'\n\nexport { editorRolesHex, syntaxRolesHex } from '@adea-ai/themes'\n/** A VS Code colour theme's syntax roles, resolved as VS Code paints them, for importers. */\nexport { opaqueHex, parseVsCodeTheme, vsCodeSyntax, type VsCodeTheme } from '@adea-ai/themes'\nexport { oklchToHex, parseColor as parseOklchColor } from '@adea-ai/themes/oklch'\nexport { shadcnDestructiveProjection, shadcnVariables } from '@adea-ai/themes/adapters/shadcn'\nexport { toXtermTheme } from '@adea-ai/themes/adapters/xterm'\n\n/**\n * The default theme of an appearance as a canonical record: the roles an imported\n * theme falls back to for anything its file does not carry.\n *\n * `defaultVariantFor` is the same theme as a runtime variant; a record keeps the\n * catalogue's own roles (`surfaceActive`, `textSubtle`, the ANSI ramp) that a variant\n * folds together.\n */\nexport function defaultThemeRecord(appearance: 'light' | 'dark'): AdeaThemeRecord {\n return appearance === 'dark' ? adeaDark : adeaLight\n}\n\n/**\n * The accents a light/dark pair of records carries itself, beside the presets.\n *\n * For a host whose pair is not in the catalogue, an imported theme, where\n * `themeAccentsFor` (which looks the pair up by id) cannot answer. A slot is offered\n * only when both themes clear the catalogue's accent floors.\n */\nexport function themeAccentsForRecords(light: AdeaTheme, dark: AdeaTheme): readonly AccentPreset[] {\n return themeAccentPresets(light, dark)\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwCA,SAAgB,mBAAmB,YAA+C;CAChF,OAAO,eAAe,SAAS,WAAW;AAC5C;;;;;;;;AASA,SAAgB,uBAAuB,OAAkB,MAA0C;CACjG,OAAO,mBAAmB,OAAO,IAAI;AACvC"}
@@ -83,17 +83,24 @@ export type ThemeTerminalPalette = Record<keyof typeof THEME_TERMINAL_PROPERTIES
83
83
  /** The syntax roles a code view needs. */
84
84
  export declare const THEME_EDITOR_PROPERTIES: {
85
85
  readonly keyword: '--editor-keyword';
86
+ readonly storage: '--editor-storage';
86
87
  readonly string: '--editor-string';
87
88
  readonly number: '--editor-number';
88
89
  readonly comment: '--editor-comment';
89
90
  readonly function: '--editor-function';
90
91
  readonly variable: '--editor-variable';
92
+ readonly parameter: '--editor-parameter';
93
+ readonly property: '--editor-property';
94
+ readonly field: '--editor-field';
95
+ readonly member: '--editor-member';
91
96
  readonly type: '--editor-type';
92
97
  readonly tag: '--editor-tag';
93
98
  readonly attribute: '--editor-attribute';
94
99
  readonly operator: '--editor-operator';
95
100
  readonly heading: '--editor-heading';
96
101
  readonly link: '--editor-link';
102
+ readonly constant: '--editor-constant';
103
+ readonly punctuation: '--editor-punctuation';
97
104
  readonly diffAdd: '--editor-diff-add';
98
105
  readonly diffDelete: '--editor-diff-delete';
99
106
  readonly diffHunk: '--editor-diff-hunk';
@@ -1 +1 @@
1
- {"version":3,"file":"theme-types.d.ts","sourceRoot":"","sources":["../../src/lib/theme-types.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,MAAM,MAAM,eAAe,GAAG,OAAO,GAAG,MAAM,CAAA;AAE9C;;;;;;;;GAQG;AACH,eAAO,MAAM,sBAAsB;aACjC,UAAU,EAAE,cAAc;aAC1B,UAAU,EAAE,cAAc;aAC1B,IAAI,EAAE,QAAQ;aACd,cAAc,EAAE,mBAAmB;aACnC,OAAO,EAAE,WAAW;aACpB,iBAAiB,EAAE,sBAAsB;aACzC,OAAO,EAAE,WAAW;aACpB,iBAAiB,EAAE,sBAAsB;aACzC,SAAS,EAAE,aAAa;aACxB,mBAAmB,EAAE,wBAAwB;aAC7C,KAAK,EAAE,SAAS;aAChB,eAAe,EAAE,oBAAoB;aACrC,MAAM,EAAE,UAAU;aAClB,gBAAgB,EAAE,qBAAqB;aACvC,WAAW,EAAE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A;IACnB,QAAQ,EAAE,oBAAoB,CAAA;IAC9B,MAAM,EAAE,kBAAkB,CAAA;IAC1B,wCAAwC;IACxC,KAAK,EAAE,SAAS,MAAM,EAAE,CAAA;IACxB,UAAU,EAAE,eAAe,CAAA;IAC3B;;;;;;;OAOG;IACH,MAAM,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAA;CAC1C,CAAA;AAED;;;;;;;;;GASG;AACH,MAAM,MAAM,eAAe,GAAG,QAAQ,GAAG,OAAO,CAAA;AAEhD,uCAAuC;AACvC,MAAM,MAAM,uBAAuB,GAAG;IACpC,sFAAsF;IACtF,MAAM,CAAC,EAAE,eAAe,CAAA;CACzB,CAAA;AAED,uEAAuE;AACvE,MAAM,MAAM,qBAAqB,GAAG;IAClC,8EAA8E;IAC9E,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,qFAAqF;IACrF,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,8CAA8C;AAC9C,MAAM,MAAM,SAAS,GAAG;IAAE,YAAY,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,CAAA;CAAE,CAAA"}
@@ -72,17 +72,24 @@ var THEME_TERMINAL_PROPERTIES = {
72
72
  /** The syntax roles a code view needs. */
73
73
  var THEME_EDITOR_PROPERTIES = {
74
74
  keyword: "--editor-keyword",
75
+ storage: "--editor-storage",
75
76
  string: "--editor-string",
76
77
  number: "--editor-number",
77
78
  comment: "--editor-comment",
78
79
  function: "--editor-function",
79
80
  variable: "--editor-variable",
81
+ parameter: "--editor-parameter",
82
+ property: "--editor-property",
83
+ field: "--editor-field",
84
+ member: "--editor-member",
80
85
  type: "--editor-type",
81
86
  tag: "--editor-tag",
82
87
  attribute: "--editor-attribute",
83
88
  operator: "--editor-operator",
84
89
  heading: "--editor-heading",
85
90
  link: "--editor-link",
91
+ constant: "--editor-constant",
92
+ punctuation: "--editor-punctuation",
86
93
  diffAdd: "--editor-diff-add",
87
94
  diffDelete: "--editor-diff-delete",
88
95
  diffHunk: "--editor-diff-hunk",
@@ -1 +1 @@
1
- {"version":3,"file":"theme-types.js","names":[],"sources":["../../src/lib/theme-types.ts"],"sourcesContent":["/**\n * The shapes of the theme system, and the role tables they are built from.\n *\n * Its own module, with no runtime dependency, because everything else depends on it:\n * the catalogue bridge (`lib/themes`), the catalogue-free engine, the provider and\n * the build scripts. `lib/themes` changes with the catalogue; these change only when\n * a role is added, so nothing that only needs a type has to import the catalogue's\n * module to get it.\n */\n\nexport type ThemeAppearance = 'light' | 'dark'\n\n/**\n * The surface and text roles, in shadcn's vocabulary, with the custom property each\n * one paints.\n *\n * Named to match the components, which is why they differ from the catalogue's:\n * these are this system's variable names, and renaming them would mean touching\n * every component in the library for no gain. `destructiveAction` is the\n * contrast-safe solid-action presentation, derived from the canonical error role.\n */\nexport const THEME_COLOR_PROPERTIES = {\n background: '--background',\n foreground: '--foreground',\n card: '--card',\n cardForeground: '--card-foreground',\n popover: '--popover',\n popoverForeground: '--popover-foreground',\n primary: '--primary',\n primaryForeground: '--primary-foreground',\n secondary: '--secondary',\n secondaryForeground: '--secondary-foreground',\n muted: '--muted',\n mutedForeground: '--muted-foreground',\n accent: '--accent',\n accentForeground: '--accent-foreground',\n destructive: '--destructive',\n destructiveForeground: '--destructive-foreground',\n destructiveSubtle: '--destructive-subtle',\n destructiveAction: '--destructive-action',\n destructiveActionForeground: '--destructive-action-foreground',\n success: '--success',\n successForeground: '--success-foreground',\n successSubtle: '--success-subtle',\n warning: '--warning',\n warningForeground: '--warning-foreground',\n warningSubtle: '--warning-subtle',\n info: '--info',\n infoForeground: '--info-foreground',\n infoSubtle: '--info-subtle',\n border: '--border',\n input: '--input',\n ring: '--ring',\n sidebar: '--sidebar',\n sidebarForeground: '--sidebar-foreground',\n sidebarAccent: '--sidebar-accent',\n sidebarBorder: '--sidebar-border',\n sidebarMutedForeground: '--sidebar-muted-foreground',\n} as const\n\nexport type ThemeColors = Record<keyof typeof THEME_COLOR_PROPERTIES, string>\n\n/** The sixteen ANSI colours a terminal needs, plus its cursor and selection. */\nexport const THEME_TERMINAL_PROPERTIES = {\n background: '--terminal-background',\n foreground: '--terminal-foreground',\n cursor: '--terminal-cursor',\n selection: '--terminal-selection',\n black: '--terminal-ansi-black',\n red: '--terminal-ansi-red',\n green: '--terminal-ansi-green',\n yellow: '--terminal-ansi-yellow',\n blue: '--terminal-ansi-blue',\n magenta: '--terminal-ansi-magenta',\n cyan: '--terminal-ansi-cyan',\n white: '--terminal-ansi-white',\n brightBlack: '--terminal-ansi-bright-black',\n brightRed: '--terminal-ansi-bright-red',\n brightGreen: '--terminal-ansi-bright-green',\n brightYellow: '--terminal-ansi-bright-yellow',\n brightBlue: '--terminal-ansi-bright-blue',\n brightMagenta: '--terminal-ansi-bright-magenta',\n brightCyan: '--terminal-ansi-bright-cyan',\n brightWhite: '--terminal-ansi-bright-white',\n} as const\n\nexport type ThemeTerminalPalette = Record<keyof typeof THEME_TERMINAL_PROPERTIES, string>\n\n/** The syntax roles a code view needs. */\nexport const THEME_EDITOR_PROPERTIES = {\n keyword: '--editor-keyword',\n string: '--editor-string',\n number: '--editor-number',\n comment: '--editor-comment',\n function: '--editor-function',\n variable: '--editor-variable',\n type: '--editor-type',\n tag: '--editor-tag',\n attribute: '--editor-attribute',\n operator: '--editor-operator',\n heading: '--editor-heading',\n link: '--editor-link',\n diffAdd: '--editor-diff-add',\n diffDelete: '--editor-diff-delete',\n diffHunk: '--editor-diff-hunk',\n searchMatch: '--editor-search-match',\n} as const\n\nexport type ThemeEditorPalette = Record<keyof typeof THEME_EDITOR_PROPERTIES, string>\n\n/** The roles of `table` read out of `source`, in the table's order. */\nexport function pickRoles<Table extends Readonly<Record<string, string>>>(\n table: Table,\n source: Readonly<Record<keyof Table, string>>\n): Record<keyof Table, string> {\n const picked = {} as Record<keyof Table, string>\n for (const role of Object.keys(table) as (keyof Table)[]) picked[role] = source[role]\n return picked\n}\n\n/** `palette` as the custom properties `table` names, in the table's order. */\nexport function rolesAsProperties<Table extends Readonly<Record<string, string>>>(\n table: Table,\n palette: Readonly<Record<keyof Table, string>>\n): Record<string, string> {\n const properties: Record<string, string> = {}\n for (const [role, property] of Object.entries(table)) properties[property] = palette[role]!\n return properties\n}\n\n/** Where a palette came from, and the terms it is used under. */\nexport type ThemeProvenance = {\n /** The project or person the palette belongs to. */\n source: string\n url: string\n /** An SPDX identifier. Every palette in this catalogue is permissive. */\n license: string\n}\n\nexport type ThemeVariant = {\n /** The `data-theme` value and the id a preference stores. */\n id: string\n /** Groups the variants that came from one project. */\n family: string\n familyLabel: string\n label: string\n appearance: ThemeAppearance\n /** One line, shown in a picker. */\n description: string\n colors: ThemeColors\n terminal: ThemeTerminalPalette\n editor: ThemeEditorPalette\n /** The categorical series, in order. */\n chart: readonly string[]\n provenance: ThemeProvenance\n /**\n * Custom properties written verbatim over `themeCssVariables`, last.\n *\n * For a variant a host built from data it does not control the derivation of,\n * an imported theme whose painted colours must stay exactly what the user\n * imported. The catalogue's own variants never carry it, so the derived roles\n * stay the only source of truth for them.\n */\n tokens?: Readonly<Record<string, string>>\n}\n\n/**\n * Which projection fills the `--editor-*` ramp.\n *\n * - `syntax` (the default) is the catalogue's quiet syntax roles, as `ThemeVariant.editor`\n * holds them: a comment may sit below body-text contrast, because in a code view\n * it is meant to recede.\n * - `floor` holds every editor role to 4.5:1 on the canvas (`editorRolesHex`), for a\n * host that renders code as content rather than as decoration. It is hex, where\n * `syntax` is `oklch()`.\n */\nexport type EditorRolesMode = 'syntax' | 'floor'\n\n/** Options for `themeCssVariables`. */\nexport type ThemeCssVariableOptions = {\n /** The `--editor-*` projection. Default `syntax`: absent, the output is unchanged. */\n editor?: EditorRolesMode\n}\n\n/** What an accent is held to when it is resolved against a surface. */\nexport type AccentVariableOptions = {\n /** The surface the accent must read on: the variant's `colors.background`. */\n background?: string\n /**\n * The contrast floor against `background`. Absent, a preset is painted verbatim\n * and only a custom `#rrggbb` is held to the default floor.\n */\n floor?: number\n /** The variant the accent is applied to, so the tint takes its measured strength. */\n variantId?: string\n}\n\n/** A selection's light and dark theme ids. */\nexport type ThemePair = { lightThemeId: string; darkThemeId: string }\n"],"mappings":";;;;;;;;;;AAqBA,IAAa,yBAAyB;CACpC,YAAY;CACZ,YAAY;CACZ,MAAM;CACN,gBAAgB;CAChB,SAAS;CACT,mBAAmB;CACnB,SAAS;CACT,mBAAmB;CACnB,WAAW;CACX,qBAAqB;CACrB,OAAO;CACP,iBAAiB;CACjB,QAAQ;CACR,kBAAkB;CAClB,aAAa;CACb,uBAAuB;CACvB,mBAAmB;CACnB,mBAAmB;CACnB,6BAA6B;CAC7B,SAAS;CACT,mBAAmB;CACnB,eAAe;CACf,SAAS;CACT,mBAAmB;CACnB,eAAe;CACf,MAAM;CACN,gBAAgB;CAChB,YAAY;CACZ,QAAQ;CACR,OAAO;CACP,MAAM;CACN,SAAS;CACT,mBAAmB;CACnB,eAAe;CACf,eAAe;CACf,wBAAwB;AAC1B;;AAKA,IAAa,4BAA4B;CACvC,YAAY;CACZ,YAAY;CACZ,QAAQ;CACR,WAAW;CACX,OAAO;CACP,KAAK;CACL,OAAO;CACP,QAAQ;CACR,MAAM;CACN,SAAS;CACT,MAAM;CACN,OAAO;CACP,aAAa;CACb,WAAW;CACX,aAAa;CACb,cAAc;CACd,YAAY;CACZ,eAAe;CACf,YAAY;CACZ,aAAa;AACf;;AAKA,IAAa,0BAA0B;CACrC,SAAS;CACT,QAAQ;CACR,QAAQ;CACR,SAAS;CACT,UAAU;CACV,UAAU;CACV,MAAM;CACN,KAAK;CACL,WAAW;CACX,UAAU;CACV,SAAS;CACT,MAAM;CACN,SAAS;CACT,YAAY;CACZ,UAAU;CACV,aAAa;AACf;;AAKA,SAAgB,UACd,OACA,QAC6B;CAC7B,MAAM,SAAS,CAAC;CAChB,KAAK,MAAM,QAAQ,OAAO,KAAK,KAAK,GAAsB,OAAO,QAAQ,OAAO;CAChF,OAAO;AACT;;AAGA,SAAgB,kBACd,OACA,SACwB;CACxB,MAAM,aAAqC,CAAC;CAC5C,KAAK,MAAM,CAAC,MAAM,aAAa,OAAO,QAAQ,KAAK,GAAG,WAAW,YAAY,QAAQ;CACrF,OAAO;AACT"}
1
+ {"version":3,"file":"theme-types.js","names":[],"sources":["../../src/lib/theme-types.ts"],"sourcesContent":["/**\n * The shapes of the theme system, and the role tables they are built from.\n *\n * Its own module, with no runtime dependency, because everything else depends on it:\n * the catalogue bridge (`lib/themes`), the catalogue-free engine, the provider and\n * the build scripts. `lib/themes` changes with the catalogue; these change only when\n * a role is added, so nothing that only needs a type has to import the catalogue's\n * module to get it.\n */\n\nexport type ThemeAppearance = 'light' | 'dark'\n\n/**\n * The surface and text roles, in shadcn's vocabulary, with the custom property each\n * one paints.\n *\n * Named to match the components, which is why they differ from the catalogue's:\n * these are this system's variable names, and renaming them would mean touching\n * every component in the library for no gain. `destructiveAction` is the\n * contrast-safe solid-action presentation, derived from the canonical error role.\n */\nexport const THEME_COLOR_PROPERTIES = {\n background: '--background',\n foreground: '--foreground',\n card: '--card',\n cardForeground: '--card-foreground',\n popover: '--popover',\n popoverForeground: '--popover-foreground',\n primary: '--primary',\n primaryForeground: '--primary-foreground',\n secondary: '--secondary',\n secondaryForeground: '--secondary-foreground',\n muted: '--muted',\n mutedForeground: '--muted-foreground',\n accent: '--accent',\n accentForeground: '--accent-foreground',\n destructive: '--destructive',\n destructiveForeground: '--destructive-foreground',\n destructiveSubtle: '--destructive-subtle',\n destructiveAction: '--destructive-action',\n destructiveActionForeground: '--destructive-action-foreground',\n success: '--success',\n successForeground: '--success-foreground',\n successSubtle: '--success-subtle',\n warning: '--warning',\n warningForeground: '--warning-foreground',\n warningSubtle: '--warning-subtle',\n info: '--info',\n infoForeground: '--info-foreground',\n infoSubtle: '--info-subtle',\n border: '--border',\n input: '--input',\n ring: '--ring',\n sidebar: '--sidebar',\n sidebarForeground: '--sidebar-foreground',\n sidebarAccent: '--sidebar-accent',\n sidebarBorder: '--sidebar-border',\n sidebarMutedForeground: '--sidebar-muted-foreground',\n} as const\n\nexport type ThemeColors = Record<keyof typeof THEME_COLOR_PROPERTIES, string>\n\n/** The sixteen ANSI colours a terminal needs, plus its cursor and selection. */\nexport const THEME_TERMINAL_PROPERTIES = {\n background: '--terminal-background',\n foreground: '--terminal-foreground',\n cursor: '--terminal-cursor',\n selection: '--terminal-selection',\n black: '--terminal-ansi-black',\n red: '--terminal-ansi-red',\n green: '--terminal-ansi-green',\n yellow: '--terminal-ansi-yellow',\n blue: '--terminal-ansi-blue',\n magenta: '--terminal-ansi-magenta',\n cyan: '--terminal-ansi-cyan',\n white: '--terminal-ansi-white',\n brightBlack: '--terminal-ansi-bright-black',\n brightRed: '--terminal-ansi-bright-red',\n brightGreen: '--terminal-ansi-bright-green',\n brightYellow: '--terminal-ansi-bright-yellow',\n brightBlue: '--terminal-ansi-bright-blue',\n brightMagenta: '--terminal-ansi-bright-magenta',\n brightCyan: '--terminal-ansi-bright-cyan',\n brightWhite: '--terminal-ansi-bright-white',\n} as const\n\nexport type ThemeTerminalPalette = Record<keyof typeof THEME_TERMINAL_PROPERTIES, string>\n\n/** The syntax roles a code view needs. */\nexport const THEME_EDITOR_PROPERTIES = {\n keyword: '--editor-keyword',\n storage: '--editor-storage',\n string: '--editor-string',\n number: '--editor-number',\n comment: '--editor-comment',\n function: '--editor-function',\n variable: '--editor-variable',\n parameter: '--editor-parameter',\n property: '--editor-property',\n field: '--editor-field',\n member: '--editor-member',\n type: '--editor-type',\n tag: '--editor-tag',\n attribute: '--editor-attribute',\n operator: '--editor-operator',\n heading: '--editor-heading',\n link: '--editor-link',\n constant: '--editor-constant',\n punctuation: '--editor-punctuation',\n diffAdd: '--editor-diff-add',\n diffDelete: '--editor-diff-delete',\n diffHunk: '--editor-diff-hunk',\n searchMatch: '--editor-search-match',\n} as const\n\nexport type ThemeEditorPalette = Record<keyof typeof THEME_EDITOR_PROPERTIES, string>\n\n/** The roles of `table` read out of `source`, in the table's order. */\nexport function pickRoles<Table extends Readonly<Record<string, string>>>(\n table: Table,\n source: Readonly<Record<keyof Table, string>>\n): Record<keyof Table, string> {\n const picked = {} as Record<keyof Table, string>\n for (const role of Object.keys(table) as (keyof Table)[]) picked[role] = source[role]\n return picked\n}\n\n/** `palette` as the custom properties `table` names, in the table's order. */\nexport function rolesAsProperties<Table extends Readonly<Record<string, string>>>(\n table: Table,\n palette: Readonly<Record<keyof Table, string>>\n): Record<string, string> {\n const properties: Record<string, string> = {}\n for (const [role, property] of Object.entries(table)) properties[property] = palette[role]!\n return properties\n}\n\n/** Where a palette came from, and the terms it is used under. */\nexport type ThemeProvenance = {\n /** The project or person the palette belongs to. */\n source: string\n url: string\n /** An SPDX identifier. Every palette in this catalogue is permissive. */\n license: string\n}\n\nexport type ThemeVariant = {\n /** The `data-theme` value and the id a preference stores. */\n id: string\n /** Groups the variants that came from one project. */\n family: string\n familyLabel: string\n label: string\n appearance: ThemeAppearance\n /** One line, shown in a picker. */\n description: string\n colors: ThemeColors\n terminal: ThemeTerminalPalette\n editor: ThemeEditorPalette\n /** The categorical series, in order. */\n chart: readonly string[]\n provenance: ThemeProvenance\n /**\n * Custom properties written verbatim over `themeCssVariables`, last.\n *\n * For a variant a host built from data it does not control the derivation of,\n * an imported theme whose painted colours must stay exactly what the user\n * imported. The catalogue's own variants never carry it, so the derived roles\n * stay the only source of truth for them.\n */\n tokens?: Readonly<Record<string, string>>\n}\n\n/**\n * Which projection fills the `--editor-*` ramp.\n *\n * - `syntax` (the default) is the catalogue's quiet syntax roles, as `ThemeVariant.editor`\n * holds them: a comment may sit below body-text contrast, because in a code view\n * it is meant to recede.\n * - `floor` holds every editor role to 4.5:1 on the canvas (`editorRolesHex`), for a\n * host that renders code as content rather than as decoration. It is hex, where\n * `syntax` is `oklch()`.\n */\nexport type EditorRolesMode = 'syntax' | 'floor'\n\n/** Options for `themeCssVariables`. */\nexport type ThemeCssVariableOptions = {\n /** The `--editor-*` projection. Default `syntax`: absent, the output is unchanged. */\n editor?: EditorRolesMode\n}\n\n/** What an accent is held to when it is resolved against a surface. */\nexport type AccentVariableOptions = {\n /** The surface the accent must read on: the variant's `colors.background`. */\n background?: string\n /**\n * The contrast floor against `background`. Absent, a preset is painted verbatim\n * and only a custom `#rrggbb` is held to the default floor.\n */\n floor?: number\n /** The variant the accent is applied to, so the tint takes its measured strength. */\n variantId?: string\n}\n\n/** A selection's light and dark theme ids. */\nexport type ThemePair = { lightThemeId: string; darkThemeId: string }\n"],"mappings":";;;;;;;;;;AAqBA,IAAa,yBAAyB;CACpC,YAAY;CACZ,YAAY;CACZ,MAAM;CACN,gBAAgB;CAChB,SAAS;CACT,mBAAmB;CACnB,SAAS;CACT,mBAAmB;CACnB,WAAW;CACX,qBAAqB;CACrB,OAAO;CACP,iBAAiB;CACjB,QAAQ;CACR,kBAAkB;CAClB,aAAa;CACb,uBAAuB;CACvB,mBAAmB;CACnB,mBAAmB;CACnB,6BAA6B;CAC7B,SAAS;CACT,mBAAmB;CACnB,eAAe;CACf,SAAS;CACT,mBAAmB;CACnB,eAAe;CACf,MAAM;CACN,gBAAgB;CAChB,YAAY;CACZ,QAAQ;CACR,OAAO;CACP,MAAM;CACN,SAAS;CACT,mBAAmB;CACnB,eAAe;CACf,eAAe;CACf,wBAAwB;AAC1B;;AAKA,IAAa,4BAA4B;CACvC,YAAY;CACZ,YAAY;CACZ,QAAQ;CACR,WAAW;CACX,OAAO;CACP,KAAK;CACL,OAAO;CACP,QAAQ;CACR,MAAM;CACN,SAAS;CACT,MAAM;CACN,OAAO;CACP,aAAa;CACb,WAAW;CACX,aAAa;CACb,cAAc;CACd,YAAY;CACZ,eAAe;CACf,YAAY;CACZ,aAAa;AACf;;AAKA,IAAa,0BAA0B;CACrC,SAAS;CACT,SAAS;CACT,QAAQ;CACR,QAAQ;CACR,SAAS;CACT,UAAU;CACV,UAAU;CACV,WAAW;CACX,UAAU;CACV,OA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