@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,241 @@
1
+ {
2
+ "$schema": "https://opencode.ai/theme.json",
3
+ "defs": {
4
+ "darkStep1": "#2d353b",
5
+ "darkStep2": "#333c43",
6
+ "darkStep3": "#343f44",
7
+ "darkStep4": "#3d484d",
8
+ "darkStep5": "#475258",
9
+ "darkStep6": "#7a8478",
10
+ "darkStep7": "#859289",
11
+ "darkStep8": "#9da9a0",
12
+ "darkStep9": "#a7c080",
13
+ "darkStep10": "#83c092",
14
+ "darkStep11": "#7a8478",
15
+ "darkStep12": "#d3c6aa",
16
+ "darkRed": "#e67e80",
17
+ "darkOrange": "#e69875",
18
+ "darkGreen": "#a7c080",
19
+ "darkCyan": "#83c092",
20
+ "darkYellow": "#dbbc7f",
21
+ "lightStep1": "#fdf6e3",
22
+ "lightStep2": "#efebd4",
23
+ "lightStep3": "#f4f0d9",
24
+ "lightStep4": "#efebd4",
25
+ "lightStep5": "#e6e2cc",
26
+ "lightStep6": "#a6b0a0",
27
+ "lightStep7": "#939f91",
28
+ "lightStep8": "#829181",
29
+ "lightStep9": "#8da101",
30
+ "lightStep10": "#35a77c",
31
+ "lightStep11": "#a6b0a0",
32
+ "lightStep12": "#5c6a72",
33
+ "lightRed": "#f85552",
34
+ "lightOrange": "#f57d26",
35
+ "lightGreen": "#8da101",
36
+ "lightCyan": "#35a77c",
37
+ "lightYellow": "#dfa000"
38
+ },
39
+ "theme": {
40
+ "primary": {
41
+ "dark": "darkStep9",
42
+ "light": "lightStep9"
43
+ },
44
+ "secondary": {
45
+ "dark": "#7fbbb3",
46
+ "light": "#3a94c5"
47
+ },
48
+ "accent": {
49
+ "dark": "#d699b6",
50
+ "light": "#df69ba"
51
+ },
52
+ "error": {
53
+ "dark": "darkRed",
54
+ "light": "lightRed"
55
+ },
56
+ "warning": {
57
+ "dark": "darkOrange",
58
+ "light": "lightOrange"
59
+ },
60
+ "success": {
61
+ "dark": "darkGreen",
62
+ "light": "lightGreen"
63
+ },
64
+ "info": {
65
+ "dark": "darkCyan",
66
+ "light": "lightCyan"
67
+ },
68
+ "text": {
69
+ "dark": "darkStep12",
70
+ "light": "lightStep12"
71
+ },
72
+ "textMuted": {
73
+ "dark": "darkStep11",
74
+ "light": "lightStep11"
75
+ },
76
+ "background": {
77
+ "dark": "darkStep1",
78
+ "light": "lightStep1"
79
+ },
80
+ "backgroundPanel": {
81
+ "dark": "darkStep2",
82
+ "light": "lightStep2"
83
+ },
84
+ "backgroundElement": {
85
+ "dark": "darkStep3",
86
+ "light": "lightStep3"
87
+ },
88
+ "border": {
89
+ "dark": "darkStep7",
90
+ "light": "lightStep7"
91
+ },
92
+ "borderActive": {
93
+ "dark": "darkStep8",
94
+ "light": "lightStep8"
95
+ },
96
+ "borderSubtle": {
97
+ "dark": "darkStep6",
98
+ "light": "lightStep6"
99
+ },
100
+ "diffAdded": {
101
+ "dark": "#4fd6be",
102
+ "light": "#1e725c"
103
+ },
104
+ "diffRemoved": {
105
+ "dark": "#c53b53",
106
+ "light": "#c53b53"
107
+ },
108
+ "diffContext": {
109
+ "dark": "#828bb8",
110
+ "light": "#7086b5"
111
+ },
112
+ "diffHunkHeader": {
113
+ "dark": "#828bb8",
114
+ "light": "#7086b5"
115
+ },
116
+ "diffHighlightAdded": {
117
+ "dark": "#b8db87",
118
+ "light": "#4db380"
119
+ },
120
+ "diffHighlightRemoved": {
121
+ "dark": "#e26a75",
122
+ "light": "#f52a65"
123
+ },
124
+ "diffAddedBg": {
125
+ "dark": "#20303b",
126
+ "light": "#d5e5d5"
127
+ },
128
+ "diffRemovedBg": {
129
+ "dark": "#37222c",
130
+ "light": "#f7d8db"
131
+ },
132
+ "diffContextBg": {
133
+ "dark": "darkStep2",
134
+ "light": "lightStep2"
135
+ },
136
+ "diffLineNumber": {
137
+ "dark": "#a0a5a7",
138
+ "light": "#5b5951"
139
+ },
140
+ "diffAddedLineNumberBg": {
141
+ "dark": "#1b2b34",
142
+ "light": "#c5d5c5"
143
+ },
144
+ "diffRemovedLineNumberBg": {
145
+ "dark": "#2d1f26",
146
+ "light": "#e7c8cb"
147
+ },
148
+ "markdownText": {
149
+ "dark": "darkStep12",
150
+ "light": "lightStep12"
151
+ },
152
+ "markdownHeading": {
153
+ "dark": "#d699b6",
154
+ "light": "#df69ba"
155
+ },
156
+ "markdownLink": {
157
+ "dark": "darkStep9",
158
+ "light": "lightStep9"
159
+ },
160
+ "markdownLinkText": {
161
+ "dark": "darkCyan",
162
+ "light": "lightCyan"
163
+ },
164
+ "markdownCode": {
165
+ "dark": "darkGreen",
166
+ "light": "lightGreen"
167
+ },
168
+ "markdownBlockQuote": {
169
+ "dark": "darkYellow",
170
+ "light": "lightYellow"
171
+ },
172
+ "markdownEmph": {
173
+ "dark": "darkYellow",
174
+ "light": "lightYellow"
175
+ },
176
+ "markdownStrong": {
177
+ "dark": "darkOrange",
178
+ "light": "lightOrange"
179
+ },
180
+ "markdownHorizontalRule": {
181
+ "dark": "darkStep11",
182
+ "light": "lightStep11"
183
+ },
184
+ "markdownListItem": {
185
+ "dark": "darkStep9",
186
+ "light": "lightStep9"
187
+ },
188
+ "markdownListEnumeration": {
189
+ "dark": "darkCyan",
190
+ "light": "lightCyan"
191
+ },
192
+ "markdownImage": {
193
+ "dark": "darkStep9",
194
+ "light": "lightStep9"
195
+ },
196
+ "markdownImageText": {
197
+ "dark": "darkCyan",
198
+ "light": "lightCyan"
199
+ },
200
+ "markdownCodeBlock": {
201
+ "dark": "darkStep12",
202
+ "light": "lightStep12"
203
+ },
204
+ "syntaxComment": {
205
+ "dark": "darkStep11",
206
+ "light": "lightStep11"
207
+ },
208
+ "syntaxKeyword": {
209
+ "dark": "#d699b6",
210
+ "light": "#df69ba"
211
+ },
212
+ "syntaxFunction": {
213
+ "dark": "darkStep9",
214
+ "light": "lightStep9"
215
+ },
216
+ "syntaxVariable": {
217
+ "dark": "darkRed",
218
+ "light": "lightRed"
219
+ },
220
+ "syntaxString": {
221
+ "dark": "darkGreen",
222
+ "light": "lightGreen"
223
+ },
224
+ "syntaxNumber": {
225
+ "dark": "darkOrange",
226
+ "light": "lightOrange"
227
+ },
228
+ "syntaxType": {
229
+ "dark": "darkYellow",
230
+ "light": "lightYellow"
231
+ },
232
+ "syntaxOperator": {
233
+ "dark": "darkCyan",
234
+ "light": "lightCyan"
235
+ },
236
+ "syntaxPunctuation": {
237
+ "dark": "darkStep12",
238
+ "light": "lightStep12"
239
+ }
240
+ }
241
+ }
@@ -0,0 +1,237 @@
1
+ {
2
+ "$schema": "https://opencode.ai/theme.json",
3
+ "defs": {
4
+ "black": "#100F0F",
5
+ "base950": "#1C1B1A",
6
+ "base900": "#282726",
7
+ "base850": "#343331",
8
+ "base800": "#403E3C",
9
+ "base700": "#575653",
10
+ "base600": "#6F6E69",
11
+ "base500": "#878580",
12
+ "base300": "#B7B5AC",
13
+ "base200": "#CECDC3",
14
+ "base150": "#DAD8CE",
15
+ "base100": "#E6E4D9",
16
+ "base50": "#F2F0E5",
17
+ "paper": "#FFFCF0",
18
+ "red400": "#D14D41",
19
+ "red600": "#AF3029",
20
+ "orange400": "#DA702C",
21
+ "orange600": "#BC5215",
22
+ "yellow400": "#D0A215",
23
+ "yellow600": "#AD8301",
24
+ "green400": "#879A39",
25
+ "green600": "#66800B",
26
+ "cyan400": "#3AA99F",
27
+ "cyan600": "#24837B",
28
+ "blue400": "#4385BE",
29
+ "blue600": "#205EA6",
30
+ "purple400": "#8B7EC8",
31
+ "purple600": "#5E409D",
32
+ "magenta400": "#CE5D97",
33
+ "magenta600": "#A02F6F"
34
+ },
35
+ "theme": {
36
+ "primary": {
37
+ "dark": "orange400",
38
+ "light": "blue600"
39
+ },
40
+ "secondary": {
41
+ "dark": "blue400",
42
+ "light": "purple600"
43
+ },
44
+ "accent": {
45
+ "dark": "purple400",
46
+ "light": "orange600"
47
+ },
48
+ "error": {
49
+ "dark": "red400",
50
+ "light": "red600"
51
+ },
52
+ "warning": {
53
+ "dark": "orange400",
54
+ "light": "orange600"
55
+ },
56
+ "success": {
57
+ "dark": "green400",
58
+ "light": "green600"
59
+ },
60
+ "info": {
61
+ "dark": "cyan400",
62
+ "light": "cyan600"
63
+ },
64
+ "text": {
65
+ "dark": "base200",
66
+ "light": "black"
67
+ },
68
+ "textMuted": {
69
+ "dark": "base600",
70
+ "light": "base600"
71
+ },
72
+ "background": {
73
+ "dark": "black",
74
+ "light": "paper"
75
+ },
76
+ "backgroundPanel": {
77
+ "dark": "base950",
78
+ "light": "base50"
79
+ },
80
+ "backgroundElement": {
81
+ "dark": "base900",
82
+ "light": "base100"
83
+ },
84
+ "border": {
85
+ "dark": "base700",
86
+ "light": "base300"
87
+ },
88
+ "borderActive": {
89
+ "dark": "base600",
90
+ "light": "base500"
91
+ },
92
+ "borderSubtle": {
93
+ "dark": "base800",
94
+ "light": "base200"
95
+ },
96
+ "diffAdded": {
97
+ "dark": "green400",
98
+ "light": "green600"
99
+ },
100
+ "diffRemoved": {
101
+ "dark": "red400",
102
+ "light": "red600"
103
+ },
104
+ "diffContext": {
105
+ "dark": "base600",
106
+ "light": "base600"
107
+ },
108
+ "diffHunkHeader": {
109
+ "dark": "blue400",
110
+ "light": "blue600"
111
+ },
112
+ "diffHighlightAdded": {
113
+ "dark": "green400",
114
+ "light": "green600"
115
+ },
116
+ "diffHighlightRemoved": {
117
+ "dark": "red400",
118
+ "light": "red600"
119
+ },
120
+ "diffAddedBg": {
121
+ "dark": "#1A2D1A",
122
+ "light": "#D5E5D5"
123
+ },
124
+ "diffRemovedBg": {
125
+ "dark": "#2D1A1A",
126
+ "light": "#F7D8DB"
127
+ },
128
+ "diffContextBg": {
129
+ "dark": "base950",
130
+ "light": "base50"
131
+ },
132
+ "diffLineNumber": {
133
+ "dark": "#888883",
134
+ "light": "#5a5955"
135
+ },
136
+ "diffAddedLineNumberBg": {
137
+ "dark": "#152515",
138
+ "light": "#C5D5C5"
139
+ },
140
+ "diffRemovedLineNumberBg": {
141
+ "dark": "#251515",
142
+ "light": "#E7C8CB"
143
+ },
144
+ "markdownText": {
145
+ "dark": "base200",
146
+ "light": "black"
147
+ },
148
+ "markdownHeading": {
149
+ "dark": "purple400",
150
+ "light": "purple600"
151
+ },
152
+ "markdownLink": {
153
+ "dark": "blue400",
154
+ "light": "blue600"
155
+ },
156
+ "markdownLinkText": {
157
+ "dark": "cyan400",
158
+ "light": "cyan600"
159
+ },
160
+ "markdownCode": {
161
+ "dark": "cyan400",
162
+ "light": "cyan600"
163
+ },
164
+ "markdownBlockQuote": {
165
+ "dark": "yellow400",
166
+ "light": "yellow600"
167
+ },
168
+ "markdownEmph": {
169
+ "dark": "yellow400",
170
+ "light": "yellow600"
171
+ },
172
+ "markdownStrong": {
173
+ "dark": "orange400",
174
+ "light": "orange600"
175
+ },
176
+ "markdownHorizontalRule": {
177
+ "dark": "base600",
178
+ "light": "base600"
179
+ },
180
+ "markdownListItem": {
181
+ "dark": "orange400",
182
+ "light": "orange600"
183
+ },
184
+ "markdownListEnumeration": {
185
+ "dark": "cyan400",
186
+ "light": "cyan600"
187
+ },
188
+ "markdownImage": {
189
+ "dark": "magenta400",
190
+ "light": "magenta600"
191
+ },
192
+ "markdownImageText": {
193
+ "dark": "cyan400",
194
+ "light": "cyan600"
195
+ },
196
+ "markdownCodeBlock": {
197
+ "dark": "base200",
198
+ "light": "black"
199
+ },
200
+ "syntaxComment": {
201
+ "dark": "base600",
202
+ "light": "base600"
203
+ },
204
+ "syntaxKeyword": {
205
+ "dark": "green400",
206
+ "light": "green600"
207
+ },
208
+ "syntaxFunction": {
209
+ "dark": "orange400",
210
+ "light": "orange600"
211
+ },
212
+ "syntaxVariable": {
213
+ "dark": "blue400",
214
+ "light": "blue600"
215
+ },
216
+ "syntaxString": {
217
+ "dark": "cyan400",
218
+ "light": "cyan600"
219
+ },
220
+ "syntaxNumber": {
221
+ "dark": "purple400",
222
+ "light": "purple600"
223
+ },
224
+ "syntaxType": {
225
+ "dark": "yellow400",
226
+ "light": "yellow600"
227
+ },
228
+ "syntaxOperator": {
229
+ "dark": "base300",
230
+ "light": "base600"
231
+ },
232
+ "syntaxPunctuation": {
233
+ "dark": "base300",
234
+ "light": "base600"
235
+ }
236
+ }
237
+ }
@@ -0,0 +1,233 @@
1
+ {
2
+ "$schema": "https://opencode.ai/theme.json",
3
+ "defs": {
4
+ "darkBg": "#0d1117",
5
+ "darkBgAlt": "#010409",
6
+ "darkBgPanel": "#161b22",
7
+ "darkFg": "#c9d1d9",
8
+ "darkFgMuted": "#8b949e",
9
+ "darkBlue": "#58a6ff",
10
+ "darkGreen": "#3fb950",
11
+ "darkRed": "#f85149",
12
+ "darkOrange": "#d29922",
13
+ "darkPurple": "#bc8cff",
14
+ "darkPink": "#ff7b72",
15
+ "darkYellow": "#e3b341",
16
+ "darkCyan": "#39c5cf",
17
+ "lightBg": "#ffffff",
18
+ "lightBgAlt": "#f6f8fa",
19
+ "lightBgPanel": "#f0f3f6",
20
+ "lightFg": "#24292f",
21
+ "lightFgMuted": "#57606a",
22
+ "lightBlue": "#0969da",
23
+ "lightGreen": "#1a7f37",
24
+ "lightRed": "#cf222e",
25
+ "lightOrange": "#bc4c00",
26
+ "lightPurple": "#8250df",
27
+ "lightPink": "#bf3989",
28
+ "lightYellow": "#9a6700",
29
+ "lightCyan": "#1b7c83"
30
+ },
31
+ "theme": {
32
+ "primary": {
33
+ "dark": "darkBlue",
34
+ "light": "lightBlue"
35
+ },
36
+ "secondary": {
37
+ "dark": "darkPurple",
38
+ "light": "lightPurple"
39
+ },
40
+ "accent": {
41
+ "dark": "darkCyan",
42
+ "light": "lightCyan"
43
+ },
44
+ "error": {
45
+ "dark": "darkRed",
46
+ "light": "lightRed"
47
+ },
48
+ "warning": {
49
+ "dark": "darkYellow",
50
+ "light": "lightYellow"
51
+ },
52
+ "success": {
53
+ "dark": "darkGreen",
54
+ "light": "lightGreen"
55
+ },
56
+ "info": {
57
+ "dark": "darkOrange",
58
+ "light": "lightOrange"
59
+ },
60
+ "text": {
61
+ "dark": "darkFg",
62
+ "light": "lightFg"
63
+ },
64
+ "textMuted": {
65
+ "dark": "darkFgMuted",
66
+ "light": "lightFgMuted"
67
+ },
68
+ "background": {
69
+ "dark": "darkBg",
70
+ "light": "lightBg"
71
+ },
72
+ "backgroundPanel": {
73
+ "dark": "darkBgAlt",
74
+ "light": "lightBgAlt"
75
+ },
76
+ "backgroundElement": {
77
+ "dark": "darkBgPanel",
78
+ "light": "lightBgPanel"
79
+ },
80
+ "border": {
81
+ "dark": "#30363d",
82
+ "light": "#d0d7de"
83
+ },
84
+ "borderActive": {
85
+ "dark": "darkBlue",
86
+ "light": "lightBlue"
87
+ },
88
+ "borderSubtle": {
89
+ "dark": "#21262d",
90
+ "light": "#d8dee4"
91
+ },
92
+ "diffAdded": {
93
+ "dark": "darkGreen",
94
+ "light": "lightGreen"
95
+ },
96
+ "diffRemoved": {
97
+ "dark": "darkRed",
98
+ "light": "lightRed"
99
+ },
100
+ "diffContext": {
101
+ "dark": "darkFgMuted",
102
+ "light": "lightFgMuted"
103
+ },
104
+ "diffHunkHeader": {
105
+ "dark": "darkBlue",
106
+ "light": "lightBlue"
107
+ },
108
+ "diffHighlightAdded": {
109
+ "dark": "#3fb950",
110
+ "light": "#1a7f37"
111
+ },
112
+ "diffHighlightRemoved": {
113
+ "dark": "#f85149",
114
+ "light": "#cf222e"
115
+ },
116
+ "diffAddedBg": {
117
+ "dark": "#033a16",
118
+ "light": "#dafbe1"
119
+ },
120
+ "diffRemovedBg": {
121
+ "dark": "#67060c",
122
+ "light": "#ffebe9"
123
+ },
124
+ "diffContextBg": {
125
+ "dark": "darkBgAlt",
126
+ "light": "lightBgAlt"
127
+ },
128
+ "diffLineNumber": {
129
+ "dark": "#95999e",
130
+ "light": "textMuted"
131
+ },
132
+ "diffAddedLineNumberBg": {
133
+ "dark": "#033a16",
134
+ "light": "#dafbe1"
135
+ },
136
+ "diffRemovedLineNumberBg": {
137
+ "dark": "#67060c",
138
+ "light": "#ffebe9"
139
+ },
140
+ "markdownText": {
141
+ "dark": "darkFg",
142
+ "light": "lightFg"
143
+ },
144
+ "markdownHeading": {
145
+ "dark": "darkBlue",
146
+ "light": "lightBlue"
147
+ },
148
+ "markdownLink": {
149
+ "dark": "darkBlue",
150
+ "light": "lightBlue"
151
+ },
152
+ "markdownLinkText": {
153
+ "dark": "darkCyan",
154
+ "light": "lightCyan"
155
+ },
156
+ "markdownCode": {
157
+ "dark": "darkPink",
158
+ "light": "lightPink"
159
+ },
160
+ "markdownBlockQuote": {
161
+ "dark": "darkFgMuted",
162
+ "light": "lightFgMuted"
163
+ },
164
+ "markdownEmph": {
165
+ "dark": "darkYellow",
166
+ "light": "lightYellow"
167
+ },
168
+ "markdownStrong": {
169
+ "dark": "darkOrange",
170
+ "light": "lightOrange"
171
+ },
172
+ "markdownHorizontalRule": {
173
+ "dark": "#30363d",
174
+ "light": "#d0d7de"
175
+ },
176
+ "markdownListItem": {
177
+ "dark": "darkBlue",
178
+ "light": "lightBlue"
179
+ },
180
+ "markdownListEnumeration": {
181
+ "dark": "darkCyan",
182
+ "light": "lightCyan"
183
+ },
184
+ "markdownImage": {
185
+ "dark": "darkBlue",
186
+ "light": "lightBlue"
187
+ },
188
+ "markdownImageText": {
189
+ "dark": "darkCyan",
190
+ "light": "lightCyan"
191
+ },
192
+ "markdownCodeBlock": {
193
+ "dark": "darkFg",
194
+ "light": "lightFg"
195
+ },
196
+ "syntaxComment": {
197
+ "dark": "darkFgMuted",
198
+ "light": "lightFgMuted"
199
+ },
200
+ "syntaxKeyword": {
201
+ "dark": "darkPink",
202
+ "light": "lightRed"
203
+ },
204
+ "syntaxFunction": {
205
+ "dark": "darkPurple",
206
+ "light": "lightPurple"
207
+ },
208
+ "syntaxVariable": {
209
+ "dark": "darkOrange",
210
+ "light": "lightOrange"
211
+ },
212
+ "syntaxString": {
213
+ "dark": "darkCyan",
214
+ "light": "lightBlue"
215
+ },
216
+ "syntaxNumber": {
217
+ "dark": "darkBlue",
218
+ "light": "lightCyan"
219
+ },
220
+ "syntaxType": {
221
+ "dark": "darkOrange",
222
+ "light": "lightOrange"
223
+ },
224
+ "syntaxOperator": {
225
+ "dark": "darkPink",
226
+ "light": "lightRed"
227
+ },
228
+ "syntaxPunctuation": {
229
+ "dark": "darkFg",
230
+ "light": "lightFg"
231
+ }
232
+ }
233
+ }