@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.
- package/bunfig.toml +4 -0
- package/package.json +72 -0
- package/src/app.tsx +1134 -0
- package/src/attention.ts +260 -0
- package/src/audio.d.ts +9 -0
- package/src/audio.ts +53 -0
- package/src/clipboard.ts +124 -0
- package/src/component/bg-pulse-render.ts +436 -0
- package/src/component/bg-pulse.tsx +99 -0
- package/src/component/command-palette.tsx +79 -0
- package/src/component/dialog-agent.tsx +31 -0
- package/src/component/dialog-console-org.tsx +135 -0
- package/src/component/dialog-debug.tsx +90 -0
- package/src/component/dialog-mcp.tsx +85 -0
- package/src/component/dialog-model.tsx +197 -0
- package/src/component/dialog-move-session.tsx +353 -0
- package/src/component/dialog-provider.tsx +469 -0
- package/src/component/dialog-retry-action.tsx +160 -0
- package/src/component/dialog-session-delete-failed.tsx +99 -0
- package/src/component/dialog-session-list.tsx +364 -0
- package/src/component/dialog-session-rename.tsx +31 -0
- package/src/component/dialog-skill.tsx +70 -0
- package/src/component/dialog-stash.tsx +87 -0
- package/src/component/dialog-status.tsx +168 -0
- package/src/component/dialog-tag.tsx +47 -0
- package/src/component/dialog-theme-list.tsx +50 -0
- package/src/component/dialog-variant.tsx +39 -0
- package/src/component/dialog-workspace-create.tsx +308 -0
- package/src/component/dialog-workspace-file-changes.tsx +144 -0
- package/src/component/dialog-workspace-list.tsx +112 -0
- package/src/component/dialog-workspace-unavailable.tsx +69 -0
- package/src/component/error-component.tsx +240 -0
- package/src/component/logo.tsx +61 -0
- package/src/component/plugin-route-missing.tsx +14 -0
- package/src/component/prompt/autocomplete.tsx +781 -0
- package/src/component/prompt/cwd.ts +0 -0
- package/src/component/prompt/frecency.tsx +1 -0
- package/src/component/prompt/history.tsx +1 -0
- package/src/component/prompt/index.tsx +1713 -0
- package/src/component/prompt/local-attachment.ts +48 -0
- package/src/component/prompt/move.tsx +205 -0
- package/src/component/prompt/stash.tsx +1 -0
- package/src/component/prompt/workspace.tsx +137 -0
- package/src/component/register-spinner.ts +6 -0
- package/src/component/spinner.tsx +26 -0
- package/src/component/startup-loading.tsx +63 -0
- package/src/component/todo-item.tsx +32 -0
- package/src/component/use-connected.tsx +12 -0
- package/src/component/workspace-label.tsx +19 -0
- package/src/config/index.tsx +129 -0
- package/src/config/keybind.ts +471 -0
- package/src/context/args.tsx +16 -0
- package/src/context/clipboard.tsx +18 -0
- package/src/context/data.tsx +569 -0
- package/src/context/directory.ts +17 -0
- package/src/context/editor.ts +408 -0
- package/src/context/epilogue.tsx +6 -0
- package/src/context/event.ts +36 -0
- package/src/context/exit.tsx +8 -0
- package/src/context/helper.tsx +26 -0
- package/src/context/kv.tsx +66 -0
- package/src/context/local.tsx +542 -0
- package/src/context/location.tsx +14 -0
- package/src/context/path-format.tsx +24 -0
- package/src/context/permission.tsx +26 -0
- package/src/context/project.tsx +115 -0
- package/src/context/prompt.tsx +18 -0
- package/src/context/route.tsx +60 -0
- package/src/context/runtime.tsx +62 -0
- package/src/context/sdk.tsx +151 -0
- package/src/context/sync.tsx +666 -0
- package/src/context/theme.tsx +332 -0
- package/src/context/thinking.ts +67 -0
- package/src/editor-zed.ts +286 -0
- package/src/editor.ts +101 -0
- package/src/feature-plugins/builtins.ts +36 -0
- package/src/feature-plugins/home/footer.tsx +100 -0
- package/src/feature-plugins/home/tips-view.tsx +287 -0
- package/src/feature-plugins/home/tips.tsx +59 -0
- package/src/feature-plugins/sidebar/context.tsx +65 -0
- package/src/feature-plugins/sidebar/files.tsx +70 -0
- package/src/feature-plugins/sidebar/footer.tsx +98 -0
- package/src/feature-plugins/sidebar/lsp.tsx +65 -0
- package/src/feature-plugins/sidebar/mcp.tsx +97 -0
- package/src/feature-plugins/sidebar/todo.tsx +49 -0
- package/src/feature-plugins/system/diff-viewer-file-tree-utils.ts +232 -0
- package/src/feature-plugins/system/diff-viewer-file-tree.tsx +162 -0
- package/src/feature-plugins/system/diff-viewer-ui.tsx +103 -0
- package/src/feature-plugins/system/diff-viewer.tsx +1077 -0
- package/src/feature-plugins/system/notifications.ts +94 -0
- package/src/feature-plugins/system/plugins.tsx +269 -0
- package/src/feature-plugins/system/which-key.tsx +608 -0
- package/src/index.tsx +1 -0
- package/src/keymap.tsx +290 -0
- package/src/logo.ts +11 -0
- package/src/parsers-config.ts +386 -0
- package/src/plugin/adapters.tsx +355 -0
- package/src/plugin/api.ts +52 -0
- package/src/plugin/command-shim.ts +109 -0
- package/src/plugin/runtime.tsx +81 -0
- package/src/plugin/slots.tsx +65 -0
- package/src/prompt/display.ts +48 -0
- package/src/prompt/frecency.tsx +80 -0
- package/src/prompt/history.tsx +111 -0
- package/src/prompt/part.ts +29 -0
- package/src/prompt/stash.tsx +89 -0
- package/src/prompt/traits.ts +29 -0
- package/src/routes/home/session-destination.tsx +41 -0
- package/src/routes/home.tsx +95 -0
- package/src/routes/session/dialog-fork-from-timeline.tsx +76 -0
- package/src/routes/session/dialog-message.tsx +109 -0
- package/src/routes/session/dialog-subagent.tsx +26 -0
- package/src/routes/session/dialog-timeline.tsx +47 -0
- package/src/routes/session/footer.tsx +91 -0
- package/src/routes/session/index.tsx +2710 -0
- package/src/routes/session/permission.tsx +718 -0
- package/src/routes/session/question.tsx +514 -0
- package/src/routes/session/sidebar.tsx +103 -0
- package/src/routes/session/subagent-footer.tsx +132 -0
- package/src/runtime.tsx +9 -0
- package/src/terminal-win32.ts +130 -0
- package/src/theme/assets/aura.json +69 -0
- package/src/theme/assets/ayu.json +80 -0
- package/src/theme/assets/carbonfox.json +248 -0
- package/src/theme/assets/catppuccin-frappe.json +230 -0
- package/src/theme/assets/catppuccin-macchiato.json +230 -0
- package/src/theme/assets/catppuccin.json +112 -0
- package/src/theme/assets/cobalt2.json +225 -0
- package/src/theme/assets/cursor.json +249 -0
- package/src/theme/assets/dracula.json +219 -0
- package/src/theme/assets/everforest.json +241 -0
- package/src/theme/assets/flexoki.json +237 -0
- package/src/theme/assets/github.json +233 -0
- package/src/theme/assets/gruvbox.json +242 -0
- package/src/theme/assets/kanagawa.json +77 -0
- package/src/theme/assets/lucent-orng.json +234 -0
- package/src/theme/assets/material.json +235 -0
- package/src/theme/assets/matrix.json +77 -0
- package/src/theme/assets/mercury.json +252 -0
- package/src/theme/assets/monokai.json +221 -0
- package/src/theme/assets/nightowl.json +221 -0
- package/src/theme/assets/nord.json +223 -0
- package/src/theme/assets/one-dark.json +84 -0
- package/src/theme/assets/opencode.json +245 -0
- package/src/theme/assets/orng.json +249 -0
- package/src/theme/assets/osaka-jade.json +93 -0
- package/src/theme/assets/palenight.json +222 -0
- package/src/theme/assets/rosepine.json +234 -0
- package/src/theme/assets/solarized.json +223 -0
- package/src/theme/assets/synthwave84.json +226 -0
- package/src/theme/assets/tokyonight.json +243 -0
- package/src/theme/assets/vercel.json +245 -0
- package/src/theme/assets/vesper.json +218 -0
- package/src/theme/assets/zenburn.json +223 -0
- package/src/theme/index.ts +1089 -0
- package/src/ui/border.ts +21 -0
- package/src/ui/dialog-alert.tsx +66 -0
- package/src/ui/dialog-confirm.tsx +108 -0
- package/src/ui/dialog-export-options.tsx +217 -0
- package/src/ui/dialog-help.tsx +40 -0
- package/src/ui/dialog-prompt.tsx +126 -0
- package/src/ui/dialog-select.tsx +790 -0
- package/src/ui/dialog.tsx +231 -0
- package/src/ui/link.tsx +34 -0
- package/src/ui/spinner.ts +368 -0
- package/src/ui/toast.tsx +102 -0
- package/src/util/collapse-tool-output.ts +19 -0
- package/src/util/error.ts +182 -0
- package/src/util/filetype.ts +130 -0
- package/src/util/format.ts +20 -0
- package/src/util/layout.ts +25 -0
- package/src/util/locale.ts +86 -0
- package/src/util/model.ts +28 -0
- package/src/util/path.ts +12 -0
- package/src/util/persistence.ts +33 -0
- package/src/util/presentation.ts +38 -0
- package/src/util/provider-origin.ts +7 -0
- package/src/util/record.ts +3 -0
- package/src/util/renderer.ts +7 -0
- package/src/util/revert-diff.ts +18 -0
- package/src/util/scroll.ts +27 -0
- package/src/util/selection.ts +79 -0
- package/src/util/session.ts +3 -0
- package/src/util/signal.ts +51 -0
- package/src/util/system.ts +20 -0
- package/src/util/tool-display.ts +13 -0
- package/src/util/transcript.ts +112 -0
- package/sst-env.d.ts +10 -0
- package/test/app-lifecycle.test.tsx +128 -0
- package/test/cli/cmd/tui/dialog-workspace-create.test.ts +28 -0
- package/test/cli/cmd/tui/model-options.test.ts +32 -0
- package/test/cli/cmd/tui/notifications.test.ts +267 -0
- package/test/cli/cmd/tui/provider-options.test.ts +41 -0
- package/test/cli/cmd/tui/sync-fixture.tsx +70 -0
- package/test/cli/cmd/tui/sync-live-hydration.test.tsx +262 -0
- package/test/cli/cmd/tui/sync-undefined-messages.test.tsx +43 -0
- package/test/cli/cmd/tui/sync.test.tsx +65 -0
- package/test/cli/tui/__snapshots__/inline-tool-wrap-snapshot.test.tsx.snap +92 -0
- package/test/cli/tui/data.test.tsx +486 -0
- package/test/cli/tui/dialog-prompt.test.tsx +147 -0
- package/test/cli/tui/diff-viewer-file-tree.test.tsx +200 -0
- package/test/cli/tui/diff-viewer.test.tsx +268 -0
- package/test/cli/tui/inline-tool-wrap-snapshot.test.tsx +351 -0
- package/test/cli/tui/prompt-submit-race.test.ts +98 -0
- package/test/cli/tui/thinking.test.ts +36 -0
- package/test/cli/tui/use-event.test.tsx +148 -0
- package/test/clipboard.test.ts +19 -0
- package/test/component/dialog-session-list.test.ts +46 -0
- package/test/config.test.tsx +127 -0
- package/test/context/local.test.ts +22 -0
- package/test/editor.test.ts +32 -0
- package/test/feature-plugins/diff-viewer-file-tree-utils.test.ts +323 -0
- package/test/fixture/fixture.ts +13 -0
- package/test/fixture/tui-environment.tsx +32 -0
- package/test/fixture/tui-plugin.ts +36 -0
- package/test/fixture/tui-runtime.ts +12 -0
- package/test/fixture/tui-sdk.ts +109 -0
- package/test/index.test.tsx +6 -0
- package/test/keymap.test.tsx +141 -0
- package/test/plugin/runtime.test.ts +50 -0
- package/test/plugin/slots.test.tsx +38 -0
- package/test/prompt/display.test.ts +33 -0
- package/test/prompt/history.test.ts +39 -0
- package/test/prompt/jsonl.test.ts +24 -0
- package/test/prompt/local-attachment.test.ts +43 -0
- package/test/prompt/part.test.ts +53 -0
- package/test/prompt/persistence.test.ts +23 -0
- package/test/prompt/traits.test.ts +25 -0
- package/test/runtime.test.tsx +37 -0
- package/test/theme.test.ts +81 -0
- package/test/util/error.test.ts +49 -0
- package/test/util/filetype.test.ts +16 -0
- package/test/util/format.test.ts +59 -0
- package/test/util/model.test.ts +9 -0
- package/test/util/presentation.test.ts +8 -0
- package/test/util/renderer.test.ts +30 -0
- package/test/util/revert-diff.test.ts +35 -0
- package/test/util/session.test.ts +10 -0
- package/test/util/tool-display.test.ts +40 -0
- package/test/util/transcript.test.ts +421 -0
- package/tsconfig.json +10 -0
|
@@ -0,0 +1,226 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opencode.ai/theme.json",
|
|
3
|
+
"defs": {
|
|
4
|
+
"background": "#262335",
|
|
5
|
+
"backgroundAlt": "#1e1a29",
|
|
6
|
+
"backgroundPanel": "#2a2139",
|
|
7
|
+
"foreground": "#ffffff",
|
|
8
|
+
"foregroundMuted": "#848bbd",
|
|
9
|
+
"pink": "#ff7edb",
|
|
10
|
+
"pinkBright": "#ff92df",
|
|
11
|
+
"cyan": "#36f9f6",
|
|
12
|
+
"cyanBright": "#72f1f8",
|
|
13
|
+
"yellow": "#fede5d",
|
|
14
|
+
"yellowBright": "#fff95d",
|
|
15
|
+
"orange": "#ff8b39",
|
|
16
|
+
"orangeBright": "#ff9f43",
|
|
17
|
+
"purple": "#b084eb",
|
|
18
|
+
"purpleBright": "#c792ea",
|
|
19
|
+
"red": "#fe4450",
|
|
20
|
+
"redBright": "#ff5e5b",
|
|
21
|
+
"green": "#72f1b8",
|
|
22
|
+
"greenBright": "#97f1d8"
|
|
23
|
+
},
|
|
24
|
+
"theme": {
|
|
25
|
+
"primary": {
|
|
26
|
+
"dark": "cyan",
|
|
27
|
+
"light": "#00bcd4"
|
|
28
|
+
},
|
|
29
|
+
"secondary": {
|
|
30
|
+
"dark": "pink",
|
|
31
|
+
"light": "#e91e63"
|
|
32
|
+
},
|
|
33
|
+
"accent": {
|
|
34
|
+
"dark": "purple",
|
|
35
|
+
"light": "#9c27b0"
|
|
36
|
+
},
|
|
37
|
+
"error": {
|
|
38
|
+
"dark": "red",
|
|
39
|
+
"light": "#f44336"
|
|
40
|
+
},
|
|
41
|
+
"warning": {
|
|
42
|
+
"dark": "yellow",
|
|
43
|
+
"light": "#ff9800"
|
|
44
|
+
},
|
|
45
|
+
"success": {
|
|
46
|
+
"dark": "green",
|
|
47
|
+
"light": "#4caf50"
|
|
48
|
+
},
|
|
49
|
+
"info": {
|
|
50
|
+
"dark": "orange",
|
|
51
|
+
"light": "#ff5722"
|
|
52
|
+
},
|
|
53
|
+
"text": {
|
|
54
|
+
"dark": "foreground",
|
|
55
|
+
"light": "#262335"
|
|
56
|
+
},
|
|
57
|
+
"textMuted": {
|
|
58
|
+
"dark": "foregroundMuted",
|
|
59
|
+
"light": "#5c5c8a"
|
|
60
|
+
},
|
|
61
|
+
"background": {
|
|
62
|
+
"dark": "#262335",
|
|
63
|
+
"light": "#fafafa"
|
|
64
|
+
},
|
|
65
|
+
"backgroundPanel": {
|
|
66
|
+
"dark": "#1e1a29",
|
|
67
|
+
"light": "#f5f5f5"
|
|
68
|
+
},
|
|
69
|
+
"backgroundElement": {
|
|
70
|
+
"dark": "#2a2139",
|
|
71
|
+
"light": "#eeeeee"
|
|
72
|
+
},
|
|
73
|
+
"border": {
|
|
74
|
+
"dark": "#495495",
|
|
75
|
+
"light": "#e0e0e0"
|
|
76
|
+
},
|
|
77
|
+
"borderActive": {
|
|
78
|
+
"dark": "cyan",
|
|
79
|
+
"light": "#00bcd4"
|
|
80
|
+
},
|
|
81
|
+
"borderSubtle": {
|
|
82
|
+
"dark": "#241b2f",
|
|
83
|
+
"light": "#f0f0f0"
|
|
84
|
+
},
|
|
85
|
+
"diffAdded": {
|
|
86
|
+
"dark": "green",
|
|
87
|
+
"light": "#4caf50"
|
|
88
|
+
},
|
|
89
|
+
"diffRemoved": {
|
|
90
|
+
"dark": "red",
|
|
91
|
+
"light": "#f44336"
|
|
92
|
+
},
|
|
93
|
+
"diffContext": {
|
|
94
|
+
"dark": "foregroundMuted",
|
|
95
|
+
"light": "#5c5c8a"
|
|
96
|
+
},
|
|
97
|
+
"diffHunkHeader": {
|
|
98
|
+
"dark": "purple",
|
|
99
|
+
"light": "#9c27b0"
|
|
100
|
+
},
|
|
101
|
+
"diffHighlightAdded": {
|
|
102
|
+
"dark": "greenBright",
|
|
103
|
+
"light": "#4caf50"
|
|
104
|
+
},
|
|
105
|
+
"diffHighlightRemoved": {
|
|
106
|
+
"dark": "redBright",
|
|
107
|
+
"light": "#f44336"
|
|
108
|
+
},
|
|
109
|
+
"diffAddedBg": {
|
|
110
|
+
"dark": "#1a3a2a",
|
|
111
|
+
"light": "#e8f5e9"
|
|
112
|
+
},
|
|
113
|
+
"diffRemovedBg": {
|
|
114
|
+
"dark": "#3a1a2a",
|
|
115
|
+
"light": "#ffebee"
|
|
116
|
+
},
|
|
117
|
+
"diffContextBg": {
|
|
118
|
+
"dark": "#1e1a29",
|
|
119
|
+
"light": "#f5f5f5"
|
|
120
|
+
},
|
|
121
|
+
"diffLineNumber": {
|
|
122
|
+
"dark": "#959bc1",
|
|
123
|
+
"light": "textMuted"
|
|
124
|
+
},
|
|
125
|
+
"diffAddedLineNumberBg": {
|
|
126
|
+
"dark": "#1a3a2a",
|
|
127
|
+
"light": "#e8f5e9"
|
|
128
|
+
},
|
|
129
|
+
"diffRemovedLineNumberBg": {
|
|
130
|
+
"dark": "#3a1a2a",
|
|
131
|
+
"light": "#ffebee"
|
|
132
|
+
},
|
|
133
|
+
"markdownText": {
|
|
134
|
+
"dark": "foreground",
|
|
135
|
+
"light": "#262335"
|
|
136
|
+
},
|
|
137
|
+
"markdownHeading": {
|
|
138
|
+
"dark": "pink",
|
|
139
|
+
"light": "#e91e63"
|
|
140
|
+
},
|
|
141
|
+
"markdownLink": {
|
|
142
|
+
"dark": "cyan",
|
|
143
|
+
"light": "#00bcd4"
|
|
144
|
+
},
|
|
145
|
+
"markdownLinkText": {
|
|
146
|
+
"dark": "purple",
|
|
147
|
+
"light": "#9c27b0"
|
|
148
|
+
},
|
|
149
|
+
"markdownCode": {
|
|
150
|
+
"dark": "green",
|
|
151
|
+
"light": "#4caf50"
|
|
152
|
+
},
|
|
153
|
+
"markdownBlockQuote": {
|
|
154
|
+
"dark": "foregroundMuted",
|
|
155
|
+
"light": "#5c5c8a"
|
|
156
|
+
},
|
|
157
|
+
"markdownEmph": {
|
|
158
|
+
"dark": "yellow",
|
|
159
|
+
"light": "#ff9800"
|
|
160
|
+
},
|
|
161
|
+
"markdownStrong": {
|
|
162
|
+
"dark": "orange",
|
|
163
|
+
"light": "#ff5722"
|
|
164
|
+
},
|
|
165
|
+
"markdownHorizontalRule": {
|
|
166
|
+
"dark": "#495495",
|
|
167
|
+
"light": "#e0e0e0"
|
|
168
|
+
},
|
|
169
|
+
"markdownListItem": {
|
|
170
|
+
"dark": "cyan",
|
|
171
|
+
"light": "#00bcd4"
|
|
172
|
+
},
|
|
173
|
+
"markdownListEnumeration": {
|
|
174
|
+
"dark": "purple",
|
|
175
|
+
"light": "#9c27b0"
|
|
176
|
+
},
|
|
177
|
+
"markdownImage": {
|
|
178
|
+
"dark": "cyan",
|
|
179
|
+
"light": "#00bcd4"
|
|
180
|
+
},
|
|
181
|
+
"markdownImageText": {
|
|
182
|
+
"dark": "purple",
|
|
183
|
+
"light": "#9c27b0"
|
|
184
|
+
},
|
|
185
|
+
"markdownCodeBlock": {
|
|
186
|
+
"dark": "foreground",
|
|
187
|
+
"light": "#262335"
|
|
188
|
+
},
|
|
189
|
+
"syntaxComment": {
|
|
190
|
+
"dark": "foregroundMuted",
|
|
191
|
+
"light": "#5c5c8a"
|
|
192
|
+
},
|
|
193
|
+
"syntaxKeyword": {
|
|
194
|
+
"dark": "pink",
|
|
195
|
+
"light": "#e91e63"
|
|
196
|
+
},
|
|
197
|
+
"syntaxFunction": {
|
|
198
|
+
"dark": "orange",
|
|
199
|
+
"light": "#ff5722"
|
|
200
|
+
},
|
|
201
|
+
"syntaxVariable": {
|
|
202
|
+
"dark": "foreground",
|
|
203
|
+
"light": "#262335"
|
|
204
|
+
},
|
|
205
|
+
"syntaxString": {
|
|
206
|
+
"dark": "yellow",
|
|
207
|
+
"light": "#ff9800"
|
|
208
|
+
},
|
|
209
|
+
"syntaxNumber": {
|
|
210
|
+
"dark": "purple",
|
|
211
|
+
"light": "#9c27b0"
|
|
212
|
+
},
|
|
213
|
+
"syntaxType": {
|
|
214
|
+
"dark": "cyan",
|
|
215
|
+
"light": "#00bcd4"
|
|
216
|
+
},
|
|
217
|
+
"syntaxOperator": {
|
|
218
|
+
"dark": "pink",
|
|
219
|
+
"light": "#e91e63"
|
|
220
|
+
},
|
|
221
|
+
"syntaxPunctuation": {
|
|
222
|
+
"dark": "foreground",
|
|
223
|
+
"light": "#262335"
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
}
|
|
@@ -0,0 +1,243 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opencode.ai/theme.json",
|
|
3
|
+
"defs": {
|
|
4
|
+
"darkStep1": "#1a1b26",
|
|
5
|
+
"darkStep2": "#1e2030",
|
|
6
|
+
"darkStep3": "#222436",
|
|
7
|
+
"darkStep4": "#292e42",
|
|
8
|
+
"darkStep5": "#3b4261",
|
|
9
|
+
"darkStep6": "#545c7e",
|
|
10
|
+
"darkStep7": "#737aa2",
|
|
11
|
+
"darkStep8": "#9099b2",
|
|
12
|
+
"darkStep9": "#82aaff",
|
|
13
|
+
"darkStep10": "#89b4fa",
|
|
14
|
+
"darkStep11": "#828bb8",
|
|
15
|
+
"darkStep12": "#c8d3f5",
|
|
16
|
+
"darkRed": "#ff757f",
|
|
17
|
+
"darkOrange": "#ff966c",
|
|
18
|
+
"darkYellow": "#ffc777",
|
|
19
|
+
"darkGreen": "#c3e88d",
|
|
20
|
+
"darkCyan": "#86e1fc",
|
|
21
|
+
"darkPurple": "#c099ff",
|
|
22
|
+
"lightStep1": "#e1e2e7",
|
|
23
|
+
"lightStep2": "#d5d6db",
|
|
24
|
+
"lightStep3": "#c8c9ce",
|
|
25
|
+
"lightStep4": "#b9bac1",
|
|
26
|
+
"lightStep5": "#a8aecb",
|
|
27
|
+
"lightStep6": "#9699a8",
|
|
28
|
+
"lightStep7": "#737a8c",
|
|
29
|
+
"lightStep8": "#5a607d",
|
|
30
|
+
"lightStep9": "#2e7de9",
|
|
31
|
+
"lightStep10": "#1a6ce7",
|
|
32
|
+
"lightStep11": "#8990a3",
|
|
33
|
+
"lightStep12": "#3760bf",
|
|
34
|
+
"lightRed": "#f52a65",
|
|
35
|
+
"lightOrange": "#b15c00",
|
|
36
|
+
"lightYellow": "#8c6c3e",
|
|
37
|
+
"lightGreen": "#587539",
|
|
38
|
+
"lightCyan": "#007197",
|
|
39
|
+
"lightPurple": "#9854f1"
|
|
40
|
+
},
|
|
41
|
+
"theme": {
|
|
42
|
+
"primary": {
|
|
43
|
+
"dark": "darkStep9",
|
|
44
|
+
"light": "lightStep9"
|
|
45
|
+
},
|
|
46
|
+
"secondary": {
|
|
47
|
+
"dark": "darkPurple",
|
|
48
|
+
"light": "lightPurple"
|
|
49
|
+
},
|
|
50
|
+
"accent": {
|
|
51
|
+
"dark": "darkOrange",
|
|
52
|
+
"light": "lightOrange"
|
|
53
|
+
},
|
|
54
|
+
"error": {
|
|
55
|
+
"dark": "darkRed",
|
|
56
|
+
"light": "lightRed"
|
|
57
|
+
},
|
|
58
|
+
"warning": {
|
|
59
|
+
"dark": "darkOrange",
|
|
60
|
+
"light": "lightOrange"
|
|
61
|
+
},
|
|
62
|
+
"success": {
|
|
63
|
+
"dark": "darkGreen",
|
|
64
|
+
"light": "lightGreen"
|
|
65
|
+
},
|
|
66
|
+
"info": {
|
|
67
|
+
"dark": "darkStep9",
|
|
68
|
+
"light": "lightStep9"
|
|
69
|
+
},
|
|
70
|
+
"text": {
|
|
71
|
+
"dark": "darkStep12",
|
|
72
|
+
"light": "lightStep12"
|
|
73
|
+
},
|
|
74
|
+
"textMuted": {
|
|
75
|
+
"dark": "darkStep11",
|
|
76
|
+
"light": "lightStep11"
|
|
77
|
+
},
|
|
78
|
+
"background": {
|
|
79
|
+
"dark": "darkStep1",
|
|
80
|
+
"light": "lightStep1"
|
|
81
|
+
},
|
|
82
|
+
"backgroundPanel": {
|
|
83
|
+
"dark": "darkStep2",
|
|
84
|
+
"light": "lightStep2"
|
|
85
|
+
},
|
|
86
|
+
"backgroundElement": {
|
|
87
|
+
"dark": "darkStep3",
|
|
88
|
+
"light": "lightStep3"
|
|
89
|
+
},
|
|
90
|
+
"border": {
|
|
91
|
+
"dark": "darkStep7",
|
|
92
|
+
"light": "lightStep7"
|
|
93
|
+
},
|
|
94
|
+
"borderActive": {
|
|
95
|
+
"dark": "darkStep8",
|
|
96
|
+
"light": "lightStep8"
|
|
97
|
+
},
|
|
98
|
+
"borderSubtle": {
|
|
99
|
+
"dark": "darkStep6",
|
|
100
|
+
"light": "lightStep6"
|
|
101
|
+
},
|
|
102
|
+
"diffAdded": {
|
|
103
|
+
"dark": "#4fd6be",
|
|
104
|
+
"light": "#1e725c"
|
|
105
|
+
},
|
|
106
|
+
"diffRemoved": {
|
|
107
|
+
"dark": "#c53b53",
|
|
108
|
+
"light": "#c53b53"
|
|
109
|
+
},
|
|
110
|
+
"diffContext": {
|
|
111
|
+
"dark": "#828bb8",
|
|
112
|
+
"light": "#7086b5"
|
|
113
|
+
},
|
|
114
|
+
"diffHunkHeader": {
|
|
115
|
+
"dark": "#828bb8",
|
|
116
|
+
"light": "#7086b5"
|
|
117
|
+
},
|
|
118
|
+
"diffHighlightAdded": {
|
|
119
|
+
"dark": "#b8db87",
|
|
120
|
+
"light": "#4db380"
|
|
121
|
+
},
|
|
122
|
+
"diffHighlightRemoved": {
|
|
123
|
+
"dark": "#e26a75",
|
|
124
|
+
"light": "#f52a65"
|
|
125
|
+
},
|
|
126
|
+
"diffAddedBg": {
|
|
127
|
+
"dark": "#20303b",
|
|
128
|
+
"light": "#d5e5d5"
|
|
129
|
+
},
|
|
130
|
+
"diffRemovedBg": {
|
|
131
|
+
"dark": "#37222c",
|
|
132
|
+
"light": "#f7d8db"
|
|
133
|
+
},
|
|
134
|
+
"diffContextBg": {
|
|
135
|
+
"dark": "darkStep2",
|
|
136
|
+
"light": "lightStep2"
|
|
137
|
+
},
|
|
138
|
+
"diffLineNumber": {
|
|
139
|
+
"dark": "#8f909a",
|
|
140
|
+
"light": "#59595b"
|
|
141
|
+
},
|
|
142
|
+
"diffAddedLineNumberBg": {
|
|
143
|
+
"dark": "#1b2b34",
|
|
144
|
+
"light": "#c5d5c5"
|
|
145
|
+
},
|
|
146
|
+
"diffRemovedLineNumberBg": {
|
|
147
|
+
"dark": "#2d1f26",
|
|
148
|
+
"light": "#e7c8cb"
|
|
149
|
+
},
|
|
150
|
+
"markdownText": {
|
|
151
|
+
"dark": "darkStep12",
|
|
152
|
+
"light": "lightStep12"
|
|
153
|
+
},
|
|
154
|
+
"markdownHeading": {
|
|
155
|
+
"dark": "darkPurple",
|
|
156
|
+
"light": "lightPurple"
|
|
157
|
+
},
|
|
158
|
+
"markdownLink": {
|
|
159
|
+
"dark": "darkStep9",
|
|
160
|
+
"light": "lightStep9"
|
|
161
|
+
},
|
|
162
|
+
"markdownLinkText": {
|
|
163
|
+
"dark": "darkCyan",
|
|
164
|
+
"light": "lightCyan"
|
|
165
|
+
},
|
|
166
|
+
"markdownCode": {
|
|
167
|
+
"dark": "darkGreen",
|
|
168
|
+
"light": "lightGreen"
|
|
169
|
+
},
|
|
170
|
+
"markdownBlockQuote": {
|
|
171
|
+
"dark": "darkYellow",
|
|
172
|
+
"light": "lightYellow"
|
|
173
|
+
},
|
|
174
|
+
"markdownEmph": {
|
|
175
|
+
"dark": "darkYellow",
|
|
176
|
+
"light": "lightYellow"
|
|
177
|
+
},
|
|
178
|
+
"markdownStrong": {
|
|
179
|
+
"dark": "darkOrange",
|
|
180
|
+
"light": "lightOrange"
|
|
181
|
+
},
|
|
182
|
+
"markdownHorizontalRule": {
|
|
183
|
+
"dark": "darkStep11",
|
|
184
|
+
"light": "lightStep11"
|
|
185
|
+
},
|
|
186
|
+
"markdownListItem": {
|
|
187
|
+
"dark": "darkStep9",
|
|
188
|
+
"light": "lightStep9"
|
|
189
|
+
},
|
|
190
|
+
"markdownListEnumeration": {
|
|
191
|
+
"dark": "darkCyan",
|
|
192
|
+
"light": "lightCyan"
|
|
193
|
+
},
|
|
194
|
+
"markdownImage": {
|
|
195
|
+
"dark": "darkStep9",
|
|
196
|
+
"light": "lightStep9"
|
|
197
|
+
},
|
|
198
|
+
"markdownImageText": {
|
|
199
|
+
"dark": "darkCyan",
|
|
200
|
+
"light": "lightCyan"
|
|
201
|
+
},
|
|
202
|
+
"markdownCodeBlock": {
|
|
203
|
+
"dark": "darkStep12",
|
|
204
|
+
"light": "lightStep12"
|
|
205
|
+
},
|
|
206
|
+
"syntaxComment": {
|
|
207
|
+
"dark": "darkStep11",
|
|
208
|
+
"light": "lightStep11"
|
|
209
|
+
},
|
|
210
|
+
"syntaxKeyword": {
|
|
211
|
+
"dark": "darkPurple",
|
|
212
|
+
"light": "lightPurple"
|
|
213
|
+
},
|
|
214
|
+
"syntaxFunction": {
|
|
215
|
+
"dark": "darkStep9",
|
|
216
|
+
"light": "lightStep9"
|
|
217
|
+
},
|
|
218
|
+
"syntaxVariable": {
|
|
219
|
+
"dark": "darkRed",
|
|
220
|
+
"light": "lightRed"
|
|
221
|
+
},
|
|
222
|
+
"syntaxString": {
|
|
223
|
+
"dark": "darkGreen",
|
|
224
|
+
"light": "lightGreen"
|
|
225
|
+
},
|
|
226
|
+
"syntaxNumber": {
|
|
227
|
+
"dark": "darkOrange",
|
|
228
|
+
"light": "lightOrange"
|
|
229
|
+
},
|
|
230
|
+
"syntaxType": {
|
|
231
|
+
"dark": "darkYellow",
|
|
232
|
+
"light": "lightYellow"
|
|
233
|
+
},
|
|
234
|
+
"syntaxOperator": {
|
|
235
|
+
"dark": "darkCyan",
|
|
236
|
+
"light": "lightCyan"
|
|
237
|
+
},
|
|
238
|
+
"syntaxPunctuation": {
|
|
239
|
+
"dark": "darkStep12",
|
|
240
|
+
"light": "lightStep12"
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
}
|
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opencode.ai/theme.json",
|
|
3
|
+
"defs": {
|
|
4
|
+
"background100": "#0A0A0A",
|
|
5
|
+
"background200": "#000000",
|
|
6
|
+
"gray100": "#1A1A1A",
|
|
7
|
+
"gray200": "#1F1F1F",
|
|
8
|
+
"gray300": "#292929",
|
|
9
|
+
"gray400": "#2E2E2E",
|
|
10
|
+
"gray500": "#454545",
|
|
11
|
+
"gray600": "#878787",
|
|
12
|
+
"gray700": "#8F8F8F",
|
|
13
|
+
"gray900": "#A1A1A1",
|
|
14
|
+
"gray1000": "#EDEDED",
|
|
15
|
+
"blue600": "#0099FF",
|
|
16
|
+
"blue700": "#0070F3",
|
|
17
|
+
"blue900": "#52A8FF",
|
|
18
|
+
"blue1000": "#EBF8FF",
|
|
19
|
+
"red700": "#E5484D",
|
|
20
|
+
"red900": "#FF6166",
|
|
21
|
+
"red1000": "#FDECED",
|
|
22
|
+
"amber700": "#FFB224",
|
|
23
|
+
"amber900": "#F2A700",
|
|
24
|
+
"amber1000": "#FDF4DC",
|
|
25
|
+
"green700": "#46A758",
|
|
26
|
+
"green900": "#63C46D",
|
|
27
|
+
"green1000": "#E6F9E9",
|
|
28
|
+
"teal700": "#12A594",
|
|
29
|
+
"teal900": "#0AC7AC",
|
|
30
|
+
"purple700": "#8E4EC6",
|
|
31
|
+
"purple900": "#BF7AF0",
|
|
32
|
+
"pink700": "#E93D82",
|
|
33
|
+
"pink900": "#F75590",
|
|
34
|
+
"highlightPink": "#FF0080",
|
|
35
|
+
"highlightPurple": "#F81CE5",
|
|
36
|
+
"cyan": "#50E3C2",
|
|
37
|
+
"lightBackground": "#FFFFFF",
|
|
38
|
+
"lightGray100": "#FAFAFA",
|
|
39
|
+
"lightGray200": "#EAEAEA",
|
|
40
|
+
"lightGray600": "#666666",
|
|
41
|
+
"lightGray1000": "#171717"
|
|
42
|
+
},
|
|
43
|
+
"theme": {
|
|
44
|
+
"primary": {
|
|
45
|
+
"dark": "blue700",
|
|
46
|
+
"light": "blue700"
|
|
47
|
+
},
|
|
48
|
+
"secondary": {
|
|
49
|
+
"dark": "blue900",
|
|
50
|
+
"light": "#0062D1"
|
|
51
|
+
},
|
|
52
|
+
"accent": {
|
|
53
|
+
"dark": "purple700",
|
|
54
|
+
"light": "purple700"
|
|
55
|
+
},
|
|
56
|
+
"error": {
|
|
57
|
+
"dark": "red700",
|
|
58
|
+
"light": "#DC3545"
|
|
59
|
+
},
|
|
60
|
+
"warning": {
|
|
61
|
+
"dark": "amber700",
|
|
62
|
+
"light": "#FF9500"
|
|
63
|
+
},
|
|
64
|
+
"success": {
|
|
65
|
+
"dark": "green700",
|
|
66
|
+
"light": "#388E3C"
|
|
67
|
+
},
|
|
68
|
+
"info": {
|
|
69
|
+
"dark": "blue900",
|
|
70
|
+
"light": "blue700"
|
|
71
|
+
},
|
|
72
|
+
"text": {
|
|
73
|
+
"dark": "gray1000",
|
|
74
|
+
"light": "lightGray1000"
|
|
75
|
+
},
|
|
76
|
+
"textMuted": {
|
|
77
|
+
"dark": "gray600",
|
|
78
|
+
"light": "lightGray600"
|
|
79
|
+
},
|
|
80
|
+
"background": {
|
|
81
|
+
"dark": "background200",
|
|
82
|
+
"light": "lightBackground"
|
|
83
|
+
},
|
|
84
|
+
"backgroundPanel": {
|
|
85
|
+
"dark": "gray100",
|
|
86
|
+
"light": "lightGray100"
|
|
87
|
+
},
|
|
88
|
+
"backgroundElement": {
|
|
89
|
+
"dark": "gray300",
|
|
90
|
+
"light": "lightGray200"
|
|
91
|
+
},
|
|
92
|
+
"border": {
|
|
93
|
+
"dark": "gray200",
|
|
94
|
+
"light": "lightGray200"
|
|
95
|
+
},
|
|
96
|
+
"borderActive": {
|
|
97
|
+
"dark": "gray500",
|
|
98
|
+
"light": "#999999"
|
|
99
|
+
},
|
|
100
|
+
"borderSubtle": {
|
|
101
|
+
"dark": "gray100",
|
|
102
|
+
"light": "#EAEAEA"
|
|
103
|
+
},
|
|
104
|
+
"diffAdded": {
|
|
105
|
+
"dark": "green900",
|
|
106
|
+
"light": "green700"
|
|
107
|
+
},
|
|
108
|
+
"diffRemoved": {
|
|
109
|
+
"dark": "red900",
|
|
110
|
+
"light": "red700"
|
|
111
|
+
},
|
|
112
|
+
"diffContext": {
|
|
113
|
+
"dark": "gray600",
|
|
114
|
+
"light": "lightGray600"
|
|
115
|
+
},
|
|
116
|
+
"diffHunkHeader": {
|
|
117
|
+
"dark": "gray600",
|
|
118
|
+
"light": "lightGray600"
|
|
119
|
+
},
|
|
120
|
+
"diffHighlightAdded": {
|
|
121
|
+
"dark": "green900",
|
|
122
|
+
"light": "green700"
|
|
123
|
+
},
|
|
124
|
+
"diffHighlightRemoved": {
|
|
125
|
+
"dark": "red900",
|
|
126
|
+
"light": "red700"
|
|
127
|
+
},
|
|
128
|
+
"diffAddedBg": {
|
|
129
|
+
"dark": "#0B1D0F",
|
|
130
|
+
"light": "#E6F9E9"
|
|
131
|
+
},
|
|
132
|
+
"diffRemovedBg": {
|
|
133
|
+
"dark": "#2A1314",
|
|
134
|
+
"light": "#FDECED"
|
|
135
|
+
},
|
|
136
|
+
"diffContextBg": {
|
|
137
|
+
"dark": "background200",
|
|
138
|
+
"light": "lightBackground"
|
|
139
|
+
},
|
|
140
|
+
"diffLineNumber": {
|
|
141
|
+
"dark": "#8a8a8a",
|
|
142
|
+
"light": "textMuted"
|
|
143
|
+
},
|
|
144
|
+
"diffAddedLineNumberBg": {
|
|
145
|
+
"dark": "#0F2613",
|
|
146
|
+
"light": "#D6F5D6"
|
|
147
|
+
},
|
|
148
|
+
"diffRemovedLineNumberBg": {
|
|
149
|
+
"dark": "#3C1618",
|
|
150
|
+
"light": "#FFE5E5"
|
|
151
|
+
},
|
|
152
|
+
"markdownText": {
|
|
153
|
+
"dark": "gray1000",
|
|
154
|
+
"light": "lightGray1000"
|
|
155
|
+
},
|
|
156
|
+
"markdownHeading": {
|
|
157
|
+
"dark": "purple900",
|
|
158
|
+
"light": "purple700"
|
|
159
|
+
},
|
|
160
|
+
"markdownLink": {
|
|
161
|
+
"dark": "blue900",
|
|
162
|
+
"light": "blue700"
|
|
163
|
+
},
|
|
164
|
+
"markdownLinkText": {
|
|
165
|
+
"dark": "teal900",
|
|
166
|
+
"light": "teal700"
|
|
167
|
+
},
|
|
168
|
+
"markdownCode": {
|
|
169
|
+
"dark": "green900",
|
|
170
|
+
"light": "green700"
|
|
171
|
+
},
|
|
172
|
+
"markdownBlockQuote": {
|
|
173
|
+
"dark": "gray600",
|
|
174
|
+
"light": "lightGray600"
|
|
175
|
+
},
|
|
176
|
+
"markdownEmph": {
|
|
177
|
+
"dark": "amber900",
|
|
178
|
+
"light": "amber700"
|
|
179
|
+
},
|
|
180
|
+
"markdownStrong": {
|
|
181
|
+
"dark": "pink900",
|
|
182
|
+
"light": "pink700"
|
|
183
|
+
},
|
|
184
|
+
"markdownHorizontalRule": {
|
|
185
|
+
"dark": "gray500",
|
|
186
|
+
"light": "#999999"
|
|
187
|
+
},
|
|
188
|
+
"markdownListItem": {
|
|
189
|
+
"dark": "gray1000",
|
|
190
|
+
"light": "lightGray1000"
|
|
191
|
+
},
|
|
192
|
+
"markdownListEnumeration": {
|
|
193
|
+
"dark": "blue900",
|
|
194
|
+
"light": "blue700"
|
|
195
|
+
},
|
|
196
|
+
"markdownImage": {
|
|
197
|
+
"dark": "teal900",
|
|
198
|
+
"light": "teal700"
|
|
199
|
+
},
|
|
200
|
+
"markdownImageText": {
|
|
201
|
+
"dark": "cyan",
|
|
202
|
+
"light": "teal700"
|
|
203
|
+
},
|
|
204
|
+
"markdownCodeBlock": {
|
|
205
|
+
"dark": "gray1000",
|
|
206
|
+
"light": "lightGray1000"
|
|
207
|
+
},
|
|
208
|
+
"syntaxComment": {
|
|
209
|
+
"dark": "gray600",
|
|
210
|
+
"light": "#888888"
|
|
211
|
+
},
|
|
212
|
+
"syntaxKeyword": {
|
|
213
|
+
"dark": "pink900",
|
|
214
|
+
"light": "pink700"
|
|
215
|
+
},
|
|
216
|
+
"syntaxFunction": {
|
|
217
|
+
"dark": "purple900",
|
|
218
|
+
"light": "purple700"
|
|
219
|
+
},
|
|
220
|
+
"syntaxVariable": {
|
|
221
|
+
"dark": "blue900",
|
|
222
|
+
"light": "blue700"
|
|
223
|
+
},
|
|
224
|
+
"syntaxString": {
|
|
225
|
+
"dark": "green900",
|
|
226
|
+
"light": "green700"
|
|
227
|
+
},
|
|
228
|
+
"syntaxNumber": {
|
|
229
|
+
"dark": "amber900",
|
|
230
|
+
"light": "amber700"
|
|
231
|
+
},
|
|
232
|
+
"syntaxType": {
|
|
233
|
+
"dark": "teal900",
|
|
234
|
+
"light": "teal700"
|
|
235
|
+
},
|
|
236
|
+
"syntaxOperator": {
|
|
237
|
+
"dark": "pink900",
|
|
238
|
+
"light": "pink700"
|
|
239
|
+
},
|
|
240
|
+
"syntaxPunctuation": {
|
|
241
|
+
"dark": "gray1000",
|
|
242
|
+
"light": "lightGray1000"
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
}
|