@neurocode-ai/tui 1.18.8

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 (241) hide show
  1. package/bunfig.toml +4 -0
  2. package/package.json +72 -0
  3. package/src/app.tsx +1134 -0
  4. package/src/attention.ts +260 -0
  5. package/src/audio.d.ts +9 -0
  6. package/src/audio.ts +53 -0
  7. package/src/clipboard.ts +124 -0
  8. package/src/component/bg-pulse-render.ts +436 -0
  9. package/src/component/bg-pulse.tsx +99 -0
  10. package/src/component/command-palette.tsx +79 -0
  11. package/src/component/dialog-agent.tsx +31 -0
  12. package/src/component/dialog-console-org.tsx +135 -0
  13. package/src/component/dialog-debug.tsx +90 -0
  14. package/src/component/dialog-mcp.tsx +85 -0
  15. package/src/component/dialog-model.tsx +197 -0
  16. package/src/component/dialog-move-session.tsx +353 -0
  17. package/src/component/dialog-provider.tsx +469 -0
  18. package/src/component/dialog-retry-action.tsx +160 -0
  19. package/src/component/dialog-session-delete-failed.tsx +99 -0
  20. package/src/component/dialog-session-list.tsx +364 -0
  21. package/src/component/dialog-session-rename.tsx +31 -0
  22. package/src/component/dialog-skill.tsx +70 -0
  23. package/src/component/dialog-stash.tsx +87 -0
  24. package/src/component/dialog-status.tsx +168 -0
  25. package/src/component/dialog-tag.tsx +47 -0
  26. package/src/component/dialog-theme-list.tsx +50 -0
  27. package/src/component/dialog-variant.tsx +39 -0
  28. package/src/component/dialog-workspace-create.tsx +308 -0
  29. package/src/component/dialog-workspace-file-changes.tsx +144 -0
  30. package/src/component/dialog-workspace-list.tsx +112 -0
  31. package/src/component/dialog-workspace-unavailable.tsx +69 -0
  32. package/src/component/error-component.tsx +240 -0
  33. package/src/component/logo.tsx +61 -0
  34. package/src/component/plugin-route-missing.tsx +14 -0
  35. package/src/component/prompt/autocomplete.tsx +781 -0
  36. package/src/component/prompt/cwd.ts +0 -0
  37. package/src/component/prompt/frecency.tsx +1 -0
  38. package/src/component/prompt/history.tsx +1 -0
  39. package/src/component/prompt/index.tsx +1713 -0
  40. package/src/component/prompt/local-attachment.ts +48 -0
  41. package/src/component/prompt/move.tsx +205 -0
  42. package/src/component/prompt/stash.tsx +1 -0
  43. package/src/component/prompt/workspace.tsx +137 -0
  44. package/src/component/register-spinner.ts +6 -0
  45. package/src/component/spinner.tsx +26 -0
  46. package/src/component/startup-loading.tsx +63 -0
  47. package/src/component/todo-item.tsx +32 -0
  48. package/src/component/use-connected.tsx +12 -0
  49. package/src/component/workspace-label.tsx +19 -0
  50. package/src/config/index.tsx +129 -0
  51. package/src/config/keybind.ts +471 -0
  52. package/src/context/args.tsx +16 -0
  53. package/src/context/clipboard.tsx +18 -0
  54. package/src/context/data.tsx +569 -0
  55. package/src/context/directory.ts +17 -0
  56. package/src/context/editor.ts +408 -0
  57. package/src/context/epilogue.tsx +6 -0
  58. package/src/context/event.ts +36 -0
  59. package/src/context/exit.tsx +8 -0
  60. package/src/context/helper.tsx +26 -0
  61. package/src/context/kv.tsx +66 -0
  62. package/src/context/local.tsx +542 -0
  63. package/src/context/location.tsx +14 -0
  64. package/src/context/path-format.tsx +24 -0
  65. package/src/context/permission.tsx +26 -0
  66. package/src/context/project.tsx +115 -0
  67. package/src/context/prompt.tsx +18 -0
  68. package/src/context/route.tsx +60 -0
  69. package/src/context/runtime.tsx +62 -0
  70. package/src/context/sdk.tsx +151 -0
  71. package/src/context/sync.tsx +666 -0
  72. package/src/context/theme.tsx +332 -0
  73. package/src/context/thinking.ts +67 -0
  74. package/src/editor-zed.ts +286 -0
  75. package/src/editor.ts +101 -0
  76. package/src/feature-plugins/builtins.ts +36 -0
  77. package/src/feature-plugins/home/footer.tsx +100 -0
  78. package/src/feature-plugins/home/tips-view.tsx +287 -0
  79. package/src/feature-plugins/home/tips.tsx +59 -0
  80. package/src/feature-plugins/sidebar/context.tsx +65 -0
  81. package/src/feature-plugins/sidebar/files.tsx +70 -0
  82. package/src/feature-plugins/sidebar/footer.tsx +98 -0
  83. package/src/feature-plugins/sidebar/lsp.tsx +65 -0
  84. package/src/feature-plugins/sidebar/mcp.tsx +97 -0
  85. package/src/feature-plugins/sidebar/todo.tsx +49 -0
  86. package/src/feature-plugins/system/diff-viewer-file-tree-utils.ts +232 -0
  87. package/src/feature-plugins/system/diff-viewer-file-tree.tsx +162 -0
  88. package/src/feature-plugins/system/diff-viewer-ui.tsx +103 -0
  89. package/src/feature-plugins/system/diff-viewer.tsx +1077 -0
  90. package/src/feature-plugins/system/notifications.ts +94 -0
  91. package/src/feature-plugins/system/plugins.tsx +269 -0
  92. package/src/feature-plugins/system/which-key.tsx +608 -0
  93. package/src/index.tsx +1 -0
  94. package/src/keymap.tsx +290 -0
  95. package/src/logo.ts +11 -0
  96. package/src/parsers-config.ts +386 -0
  97. package/src/plugin/adapters.tsx +355 -0
  98. package/src/plugin/api.ts +52 -0
  99. package/src/plugin/command-shim.ts +109 -0
  100. package/src/plugin/runtime.tsx +81 -0
  101. package/src/plugin/slots.tsx +65 -0
  102. package/src/prompt/display.ts +48 -0
  103. package/src/prompt/frecency.tsx +80 -0
  104. package/src/prompt/history.tsx +111 -0
  105. package/src/prompt/part.ts +29 -0
  106. package/src/prompt/stash.tsx +89 -0
  107. package/src/prompt/traits.ts +29 -0
  108. package/src/routes/home/session-destination.tsx +41 -0
  109. package/src/routes/home.tsx +95 -0
  110. package/src/routes/session/dialog-fork-from-timeline.tsx +76 -0
  111. package/src/routes/session/dialog-message.tsx +109 -0
  112. package/src/routes/session/dialog-subagent.tsx +26 -0
  113. package/src/routes/session/dialog-timeline.tsx +47 -0
  114. package/src/routes/session/footer.tsx +91 -0
  115. package/src/routes/session/index.tsx +2710 -0
  116. package/src/routes/session/permission.tsx +718 -0
  117. package/src/routes/session/question.tsx +514 -0
  118. package/src/routes/session/sidebar.tsx +103 -0
  119. package/src/routes/session/subagent-footer.tsx +132 -0
  120. package/src/runtime.tsx +9 -0
  121. package/src/terminal-win32.ts +130 -0
  122. package/src/theme/assets/aura.json +69 -0
  123. package/src/theme/assets/ayu.json +80 -0
  124. package/src/theme/assets/carbonfox.json +248 -0
  125. package/src/theme/assets/catppuccin-frappe.json +230 -0
  126. package/src/theme/assets/catppuccin-macchiato.json +230 -0
  127. package/src/theme/assets/catppuccin.json +112 -0
  128. package/src/theme/assets/cobalt2.json +225 -0
  129. package/src/theme/assets/cursor.json +249 -0
  130. package/src/theme/assets/dracula.json +219 -0
  131. package/src/theme/assets/everforest.json +241 -0
  132. package/src/theme/assets/flexoki.json +237 -0
  133. package/src/theme/assets/github.json +233 -0
  134. package/src/theme/assets/gruvbox.json +242 -0
  135. package/src/theme/assets/kanagawa.json +77 -0
  136. package/src/theme/assets/lucent-orng.json +234 -0
  137. package/src/theme/assets/material.json +235 -0
  138. package/src/theme/assets/matrix.json +77 -0
  139. package/src/theme/assets/mercury.json +252 -0
  140. package/src/theme/assets/monokai.json +221 -0
  141. package/src/theme/assets/nightowl.json +221 -0
  142. package/src/theme/assets/nord.json +223 -0
  143. package/src/theme/assets/one-dark.json +84 -0
  144. package/src/theme/assets/opencode.json +245 -0
  145. package/src/theme/assets/orng.json +249 -0
  146. package/src/theme/assets/osaka-jade.json +93 -0
  147. package/src/theme/assets/palenight.json +222 -0
  148. package/src/theme/assets/rosepine.json +234 -0
  149. package/src/theme/assets/solarized.json +223 -0
  150. package/src/theme/assets/synthwave84.json +226 -0
  151. package/src/theme/assets/tokyonight.json +243 -0
  152. package/src/theme/assets/vercel.json +245 -0
  153. package/src/theme/assets/vesper.json +218 -0
  154. package/src/theme/assets/zenburn.json +223 -0
  155. package/src/theme/index.ts +1089 -0
  156. package/src/ui/border.ts +21 -0
  157. package/src/ui/dialog-alert.tsx +66 -0
  158. package/src/ui/dialog-confirm.tsx +108 -0
  159. package/src/ui/dialog-export-options.tsx +217 -0
  160. package/src/ui/dialog-help.tsx +40 -0
  161. package/src/ui/dialog-prompt.tsx +126 -0
  162. package/src/ui/dialog-select.tsx +790 -0
  163. package/src/ui/dialog.tsx +231 -0
  164. package/src/ui/link.tsx +34 -0
  165. package/src/ui/spinner.ts +368 -0
  166. package/src/ui/toast.tsx +102 -0
  167. package/src/util/collapse-tool-output.ts +19 -0
  168. package/src/util/error.ts +182 -0
  169. package/src/util/filetype.ts +130 -0
  170. package/src/util/format.ts +20 -0
  171. package/src/util/layout.ts +25 -0
  172. package/src/util/locale.ts +86 -0
  173. package/src/util/model.ts +28 -0
  174. package/src/util/path.ts +12 -0
  175. package/src/util/persistence.ts +33 -0
  176. package/src/util/presentation.ts +38 -0
  177. package/src/util/provider-origin.ts +7 -0
  178. package/src/util/record.ts +3 -0
  179. package/src/util/renderer.ts +7 -0
  180. package/src/util/revert-diff.ts +18 -0
  181. package/src/util/scroll.ts +27 -0
  182. package/src/util/selection.ts +79 -0
  183. package/src/util/session.ts +3 -0
  184. package/src/util/signal.ts +51 -0
  185. package/src/util/system.ts +20 -0
  186. package/src/util/tool-display.ts +13 -0
  187. package/src/util/transcript.ts +112 -0
  188. package/sst-env.d.ts +10 -0
  189. package/test/app-lifecycle.test.tsx +128 -0
  190. package/test/cli/cmd/tui/dialog-workspace-create.test.ts +28 -0
  191. package/test/cli/cmd/tui/model-options.test.ts +32 -0
  192. package/test/cli/cmd/tui/notifications.test.ts +267 -0
  193. package/test/cli/cmd/tui/provider-options.test.ts +41 -0
  194. package/test/cli/cmd/tui/sync-fixture.tsx +70 -0
  195. package/test/cli/cmd/tui/sync-live-hydration.test.tsx +262 -0
  196. package/test/cli/cmd/tui/sync-undefined-messages.test.tsx +43 -0
  197. package/test/cli/cmd/tui/sync.test.tsx +65 -0
  198. package/test/cli/tui/__snapshots__/inline-tool-wrap-snapshot.test.tsx.snap +92 -0
  199. package/test/cli/tui/data.test.tsx +486 -0
  200. package/test/cli/tui/dialog-prompt.test.tsx +147 -0
  201. package/test/cli/tui/diff-viewer-file-tree.test.tsx +200 -0
  202. package/test/cli/tui/diff-viewer.test.tsx +268 -0
  203. package/test/cli/tui/inline-tool-wrap-snapshot.test.tsx +351 -0
  204. package/test/cli/tui/prompt-submit-race.test.ts +98 -0
  205. package/test/cli/tui/thinking.test.ts +36 -0
  206. package/test/cli/tui/use-event.test.tsx +148 -0
  207. package/test/clipboard.test.ts +19 -0
  208. package/test/component/dialog-session-list.test.ts +46 -0
  209. package/test/config.test.tsx +127 -0
  210. package/test/context/local.test.ts +22 -0
  211. package/test/editor.test.ts +32 -0
  212. package/test/feature-plugins/diff-viewer-file-tree-utils.test.ts +323 -0
  213. package/test/fixture/fixture.ts +13 -0
  214. package/test/fixture/tui-environment.tsx +32 -0
  215. package/test/fixture/tui-plugin.ts +36 -0
  216. package/test/fixture/tui-runtime.ts +12 -0
  217. package/test/fixture/tui-sdk.ts +109 -0
  218. package/test/index.test.tsx +6 -0
  219. package/test/keymap.test.tsx +141 -0
  220. package/test/plugin/runtime.test.ts +50 -0
  221. package/test/plugin/slots.test.tsx +38 -0
  222. package/test/prompt/display.test.ts +33 -0
  223. package/test/prompt/history.test.ts +39 -0
  224. package/test/prompt/jsonl.test.ts +24 -0
  225. package/test/prompt/local-attachment.test.ts +43 -0
  226. package/test/prompt/part.test.ts +53 -0
  227. package/test/prompt/persistence.test.ts +23 -0
  228. package/test/prompt/traits.test.ts +25 -0
  229. package/test/runtime.test.tsx +37 -0
  230. package/test/theme.test.ts +81 -0
  231. package/test/util/error.test.ts +49 -0
  232. package/test/util/filetype.test.ts +16 -0
  233. package/test/util/format.test.ts +59 -0
  234. package/test/util/model.test.ts +9 -0
  235. package/test/util/presentation.test.ts +8 -0
  236. package/test/util/renderer.test.ts +30 -0
  237. package/test/util/revert-diff.test.ts +35 -0
  238. package/test/util/session.test.ts +10 -0
  239. package/test/util/tool-display.test.ts +40 -0
  240. package/test/util/transcript.test.ts +421 -0
  241. package/tsconfig.json +10 -0
