@adea-ai/ui 0.155.1 → 0.157.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 (166) hide show
  1. package/README.md +3 -3
  2. package/dist/NOTICE +27 -0
  3. package/dist/components/composites/model-selector/model-selector.js +45 -53
  4. package/dist/components/composites/model-selector/model-selector.js.map +1 -1
  5. package/dist/components/composites/prompt-input/index.d.ts +2 -0
  6. package/dist/components/composites/prompt-input/index.d.ts.map +1 -0
  7. package/dist/components/composites/prompt-input/index.js +1 -0
  8. package/dist/components/composites/prompt-input/prompt-input.d.ts +71 -0
  9. package/dist/components/composites/prompt-input/prompt-input.d.ts.map +1 -0
  10. package/dist/components/composites/prompt-input/prompt-input.js +247 -0
  11. package/dist/components/composites/prompt-input/prompt-input.js.map +1 -0
  12. package/dist/components/conversation/chat-composer.d.ts.map +1 -1
  13. package/dist/components/conversation/chat-composer.js +43 -29
  14. package/dist/components/conversation/chat-composer.js.map +1 -1
  15. package/dist/components/conversation/internal/chat-composer-shell.d.ts.map +1 -1
  16. package/dist/components/conversation/internal/chat-composer-shell.js +155 -163
  17. package/dist/components/conversation/internal/chat-composer-shell.js.map +1 -1
  18. package/dist/components/conversation/message-composer.d.ts.map +1 -1
  19. package/dist/components/conversation/message-composer.js +186 -192
  20. package/dist/components/conversation/message-composer.js.map +1 -1
  21. package/dist/components/conversation/paste-token-editor.js +2 -2
  22. package/dist/components/conversation/paste-token-editor.js.map +1 -1
  23. package/dist/components/theme/theme-document.d.ts +1 -1
  24. package/dist/components/theme/theme-document.js.map +1 -1
  25. package/dist/components/theme/theme-provider-value.d.ts +1 -1
  26. package/dist/components/theme/theme-provider-value.js.map +1 -1
  27. package/dist/components/ui/badge/badge.js +1 -1
  28. package/dist/components/ui/badge/badge.js.map +1 -1
  29. package/dist/components/ui/button/button.d.ts.map +1 -1
  30. package/dist/components/ui/button/button.js +3 -3
  31. package/dist/components/ui/button/button.js.map +1 -1
  32. package/dist/components/ui/input-group/index.d.ts +1 -1
  33. package/dist/components/ui/input-group/index.d.ts.map +1 -1
  34. package/dist/components/ui/input-group/index.js +2 -2
  35. package/dist/components/ui/input-group/input-group.d.ts +34 -9
  36. package/dist/components/ui/input-group/input-group.d.ts.map +1 -1
  37. package/dist/components/ui/input-group/input-group.js +101 -28
  38. package/dist/components/ui/input-group/input-group.js.map +1 -1
  39. package/dist/components/ui/kbd/kbd.d.ts.map +1 -1
  40. package/dist/components/ui/kbd/kbd.js +6 -1
  41. package/dist/components/ui/kbd/kbd.js.map +1 -1
  42. package/dist/components/ui/message/index.d.ts +1 -1
  43. package/dist/components/ui/message/index.d.ts.map +1 -1
  44. package/dist/components/ui/message/index.js +2 -2
  45. package/dist/components/ui/message/message.d.ts +16 -0
  46. package/dist/components/ui/message/message.d.ts.map +1 -1
  47. package/dist/components/ui/message/message.js +52 -1
  48. package/dist/components/ui/message/message.js.map +1 -1
  49. package/dist/components/ui/tooltip/tooltip.js +1 -1
  50. package/dist/components/ui/tooltip/tooltip.js.map +1 -1
  51. package/dist/index.d.ts +1 -0
  52. package/dist/index.d.ts.map +1 -1
  53. package/dist/index.js +4 -3
  54. package/dist/lib/fast-icon.d.ts +2 -1
  55. package/dist/lib/fast-icon.d.ts.map +1 -1
  56. package/dist/lib/fast-icon.js +4 -3
  57. package/dist/lib/fast-icon.js.map +1 -1
  58. package/dist/lib/overlay.d.ts +5 -5
  59. package/dist/lib/overlay.d.ts.map +1 -1
  60. package/dist/lib/overlay.js +5 -5
  61. package/dist/lib/overlay.js.map +1 -1
  62. package/dist/lib/theme-defaults.generated.d.ts.map +1 -1
  63. package/dist/lib/theme-defaults.generated.js +88 -60
  64. package/dist/lib/theme-defaults.generated.js.map +1 -1
  65. package/dist/lib/theme-projection.d.ts +2 -0
  66. package/dist/lib/theme-projection.d.ts.map +1 -1
  67. package/dist/lib/theme-projection.js +2 -2
  68. package/dist/lib/theme-projection.js.map +1 -1
  69. package/dist/lib/theme-types.d.ts +7 -0
  70. package/dist/lib/theme-types.d.ts.map +1 -1
  71. package/dist/lib/theme-types.js +7 -0
  72. package/dist/lib/theme-types.js.map +1 -1
  73. package/dist/r/appearance-editor.json +1 -1
  74. package/dist/r/conversation.json +1 -2
  75. package/dist/r/input-group.json +1 -0
  76. package/dist/r/lib.json +1 -1
  77. package/dist/r/message.json +4 -1
  78. package/dist/r/model-selector.json +1 -1
  79. package/dist/r/prompt-input.json +28 -0
  80. package/dist/r/registry.json +38 -7
  81. package/dist/r/src/components/composites/model-selector/model-selector.tsx +19 -25
  82. package/dist/r/src/components/composites/prompt-input/index.ts +15 -0
  83. package/dist/r/src/components/composites/prompt-input/prompt-input.tsx +267 -0
  84. package/dist/r/src/components/conversation/chat-composer.tsx +4 -2
  85. package/dist/r/src/components/conversation/internal/chat-composer-shell.tsx +27 -38
  86. package/dist/r/src/components/conversation/message-composer.tsx +93 -97
  87. package/dist/r/src/components/conversation/paste-token-editor.tsx +2 -2
  88. package/dist/r/src/components/theme/theme-document.ts +1 -1
  89. package/dist/r/src/components/theme/theme-provider-value.ts +1 -1
  90. package/dist/r/src/components/ui/badge/badge.tsx +1 -1
  91. package/dist/r/src/components/ui/button/button.tsx +12 -3
  92. package/dist/r/src/components/ui/input-group/index.ts +3 -0
  93. package/dist/r/src/components/ui/input-group/input-group.tsx +121 -29
  94. package/dist/r/src/components/ui/kbd/kbd.tsx +3 -0
  95. package/dist/r/src/components/ui/message/index.ts +3 -0
  96. package/dist/r/src/components/ui/message/message.tsx +56 -0
  97. package/dist/r/src/components/ui/tooltip/tooltip.tsx +1 -1
  98. package/dist/r/src/lib/fast-icon.ts +11 -4
  99. package/dist/r/src/lib/overlay.ts +5 -6
  100. package/dist/r/src/lib/theme-defaults.generated.ts +88 -60
  101. package/dist/r/src/lib/theme-projection.ts +2 -0
  102. package/dist/r/src/lib/theme-types.ts +7 -0
  103. package/dist/r/src/styles/theme-variants.css +608 -370
  104. package/dist/r/src/styles/theme.css +4 -4
  105. package/dist/r/theming.json +1 -1
  106. package/package.json +2 -2
  107. package/registry.json +38 -7
  108. package/src/components/composites/model-selector/model-selector.tsx +19 -25
  109. package/src/components/composites/prompt-input/index.ts +15 -0
  110. package/src/components/composites/prompt-input/prompt-input.tsx +267 -0
  111. package/src/components/conversation/chat-composer.tsx +4 -2
  112. package/src/components/conversation/internal/chat-composer-shell.tsx +27 -38
  113. package/src/components/conversation/message-composer.tsx +93 -97
  114. package/src/components/conversation/paste-token-editor.tsx +2 -2
  115. package/src/components/theme/theme-document.ts +1 -1
  116. package/src/components/theme/theme-provider-value.ts +1 -1
  117. package/src/components/ui/badge/badge.tsx +1 -1
  118. package/src/components/ui/button/button.tsx +12 -3
  119. package/src/components/ui/input-group/index.ts +3 -0
  120. package/src/components/ui/input-group/input-group.tsx +121 -29
  121. package/src/components/ui/kbd/kbd.tsx +3 -0
  122. package/src/components/ui/message/index.ts +3 -0
  123. package/src/components/ui/message/message.tsx +56 -0
  124. package/src/components/ui/tooltip/tooltip.tsx +1 -1
  125. package/src/index.ts +1 -0
  126. package/src/lib/fast-icon.ts +11 -4
  127. package/src/lib/overlay.ts +5 -6
  128. package/src/lib/theme-defaults.generated.ts +88 -60
  129. package/src/lib/theme-projection.ts +2 -0
  130. package/src/lib/theme-types.ts +7 -0
  131. package/src/styles/theme-variants.css +608 -370
  132. package/src/styles/theme.css +4 -4
  133. package/src/styles/themes/aardvark-blue.css +7 -0
  134. package/src/styles/themes/aardvark-ink.css +7 -0
  135. package/src/styles/themes/adea-dark-colorblind.css +22 -15
  136. package/src/styles/themes/adea-dark-high-contrast.css +22 -15
  137. package/src/styles/themes/adea-dark.css +22 -15
  138. package/src/styles/themes/adea-light-colorblind.css +21 -14
  139. package/src/styles/themes/adea-light-high-contrast.css +21 -14
  140. package/src/styles/themes/adea-light.css +22 -15
  141. package/src/styles/themes/ayu-light.css +20 -13
  142. package/src/styles/themes/ayu-mirage.css +21 -14
  143. package/src/styles/themes/ayu.css +22 -15
  144. package/src/styles/themes/catppuccin-frappe.css +16 -9
  145. package/src/styles/themes/catppuccin-latte.css +15 -8
  146. package/src/styles/themes/catppuccin-macchiato.css +16 -9
  147. package/src/styles/themes/catppuccin-mocha.css +16 -9
  148. package/src/styles/themes/dracula.css +16 -9
  149. package/src/styles/themes/everforest-dark.css +19 -12
  150. package/src/styles/themes/everforest-light.css +21 -14
  151. package/src/styles/themes/gruvbox-dark.css +21 -14
  152. package/src/styles/themes/gruvbox-light.css +20 -13
  153. package/src/styles/themes/kanagawa.css +18 -11
  154. package/src/styles/themes/monokai.css +19 -12
  155. package/src/styles/themes/nord-light.css +7 -0
  156. package/src/styles/themes/nord.css +19 -12
  157. package/src/styles/themes/one-dark.css +16 -9
  158. package/src/styles/themes/rosepine-dawn.css +19 -12
  159. package/src/styles/themes/rosepine-moon.css +20 -13
  160. package/src/styles/themes/rosepine.css +20 -13
  161. package/src/styles/themes/solarized-dark.css +19 -12
  162. package/src/styles/themes/solarized-light.css +19 -12
  163. package/src/styles/themes/tokyonight-day.css +7 -0
  164. package/src/styles/themes/tokyonight-night.css +18 -11
  165. package/src/styles/themes/tokyonight-storm.css +18 -11
  166. package/src/styles/themes/vesper.css +22 -15
