@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,84 @@
1
+ {
2
+ "$schema": "https://opencode.ai/theme.json",
3
+ "defs": {
4
+ "darkBg": "#282c34",
5
+ "darkBgAlt": "#21252b",
6
+ "darkBgPanel": "#353b45",
7
+ "darkFg": "#abb2bf",
8
+ "darkFgMuted": "#5c6370",
9
+ "darkPurple": "#c678dd",
10
+ "darkBlue": "#61afef",
11
+ "darkRed": "#e06c75",
12
+ "darkGreen": "#98c379",
13
+ "darkYellow": "#e5c07b",
14
+ "darkOrange": "#d19a66",
15
+ "darkCyan": "#56b6c2",
16
+ "lightBg": "#fafafa",
17
+ "lightBgAlt": "#f0f0f1",
18
+ "lightBgPanel": "#eaeaeb",
19
+ "lightFg": "#383a42",
20
+ "lightFgMuted": "#a0a1a7",
21
+ "lightPurple": "#a626a4",
22
+ "lightBlue": "#4078f2",
23
+ "lightRed": "#e45649",
24
+ "lightGreen": "#50a14f",
25
+ "lightYellow": "#c18401",
26
+ "lightOrange": "#986801",
27
+ "lightCyan": "#0184bc"
28
+ },
29
+ "theme": {
30
+ "primary": { "dark": "darkBlue", "light": "lightBlue" },
31
+ "secondary": { "dark": "darkPurple", "light": "lightPurple" },
32
+ "accent": { "dark": "darkCyan", "light": "lightCyan" },
33
+ "error": { "dark": "darkRed", "light": "lightRed" },
34
+ "warning": { "dark": "darkYellow", "light": "lightYellow" },
35
+ "success": { "dark": "darkGreen", "light": "lightGreen" },
36
+ "info": { "dark": "darkOrange", "light": "lightOrange" },
37
+ "text": { "dark": "darkFg", "light": "lightFg" },
38
+ "textMuted": { "dark": "darkFgMuted", "light": "lightFgMuted" },
39
+ "background": { "dark": "darkBg", "light": "lightBg" },
40
+ "backgroundPanel": { "dark": "darkBgAlt", "light": "lightBgAlt" },
41
+ "backgroundElement": { "dark": "darkBgPanel", "light": "lightBgPanel" },
42
+ "border": { "dark": "#393f4a", "light": "#d1d1d2" },
43
+ "borderActive": { "dark": "darkBlue", "light": "lightBlue" },
44
+ "borderSubtle": { "dark": "#2c313a", "light": "#e0e0e1" },
45
+ "diffAdded": { "dark": "darkGreen", "light": "lightGreen" },
46
+ "diffRemoved": { "dark": "darkRed", "light": "lightRed" },
47
+ "diffContext": { "dark": "darkFgMuted", "light": "lightFgMuted" },
48
+ "diffHunkHeader": { "dark": "darkCyan", "light": "lightCyan" },
49
+ "diffHighlightAdded": { "dark": "#aad482", "light": "#489447" },
50
+ "diffHighlightRemoved": { "dark": "#e8828b", "light": "#d65145" },
51
+ "diffAddedBg": { "dark": "#2c382b", "light": "#eafbe9" },
52
+ "diffRemovedBg": { "dark": "#3a2d2f", "light": "#fce9e8" },
53
+ "diffContextBg": { "dark": "darkBgAlt", "light": "lightBgAlt" },
54
+ "diffLineNumber": { "dark": "#9398a2", "light": "#666666" },
55
+ "diffAddedLineNumberBg": { "dark": "#283427", "light": "#e1f3df" },
56
+ "diffRemovedLineNumberBg": { "dark": "#36292b", "light": "#f5e2e1" },
57
+ "markdownText": { "dark": "darkFg", "light": "lightFg" },
58
+ "markdownHeading": { "dark": "darkPurple", "light": "lightPurple" },
59
+ "markdownLink": { "dark": "darkBlue", "light": "lightBlue" },
60
+ "markdownLinkText": { "dark": "darkCyan", "light": "lightCyan" },
61
+ "markdownCode": { "dark": "darkGreen", "light": "lightGreen" },
62
+ "markdownBlockQuote": { "dark": "darkFgMuted", "light": "lightFgMuted" },
63
+ "markdownEmph": { "dark": "darkYellow", "light": "lightYellow" },
64
+ "markdownStrong": { "dark": "darkOrange", "light": "lightOrange" },
65
+ "markdownHorizontalRule": {
66
+ "dark": "darkFgMuted",
67
+ "light": "lightFgMuted"
68
+ },
69
+ "markdownListItem": { "dark": "darkBlue", "light": "lightBlue" },
70
+ "markdownListEnumeration": { "dark": "darkCyan", "light": "lightCyan" },
71
+ "markdownImage": { "dark": "darkBlue", "light": "lightBlue" },
72
+ "markdownImageText": { "dark": "darkCyan", "light": "lightCyan" },
73
+ "markdownCodeBlock": { "dark": "darkFg", "light": "lightFg" },
74
+ "syntaxComment": { "dark": "darkFgMuted", "light": "lightFgMuted" },
75
+ "syntaxKeyword": { "dark": "darkPurple", "light": "lightPurple" },
76
+ "syntaxFunction": { "dark": "darkBlue", "light": "lightBlue" },
77
+ "syntaxVariable": { "dark": "darkRed", "light": "lightRed" },
78
+ "syntaxString": { "dark": "darkGreen", "light": "lightGreen" },
79
+ "syntaxNumber": { "dark": "darkOrange", "light": "lightOrange" },
80
+ "syntaxType": { "dark": "darkYellow", "light": "lightYellow" },
81
+ "syntaxOperator": { "dark": "darkCyan", "light": "lightCyan" },
82
+ "syntaxPunctuation": { "dark": "darkFg", "light": "lightFg" }
83
+ }
84
+ }
@@ -0,0 +1,245 @@
1
+ {
2
+ "$schema": "https://opencode.ai/theme.json",
3
+ "defs": {
4
+ "darkStep1": "#0a0a0a",
5
+ "darkStep2": "#141414",
6
+ "darkStep3": "#1e1e1e",
7
+ "darkStep4": "#282828",
8
+ "darkStep5": "#323232",
9
+ "darkStep6": "#3c3c3c",
10
+ "darkStep7": "#484848",
11
+ "darkStep8": "#606060",
12
+ "darkStep9": "#fab283",
13
+ "darkStep10": "#ffc09f",
14
+ "darkStep11": "#808080",
15
+ "darkStep12": "#eeeeee",
16
+ "darkSecondary": "#5c9cf5",
17
+ "darkAccent": "#9d7cd8",
18
+ "darkRed": "#e06c75",
19
+ "darkOrange": "#f5a742",
20
+ "darkGreen": "#7fd88f",
21
+ "darkCyan": "#56b6c2",
22
+ "darkYellow": "#e5c07b",
23
+ "lightStep1": "#ffffff",
24
+ "lightStep2": "#fafafa",
25
+ "lightStep3": "#f5f5f5",
26
+ "lightStep4": "#ebebeb",
27
+ "lightStep5": "#e1e1e1",
28
+ "lightStep6": "#d4d4d4",
29
+ "lightStep7": "#b8b8b8",
30
+ "lightStep8": "#a0a0a0",
31
+ "lightStep9": "#3b7dd8",
32
+ "lightStep10": "#2968c3",
33
+ "lightStep11": "#8a8a8a",
34
+ "lightStep12": "#1a1a1a",
35
+ "lightSecondary": "#7b5bb6",
36
+ "lightAccent": "#d68c27",
37
+ "lightRed": "#d1383d",
38
+ "lightOrange": "#d68c27",
39
+ "lightGreen": "#3d9a57",
40
+ "lightCyan": "#318795",
41
+ "lightYellow": "#b0851f"
42
+ },
43
+ "theme": {
44
+ "primary": {
45
+ "dark": "darkStep9",
46
+ "light": "lightStep9"
47
+ },
48
+ "secondary": {
49
+ "dark": "darkSecondary",
50
+ "light": "lightSecondary"
51
+ },
52
+ "accent": {
53
+ "dark": "darkAccent",
54
+ "light": "lightAccent"
55
+ },
56
+ "error": {
57
+ "dark": "darkRed",
58
+ "light": "lightRed"
59
+ },
60
+ "warning": {
61
+ "dark": "darkOrange",
62
+ "light": "lightOrange"
63
+ },
64
+ "success": {
65
+ "dark": "darkGreen",
66
+ "light": "lightGreen"
67
+ },
68
+ "info": {
69
+ "dark": "darkCyan",
70
+ "light": "lightCyan"
71
+ },
72
+ "text": {
73
+ "dark": "darkStep12",
74
+ "light": "lightStep12"
75
+ },
76
+ "textMuted": {
77
+ "dark": "darkStep11",
78
+ "light": "lightStep11"
79
+ },
80
+ "background": {
81
+ "dark": "darkStep1",
82
+ "light": "lightStep1"
83
+ },
84
+ "backgroundPanel": {
85
+ "dark": "darkStep2",
86
+ "light": "lightStep2"
87
+ },
88
+ "backgroundElement": {
89
+ "dark": "darkStep3",
90
+ "light": "lightStep3"
91
+ },
92
+ "border": {
93
+ "dark": "darkStep7",
94
+ "light": "lightStep7"
95
+ },
96
+ "borderActive": {
97
+ "dark": "darkStep8",
98
+ "light": "lightStep8"
99
+ },
100
+ "borderSubtle": {
101
+ "dark": "darkStep6",
102
+ "light": "lightStep6"
103
+ },
104
+ "diffAdded": {
105
+ "dark": "#4fd6be",
106
+ "light": "#1e725c"
107
+ },
108
+ "diffRemoved": {
109
+ "dark": "#c53b53",
110
+ "light": "#c53b53"
111
+ },
112
+ "diffContext": {
113
+ "dark": "#828bb8",
114
+ "light": "#7086b5"
115
+ },
116
+ "diffHunkHeader": {
117
+ "dark": "#828bb8",
118
+ "light": "#7086b5"
119
+ },
120
+ "diffHighlightAdded": {
121
+ "dark": "#b8db87",
122
+ "light": "#4db380"
123
+ },
124
+ "diffHighlightRemoved": {
125
+ "dark": "#e26a75",
126
+ "light": "#f52a65"
127
+ },
128
+ "diffAddedBg": {
129
+ "dark": "#20303b",
130
+ "light": "#d5e5d5"
131
+ },
132
+ "diffRemovedBg": {
133
+ "dark": "#37222c",
134
+ "light": "#f7d8db"
135
+ },
136
+ "diffContextBg": {
137
+ "dark": "darkStep2",
138
+ "light": "lightStep2"
139
+ },
140
+ "diffLineNumber": {
141
+ "dark": "#8f8f8f",
142
+ "light": "#595959"
143
+ },
144
+ "diffAddedLineNumberBg": {
145
+ "dark": "#1b2b34",
146
+ "light": "#c5d5c5"
147
+ },
148
+ "diffRemovedLineNumberBg": {
149
+ "dark": "#2d1f26",
150
+ "light": "#e7c8cb"
151
+ },
152
+ "markdownText": {
153
+ "dark": "darkStep12",
154
+ "light": "lightStep12"
155
+ },
156
+ "markdownHeading": {
157
+ "dark": "darkAccent",
158
+ "light": "lightAccent"
159
+ },
160
+ "markdownLink": {
161
+ "dark": "darkStep9",
162
+ "light": "lightStep9"
163
+ },
164
+ "markdownLinkText": {
165
+ "dark": "darkCyan",
166
+ "light": "lightCyan"
167
+ },
168
+ "markdownCode": {
169
+ "dark": "darkGreen",
170
+ "light": "lightGreen"
171
+ },
172
+ "markdownBlockQuote": {
173
+ "dark": "darkYellow",
174
+ "light": "lightYellow"
175
+ },
176
+ "markdownEmph": {
177
+ "dark": "darkYellow",
178
+ "light": "lightYellow"
179
+ },
180
+ "markdownStrong": {
181
+ "dark": "darkOrange",
182
+ "light": "lightOrange"
183
+ },
184
+ "markdownHorizontalRule": {
185
+ "dark": "darkStep11",
186
+ "light": "lightStep11"
187
+ },
188
+ "markdownListItem": {
189
+ "dark": "darkStep9",
190
+ "light": "lightStep9"
191
+ },
192
+ "markdownListEnumeration": {
193
+ "dark": "darkCyan",
194
+ "light": "lightCyan"
195
+ },
196
+ "markdownImage": {
197
+ "dark": "darkStep9",
198
+ "light": "lightStep9"
199
+ },
200
+ "markdownImageText": {
201
+ "dark": "darkCyan",
202
+ "light": "lightCyan"
203
+ },
204
+ "markdownCodeBlock": {
205
+ "dark": "darkStep12",
206
+ "light": "lightStep12"
207
+ },
208
+ "syntaxComment": {
209
+ "dark": "darkStep11",
210
+ "light": "lightStep11"
211
+ },
212
+ "syntaxKeyword": {
213
+ "dark": "darkAccent",
214
+ "light": "lightAccent"
215
+ },
216
+ "syntaxFunction": {
217
+ "dark": "darkStep9",
218
+ "light": "lightStep9"
219
+ },
220
+ "syntaxVariable": {
221
+ "dark": "darkRed",
222
+ "light": "lightRed"
223
+ },
224
+ "syntaxString": {
225
+ "dark": "darkGreen",
226
+ "light": "lightGreen"
227
+ },
228
+ "syntaxNumber": {
229
+ "dark": "darkOrange",
230
+ "light": "lightOrange"
231
+ },
232
+ "syntaxType": {
233
+ "dark": "darkYellow",
234
+ "light": "lightYellow"
235
+ },
236
+ "syntaxOperator": {
237
+ "dark": "darkCyan",
238
+ "light": "lightCyan"
239
+ },
240
+ "syntaxPunctuation": {
241
+ "dark": "darkStep12",
242
+ "light": "lightStep12"
243
+ }
244
+ }
245
+ }
@@ -0,0 +1,249 @@
1
+ {
2
+ "$schema": "https://opencode.ai/theme.json",
3
+ "defs": {
4
+ "darkStep1": "#0a0a0a",
5
+ "darkStep2": "#141414",
6
+ "darkStep3": "#1e1e1e",
7
+ "darkStep4": "#282828",
8
+ "darkStep5": "#323232",
9
+ "darkStep6": "#3c3c3c",
10
+ "darkStep7": "#484848",
11
+ "darkStep8": "#606060",
12
+ "darkStep9": "#EC5B2B",
13
+ "darkStep10": "#EE7948",
14
+ "darkStep11": "#808080",
15
+ "darkStep12": "#eeeeee",
16
+ "darkSecondary": "#EE7948",
17
+ "darkAccent": "#FFF7F1",
18
+ "darkRed": "#e06c75",
19
+ "darkOrange": "#EC5B2B",
20
+ "darkBlue": "#6ba1e6",
21
+ "darkCyan": "#56b6c2",
22
+ "darkYellow": "#e5c07b",
23
+ "lightStep1": "#ffffff",
24
+ "lightStep2": "#FFF7F1",
25
+ "lightStep3": "#f5f0eb",
26
+ "lightStep4": "#ebebeb",
27
+ "lightStep5": "#e1e1e1",
28
+ "lightStep6": "#d4d4d4",
29
+ "lightStep7": "#b8b8b8",
30
+ "lightStep8": "#a0a0a0",
31
+ "lightStep9": "#EC5B2B",
32
+ "lightStep10": "#c94d24",
33
+ "lightStep11": "#8a8a8a",
34
+ "lightStep12": "#1a1a1a",
35
+ "lightSecondary": "#EE7948",
36
+ "lightAccent": "#c94d24",
37
+ "lightRed": "#d1383d",
38
+ "lightOrange": "#EC5B2B",
39
+ "lightBlue": "#0062d1",
40
+ "lightCyan": "#318795",
41
+ "lightYellow": "#b0851f"
42
+ },
43
+ "theme": {
44
+ "primary": {
45
+ "dark": "darkStep9",
46
+ "light": "lightStep9"
47
+ },
48
+ "secondary": {
49
+ "dark": "darkSecondary",
50
+ "light": "lightSecondary"
51
+ },
52
+ "accent": {
53
+ "dark": "darkAccent",
54
+ "light": "lightAccent"
55
+ },
56
+ "error": {
57
+ "dark": "darkRed",
58
+ "light": "lightRed"
59
+ },
60
+ "warning": {
61
+ "dark": "darkOrange",
62
+ "light": "lightOrange"
63
+ },
64
+ "success": {
65
+ "dark": "darkBlue",
66
+ "light": "lightBlue"
67
+ },
68
+ "info": {
69
+ "dark": "darkCyan",
70
+ "light": "lightCyan"
71
+ },
72
+ "text": {
73
+ "dark": "darkStep12",
74
+ "light": "lightStep12"
75
+ },
76
+ "textMuted": {
77
+ "dark": "darkStep11",
78
+ "light": "lightStep11"
79
+ },
80
+ "selectedListItemText": {
81
+ "dark": "#0a0a0a",
82
+ "light": "#ffffff"
83
+ },
84
+ "background": {
85
+ "dark": "darkStep1",
86
+ "light": "lightStep1"
87
+ },
88
+ "backgroundPanel": {
89
+ "dark": "darkStep2",
90
+ "light": "lightStep2"
91
+ },
92
+ "backgroundElement": {
93
+ "dark": "darkStep3",
94
+ "light": "lightStep3"
95
+ },
96
+ "border": {
97
+ "dark": "#EC5B2B",
98
+ "light": "#EC5B2B"
99
+ },
100
+ "borderActive": {
101
+ "dark": "#EE7948",
102
+ "light": "#c94d24"
103
+ },
104
+ "borderSubtle": {
105
+ "dark": "darkStep6",
106
+ "light": "lightStep6"
107
+ },
108
+ "diffAdded": {
109
+ "dark": "#6ba1e6",
110
+ "light": "#0062d1"
111
+ },
112
+ "diffRemoved": {
113
+ "dark": "#c53b53",
114
+ "light": "#c53b53"
115
+ },
116
+ "diffContext": {
117
+ "dark": "#828bb8",
118
+ "light": "#7086b5"
119
+ },
120
+ "diffHunkHeader": {
121
+ "dark": "#828bb8",
122
+ "light": "#7086b5"
123
+ },
124
+ "diffHighlightAdded": {
125
+ "dark": "#6ba1e6",
126
+ "light": "#0062d1"
127
+ },
128
+ "diffHighlightRemoved": {
129
+ "dark": "#e26a75",
130
+ "light": "#f52a65"
131
+ },
132
+ "diffAddedBg": {
133
+ "dark": "#1a2a3d",
134
+ "light": "#e0edfa"
135
+ },
136
+ "diffRemovedBg": {
137
+ "dark": "#37222c",
138
+ "light": "#f7d8db"
139
+ },
140
+ "diffContextBg": {
141
+ "dark": "darkStep2",
142
+ "light": "lightStep2"
143
+ },
144
+ "diffLineNumber": {
145
+ "dark": "diffContext",
146
+ "light": "#595755"
147
+ },
148
+ "diffAddedLineNumberBg": {
149
+ "dark": "#162535",
150
+ "light": "#d0e5f5"
151
+ },
152
+ "diffRemovedLineNumberBg": {
153
+ "dark": "#2d1f26",
154
+ "light": "#e7c8cb"
155
+ },
156
+ "markdownText": {
157
+ "dark": "darkStep12",
158
+ "light": "lightStep12"
159
+ },
160
+ "markdownHeading": {
161
+ "dark": "#EC5B2B",
162
+ "light": "#EC5B2B"
163
+ },
164
+ "markdownLink": {
165
+ "dark": "darkStep9",
166
+ "light": "lightStep9"
167
+ },
168
+ "markdownLinkText": {
169
+ "dark": "darkCyan",
170
+ "light": "lightCyan"
171
+ },
172
+ "markdownCode": {
173
+ "dark": "darkBlue",
174
+ "light": "lightBlue"
175
+ },
176
+ "markdownBlockQuote": {
177
+ "dark": "#FFF7F1",
178
+ "light": "lightYellow"
179
+ },
180
+ "markdownEmph": {
181
+ "dark": "darkYellow",
182
+ "light": "lightYellow"
183
+ },
184
+ "markdownStrong": {
185
+ "dark": "#EE7948",
186
+ "light": "#EC5B2B"
187
+ },
188
+ "markdownHorizontalRule": {
189
+ "dark": "darkStep11",
190
+ "light": "lightStep11"
191
+ },
192
+ "markdownListItem": {
193
+ "dark": "darkStep9",
194
+ "light": "lightStep9"
195
+ },
196
+ "markdownListEnumeration": {
197
+ "dark": "darkCyan",
198
+ "light": "lightCyan"
199
+ },
200
+ "markdownImage": {
201
+ "dark": "darkStep9",
202
+ "light": "lightStep9"
203
+ },
204
+ "markdownImageText": {
205
+ "dark": "darkCyan",
206
+ "light": "lightCyan"
207
+ },
208
+ "markdownCodeBlock": {
209
+ "dark": "darkStep12",
210
+ "light": "lightStep12"
211
+ },
212
+ "syntaxComment": {
213
+ "dark": "darkStep11",
214
+ "light": "lightStep11"
215
+ },
216
+ "syntaxKeyword": {
217
+ "dark": "#EC5B2B",
218
+ "light": "#EC5B2B"
219
+ },
220
+ "syntaxFunction": {
221
+ "dark": "#EE7948",
222
+ "light": "#c94d24"
223
+ },
224
+ "syntaxVariable": {
225
+ "dark": "darkRed",
226
+ "light": "lightRed"
227
+ },
228
+ "syntaxString": {
229
+ "dark": "darkBlue",
230
+ "light": "lightBlue"
231
+ },
232
+ "syntaxNumber": {
233
+ "dark": "#FFF7F1",
234
+ "light": "#EC5B2B"
235
+ },
236
+ "syntaxType": {
237
+ "dark": "darkYellow",
238
+ "light": "lightYellow"
239
+ },
240
+ "syntaxOperator": {
241
+ "dark": "darkCyan",
242
+ "light": "lightCyan"
243
+ },
244
+ "syntaxPunctuation": {
245
+ "dark": "darkStep12",
246
+ "light": "lightStep12"
247
+ }
248
+ }
249
+ }
@@ -0,0 +1,93 @@
1
+ {
2
+ "$schema": "https://opencode.ai/theme.json",
3
+ "defs": {
4
+ "darkBg0": "#111c18",
5
+ "darkBg1": "#1a2520",
6
+ "darkBg2": "#23372B",
7
+ "darkBg3": "#3d4a44",
8
+ "darkFg0": "#C1C497",
9
+ "darkFg1": "#9aa88a",
10
+ "darkGray": "#53685B",
11
+ "darkRed": "#FF5345",
12
+ "darkGreen": "#549e6a",
13
+ "darkYellow": "#459451",
14
+ "darkBlue": "#509475",
15
+ "darkMagenta": "#D2689C",
16
+ "darkCyan": "#2DD5B7",
17
+ "darkWhite": "#F6F5DD",
18
+ "darkRedBright": "#db9f9c",
19
+ "darkGreenBright": "#63b07a",
20
+ "darkYellowBright": "#E5C736",
21
+ "darkBlueBright": "#ACD4CF",
22
+ "darkMagentaBright": "#75bbb3",
23
+ "darkCyanBright": "#8CD3CB",
24
+ "lightBg0": "#F6F5DD",
25
+ "lightBg1": "#E8E7CC",
26
+ "lightBg2": "#D5D4B8",
27
+ "lightBg3": "#A8A78C",
28
+ "lightFg0": "#111c18",
29
+ "lightFg1": "#1a2520",
30
+ "lightGray": "#53685B",
31
+ "lightRed": "#c7392d",
32
+ "lightGreen": "#3d7a52",
33
+ "lightYellow": "#b5a020",
34
+ "lightBlue": "#3d7560",
35
+ "lightMagenta": "#a8527a",
36
+ "lightCyan": "#1faa90"
37
+ },
38
+ "theme": {
39
+ "primary": { "dark": "darkCyan", "light": "lightCyan" },
40
+ "secondary": { "dark": "darkMagenta", "light": "lightMagenta" },
41
+ "accent": { "dark": "darkGreen", "light": "lightGreen" },
42
+ "error": { "dark": "darkRed", "light": "lightRed" },
43
+ "warning": { "dark": "darkYellowBright", "light": "lightYellow" },
44
+ "success": { "dark": "darkGreen", "light": "lightGreen" },
45
+ "info": { "dark": "darkCyan", "light": "lightCyan" },
46
+ "text": { "dark": "darkFg0", "light": "lightFg0" },
47
+ "textMuted": { "dark": "darkGray", "light": "lightGray" },
48
+ "background": { "dark": "darkBg0", "light": "lightBg0" },
49
+ "backgroundPanel": { "dark": "darkBg1", "light": "lightBg1" },
50
+ "backgroundElement": { "dark": "darkBg2", "light": "lightBg2" },
51
+ "border": { "dark": "darkBg3", "light": "lightBg3" },
52
+ "borderActive": { "dark": "darkCyan", "light": "lightCyan" },
53
+ "borderSubtle": { "dark": "darkBg2", "light": "lightBg2" },
54
+ "diffAdded": { "dark": "darkGreen", "light": "lightGreen" },
55
+ "diffRemoved": { "dark": "darkRed", "light": "lightRed" },
56
+ "diffContext": { "dark": "darkGray", "light": "lightGray" },
57
+ "diffHunkHeader": { "dark": "darkCyan", "light": "lightCyan" },
58
+ "diffHighlightAdded": { "dark": "darkGreenBright", "light": "lightGreen" },
59
+ "diffHighlightRemoved": { "dark": "darkRedBright", "light": "lightRed" },
60
+ "diffAddedBg": { "dark": "#15241c", "light": "#e0eee5" },
61
+ "diffRemovedBg": { "dark": "#241515", "light": "#eee0e0" },
62
+ "diffContextBg": { "dark": "darkBg1", "light": "lightBg1" },
63
+ "diffLineNumber": { "dark": "#828b87", "light": "#5f5e4f" },
64
+ "diffAddedLineNumberBg": { "dark": "#121f18", "light": "#d5e5da" },
65
+ "diffRemovedLineNumberBg": { "dark": "#1f1212", "light": "#e5d5d5" },
66
+ "markdownText": { "dark": "darkFg0", "light": "lightFg0" },
67
+ "markdownHeading": { "dark": "darkCyan", "light": "lightCyan" },
68
+ "markdownLink": { "dark": "darkCyanBright", "light": "lightCyan" },
69
+ "markdownLinkText": { "dark": "darkGreen", "light": "lightGreen" },
70
+ "markdownCode": { "dark": "darkGreenBright", "light": "lightGreen" },
71
+ "markdownBlockQuote": { "dark": "darkGray", "light": "lightGray" },
72
+ "markdownEmph": { "dark": "darkMagenta", "light": "lightMagenta" },
73
+ "markdownStrong": { "dark": "darkFg0", "light": "lightFg0" },
74
+ "markdownHorizontalRule": { "dark": "darkGray", "light": "lightGray" },
75
+ "markdownListItem": { "dark": "darkCyan", "light": "lightCyan" },
76
+ "markdownListEnumeration": {
77
+ "dark": "darkCyanBright",
78
+ "light": "lightCyan"
79
+ },
80
+ "markdownImage": { "dark": "darkCyanBright", "light": "lightCyan" },
81
+ "markdownImageText": { "dark": "darkGreen", "light": "lightGreen" },
82
+ "markdownCodeBlock": { "dark": "darkFg0", "light": "lightFg0" },
83
+ "syntaxComment": { "dark": "darkGray", "light": "lightGray" },
84
+ "syntaxKeyword": { "dark": "darkCyan", "light": "lightCyan" },
85
+ "syntaxFunction": { "dark": "darkBlue", "light": "lightBlue" },
86
+ "syntaxVariable": { "dark": "darkFg0", "light": "lightFg0" },
87
+ "syntaxString": { "dark": "darkGreenBright", "light": "lightGreen" },
88
+ "syntaxNumber": { "dark": "darkMagenta", "light": "lightMagenta" },
89
+ "syntaxType": { "dark": "darkGreen", "light": "lightGreen" },
90
+ "syntaxOperator": { "dark": "darkYellow", "light": "lightYellow" },
91
+ "syntaxPunctuation": { "dark": "darkFg0", "light": "lightFg0" }
92
+ }
93
+ }