@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,230 @@
1
+ {
2
+ "$schema": "https://opencode.ai/theme.json",
3
+ "defs": {
4
+ "frappeRosewater": "#f2d5cf",
5
+ "frappeFlamingo": "#eebebe",
6
+ "frappePink": "#f4b8e4",
7
+ "frappeMauve": "#ca9ee6",
8
+ "frappeRed": "#e78284",
9
+ "frappeMaroon": "#ea999c",
10
+ "frappePeach": "#ef9f76",
11
+ "frappeYellow": "#e5c890",
12
+ "frappeGreen": "#a6d189",
13
+ "frappeTeal": "#81c8be",
14
+ "frappeSky": "#99d1db",
15
+ "frappeSapphire": "#85c1dc",
16
+ "frappeBlue": "#8da4e2",
17
+ "frappeLavender": "#babbf1",
18
+ "frappeText": "#c6d0f5",
19
+ "frappeSubtext1": "#b5bfe2",
20
+ "frappeSubtext0": "#a5adce",
21
+ "frappeOverlay2": "#949cb8",
22
+ "frappeOverlay1": "#838ba7",
23
+ "frappeOverlay0": "#737994",
24
+ "frappeSurface2": "#626880",
25
+ "frappeSurface1": "#51576d",
26
+ "frappeSurface0": "#414559",
27
+ "frappeBase": "#303446",
28
+ "frappeMantle": "#292c3c",
29
+ "frappeCrust": "#232634"
30
+ },
31
+ "theme": {
32
+ "primary": {
33
+ "dark": "frappeBlue",
34
+ "light": "frappeBlue"
35
+ },
36
+ "secondary": {
37
+ "dark": "frappeMauve",
38
+ "light": "frappeMauve"
39
+ },
40
+ "accent": {
41
+ "dark": "frappePink",
42
+ "light": "frappePink"
43
+ },
44
+ "error": {
45
+ "dark": "frappeRed",
46
+ "light": "frappeRed"
47
+ },
48
+ "warning": {
49
+ "dark": "frappeYellow",
50
+ "light": "frappeYellow"
51
+ },
52
+ "success": {
53
+ "dark": "frappeGreen",
54
+ "light": "frappeGreen"
55
+ },
56
+ "info": {
57
+ "dark": "frappeTeal",
58
+ "light": "frappeTeal"
59
+ },
60
+ "text": {
61
+ "dark": "frappeText",
62
+ "light": "frappeText"
63
+ },
64
+ "textMuted": {
65
+ "dark": "frappeOverlay2",
66
+ "light": "frappeOverlay2"
67
+ },
68
+ "background": {
69
+ "dark": "frappeBase",
70
+ "light": "frappeBase"
71
+ },
72
+ "backgroundPanel": {
73
+ "dark": "frappeMantle",
74
+ "light": "frappeMantle"
75
+ },
76
+ "backgroundElement": {
77
+ "dark": "frappeCrust",
78
+ "light": "frappeCrust"
79
+ },
80
+ "border": {
81
+ "dark": "frappeSurface0",
82
+ "light": "frappeSurface0"
83
+ },
84
+ "borderActive": {
85
+ "dark": "frappeSurface1",
86
+ "light": "frappeSurface1"
87
+ },
88
+ "borderSubtle": {
89
+ "dark": "frappeSurface2",
90
+ "light": "frappeSurface2"
91
+ },
92
+ "diffAdded": {
93
+ "dark": "frappeGreen",
94
+ "light": "frappeGreen"
95
+ },
96
+ "diffRemoved": {
97
+ "dark": "frappeRed",
98
+ "light": "frappeRed"
99
+ },
100
+ "diffContext": {
101
+ "dark": "frappeOverlay2",
102
+ "light": "frappeOverlay2"
103
+ },
104
+ "diffHunkHeader": {
105
+ "dark": "frappePeach",
106
+ "light": "frappePeach"
107
+ },
108
+ "diffHighlightAdded": {
109
+ "dark": "frappeGreen",
110
+ "light": "frappeGreen"
111
+ },
112
+ "diffHighlightRemoved": {
113
+ "dark": "frappeRed",
114
+ "light": "frappeRed"
115
+ },
116
+ "diffAddedBg": {
117
+ "dark": "#29342b",
118
+ "light": "#29342b"
119
+ },
120
+ "diffRemovedBg": {
121
+ "dark": "#3a2a31",
122
+ "light": "#3a2a31"
123
+ },
124
+ "diffContextBg": {
125
+ "dark": "frappeMantle",
126
+ "light": "frappeMantle"
127
+ },
128
+ "diffLineNumber": "textMuted",
129
+ "diffAddedLineNumberBg": {
130
+ "dark": "#223025",
131
+ "light": "#223025"
132
+ },
133
+ "diffRemovedLineNumberBg": {
134
+ "dark": "#2f242b",
135
+ "light": "#2f242b"
136
+ },
137
+ "markdownText": {
138
+ "dark": "frappeText",
139
+ "light": "frappeText"
140
+ },
141
+ "markdownHeading": {
142
+ "dark": "frappeMauve",
143
+ "light": "frappeMauve"
144
+ },
145
+ "markdownLink": {
146
+ "dark": "frappeBlue",
147
+ "light": "frappeBlue"
148
+ },
149
+ "markdownLinkText": {
150
+ "dark": "frappeSky",
151
+ "light": "frappeSky"
152
+ },
153
+ "markdownCode": {
154
+ "dark": "frappeGreen",
155
+ "light": "frappeGreen"
156
+ },
157
+ "markdownBlockQuote": {
158
+ "dark": "frappeYellow",
159
+ "light": "frappeYellow"
160
+ },
161
+ "markdownEmph": {
162
+ "dark": "frappeYellow",
163
+ "light": "frappeYellow"
164
+ },
165
+ "markdownStrong": {
166
+ "dark": "frappePeach",
167
+ "light": "frappePeach"
168
+ },
169
+ "markdownHorizontalRule": {
170
+ "dark": "frappeSubtext0",
171
+ "light": "frappeSubtext0"
172
+ },
173
+ "markdownListItem": {
174
+ "dark": "frappeBlue",
175
+ "light": "frappeBlue"
176
+ },
177
+ "markdownListEnumeration": {
178
+ "dark": "frappeSky",
179
+ "light": "frappeSky"
180
+ },
181
+ "markdownImage": {
182
+ "dark": "frappeBlue",
183
+ "light": "frappeBlue"
184
+ },
185
+ "markdownImageText": {
186
+ "dark": "frappeSky",
187
+ "light": "frappeSky"
188
+ },
189
+ "markdownCodeBlock": {
190
+ "dark": "frappeText",
191
+ "light": "frappeText"
192
+ },
193
+ "syntaxComment": {
194
+ "dark": "frappeOverlay2",
195
+ "light": "frappeOverlay2"
196
+ },
197
+ "syntaxKeyword": {
198
+ "dark": "frappeMauve",
199
+ "light": "frappeMauve"
200
+ },
201
+ "syntaxFunction": {
202
+ "dark": "frappeBlue",
203
+ "light": "frappeBlue"
204
+ },
205
+ "syntaxVariable": {
206
+ "dark": "frappeRed",
207
+ "light": "frappeRed"
208
+ },
209
+ "syntaxString": {
210
+ "dark": "frappeGreen",
211
+ "light": "frappeGreen"
212
+ },
213
+ "syntaxNumber": {
214
+ "dark": "frappePeach",
215
+ "light": "frappePeach"
216
+ },
217
+ "syntaxType": {
218
+ "dark": "frappeYellow",
219
+ "light": "frappeYellow"
220
+ },
221
+ "syntaxOperator": {
222
+ "dark": "frappeSky",
223
+ "light": "frappeSky"
224
+ },
225
+ "syntaxPunctuation": {
226
+ "dark": "frappeText",
227
+ "light": "frappeText"
228
+ }
229
+ }
230
+ }
@@ -0,0 +1,230 @@
1
+ {
2
+ "$schema": "https://opencode.ai/theme.json",
3
+ "defs": {
4
+ "macRosewater": "#f4dbd6",
5
+ "macFlamingo": "#f0c6c6",
6
+ "macPink": "#f5bde6",
7
+ "macMauve": "#c6a0f6",
8
+ "macRed": "#ed8796",
9
+ "macMaroon": "#ee99a0",
10
+ "macPeach": "#f5a97f",
11
+ "macYellow": "#eed49f",
12
+ "macGreen": "#a6da95",
13
+ "macTeal": "#8bd5ca",
14
+ "macSky": "#91d7e3",
15
+ "macSapphire": "#7dc4e4",
16
+ "macBlue": "#8aadf4",
17
+ "macLavender": "#b7bdf8",
18
+ "macText": "#cad3f5",
19
+ "macSubtext1": "#b8c0e0",
20
+ "macSubtext0": "#a5adcb",
21
+ "macOverlay2": "#939ab7",
22
+ "macOverlay1": "#8087a2",
23
+ "macOverlay0": "#6e738d",
24
+ "macSurface2": "#5b6078",
25
+ "macSurface1": "#494d64",
26
+ "macSurface0": "#363a4f",
27
+ "macBase": "#24273a",
28
+ "macMantle": "#1e2030",
29
+ "macCrust": "#181926"
30
+ },
31
+ "theme": {
32
+ "primary": {
33
+ "dark": "macBlue",
34
+ "light": "macBlue"
35
+ },
36
+ "secondary": {
37
+ "dark": "macMauve",
38
+ "light": "macMauve"
39
+ },
40
+ "accent": {
41
+ "dark": "macPink",
42
+ "light": "macPink"
43
+ },
44
+ "error": {
45
+ "dark": "macRed",
46
+ "light": "macRed"
47
+ },
48
+ "warning": {
49
+ "dark": "macYellow",
50
+ "light": "macYellow"
51
+ },
52
+ "success": {
53
+ "dark": "macGreen",
54
+ "light": "macGreen"
55
+ },
56
+ "info": {
57
+ "dark": "macTeal",
58
+ "light": "macTeal"
59
+ },
60
+ "text": {
61
+ "dark": "macText",
62
+ "light": "macText"
63
+ },
64
+ "textMuted": {
65
+ "dark": "macOverlay2",
66
+ "light": "macOverlay2"
67
+ },
68
+ "background": {
69
+ "dark": "macBase",
70
+ "light": "macBase"
71
+ },
72
+ "backgroundPanel": {
73
+ "dark": "macMantle",
74
+ "light": "macMantle"
75
+ },
76
+ "backgroundElement": {
77
+ "dark": "macCrust",
78
+ "light": "macCrust"
79
+ },
80
+ "border": {
81
+ "dark": "macSurface0",
82
+ "light": "macSurface0"
83
+ },
84
+ "borderActive": {
85
+ "dark": "macSurface1",
86
+ "light": "macSurface1"
87
+ },
88
+ "borderSubtle": {
89
+ "dark": "macSurface2",
90
+ "light": "macSurface2"
91
+ },
92
+ "diffAdded": {
93
+ "dark": "macGreen",
94
+ "light": "macGreen"
95
+ },
96
+ "diffRemoved": {
97
+ "dark": "macRed",
98
+ "light": "macRed"
99
+ },
100
+ "diffContext": {
101
+ "dark": "macOverlay2",
102
+ "light": "macOverlay2"
103
+ },
104
+ "diffHunkHeader": {
105
+ "dark": "macPeach",
106
+ "light": "macPeach"
107
+ },
108
+ "diffHighlightAdded": {
109
+ "dark": "macGreen",
110
+ "light": "macGreen"
111
+ },
112
+ "diffHighlightRemoved": {
113
+ "dark": "macRed",
114
+ "light": "macRed"
115
+ },
116
+ "diffAddedBg": {
117
+ "dark": "#29342b",
118
+ "light": "#29342b"
119
+ },
120
+ "diffRemovedBg": {
121
+ "dark": "#3a2a31",
122
+ "light": "#3a2a31"
123
+ },
124
+ "diffContextBg": {
125
+ "dark": "macMantle",
126
+ "light": "macMantle"
127
+ },
128
+ "diffLineNumber": "textMuted",
129
+ "diffAddedLineNumberBg": {
130
+ "dark": "#223025",
131
+ "light": "#223025"
132
+ },
133
+ "diffRemovedLineNumberBg": {
134
+ "dark": "#2f242b",
135
+ "light": "#2f242b"
136
+ },
137
+ "markdownText": {
138
+ "dark": "macText",
139
+ "light": "macText"
140
+ },
141
+ "markdownHeading": {
142
+ "dark": "macMauve",
143
+ "light": "macMauve"
144
+ },
145
+ "markdownLink": {
146
+ "dark": "macBlue",
147
+ "light": "macBlue"
148
+ },
149
+ "markdownLinkText": {
150
+ "dark": "macSky",
151
+ "light": "macSky"
152
+ },
153
+ "markdownCode": {
154
+ "dark": "macGreen",
155
+ "light": "macGreen"
156
+ },
157
+ "markdownBlockQuote": {
158
+ "dark": "macYellow",
159
+ "light": "macYellow"
160
+ },
161
+ "markdownEmph": {
162
+ "dark": "macYellow",
163
+ "light": "macYellow"
164
+ },
165
+ "markdownStrong": {
166
+ "dark": "macPeach",
167
+ "light": "macPeach"
168
+ },
169
+ "markdownHorizontalRule": {
170
+ "dark": "macSubtext0",
171
+ "light": "macSubtext0"
172
+ },
173
+ "markdownListItem": {
174
+ "dark": "macBlue",
175
+ "light": "macBlue"
176
+ },
177
+ "markdownListEnumeration": {
178
+ "dark": "macSky",
179
+ "light": "macSky"
180
+ },
181
+ "markdownImage": {
182
+ "dark": "macBlue",
183
+ "light": "macBlue"
184
+ },
185
+ "markdownImageText": {
186
+ "dark": "macSky",
187
+ "light": "macSky"
188
+ },
189
+ "markdownCodeBlock": {
190
+ "dark": "macText",
191
+ "light": "macText"
192
+ },
193
+ "syntaxComment": {
194
+ "dark": "macOverlay2",
195
+ "light": "macOverlay2"
196
+ },
197
+ "syntaxKeyword": {
198
+ "dark": "macMauve",
199
+ "light": "macMauve"
200
+ },
201
+ "syntaxFunction": {
202
+ "dark": "macBlue",
203
+ "light": "macBlue"
204
+ },
205
+ "syntaxVariable": {
206
+ "dark": "macRed",
207
+ "light": "macRed"
208
+ },
209
+ "syntaxString": {
210
+ "dark": "macGreen",
211
+ "light": "macGreen"
212
+ },
213
+ "syntaxNumber": {
214
+ "dark": "macPeach",
215
+ "light": "macPeach"
216
+ },
217
+ "syntaxType": {
218
+ "dark": "macYellow",
219
+ "light": "macYellow"
220
+ },
221
+ "syntaxOperator": {
222
+ "dark": "macSky",
223
+ "light": "macSky"
224
+ },
225
+ "syntaxPunctuation": {
226
+ "dark": "macText",
227
+ "light": "macText"
228
+ }
229
+ }
230
+ }
@@ -0,0 +1,112 @@
1
+ {
2
+ "$schema": "https://opencode.ai/theme.json",
3
+ "defs": {
4
+ "lightRosewater": "#dc8a78",
5
+ "lightFlamingo": "#dd7878",
6
+ "lightPink": "#ea76cb",
7
+ "lightMauve": "#8839ef",
8
+ "lightRed": "#d20f39",
9
+ "lightMaroon": "#e64553",
10
+ "lightPeach": "#fe640b",
11
+ "lightYellow": "#df8e1d",
12
+ "lightGreen": "#40a02b",
13
+ "lightTeal": "#179299",
14
+ "lightSky": "#04a5e5",
15
+ "lightSapphire": "#209fb5",
16
+ "lightBlue": "#1e66f5",
17
+ "lightLavender": "#7287fd",
18
+ "lightText": "#4c4f69",
19
+ "lightSubtext1": "#5c5f77",
20
+ "lightSubtext0": "#6c6f85",
21
+ "lightOverlay2": "#7c7f93",
22
+ "lightOverlay1": "#8c8fa1",
23
+ "lightOverlay0": "#9ca0b0",
24
+ "lightSurface2": "#acb0be",
25
+ "lightSurface1": "#bcc0cc",
26
+ "lightSurface0": "#ccd0da",
27
+ "lightBase": "#eff1f5",
28
+ "lightMantle": "#e6e9ef",
29
+ "lightCrust": "#dce0e8",
30
+ "darkRosewater": "#f5e0dc",
31
+ "darkFlamingo": "#f2cdcd",
32
+ "darkPink": "#f5c2e7",
33
+ "darkMauve": "#cba6f7",
34
+ "darkRed": "#f38ba8",
35
+ "darkMaroon": "#eba0ac",
36
+ "darkPeach": "#fab387",
37
+ "darkYellow": "#f9e2af",
38
+ "darkGreen": "#a6e3a1",
39
+ "darkTeal": "#94e2d5",
40
+ "darkSky": "#89dceb",
41
+ "darkSapphire": "#74c7ec",
42
+ "darkBlue": "#89b4fa",
43
+ "darkLavender": "#b4befe",
44
+ "darkText": "#cdd6f4",
45
+ "darkSubtext1": "#bac2de",
46
+ "darkSubtext0": "#a6adc8",
47
+ "darkOverlay2": "#9399b2",
48
+ "darkOverlay1": "#7f849c",
49
+ "darkOverlay0": "#6c7086",
50
+ "darkSurface2": "#585b70",
51
+ "darkSurface1": "#45475a",
52
+ "darkSurface0": "#313244",
53
+ "darkBase": "#1e1e2e",
54
+ "darkMantle": "#181825",
55
+ "darkCrust": "#11111b"
56
+ },
57
+ "theme": {
58
+ "primary": { "dark": "darkBlue", "light": "lightBlue" },
59
+ "secondary": { "dark": "darkMauve", "light": "lightMauve" },
60
+ "accent": { "dark": "darkPink", "light": "lightPink" },
61
+ "error": { "dark": "darkRed", "light": "lightRed" },
62
+ "warning": { "dark": "darkYellow", "light": "lightYellow" },
63
+ "success": { "dark": "darkGreen", "light": "lightGreen" },
64
+ "info": { "dark": "darkTeal", "light": "lightTeal" },
65
+ "text": { "dark": "darkText", "light": "lightText" },
66
+ "textMuted": { "dark": "darkOverlay2", "light": "lightOverlay2" },
67
+ "background": { "dark": "darkBase", "light": "lightBase" },
68
+ "backgroundPanel": { "dark": "darkMantle", "light": "lightMantle" },
69
+ "backgroundElement": { "dark": "darkCrust", "light": "lightCrust" },
70
+ "border": { "dark": "darkSurface0", "light": "lightSurface0" },
71
+ "borderActive": { "dark": "darkSurface1", "light": "lightSurface1" },
72
+ "borderSubtle": { "dark": "darkSurface2", "light": "lightSurface2" },
73
+ "diffAdded": { "dark": "darkGreen", "light": "lightGreen" },
74
+ "diffRemoved": { "dark": "darkRed", "light": "lightRed" },
75
+ "diffContext": { "dark": "darkOverlay2", "light": "lightOverlay2" },
76
+ "diffHunkHeader": { "dark": "darkPeach", "light": "lightPeach" },
77
+ "diffHighlightAdded": { "dark": "darkGreen", "light": "lightGreen" },
78
+ "diffHighlightRemoved": { "dark": "darkRed", "light": "lightRed" },
79
+ "diffAddedBg": { "dark": "#24312b", "light": "#d6f0d9" },
80
+ "diffRemovedBg": { "dark": "#3c2a32", "light": "#f6dfe2" },
81
+ "diffContextBg": { "dark": "darkMantle", "light": "lightMantle" },
82
+ "diffLineNumber": { "dark": "textMuted", "light": "#5b5d63" },
83
+ "diffAddedLineNumberBg": { "dark": "#1e2a25", "light": "#c9e3cb" },
84
+ "diffRemovedLineNumberBg": { "dark": "#32232a", "light": "#e9d3d6" },
85
+ "markdownText": { "dark": "darkText", "light": "lightText" },
86
+ "markdownHeading": { "dark": "darkMauve", "light": "lightMauve" },
87
+ "markdownLink": { "dark": "darkBlue", "light": "lightBlue" },
88
+ "markdownLinkText": { "dark": "darkSky", "light": "lightSky" },
89
+ "markdownCode": { "dark": "darkGreen", "light": "lightGreen" },
90
+ "markdownBlockQuote": { "dark": "darkYellow", "light": "lightYellow" },
91
+ "markdownEmph": { "dark": "darkYellow", "light": "lightYellow" },
92
+ "markdownStrong": { "dark": "darkPeach", "light": "lightPeach" },
93
+ "markdownHorizontalRule": {
94
+ "dark": "darkSubtext0",
95
+ "light": "lightSubtext0"
96
+ },
97
+ "markdownListItem": { "dark": "darkBlue", "light": "lightBlue" },
98
+ "markdownListEnumeration": { "dark": "darkSky", "light": "lightSky" },
99
+ "markdownImage": { "dark": "darkBlue", "light": "lightBlue" },
100
+ "markdownImageText": { "dark": "darkSky", "light": "lightSky" },
101
+ "markdownCodeBlock": { "dark": "darkText", "light": "lightText" },
102
+ "syntaxComment": { "dark": "darkOverlay2", "light": "lightOverlay2" },
103
+ "syntaxKeyword": { "dark": "darkMauve", "light": "lightMauve" },
104
+ "syntaxFunction": { "dark": "darkBlue", "light": "lightBlue" },
105
+ "syntaxVariable": { "dark": "darkRed", "light": "lightRed" },
106
+ "syntaxString": { "dark": "darkGreen", "light": "lightGreen" },
107
+ "syntaxNumber": { "dark": "darkPeach", "light": "lightPeach" },
108
+ "syntaxType": { "dark": "darkYellow", "light": "lightYellow" },
109
+ "syntaxOperator": { "dark": "darkSky", "light": "lightSky" },
110
+ "syntaxPunctuation": { "dark": "darkText", "light": "lightText" }
111
+ }
112
+ }