@@ -418,7 +418,7 @@ export function TooltipContent(props: TooltipContentProps) {
418
418
  // The max width is a token, not a fixed measure: it has to fall
419
419
  // behind the viewport at large root font sizes or the tip — which
420
420
  // Kobalte can shift but never shrink — forces a horizontal scroll.
421
- 'z-(--z-tooltip) w-fit max-w-(--tooltip-max-width) px-2 py-1',
421
+ 'z-(--z-tooltip) w-fit max-w-(--tooltip-max-width) px-3 py-1.5',
422
422
  'origin-(--kb-tooltip-content-transform-origin) text-balance',
423
423
  tooltipMotion,
424
424
  // An icon+label tip is one row that reads as a unit, so the label
@@ -1,5 +1,5 @@
1
1
  import type { JSX } from 'solid-js'
2
- import { createRoot, mergeProps, splitProps } from 'solid-js'
2
+ import { createRoot, mergeProps, sharedConfig, splitProps } from 'solid-js'
3
3
  import { isServer, spread } from 'solid-js/web'
4
4
 
5
5
  type IconComponent = (props: JSX.SvgSVGAttributes<SVGSVGElement>) => JSX.Element
@@ -31,13 +31,20 @@ const A11Y = /^(aria-|role$|title$)/
31
31
  * drew, so the markup (attributes, class names, path keys) stays exactly
32
32
  * lucide's. Props that change the drawing (`size`, `color`, `strokeWidth`,
33
33
  * `absoluteStrokeWidth`) or a `LucideProvider` are not supported: those callers