@@ -0,0 +1,225 @@
1
+ {
2
+ "$schema": "https://opencode.ai/theme.json",
3
+ "defs": {
4
+ "background": "#193549",
5
+ "backgroundAlt": "#122738",
6
+ "backgroundPanel": "#1f4662",
7
+ "foreground": "#ffffff",
8
+ "foregroundMuted": "#adb7c9",
9
+ "yellow": "#ffc600",
10
+ "yellowBright": "#ffe14c",
11
+ "orange": "#ff9d00",
12
+ "orangeBright": "#ffb454",
13
+ "mint": "#2affdf",
14
+ "mintBright": "#7efff5",
15
+ "blue": "#0088ff",
16
+ "blueBright": "#5cb7ff",
17
+ "pink": "#ff628c",
18
+ "pinkBright": "#ff86a5",
19
+ "green": "#9eff80",
20
+ "greenBright": "#b9ff9f",
21
+ "purple": "#9a5feb",
22
+ "purpleBright": "#b88cfd",
23
+ "red": "#ff0088",
24
+ "redBright": "#ff5fb3"
25
+ },
26
+ "theme": {
27
+ "primary": {
28
+ "dark": "blue",
29
+ "light": "#0066cc"
30
+ },
31
+ "secondary": {
32
+ "dark": "purple",
33
+ "light": "#7c4dff"
34
+ },
35
+ "accent": {
36
+ "dark": "mint",
37
+ "light": "#00acc1"
38
+ },
39
+ "error": {
40
+ "dark": "red",
41
+ "light": "#e91e63"
42
+ },
43
+ "warning": {
44
+ "dark": "yellow",
45
+ "light": "#ff9800"
46
+ },
47
+ "success": {
48
+ "dark": "green",
49
+ "light": "#4caf50"
50
+ },
51
+ "info": {
52
+ "dark": "orange",
53
+ "light": "#ff5722"
54
+ },
55
+ "text": {
56
+ "dark": "foreground",
57
+ "light": "#193549"
58
+ },
59
+ "textMuted": {
60
+ "dark": "foregroundMuted",
61
+ "light": "#5c6b7d"
62
+ },
63
+ "background": {
64
+ "dark": "#193549",
65
+ "light": "#ffffff"
66
+ },
67
+ "backgroundPanel": {
68
+ "dark": "#122738",
69
+ "light": "#f5f7fa"
70
+ },
71
+ "backgroundElement": {
72
+ "dark": "#1f4662",
73
+ "light": "#e8ecf1"
74
+ },
75
+ "border": {
76
+ "dark": "#1f4662",
77
+ "light": "#d3dae3"
78
+ },
79
+ "borderActive": {
80
+ "dark": "blue",
81
+ "light": "#0066cc"
82
+ },
83
+ "borderSubtle": {
84
+ "dark": "#0e1e2e",
85
+ "light": "#e8ecf1"
86
+ },
87
+ "diffAdded": {
88
+ "dark": "green",
89
+ "light": "#4caf50"
90
+ },
91
+ "diffRemoved": {
92
+ "dark": "red",
93
+ "light": "#e91e63"
94
+ },
95
+ "diffContext": {
96
+ "dark": "foregroundMuted",
97
+ "light": "#5c6b7d"
98
+ },
99
+ "diffHunkHeader": {
100
+ "dark": "mint",
101
+ "light": "#00acc1"
102
+ },
103
+ "diffHighlightAdded": {
104
+ "dark": "greenBright",
105
+ "light": "#4caf50"
106
+ },
107
+ "diffHighlightRemoved": {
108
+ "dark": "redBright",
109
+ "light": "#e91e63"
110
+ },
111
+ "diffAddedBg": {
112
+ "dark": "#1a3a2a",
113
+ "light": "#e8f5e9"
114
+ },
115
+ "diffRemovedBg": {
116
+ "dark": "#3a1a2a",
117
+ "light": "#ffebee"
118
+ },
119
+ "diffContextBg": {
120
+ "dark": "#122738",
121
+ "light": "#f5f7fa"
122
+ },
123
+ "diffLineNumber": "textMuted",
124
+ "diffAddedLineNumberBg": {
125
+ "dark": "#1a3a2a",
126
+ "light": "#e8f5e9"
127
+ },
128
+ "diffRemovedLineNumberBg": {
129
+ "dark": "#3a1a2a",
130
+ "light": "#ffebee"
131
+ },
132
+ "markdownText": {
133
+ "dark": "foreground",
134
+ "light": "#193549"
135
+ },
136
+ "markdownHeading": {
137
+ "dark": "yellow",
138
+ "light": "#ff9800"
139
+ },
140
+ "markdownLink": {
141
+ "dark": "blue",
142
+ "light": "#0066cc"
143
+ },
144
+ "markdownLinkText": {
145
+ "dark": "mint",
146
+ "light": "#00acc1"
147
+ },
148
+ "markdownCode": {
149
+ "dark": "green",
150
+ "light": "#4caf50"
151
+ },
152
+ "markdownBlockQuote": {
153
+ "dark": "foregroundMuted",
154
+ "light": "#5c6b7d"
155
+ },
156
+ "markdownEmph": {
157
+ "dark": "orange",
158
+ "light": "#ff5722"
159
+ },
160
+ "markdownStrong": {
161
+ "dark": "pink",
162
+ "light": "#e91e63"
163
+ },
164
+ "markdownHorizontalRule": {
165
+ "dark": "#2d5a7b",
166
+ "light": "#d3dae3"
167
+ },
168
+ "markdownListItem": {
169
+ "dark": "blue",
170
+ "light": "#0066cc"
171
+ },
172
+ "markdownListEnumeration": {
173
+ "dark": "mint",
174
+ "light": "#00acc1"
175
+ },
176
+ "markdownImage": {
177
+ "dark": "blue",
178
+ "light": "#0066cc"
179
+ },
180
+ "markdownImageText": {
181
+ "dark": "mint",
182
+ "light": "#00acc1"
183
+ },
184
+ "markdownCodeBlock": {
185
+ "dark": "foreground",
186
+ "light": "#193549"
187
+ },
188
+ "syntaxComment": {
189
+ "dark": "#0088ff",
190
+ "light": "#5c6b7d"
191
+ },
192
+ "syntaxKeyword": {
193
+ "dark": "orange",
194
+ "light": "#ff5722"
195
+ },
196
+ "syntaxFunction": {
197
+ "dark": "yellow",
198
+ "light": "#ff9800"
199
+ },
200
+ "syntaxVariable": {
201
+ "dark": "foreground",
202
+ "light": "#193549"
203
+ },
204
+ "syntaxString": {
205
+ "dark": "green",
206
+ "light": "#4caf50"
207
+ },
208
+ "syntaxNumber": {
209
+ "dark": "pink",
210
+ "light": "#e91e63"
211
+ },
212
+ "syntaxType": {
213
+ "dark": "mint",
214
+ "light": "#00acc1"
215
+ },
216
+ "syntaxOperator": {
217
+ "dark": "orange",
218
+ "light": "#ff5722"
219
+ },
220
+ "syntaxPunctuation": {
221
+ "dark": "foreground",
222
+ "light": "#193549"
223
+ }
224
+ }
225
+ }
@@ -0,0 +1,249 @@
1
+ {
2
+ "$schema": "https://opencode.ai/theme.json",
3
+ "defs": {
4
+ "darkBg": "#181818",
5
+ "darkPanel": "#141414",
6
+ "darkElement": "#262626",
7
+ "darkFg": "#e4e4e4",
8
+ "darkMuted": "#e4e4e45e",
9
+ "darkBorder": "#e4e4e413",
10
+ "darkBorderActive": "#e4e4e426",
11
+ "darkCyan": "#88c0d0",
12
+ "darkBlue": "#81a1c1",
13
+ "darkGreen": "#3fa266",
14
+ "darkGreenBright": "#70b489",
15
+ "darkRed": "#e34671",
16
+ "darkRedBright": "#fc6b83",
17
+ "darkYellow": "#f1b467",
18
+ "darkOrange": "#d2943e",
19
+ "darkPink": "#E394DC",
20
+ "darkPurple": "#AAA0FA",
21
+ "darkTeal": "#82D2CE",
22
+ "darkSyntaxYellow": "#F8C762",
23
+ "darkSyntaxOrange": "#EFB080",
24
+ "darkSyntaxGreen": "#A8CC7C",
25
+ "darkSyntaxBlue": "#87C3FF",
26
+ "lightBg": "#fcfcfc",
27
+ "lightPanel": "#f3f3f3",
28
+ "lightElement": "#ededed",
29
+ "lightFg": "#141414",
30
+ "lightMuted": "#141414ad",
31
+ "lightBorder": "#14141413",
32
+ "lightBorderActive": "#14141426",
33
+ "lightTeal": "#6f9ba6",
34
+ "lightBlue": "#3c7cab",
35
+ "lightBlueDark": "#206595",
36
+ "lightGreen": "#1f8a65",
37
+ "lightGreenBright": "#55a583",
38
+ "lightRed": "#cf2d56",
39
+ "lightRedBright": "#e75e78",
40
+ "lightOrange": "#db704b",
41
+ "lightYellow": "#c08532",
42
+ "lightPurple": "#9e94d5",
43
+ "lightPurpleDark": "#6049b3",
44
+ "lightPink": "#b8448b",
45
+ "lightMagenta": "#b3003f"
46
+ },
47
+ "theme": {
48
+ "primary": {
49
+ "dark": "darkCyan",
50
+ "light": "lightTeal"
51
+ },
52
+ "secondary": {
53
+ "dark": "darkBlue",
54
+ "light": "lightBlue"
55
+ },
56
+ "accent": {
57
+ "dark": "darkCyan",
58
+ "light": "lightTeal"
59
+ },
60
+ "error": {
61
+ "dark": "darkRed",
62
+ "light": "lightRed"
63
+ },
64
+ "warning": {
65
+ "dark": "darkYellow",
66
+ "light": "lightOrange"
67
+ },
68
+ "success": {
69
+ "dark": "darkGreen",
70
+ "light": "lightGreen"
71
+ },
72
+ "info": {
73
+ "dark": "darkBlue",
74
+ "light": "lightBlue"
75
+ },
76
+ "text": {
77
+ "dark": "darkFg",
78
+ "light": "lightFg"
79
+ },
80
+ "textMuted": {
81
+ "dark": "darkMuted",
82
+ "light": "lightMuted"
83
+ },
84
+ "background": {
85
+ "dark": "darkBg",
86
+ "light": "lightBg"
87
+ },
88
+ "backgroundPanel": {
89
+ "dark": "darkPanel",
90
+ "light": "lightPanel"
91
+ },
92
+ "backgroundElement": {
93
+ "dark": "darkElement",
94
+ "light": "lightElement"
95
+ },
96
+ "border": {
97
+ "dark": "darkBorder",
98
+ "light": "lightBorder"
99
+ },
100
+ "borderActive": {
101
+ "dark": "darkCyan",
102
+ "light": "lightTeal"
103
+ },
104
+ "borderSubtle": {
105
+ "dark": "#0f0f0f",
106
+ "light": "#e0e0e0"
107
+ },
108
+ "diffAdded": {
109
+ "dark": "darkGreen",
110
+ "light": "lightGreen"
111
+ },
112
+ "diffRemoved": {
113
+ "dark": "darkRed",
114
+ "light": "lightRed"
115
+ },
116
+ "diffContext": {
117
+ "dark": "darkMuted",
118
+ "light": "lightMuted"
119
+ },
120
+ "diffHunkHeader": {
121
+ "dark": "darkMuted",
122
+ "light": "lightMuted"
123
+ },
124
+ "diffHighlightAdded": {
125
+ "dark": "darkGreenBright",
126
+ "light": "lightGreenBright"
127
+ },
128
+ "diffHighlightRemoved": {
129
+ "dark": "darkRedBright",
130
+ "light": "lightRedBright"
131
+ },
132
+ "diffAddedBg": {
133
+ "dark": "#3fa26633",
134
+ "light": "#1f8a651f"
135
+ },
136
+ "diffRemovedBg": {
137
+ "dark": "#b8004933",
138
+ "light": "#cf2d5614"
139
+ },
140
+ "diffContextBg": {
141
+ "dark": "darkPanel",
142
+ "light": "lightPanel"
143
+ },
144
+ "diffLineNumber": {
145
+ "dark": "#eeeeee87",
146
+ "light": "textMuted"
147
+ },
148
+ "diffAddedLineNumberBg": {
149
+ "dark": "#3fa26633",
150
+ "light": "#1f8a651f"
151
+ },
152
+ "diffRemovedLineNumberBg": {
153
+ "dark": "#b8004933",
154
+ "light": "#cf2d5614"
155
+ },
156
+ "markdownText": {
157
+ "dark": "darkFg",
158
+ "light": "lightFg"
159
+ },
160
+ "markdownHeading": {
161
+ "dark": "darkPurple",
162
+ "light": "lightBlueDark"
163
+ },
164
+ "markdownLink": {
165
+ "dark": "darkTeal",
166
+ "light": "lightBlueDark"
167
+ },
168
+ "markdownLinkText": {
169
+ "dark": "darkBlue",
170
+ "light": "lightMuted"
171
+ },
172
+ "markdownCode": {
173
+ "dark": "darkPink",
174
+ "light": "lightGreen"
175
+ },
176
+ "markdownBlockQuote": {
177
+ "dark": "darkMuted",
178
+ "light": "lightMuted"
179
+ },
180
+ "markdownEmph": {
181
+ "dark": "darkTeal",
182
+ "light": "lightFg"
183
+ },
184
+ "markdownStrong": {
185
+ "dark": "darkSyntaxYellow",
186
+ "light": "lightFg"
187
+ },
188
+ "markdownHorizontalRule": {
189
+ "dark": "darkMuted",
190
+ "light": "lightMuted"
191
+ },
192
+ "markdownListItem": {
193
+ "dark": "darkFg",
194
+ "light": "lightFg"
195
+ },
196
+ "markdownListEnumeration": {
197
+ "dark": "darkCyan",
198
+ "light": "lightMuted"
199
+ },
200
+ "markdownImage": {
201
+ "dark": "darkCyan",
202
+ "light": "lightBlueDark"
203
+ },
204
+ "markdownImageText": {
205
+ "dark": "darkBlue",
206
+ "light": "lightMuted"
207
+ },
208
+ "markdownCodeBlock": {
209
+ "dark": "darkFg",
210
+ "light": "lightFg"
211
+ },
212
+ "syntaxComment": {
213
+ "dark": "darkMuted",
214
+ "light": "lightMuted"
215
+ },
216
+ "syntaxKeyword": {
217
+ "dark": "darkTeal",
218
+ "light": "lightMagenta"
219
+ },
220
+ "syntaxFunction": {
221
+ "dark": "darkSyntaxOrange",
222
+ "light": "lightOrange"
223
+ },
224
+ "syntaxVariable": {
225
+ "dark": "darkFg",
226
+ "light": "lightFg"
227
+ },
228
+ "syntaxString": {
229
+ "dark": "darkPink",
230
+ "light": "lightPurple"
231
+ },
232
+ "syntaxNumber": {
233
+ "dark": "darkSyntaxYellow",
234
+ "light": "lightPink"
235
+ },
236
+ "syntaxType": {
237
+ "dark": "darkSyntaxOrange",
238
+ "light": "lightBlueDark"
239
+ },
240
+ "syntaxOperator": {
241
+ "dark": "darkFg",
242
+ "light": "lightFg"
243
+ },
244
+ "syntaxPunctuation": {
245
+ "dark": "darkFg",
246
+ "light": "lightFg"
247
+ }
248
+ }
249
+ }
@@ -0,0 +1,219 @@
1
+ {
2
+ "$schema": "https://opencode.ai/theme.json",
3
+ "defs": {
4
+ "background": "#282a36",
5
+ "currentLine": "#44475a",
6
+ "selection": "#44475a",
7
+ "foreground": "#f8f8f2",
8
+ "comment": "#6272a4",
9
+ "cyan": "#8be9fd",
10
+ "green": "#50fa7b",
11
+ "orange": "#ffb86c",
12
+ "pink": "#ff79c6",
13
+ "purple": "#bd93f9",
14
+ "red": "#ff5555",
15
+ "yellow": "#f1fa8c"
16
+ },
17
+ "theme": {
18
+ "primary": {
19
+ "dark": "purple",
20
+ "light": "purple"
21
+ },
22
+ "secondary": {
23
+ "dark": "pink",
24
+ "light": "pink"
25
+ },
26
+ "accent": {
27
+ "dark": "cyan",
28
+ "light": "cyan"
29
+ },
30
+ "error": {
31
+ "dark": "red",
32
+ "light": "red"
33
+ },
34
+ "warning": {
35
+ "dark": "yellow",
36
+ "light": "yellow"
37
+ },
38
+ "success": {
39
+ "dark": "green",
40
+ "light": "green"
41
+ },
42
+ "info": {
43
+ "dark": "orange",
44
+ "light": "orange"
45
+ },
46
+ "text": {
47
+ "dark": "foreground",
48
+ "light": "#282a36"
49
+ },
50
+ "textMuted": {
51
+ "dark": "comment",
52
+ "light": "#6272a4"
53
+ },
54
+ "background": {
55
+ "dark": "#282a36",
56
+ "light": "#f8f8f2"
57
+ },
58
+ "backgroundPanel": {
59
+ "dark": "#21222c",
60
+ "light": "#e8e8e2"
61
+ },
62
+ "backgroundElement": {
63
+ "dark": "currentLine",
64
+ "light": "#d8d8d2"
65
+ },
66
+ "border": {
67
+ "dark": "currentLine",
68
+ "light": "#c8c8c2"
69
+ },
70
+ "borderActive": {
71
+ "dark": "purple",
72
+ "light": "purple"
73
+ },
74
+ "borderSubtle": {
75
+ "dark": "#191a21",
76
+ "light": "#e0e0e0"
77
+ },
78
+ "diffAdded": {
79
+ "dark": "green",
80
+ "light": "green"
81
+ },
82
+ "diffRemoved": {
83
+ "dark": "red",
84
+ "light": "red"
85
+ },
86
+ "diffContext": {
87
+ "dark": "comment",
88
+ "light": "#6272a4"
89
+ },
90
+ "diffHunkHeader": {
91
+ "dark": "comment",
92
+ "light": "#6272a4"
93
+ },
94
+ "diffHighlightAdded": {
95
+ "dark": "green",
96
+ "light": "green"
97
+ },
98
+ "diffHighlightRemoved": {
99
+ "dark": "red",
100
+ "light": "red"
101
+ },
102
+ "diffAddedBg": {
103
+ "dark": "#1a3a1a",
104
+ "light": "#e0ffe0"
105
+ },
106
+ "diffRemovedBg": {
107
+ "dark": "#3a1a1a",
108
+ "light": "#ffe0e0"
109
+ },
110
+ "diffContextBg": {
111
+ "dark": "#21222c",
112
+ "light": "#e8e8e2"
113
+ },
114
+ "diffLineNumber": {
115
+ "dark": "#989aa4",
116
+ "light": "#686865"
117
+ },
118
+ "diffAddedLineNumberBg": {
119
+ "dark": "#1a3a1a",
120
+ "light": "#e0ffe0"
121
+ },
122
+ "diffRemovedLineNumberBg": {
123
+ "dark": "#3a1a1a",
124
+ "light": "#ffe0e0"
125
+ },
126
+ "markdownText": {
127
+ "dark": "foreground",
128
+ "light": "#282a36"
129
+ },
130
+ "markdownHeading": {
131
+ "dark": "purple",
132
+ "light": "purple"
133
+ },
134
+ "markdownLink": {
135
+ "dark": "cyan",
136
+ "light": "cyan"
137
+ },
138
+ "markdownLinkText": {
139
+ "dark": "pink",
140
+ "light": "pink"
141
+ },
142
+ "markdownCode": {
143
+ "dark": "green",
144
+ "light": "green"
145
+ },
146
+ "markdownBlockQuote": {
147
+ "dark": "comment",
148
+ "light": "#6272a4"
149
+ },
150
+ "markdownEmph": {
151
+ "dark": "yellow",
152
+ "light": "yellow"
153
+ },
154
+ "markdownStrong": {
155
+ "dark": "orange",
156
+ "light": "orange"
157
+ },
158
+ "markdownHorizontalRule": {
159
+ "dark": "comment",
160
+ "light": "#6272a4"
161
+ },
162
+ "markdownListItem": {
163
+ "dark": "purple",
164
+ "light": "purple"
165
+ },
166
+ "markdownListEnumeration": {
167
+ "dark": "cyan",
168
+ "light": "cyan"
169
+ },
170
+ "markdownImage": {
171
+ "dark": "cyan",
172
+ "light": "cyan"
173
+ },
174
+ "markdownImageText": {
175
+ "dark": "pink",
176
+ "light": "pink"
177
+ },
178
+ "markdownCodeBlock": {
179
+ "dark": "foreground",
180
+ "light": "#282a36"
181
+ },
182
+ "syntaxComment": {
183
+ "dark": "comment",
184
+ "light": "#6272a4"
185
+ },
186
+ "syntaxKeyword": {
187
+ "dark": "pink",
188
+ "light": "pink"
189
+ },
190
+ "syntaxFunction": {
191
+ "dark": "green",
192
+ "light": "green"
193
+ },
194
+ "syntaxVariable": {
195
+ "dark": "foreground",
196
+ "light": "#282a36"
197
+ },
198
+ "syntaxString": {
199
+ "dark": "yellow",
200
+ "light": "yellow"
201
+ },
202
+ "syntaxNumber": {
203
+ "dark": "purple",
204
+ "light": "purple"
205
+ },
206
+ "syntaxType": {
207
+ "dark": "cyan",
208
+ "light": "cyan"
209
+ },
210
+ "syntaxOperator": {
211
+ "dark": "pink",
212
+ "light": "pink"
213
+ },
214
+ "syntaxPunctuation": {
215
+ "dark": "foreground",
216
+ "light": "#282a36"
217
+ }
218
+ }
219
+ }