34
- * keep the lucide component. On the server the lucide component renders as is.
34
+ * keep the lucide component. On the server, and while the client hydrates, the
35
+ * lucide component renders as is.
35
36
  */
36
37
  export function fastIcon<T extends (props: never) => JSX.Element>(LucideIcon: T): T {
37
38
  const Icon = LucideIcon as unknown as IconComponent
38
39
  const Fast = (props: JSX.SvgSVGAttributes<SVGSVGElement>) => {
39
- // Children (a <title>), drawing props and the server keep lucide's component.
40
- if (isServer || props.children !== undefined || DRAWING.some((key) => key in props))
40
+ // Children (a <title>), drawing props, the server and hydration keep lucide's
41
+ // component: a hydrating icon must claim the server's nodes, not build its own.
42
+ if (
43
+ isServer ||
44
+ sharedConfig.context ||
45
+ props.children !== undefined ||
46
+ DRAWING.some((key) => key in props)
47
+ )
41
48
  return Icon(props)
42
49
  const template = capture(Icon)
43
50
  const [local, rest] = splitProps(props, ['class'])
@@ -66,13 +66,12 @@ export const overlayCornerClose =
66
66
  'focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-primary-subtle outline-none'
67
67
 
68
68
  /**
69
- * The tip: the card-toned bubble an explanation shows in. The side rail draws
70
- * it flush to a collapsed row and every floating tooltip composes the same
71
- * fill, edge, and type, so a control never explains itself in two visual
72
- * languages.
69
+ * The tip: shadcn's inverted chip, foreground on background, so an explanation
70
+ * never reads as a popover that could hold controls. The side rail draws it
71
+ * flush to a collapsed row and every floating tooltip composes the same fill
72
+ * and type, so a control never explains itself in two visual languages.
73
73
  */
74
- export const tooltipTip =
75
- 'bg-card text-card-foreground rounded-md border border-border text-sm font-medium shadow-lg'
74
+ export const tooltipTip = 'bg-foreground text-background rounded-md text-xs font-medium'
76
75
 
77
76
  /**
78
77
  * Entrance and exit motion, expressed as data-state classes.
@@ -115,21 +115,28 @@ export const DEFAULT_VARIANTS: Readonly<Record<'adea-light' | 'adea-dark', Theme
115
115
  brightWhite: 'oklch(0.6658 0.0181 250.92)',
116
116
  },
117
117
  editor: {
118
- keyword: 'oklch(0.5143 0.1668 301.69)',
119
- string: 'oklch(0.4771 0.1809 145.62)',
120
- number: 'oklch(0.5016 0.1401 79.91)',
121
- comment: 'oklch(0.4849 0.0196 251.02)',
122
- function: 'oklch(0.4973 0.1518 253.31)',
123
- variable: 'oklch(0.2785 0.0132 253.04)',
124
- type: 'oklch(0.5375 0.1155 202.14)',
125
- tag: 'oklch(0.5165 0.1626 25.78)',
126
- attribute: 'oklch(0.5016 0.1401 79.91)',
127
- operator: 'oklch(0.2785 0.0132 253.04)',
128
- heading: 'oklch(0.5143 0.1668 301.69)',
129
- link: 'oklch(0.4973 0.1518 253.31)',
130
- diffAdd: 'oklch(0.4771 0.1809 145.62)',
131
- diffDelete: 'oklch(0.5165 0.1626 25.78)',
132
- diffHunk: 'oklch(0.5375 0.1155 202.14)',
118
+ keyword: 'oklch(0.5517 0.2051 24.53)',
119
+ storage: 'oklch(0.5517 0.2051 24.53)',
120
+ string: 'oklch(0.321 0.1084 259.11)',
121
+ number: 'oklch(0.4509 0.1641 258.18)',
122
+ comment: 'oklch(0.5651 0.0189 250.97)',
123
+ function: 'oklch(0.5631 0.2069 294.97)',
124
+ variable: 'oklch(0.2542 0.0111 254.04)',
125
+ parameter: 'oklch(0.4657 0.1371 43.35)',
126
+ property: 'oklch(0.2542 0.0111 254.04)',
127
+ field: 'oklch(0.2542 0.0111 254.04)',
128
+ member: 'oklch(0.2542 0.0111 254.04)',
129
+ type: 'oklch(0.4657 0.1371 43.35)',
130
+ tag: 'oklch(0.4391 0.1179 148.07)',
131
+ attribute: 'oklch(0.4509 0.1641 258.18)',
132
+ operator: 'oklch(0.5517 0.2051 24.53)',
133
+ heading: 'oklch(0.4509 0.1641 258.18)',
134
+ link: 'oklch(0.2542 0.0111 254.04)',
135
+ constant: 'oklch(0.4509 0.1641 258.18)',
136
+ punctuation: 'oklch(0.2542 0.0111 254.04)',
137
+ diffAdd: 'oklch(0.4391 0.1179 148.07)',
138
+ diffDelete: 'oklch(0.387 0.1507 20.77)',
139
+ diffHunk: 'oklch(0.5631 0.2069 294.97)',
133
140
  searchMatch: 'oklch(0.5016 0.1401 79.91)',
134
141
  },
135
142
  chart: [
@@ -211,21 +218,28 @@ export const DEFAULT_VARIANTS: Readonly<Record<'adea-light' | 'adea-dark', Theme
211
218
  brightWhite: 'oklch(1 0 0)',
212
219
  },
213
220
  editor: {
214
- keyword: 'oklch(0.7323 0.1668 301.69)',
215
- string: 'oklch(0.6951 0.1809 145.62)',
216
- number: 'oklch(0.7196 0.1401 79.91)',
217
- comment: 'oklch(0.5627 0.0094 301.22)',
218
- function: 'oklch(0.7153 0.1518 253.31)',
219
- variable: 'oklch(0.786 0.0087 301.32)',
220
- type: 'oklch(0.7555 0.1155 202.14)',
221
- tag: 'oklch(0.7345 0.1626 25.78)',
222
- attribute: 'oklch(0.7196 0.1401 79.91)',
223
- operator: 'oklch(0.786 0.0087 301.32)',
224
- heading: 'oklch(0.7323 0.1668 301.69)',
225
- link: 'oklch(0.7153 0.1518 253.31)',
226
- diffAdd: 'oklch(0.6951 0.1809 145.62)',
227
- diffDelete: 'oklch(0.7345 0.1626 25.78)',
228
- diffHunk: 'oklch(0.7555 0.1155 202.14)',
221
+ keyword: 'oklch(0.7345 0.1626 25.78)',
222
+ storage: 'oklch(0.7345 0.1626 25.78)',
223
+ string: 'oklch(0.856 0.0768 244.09)',
224
+ number: 'oklch(0.7857 0.1153 246.66)',
225
+ comment: 'oklch(0.6625 0.0181 250.92)',
226
+ function: 'oklch(0.8005 0.1275 305.86)',
227
+ variable: 'oklch(0.9425 0.0111 243.66)',
228
+ parameter: 'oklch(0.7991 0.1412 60.1)',
229
+ property: 'oklch(0.9425 0.0111 243.66)',
230
+ field: 'oklch(0.9425 0.0111 243.66)',
231
+ member: 'oklch(0.9425 0.0111 243.66)',
232
+ type: 'oklch(0.7991 0.1412 60.1)',
233
+ tag: 'oklch(0.8416 0.1641 145.75)',
234
+ attribute: 'oklch(0.7857 0.1153 246.66)',
235
+ operator: 'oklch(0.7345 0.1626 25.78)',
236
+ heading: 'oklch(0.7857 0.1153 246.66)',
237
+ link: 'oklch(0.9425 0.0111 243.66)',
238
+ constant: 'oklch(0.7857 0.1153 246.66)',
239
+ punctuation: 'oklch(0.9425 0.0111 243.66)',
240
+ diffAdd: 'oklch(0.8416 0.1641 145.75)',
241
+ diffDelete: 'oklch(0.8014 0.1134 25.81)',
242
+ diffHunk: 'oklch(0.8005 0.1275 305.86)',
229
243
  searchMatch: 'oklch(0.7196 0.1401 79.91)',
230
244
  },
231
245
  chart: [
@@ -281,39 +295,53 @@ export const DEFAULT_PRIMARY_SUBTLE: Readonly<Record<string, string>> = {
281
295
  /** Each default's `--editor-*` ramp held to 4.5:1 on its canvas (`editorRoles: 'floor'`). */
282
296
  export const DEFAULT_FLOOR_EDITOR: Readonly<Record<string, ThemeEditorPalette>> = {
283
297
  'adea-light': {
284
- keyword: '#7a49b5',
285
- string: '#00711f',
286
- number: '#825c00',
287
- comment: '#57606a',
288
- function: '#0662b5',
289
- variable: '#24292f',
290
- type: '#007d85',
291
- tag: '#b23533',
292
- attribute: '#825c00',
293
- operator: '#24292f',
294
- heading: '#7a49b5',
295
- link: '#0662b5',
296
- diffAdd: '#00711f',
297
- diffDelete: '#b23533',
298
- diffHunk: '#007d85',
298
+ keyword: '#cf222e',
299
+ storage: '#cf222e',
300
+ string: '#0a3069',
301
+ number: '#0550ae',
302
+ comment: '#6e7781',
303
+ function: '#8250df',
304
+ variable: '#1f2328',
305
+ parameter: '#953800',
306
+ property: '#1f2328',
307
+ field: '#1f2328',
308
+ member: '#1f2328',
309
+ type: '#953800',
310
+ tag: '#116329',
311
+ attribute: '#0550ae',
312
+ operator: '#cf222e',
313
+ heading: '#0550ae',
314
+ link: '#1f2328',
315
+ constant: '#0550ae',
316
+ punctuation: '#1f2328',
317
+ diffAdd: '#116329',
318
+ diffDelete: '#82071e',
319
+ diffHunk: '#8250df',
299
320
  searchMatch: '#825c00',
300
321
  },
301
322
  'adea-dark': {
302
- keyword: '#bc8cff',
303
- string: '#3fb950',
304
- number: '#d29922',
305
- comment: '#7d7b81',
306
- function: '#58a6ff',
307
- variable: '#bab8be',
308
- type: '#39c5cf',
309
- tag: '#ff7b72',
310
- attribute: '#d29922',
311
- operator: '#bab8be',
312
- heading: '#bc8cff',
313
- link: '#58a6ff',
314
- diffAdd: '#3fb950',
315
- diffDelete: '#ff7b72',
316
- diffHunk: '#39c5cf',
323
+ keyword: '#ff7b72',
324
+ storage: '#ff7b72',
325
+ string: '#a5d6ff',
326
+ number: '#79c0ff',
327
+ comment: '#8b949e',
328
+ function: '#d2a8ff',
329
+ variable: '#e6edf3',
330
+ parameter: '#ffa657',
331
+ property: '#e6edf3',
332
+ field: '#e6edf3',
333
+ member: '#e6edf3',
334
+ type: '#ffa657',
335
+ tag: '#7ee787',
336
+ attribute: '#79c0ff',
337
+ operator: '#ff7b72',
338
+ heading: '#79c0ff',
339
+ link: '#e6edf3',
340
+ constant: '#79c0ff',
341
+ punctuation: '#e6edf3',
342
+ diffAdd: '#7ee787',
343
+ diffDelete: '#ffa198',
344
+ diffHunk: '#d2a8ff',
317
345
  searchMatch: '#d29922',
318
346
  },
319
347
  }
@@ -24,6 +24,8 @@ import {
24
24
  } from '@adea-ai/themes'
25
25
 
26
26
  export { editorRolesHex, syntaxRolesHex } from '@adea-ai/themes'
27
+ /** A VS Code colour theme's syntax roles, resolved as VS Code paints them, for importers. */
28
+ export { opaqueHex, parseVsCodeTheme, vsCodeSyntax, type VsCodeTheme } from '@adea-ai/themes'
27
29
  export { oklchToHex, parseColor as parseOklchColor } from '@adea-ai/themes/oklch'
28
30
  export { shadcnDestructiveProjection, shadcnVariables } from '@adea-ai/themes/adapters/shadcn'
29
31
  export { toXtermTheme } from '@adea-ai/themes/adapters/xterm'
@@ -89,17 +89,24 @@ export type ThemeTerminalPalette = Record<keyof typeof THEME_TERMINAL_PROPERTIES
89
89
  /** The syntax roles a code view needs. */
90
90
  export const THEME_EDITOR_PROPERTIES = {
91
91
  keyword: '--editor-keyword',
92
+ storage: '--editor-storage',
92
93
  string: '--editor-string',
93
94
  number: '--editor-number',
94
95
  comment: '--editor-comment',
95
96
  function: '--editor-function',
96
97
  variable: '--editor-variable',
98
+ parameter: '--editor-parameter',
99
+ property: '--editor-property',
100
+ field: '--editor-field',
101
+ member: '--editor-member',
97
102
  type: '--editor-type',
98
103
  tag: '--editor-tag',
99
104
  attribute: '--editor-attribute',
100
105
  operator: '--editor-operator',
101
106
  heading: '--editor-heading',
102
107
  link: '--editor-link',
108
+ constant: '--editor-constant',
109
+ punctuation: '--editor-punctuation',
103
110
  diffAdd: '--editor-diff-add',
104
111
  diffDelete: '--editor-diff-delete',
105
112
  diffHunk: '--editor-diff-hunk',