@vladimirven/openswe 0.1.0
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/AGENTS.md +203 -0
- package/CLAUDE.md +203 -0
- package/README.md +166 -0
- package/bun.lock +447 -0
- package/bunfig.toml +4 -0
- package/package.json +42 -0
- package/src/app.tsx +84 -0
- package/src/components/App.tsx +526 -0
- package/src/components/ConfirmDialog.tsx +88 -0
- package/src/components/Footer.tsx +50 -0
- package/src/components/HelpModal.tsx +136 -0
- package/src/components/IssueSelectorModal.tsx +701 -0
- package/src/components/ManualSessionModal.tsx +191 -0
- package/src/components/PhaseProgress.tsx +45 -0
- package/src/components/Preview.tsx +249 -0
- package/src/components/ProviderSwitcherModal.tsx +156 -0
- package/src/components/ScrollableText.tsx +120 -0
- package/src/components/SessionCard.tsx +60 -0
- package/src/components/SessionList.tsx +79 -0
- package/src/components/SessionTerminal.tsx +89 -0
- package/src/components/StatusBar.tsx +84 -0
- package/src/components/ThemeSwitcherModal.tsx +237 -0
- package/src/components/index.ts +58 -0
- package/src/components/session-utils.ts +337 -0
- package/src/components/theme.ts +206 -0
- package/src/components/types.ts +215 -0
- package/src/config/defaults.ts +44 -0
- package/src/config/env.ts +67 -0
- package/src/config/global.ts +252 -0
- package/src/config/index.ts +171 -0
- package/src/config/types.ts +131 -0
- package/src/core/.gitkeep +0 -0
- package/src/core/index.ts +5 -0
- package/src/core/parser.ts +62 -0
- package/src/core/process-manager.ts +52 -0
- package/src/core/session.ts +423 -0
- package/src/core/tmux.ts +206 -0
- package/src/git/.gitkeep +0 -0
- package/src/git/index.ts +8 -0
- package/src/git/repo.ts +443 -0
- package/src/git/worktree.ts +317 -0
- package/src/github/.gitkeep +0 -0
- package/src/github/client.ts +208 -0
- package/src/github/index.ts +8 -0
- package/src/github/issues.ts +351 -0
- package/src/index.ts +369 -0
- package/src/prompts/.gitkeep +0 -0
- package/src/prompts/index.ts +1 -0
- package/src/prompts/swe-system.ts +22 -0
- package/src/providers/claude.ts +103 -0
- package/src/providers/index.ts +21 -0
- package/src/providers/opencode.ts +98 -0
- package/src/providers/registry.ts +53 -0
- package/src/providers/types.ts +117 -0
- package/src/store/buffers.ts +234 -0
- package/src/store/db.test.ts +579 -0
- package/src/store/db.ts +249 -0
- package/src/store/index.ts +101 -0
- package/src/store/project.ts +119 -0
- package/src/store/schema.sql +71 -0
- package/src/store/sessions.ts +454 -0
- package/src/store/types.ts +194 -0
- package/src/theme/context.tsx +170 -0
- package/src/theme/custom.ts +134 -0
- package/src/theme/index.ts +58 -0
- package/src/theme/loader.ts +264 -0
- package/src/theme/themes/aura.json +69 -0
- package/src/theme/themes/ayu.json +80 -0
- package/src/theme/themes/carbonfox.json +248 -0
- package/src/theme/themes/catppuccin-frappe.json +233 -0
- package/src/theme/themes/catppuccin-macchiato.json +233 -0
- package/src/theme/themes/catppuccin.json +112 -0
- package/src/theme/themes/cobalt2.json +228 -0
- package/src/theme/themes/cursor.json +249 -0
- package/src/theme/themes/dracula.json +219 -0
- package/src/theme/themes/everforest.json +241 -0
- package/src/theme/themes/flexoki.json +237 -0
- package/src/theme/themes/github.json +233 -0
- package/src/theme/themes/gruvbox.json +242 -0
- package/src/theme/themes/kanagawa.json +77 -0
- package/src/theme/themes/lucent-orng.json +237 -0
- package/src/theme/themes/material.json +235 -0
- package/src/theme/themes/matrix.json +77 -0
- package/src/theme/themes/mercury.json +252 -0
- package/src/theme/themes/monokai.json +221 -0
- package/src/theme/themes/nightowl.json +221 -0
- package/src/theme/themes/nord.json +223 -0
- package/src/theme/themes/one-dark.json +84 -0
- package/src/theme/themes/opencode.json +245 -0
- package/src/theme/themes/orng.json +249 -0
- package/src/theme/themes/osaka-jade.json +93 -0
- package/src/theme/themes/palenight.json +222 -0
- package/src/theme/themes/rosepine.json +234 -0
- package/src/theme/themes/solarized.json +223 -0
- package/src/theme/themes/synthwave84.json +226 -0
- package/src/theme/themes/tokyonight.json +243 -0
- package/src/theme/themes/vercel.json +245 -0
- package/src/theme/themes/vesper.json +218 -0
- package/src/theme/themes/zenburn.json +223 -0
- package/src/theme/types.ts +225 -0
- package/src/types/sql.d.ts +4 -0
- package/src/utils/ansi-parser.ts +225 -0
- package/src/utils/format.ts +46 -0
- package/src/utils/id.ts +15 -0
- package/src/utils/logger.ts +112 -0
- package/src/utils/prerequisites.ts +118 -0
- package/src/utils/shell.ts +9 -0
- package/src/wizard/flows.ts +419 -0
- package/src/wizard/index.ts +37 -0
- package/src/wizard/prompts.ts +190 -0
- package/src/workspace/detect.test.ts +51 -0
- package/src/workspace/detect.ts +223 -0
- package/src/workspace/index.ts +71 -0
- package/src/workspace/init.ts +131 -0
- package/src/workspace/paths.ts +143 -0
- package/src/workspace/project.ts +164 -0
- package/tsconfig.json +22 -0
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opencode.ai/theme.json",
|
|
3
|
+
"defs": {
|
|
4
|
+
"sumiInk0": "#1F1F28",
|
|
5
|
+
"sumiInk1": "#2A2A37",
|
|
6
|
+
"sumiInk2": "#363646",
|
|
7
|
+
"sumiInk3": "#54546D",
|
|
8
|
+
"fujiWhite": "#DCD7BA",
|
|
9
|
+
"oldWhite": "#C8C093",
|
|
10
|
+
"fujiGray": "#727169",
|
|
11
|
+
"oniViolet": "#957FB8",
|
|
12
|
+
"crystalBlue": "#7E9CD8",
|
|
13
|
+
"carpYellow": "#C38D9D",
|
|
14
|
+
"sakuraPink": "#D27E99",
|
|
15
|
+
"waveAqua": "#76946A",
|
|
16
|
+
"roninYellow": "#D7A657",
|
|
17
|
+
"dragonRed": "#E82424",
|
|
18
|
+
"lotusGreen": "#98BB6C",
|
|
19
|
+
"waveBlue": "#2D4F67",
|
|
20
|
+
"lightBg": "#F2E9DE",
|
|
21
|
+
"lightPaper": "#EAE4D7",
|
|
22
|
+
"lightText": "#54433A",
|
|
23
|
+
"lightGray": "#9E9389"
|
|
24
|
+
},
|
|
25
|
+
"theme": {
|
|
26
|
+
"primary": { "dark": "crystalBlue", "light": "waveBlue" },
|
|
27
|
+
"secondary": { "dark": "oniViolet", "light": "oniViolet" },
|
|
28
|
+
"accent": { "dark": "sakuraPink", "light": "sakuraPink" },
|
|
29
|
+
"error": { "dark": "dragonRed", "light": "dragonRed" },
|
|
30
|
+
"warning": { "dark": "roninYellow", "light": "roninYellow" },
|
|
31
|
+
"success": { "dark": "lotusGreen", "light": "lotusGreen" },
|
|
32
|
+
"info": { "dark": "waveAqua", "light": "waveAqua" },
|
|
33
|
+
"text": { "dark": "fujiWhite", "light": "lightText" },
|
|
34
|
+
"textMuted": { "dark": "fujiGray", "light": "lightGray" },
|
|
35
|
+
"background": { "dark": "sumiInk0", "light": "lightBg" },
|
|
36
|
+
"backgroundPanel": { "dark": "sumiInk1", "light": "lightPaper" },
|
|
37
|
+
"backgroundElement": { "dark": "sumiInk2", "light": "#E3DCD2" },
|
|
38
|
+
"border": { "dark": "sumiInk3", "light": "#D4CBBF" },
|
|
39
|
+
"borderActive": { "dark": "carpYellow", "light": "carpYellow" },
|
|
40
|
+
"borderSubtle": { "dark": "sumiInk2", "light": "#DCD4C9" },
|
|
41
|
+
"diffAdded": { "dark": "lotusGreen", "light": "lotusGreen" },
|
|
42
|
+
"diffRemoved": { "dark": "dragonRed", "light": "dragonRed" },
|
|
43
|
+
"diffContext": { "dark": "fujiGray", "light": "lightGray" },
|
|
44
|
+
"diffHunkHeader": { "dark": "waveBlue", "light": "waveBlue" },
|
|
45
|
+
"diffHighlightAdded": { "dark": "#A9D977", "light": "#89AF5B" },
|
|
46
|
+
"diffHighlightRemoved": { "dark": "#F24A4A", "light": "#D61F1F" },
|
|
47
|
+
"diffAddedBg": { "dark": "#252E25", "light": "#EAF3E4" },
|
|
48
|
+
"diffRemovedBg": { "dark": "#362020", "light": "#FBE6E6" },
|
|
49
|
+
"diffContextBg": { "dark": "sumiInk1", "light": "lightPaper" },
|
|
50
|
+
"diffLineNumber": { "dark": "sumiInk3", "light": "#C7BEB4" },
|
|
51
|
+
"diffAddedLineNumberBg": { "dark": "#202820", "light": "#DDE8D6" },
|
|
52
|
+
"diffRemovedLineNumberBg": { "dark": "#2D1C1C", "light": "#F2DADA" },
|
|
53
|
+
"markdownText": { "dark": "fujiWhite", "light": "lightText" },
|
|
54
|
+
"markdownHeading": { "dark": "oniViolet", "light": "oniViolet" },
|
|
55
|
+
"markdownLink": { "dark": "crystalBlue", "light": "waveBlue" },
|
|
56
|
+
"markdownLinkText": { "dark": "waveAqua", "light": "waveAqua" },
|
|
57
|
+
"markdownCode": { "dark": "lotusGreen", "light": "lotusGreen" },
|
|
58
|
+
"markdownBlockQuote": { "dark": "fujiGray", "light": "lightGray" },
|
|
59
|
+
"markdownEmph": { "dark": "carpYellow", "light": "carpYellow" },
|
|
60
|
+
"markdownStrong": { "dark": "roninYellow", "light": "roninYellow" },
|
|
61
|
+
"markdownHorizontalRule": { "dark": "fujiGray", "light": "lightGray" },
|
|
62
|
+
"markdownListItem": { "dark": "crystalBlue", "light": "waveBlue" },
|
|
63
|
+
"markdownListEnumeration": { "dark": "waveAqua", "light": "waveAqua" },
|
|
64
|
+
"markdownImage": { "dark": "crystalBlue", "light": "waveBlue" },
|
|
65
|
+
"markdownImageText": { "dark": "waveAqua", "light": "waveAqua" },
|
|
66
|
+
"markdownCodeBlock": { "dark": "fujiWhite", "light": "lightText" },
|
|
67
|
+
"syntaxComment": { "dark": "fujiGray", "light": "lightGray" },
|
|
68
|
+
"syntaxKeyword": { "dark": "oniViolet", "light": "oniViolet" },
|
|
69
|
+
"syntaxFunction": { "dark": "crystalBlue", "light": "waveBlue" },
|
|
70
|
+
"syntaxVariable": { "dark": "fujiWhite", "light": "lightText" },
|
|
71
|
+
"syntaxString": { "dark": "lotusGreen", "light": "lotusGreen" },
|
|
72
|
+
"syntaxNumber": { "dark": "roninYellow", "light": "roninYellow" },
|
|
73
|
+
"syntaxType": { "dark": "carpYellow", "light": "carpYellow" },
|
|
74
|
+
"syntaxOperator": { "dark": "sakuraPink", "light": "sakuraPink" },
|
|
75
|
+
"syntaxPunctuation": { "dark": "fujiWhite", "light": "lightText" }
|
|
76
|
+
}
|
|
77
|
+
}
|
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opencode.ai/theme.json",
|
|
3
|
+
"defs": {
|
|
4
|
+
"darkStep6": "#3c3c3c",
|
|
5
|
+
"darkStep11": "#808080",
|
|
6
|
+
"darkStep12": "#eeeeee",
|
|
7
|
+
"darkSecondary": "#EE7948",
|
|
8
|
+
"darkAccent": "#FFF7F1",
|
|
9
|
+
"darkRed": "#e06c75",
|
|
10
|
+
"darkOrange": "#EC5B2B",
|
|
11
|
+
"darkBlue": "#6ba1e6",
|
|
12
|
+
"darkCyan": "#56b6c2",
|
|
13
|
+
"darkYellow": "#e5c07b",
|
|
14
|
+
"darkPanelBg": "#2a1a1599",
|
|
15
|
+
"lightStep6": "#d4d4d4",
|
|
16
|
+
"lightStep11": "#8a8a8a",
|
|
17
|
+
"lightStep12": "#1a1a1a",
|
|
18
|
+
"lightSecondary": "#EE7948",
|
|
19
|
+
"lightAccent": "#c94d24",
|
|
20
|
+
"lightRed": "#d1383d",
|
|
21
|
+
"lightOrange": "#EC5B2B",
|
|
22
|
+
"lightBlue": "#0062d1",
|
|
23
|
+
"lightCyan": "#318795",
|
|
24
|
+
"lightYellow": "#b0851f",
|
|
25
|
+
"lightPanelBg": "#fff5f099"
|
|
26
|
+
},
|
|
27
|
+
"theme": {
|
|
28
|
+
"primary": {
|
|
29
|
+
"dark": "darkOrange",
|
|
30
|
+
"light": "lightOrange"
|
|
31
|
+
},
|
|
32
|
+
"secondary": {
|
|
33
|
+
"dark": "darkSecondary",
|
|
34
|
+
"light": "lightSecondary"
|
|
35
|
+
},
|
|
36
|
+
"accent": {
|
|
37
|
+
"dark": "darkAccent",
|
|
38
|
+
"light": "lightAccent"
|
|
39
|
+
},
|
|
40
|
+
"error": {
|
|
41
|
+
"dark": "darkRed",
|
|
42
|
+
"light": "lightRed"
|
|
43
|
+
},
|
|
44
|
+
"warning": {
|
|
45
|
+
"dark": "darkOrange",
|
|
46
|
+
"light": "lightOrange"
|
|
47
|
+
},
|
|
48
|
+
"success": {
|
|
49
|
+
"dark": "darkBlue",
|
|
50
|
+
"light": "lightBlue"
|
|
51
|
+
},
|
|
52
|
+
"info": {
|
|
53
|
+
"dark": "darkCyan",
|
|
54
|
+
"light": "lightCyan"
|
|
55
|
+
},
|
|
56
|
+
"text": {
|
|
57
|
+
"dark": "darkStep12",
|
|
58
|
+
"light": "lightStep12"
|
|
59
|
+
},
|
|
60
|
+
"textMuted": {
|
|
61
|
+
"dark": "darkStep11",
|
|
62
|
+
"light": "lightStep11"
|
|
63
|
+
},
|
|
64
|
+
"selectedListItemText": {
|
|
65
|
+
"dark": "#0a0a0a",
|
|
66
|
+
"light": "#ffffff"
|
|
67
|
+
},
|
|
68
|
+
"background": {
|
|
69
|
+
"dark": "transparent",
|
|
70
|
+
"light": "transparent"
|
|
71
|
+
},
|
|
72
|
+
"backgroundPanel": {
|
|
73
|
+
"dark": "transparent",
|
|
74
|
+
"light": "transparent"
|
|
75
|
+
},
|
|
76
|
+
"backgroundElement": {
|
|
77
|
+
"dark": "transparent",
|
|
78
|
+
"light": "transparent"
|
|
79
|
+
},
|
|
80
|
+
"backgroundMenu": {
|
|
81
|
+
"dark": "darkPanelBg",
|
|
82
|
+
"light": "lightPanelBg"
|
|
83
|
+
},
|
|
84
|
+
"border": {
|
|
85
|
+
"dark": "darkOrange",
|
|
86
|
+
"light": "lightOrange"
|
|
87
|
+
},
|
|
88
|
+
"borderActive": {
|
|
89
|
+
"dark": "darkSecondary",
|
|
90
|
+
"light": "lightAccent"
|
|
91
|
+
},
|
|
92
|
+
"borderSubtle": {
|
|
93
|
+
"dark": "darkStep6",
|
|
94
|
+
"light": "lightStep6"
|
|
95
|
+
},
|
|
96
|
+
"diffAdded": {
|
|
97
|
+
"dark": "darkBlue",
|
|
98
|
+
"light": "lightBlue"
|
|
99
|
+
},
|
|
100
|
+
"diffRemoved": {
|
|
101
|
+
"dark": "#c53b53",
|
|
102
|
+
"light": "#c53b53"
|
|
103
|
+
},
|
|
104
|
+
"diffContext": {
|
|
105
|
+
"dark": "#828bb8",
|
|
106
|
+
"light": "#7086b5"
|
|
107
|
+
},
|
|
108
|
+
"diffHunkHeader": {
|
|
109
|
+
"dark": "#828bb8",
|
|
110
|
+
"light": "#7086b5"
|
|
111
|
+
},
|
|
112
|
+
"diffHighlightAdded": {
|
|
113
|
+
"dark": "darkBlue",
|
|
114
|
+
"light": "lightBlue"
|
|
115
|
+
},
|
|
116
|
+
"diffHighlightRemoved": {
|
|
117
|
+
"dark": "#e26a75",
|
|
118
|
+
"light": "#f52a65"
|
|
119
|
+
},
|
|
120
|
+
"diffAddedBg": {
|
|
121
|
+
"dark": "transparent",
|
|
122
|
+
"light": "transparent"
|
|
123
|
+
},
|
|
124
|
+
"diffRemovedBg": {
|
|
125
|
+
"dark": "transparent",
|
|
126
|
+
"light": "transparent"
|
|
127
|
+
},
|
|
128
|
+
"diffContextBg": {
|
|
129
|
+
"dark": "transparent",
|
|
130
|
+
"light": "transparent"
|
|
131
|
+
},
|
|
132
|
+
"diffLineNumber": {
|
|
133
|
+
"dark": "#666666",
|
|
134
|
+
"light": "#999999"
|
|
135
|
+
},
|
|
136
|
+
"diffAddedLineNumberBg": {
|
|
137
|
+
"dark": "transparent",
|
|
138
|
+
"light": "transparent"
|
|
139
|
+
},
|
|
140
|
+
"diffRemovedLineNumberBg": {
|
|
141
|
+
"dark": "transparent",
|
|
142
|
+
"light": "transparent"
|
|
143
|
+
},
|
|
144
|
+
"markdownText": {
|
|
145
|
+
"dark": "darkStep12",
|
|
146
|
+
"light": "lightStep12"
|
|
147
|
+
},
|
|
148
|
+
"markdownHeading": {
|
|
149
|
+
"dark": "darkOrange",
|
|
150
|
+
"light": "lightOrange"
|
|
151
|
+
},
|
|
152
|
+
"markdownLink": {
|
|
153
|
+
"dark": "darkOrange",
|
|
154
|
+
"light": "lightOrange"
|
|
155
|
+
},
|
|
156
|
+
"markdownLinkText": {
|
|
157
|
+
"dark": "darkCyan",
|
|
158
|
+
"light": "lightCyan"
|
|
159
|
+
},
|
|
160
|
+
"markdownCode": {
|
|
161
|
+
"dark": "darkBlue",
|
|
162
|
+
"light": "lightBlue"
|
|
163
|
+
},
|
|
164
|
+
"markdownBlockQuote": {
|
|
165
|
+
"dark": "darkAccent",
|
|
166
|
+
"light": "lightYellow"
|
|
167
|
+
},
|
|
168
|
+
"markdownEmph": {
|
|
169
|
+
"dark": "darkYellow",
|
|
170
|
+
"light": "lightYellow"
|
|
171
|
+
},
|
|
172
|
+
"markdownStrong": {
|
|
173
|
+
"dark": "darkSecondary",
|
|
174
|
+
"light": "lightOrange"
|
|
175
|
+
},
|
|
176
|
+
"markdownHorizontalRule": {
|
|
177
|
+
"dark": "darkStep11",
|
|
178
|
+
"light": "lightStep11"
|
|
179
|
+
},
|
|
180
|
+
"markdownListItem": {
|
|
181
|
+
"dark": "darkOrange",
|
|
182
|
+
"light": "lightOrange"
|
|
183
|
+
},
|
|
184
|
+
"markdownListEnumeration": {
|
|
185
|
+
"dark": "darkCyan",
|
|
186
|
+
"light": "lightCyan"
|
|
187
|
+
},
|
|
188
|
+
"markdownImage": {
|
|
189
|
+
"dark": "darkOrange",
|
|
190
|
+
"light": "lightOrange"
|
|
191
|
+
},
|
|
192
|
+
"markdownImageText": {
|
|
193
|
+
"dark": "darkCyan",
|
|
194
|
+
"light": "lightCyan"
|
|
195
|
+
},
|
|
196
|
+
"markdownCodeBlock": {
|
|
197
|
+
"dark": "darkStep12",
|
|
198
|
+
"light": "lightStep12"
|
|
199
|
+
},
|
|
200
|
+
"syntaxComment": {
|
|
201
|
+
"dark": "darkStep11",
|
|
202
|
+
"light": "lightStep11"
|
|
203
|
+
},
|
|
204
|
+
"syntaxKeyword": {
|
|
205
|
+
"dark": "darkOrange",
|
|
206
|
+
"light": "lightOrange"
|
|
207
|
+
},
|
|
208
|
+
"syntaxFunction": {
|
|
209
|
+
"dark": "darkSecondary",
|
|
210
|
+
"light": "lightAccent"
|
|
211
|
+
},
|
|
212
|
+
"syntaxVariable": {
|
|
213
|
+
"dark": "darkRed",
|
|
214
|
+
"light": "lightRed"
|
|
215
|
+
},
|
|
216
|
+
"syntaxString": {
|
|
217
|
+
"dark": "darkBlue",
|
|
218
|
+
"light": "lightBlue"
|
|
219
|
+
},
|
|
220
|
+
"syntaxNumber": {
|
|
221
|
+
"dark": "darkAccent",
|
|
222
|
+
"light": "lightOrange"
|
|
223
|
+
},
|
|
224
|
+
"syntaxType": {
|
|
225
|
+
"dark": "darkYellow",
|
|
226
|
+
"light": "lightYellow"
|
|
227
|
+
},
|
|
228
|
+
"syntaxOperator": {
|
|
229
|
+
"dark": "darkCyan",
|
|
230
|
+
"light": "lightCyan"
|
|
231
|
+
},
|
|
232
|
+
"syntaxPunctuation": {
|
|
233
|
+
"dark": "darkStep12",
|
|
234
|
+
"light": "lightStep12"
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
}
|
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opencode.ai/theme.json",
|
|
3
|
+
"defs": {
|
|
4
|
+
"darkBg": "#263238",
|
|
5
|
+
"darkBgAlt": "#1e272c",
|
|
6
|
+
"darkBgPanel": "#37474f",
|
|
7
|
+
"darkFg": "#eeffff",
|
|
8
|
+
"darkFgMuted": "#546e7a",
|
|
9
|
+
"darkRed": "#f07178",
|
|
10
|
+
"darkPink": "#f78c6c",
|
|
11
|
+
"darkOrange": "#ffcb6b",
|
|
12
|
+
"darkYellow": "#ffcb6b",
|
|
13
|
+
"darkGreen": "#c3e88d",
|
|
14
|
+
"darkCyan": "#89ddff",
|
|
15
|
+
"darkBlue": "#82aaff",
|
|
16
|
+
"darkPurple": "#c792ea",
|
|
17
|
+
"darkViolet": "#bb80b3",
|
|
18
|
+
"lightBg": "#fafafa",
|
|
19
|
+
"lightBgAlt": "#f5f5f5",
|
|
20
|
+
"lightBgPanel": "#e7e7e8",
|
|
21
|
+
"lightFg": "#263238",
|
|
22
|
+
"lightFgMuted": "#90a4ae",
|
|
23
|
+
"lightRed": "#e53935",
|
|
24
|
+
"lightPink": "#ec407a",
|
|
25
|
+
"lightOrange": "#f4511e",
|
|
26
|
+
"lightYellow": "#ffb300",
|
|
27
|
+
"lightGreen": "#91b859",
|
|
28
|
+
"lightCyan": "#39adb5",
|
|
29
|
+
"lightBlue": "#6182b8",
|
|
30
|
+
"lightPurple": "#7c4dff",
|
|
31
|
+
"lightViolet": "#945eb8"
|
|
32
|
+
},
|
|
33
|
+
"theme": {
|
|
34
|
+
"primary": {
|
|
35
|
+
"dark": "darkBlue",
|
|
36
|
+
"light": "lightBlue"
|
|
37
|
+
},
|
|
38
|
+
"secondary": {
|
|
39
|
+
"dark": "darkPurple",
|
|
40
|
+
"light": "lightPurple"
|
|
41
|
+
},
|
|
42
|
+
"accent": {
|
|
43
|
+
"dark": "darkCyan",
|
|
44
|
+
"light": "lightCyan"
|
|
45
|
+
},
|
|
46
|
+
"error": {
|
|
47
|
+
"dark": "darkRed",
|
|
48
|
+
"light": "lightRed"
|
|
49
|
+
},
|
|
50
|
+
"warning": {
|
|
51
|
+
"dark": "darkYellow",
|
|
52
|
+
"light": "lightYellow"
|
|
53
|
+
},
|
|
54
|
+
"success": {
|
|
55
|
+
"dark": "darkGreen",
|
|
56
|
+
"light": "lightGreen"
|
|
57
|
+
},
|
|
58
|
+
"info": {
|
|
59
|
+
"dark": "darkOrange",
|
|
60
|
+
"light": "lightOrange"
|
|
61
|
+
},
|
|
62
|
+
"text": {
|
|
63
|
+
"dark": "darkFg",
|
|
64
|
+
"light": "lightFg"
|
|
65
|
+
},
|
|
66
|
+
"textMuted": {
|
|
67
|
+
"dark": "darkFgMuted",
|
|
68
|
+
"light": "lightFgMuted"
|
|
69
|
+
},
|
|
70
|
+
"background": {
|
|
71
|
+
"dark": "darkBg",
|
|
72
|
+
"light": "lightBg"
|
|
73
|
+
},
|
|
74
|
+
"backgroundPanel": {
|
|
75
|
+
"dark": "darkBgAlt",
|
|
76
|
+
"light": "lightBgAlt"
|
|
77
|
+
},
|
|
78
|
+
"backgroundElement": {
|
|
79
|
+
"dark": "darkBgPanel",
|
|
80
|
+
"light": "lightBgPanel"
|
|
81
|
+
},
|
|
82
|
+
"border": {
|
|
83
|
+
"dark": "#37474f",
|
|
84
|
+
"light": "#e0e0e0"
|
|
85
|
+
},
|
|
86
|
+
"borderActive": {
|
|
87
|
+
"dark": "darkBlue",
|
|
88
|
+
"light": "lightBlue"
|
|
89
|
+
},
|
|
90
|
+
"borderSubtle": {
|
|
91
|
+
"dark": "#1e272c",
|
|
92
|
+
"light": "#eeeeee"
|
|
93
|
+
},
|
|
94
|
+
"diffAdded": {
|
|
95
|
+
"dark": "darkGreen",
|
|
96
|
+
"light": "lightGreen"
|
|
97
|
+
},
|
|
98
|
+
"diffRemoved": {
|
|
99
|
+
"dark": "darkRed",
|
|
100
|
+
"light": "lightRed"
|
|
101
|
+
},
|
|
102
|
+
"diffContext": {
|
|
103
|
+
"dark": "darkFgMuted",
|
|
104
|
+
"light": "lightFgMuted"
|
|
105
|
+
},
|
|
106
|
+
"diffHunkHeader": {
|
|
107
|
+
"dark": "darkCyan",
|
|
108
|
+
"light": "lightCyan"
|
|
109
|
+
},
|
|
110
|
+
"diffHighlightAdded": {
|
|
111
|
+
"dark": "darkGreen",
|
|
112
|
+
"light": "lightGreen"
|
|
113
|
+
},
|
|
114
|
+
"diffHighlightRemoved": {
|
|
115
|
+
"dark": "darkRed",
|
|
116
|
+
"light": "lightRed"
|
|
117
|
+
},
|
|
118
|
+
"diffAddedBg": {
|
|
119
|
+
"dark": "#2e3c2b",
|
|
120
|
+
"light": "#e8f5e9"
|
|
121
|
+
},
|
|
122
|
+
"diffRemovedBg": {
|
|
123
|
+
"dark": "#3c2b2b",
|
|
124
|
+
"light": "#ffebee"
|
|
125
|
+
},
|
|
126
|
+
"diffContextBg": {
|
|
127
|
+
"dark": "darkBgAlt",
|
|
128
|
+
"light": "lightBgAlt"
|
|
129
|
+
},
|
|
130
|
+
"diffLineNumber": {
|
|
131
|
+
"dark": "#37474f",
|
|
132
|
+
"light": "#cfd8dc"
|
|
133
|
+
},
|
|
134
|
+
"diffAddedLineNumberBg": {
|
|
135
|
+
"dark": "#2e3c2b",
|
|
136
|
+
"light": "#e8f5e9"
|
|
137
|
+
},
|
|
138
|
+
"diffRemovedLineNumberBg": {
|
|
139
|
+
"dark": "#3c2b2b",
|
|
140
|
+
"light": "#ffebee"
|
|
141
|
+
},
|
|
142
|
+
"markdownText": {
|
|
143
|
+
"dark": "darkFg",
|
|
144
|
+
"light": "lightFg"
|
|
145
|
+
},
|
|
146
|
+
"markdownHeading": {
|
|
147
|
+
"dark": "darkBlue",
|
|
148
|
+
"light": "lightBlue"
|
|
149
|
+
},
|
|
150
|
+
"markdownLink": {
|
|
151
|
+
"dark": "darkCyan",
|
|
152
|
+
"light": "lightCyan"
|
|
153
|
+
},
|
|
154
|
+
"markdownLinkText": {
|
|
155
|
+
"dark": "darkPurple",
|
|
156
|
+
"light": "lightPurple"
|
|
157
|
+
},
|
|
158
|
+
"markdownCode": {
|
|
159
|
+
"dark": "darkGreen",
|
|
160
|
+
"light": "lightGreen"
|
|
161
|
+
},
|
|
162
|
+
"markdownBlockQuote": {
|
|
163
|
+
"dark": "darkFgMuted",
|
|
164
|
+
"light": "lightFgMuted"
|
|
165
|
+
},
|
|
166
|
+
"markdownEmph": {
|
|
167
|
+
"dark": "darkYellow",
|
|
168
|
+
"light": "lightYellow"
|
|
169
|
+
},
|
|
170
|
+
"markdownStrong": {
|
|
171
|
+
"dark": "darkOrange",
|
|
172
|
+
"light": "lightOrange"
|
|
173
|
+
},
|
|
174
|
+
"markdownHorizontalRule": {
|
|
175
|
+
"dark": "#37474f",
|
|
176
|
+
"light": "#e0e0e0"
|
|
177
|
+
},
|
|
178
|
+
"markdownListItem": {
|
|
179
|
+
"dark": "darkBlue",
|
|
180
|
+
"light": "lightBlue"
|
|
181
|
+
},
|
|
182
|
+
"markdownListEnumeration": {
|
|
183
|
+
"dark": "darkCyan",
|
|
184
|
+
"light": "lightCyan"
|
|
185
|
+
},
|
|
186
|
+
"markdownImage": {
|
|
187
|
+
"dark": "darkCyan",
|
|
188
|
+
"light": "lightCyan"
|
|
189
|
+
},
|
|
190
|
+
"markdownImageText": {
|
|
191
|
+
"dark": "darkPurple",
|
|
192
|
+
"light": "lightPurple"
|
|
193
|
+
},
|
|
194
|
+
"markdownCodeBlock": {
|
|
195
|
+
"dark": "darkFg",
|
|
196
|
+
"light": "lightFg"
|
|
197
|
+
},
|
|
198
|
+
"syntaxComment": {
|
|
199
|
+
"dark": "darkFgMuted",
|
|
200
|
+
"light": "lightFgMuted"
|
|
201
|
+
},
|
|
202
|
+
"syntaxKeyword": {
|
|
203
|
+
"dark": "darkPurple",
|
|
204
|
+
"light": "lightPurple"
|
|
205
|
+
},
|
|
206
|
+
"syntaxFunction": {
|
|
207
|
+
"dark": "darkBlue",
|
|
208
|
+
"light": "lightBlue"
|
|
209
|
+
},
|
|
210
|
+
"syntaxVariable": {
|
|
211
|
+
"dark": "darkFg",
|
|
212
|
+
"light": "lightFg"
|
|
213
|
+
},
|
|
214
|
+
"syntaxString": {
|
|
215
|
+
"dark": "darkGreen",
|
|
216
|
+
"light": "lightGreen"
|
|
217
|
+
},
|
|
218
|
+
"syntaxNumber": {
|
|
219
|
+
"dark": "darkOrange",
|
|
220
|
+
"light": "lightOrange"
|
|
221
|
+
},
|
|
222
|
+
"syntaxType": {
|
|
223
|
+
"dark": "darkYellow",
|
|
224
|
+
"light": "lightYellow"
|
|
225
|
+
},
|
|
226
|
+
"syntaxOperator": {
|
|
227
|
+
"dark": "darkCyan",
|
|
228
|
+
"light": "lightCyan"
|
|
229
|
+
},
|
|
230
|
+
"syntaxPunctuation": {
|
|
231
|
+
"dark": "darkFg",
|
|
232
|
+
"light": "lightFg"
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opencode.ai/theme.json",
|
|
3
|
+
"defs": {
|
|
4
|
+
"matrixInk0": "#0a0e0a",
|
|
5
|
+
"matrixInk1": "#0e130d",
|
|
6
|
+
"matrixInk2": "#141c12",
|
|
7
|
+
"matrixInk3": "#1e2a1b",
|
|
8
|
+
"rainGreen": "#2eff6a",
|
|
9
|
+
"rainGreenDim": "#1cc24b",
|
|
10
|
+
"rainGreenHi": "#62ff94",
|
|
11
|
+
"rainCyan": "#00efff",
|
|
12
|
+
"rainTeal": "#24f6d9",
|
|
13
|
+
"rainPurple": "#c770ff",
|
|
14
|
+
"rainOrange": "#ffa83d",
|
|
15
|
+
"alertRed": "#ff4b4b",
|
|
16
|
+
"alertYellow": "#e6ff57",
|
|
17
|
+
"alertBlue": "#30b3ff",
|
|
18
|
+
"rainGray": "#8ca391",
|
|
19
|
+
"lightBg": "#eef3ea",
|
|
20
|
+
"lightPaper": "#e4ebe1",
|
|
21
|
+
"lightInk1": "#dae1d7",
|
|
22
|
+
"lightText": "#203022",
|
|
23
|
+
"lightGray": "#748476"
|
|
24
|
+
},
|
|
25
|
+
"theme": {
|
|
26
|
+
"primary": { "dark": "rainGreen", "light": "rainGreenDim" },
|
|
27
|
+
"secondary": { "dark": "rainCyan", "light": "rainTeal" },
|
|
28
|
+
"accent": { "dark": "rainPurple", "light": "rainPurple" },
|
|
29
|
+
"error": { "dark": "alertRed", "light": "alertRed" },
|
|
30
|
+
"warning": { "dark": "alertYellow", "light": "alertYellow" },
|
|
31
|
+
"success": { "dark": "rainGreenHi", "light": "rainGreenDim" },
|
|
32
|
+
"info": { "dark": "alertBlue", "light": "alertBlue" },
|
|
33
|
+
"text": { "dark": "rainGreenHi", "light": "lightText" },
|
|
34
|
+
"textMuted": { "dark": "rainGray", "light": "lightGray" },
|
|
35
|
+
"background": { "dark": "matrixInk0", "light": "lightBg" },
|
|
36
|
+
"backgroundPanel": { "dark": "matrixInk1", "light": "lightPaper" },
|
|
37
|
+
"backgroundElement": { "dark": "matrixInk2", "light": "lightInk1" },
|
|
38
|
+
"border": { "dark": "matrixInk3", "light": "lightGray" },
|
|
39
|
+
"borderActive": { "dark": "rainGreen", "light": "rainGreenDim" },
|
|
40
|
+
"borderSubtle": { "dark": "matrixInk2", "light": "lightInk1" },
|
|
41
|
+
"diffAdded": { "dark": "rainGreenDim", "light": "rainGreenDim" },
|
|
42
|
+
"diffRemoved": { "dark": "alertRed", "light": "alertRed" },
|
|
43
|
+
"diffContext": { "dark": "rainGray", "light": "lightGray" },
|
|
44
|
+
"diffHunkHeader": { "dark": "alertBlue", "light": "alertBlue" },
|
|
45
|
+
"diffHighlightAdded": { "dark": "#77ffaf", "light": "#5dac7e" },
|
|
46
|
+
"diffHighlightRemoved": { "dark": "#ff7171", "light": "#d53a3a" },
|
|
47
|
+
"diffAddedBg": { "dark": "#132616", "light": "#e0efde" },
|
|
48
|
+
"diffRemovedBg": { "dark": "#261212", "light": "#f9e5e5" },
|
|
49
|
+
"diffContextBg": { "dark": "matrixInk1", "light": "lightPaper" },
|
|
50
|
+
"diffLineNumber": { "dark": "matrixInk3", "light": "lightGray" },
|
|
51
|
+
"diffAddedLineNumberBg": { "dark": "#0f1b11", "light": "#d6e7d2" },
|
|
52
|
+
"diffRemovedLineNumberBg": { "dark": "#1b1414", "light": "#f2d2d2" },
|
|
53
|
+
"markdownText": { "dark": "rainGreenHi", "light": "lightText" },
|
|
54
|
+
"markdownHeading": { "dark": "rainCyan", "light": "rainTeal" },
|
|
55
|
+
"markdownLink": { "dark": "alertBlue", "light": "alertBlue" },
|
|
56
|
+
"markdownLinkText": { "dark": "rainTeal", "light": "rainTeal" },
|
|
57
|
+
"markdownCode": { "dark": "rainGreenDim", "light": "rainGreenDim" },
|
|
58
|
+
"markdownBlockQuote": { "dark": "rainGray", "light": "lightGray" },
|
|
59
|
+
"markdownEmph": { "dark": "rainOrange", "light": "rainOrange" },
|
|
60
|
+
"markdownStrong": { "dark": "alertYellow", "light": "alertYellow" },
|
|
61
|
+
"markdownHorizontalRule": { "dark": "rainGray", "light": "lightGray" },
|
|
62
|
+
"markdownListItem": { "dark": "alertBlue", "light": "alertBlue" },
|
|
63
|
+
"markdownListEnumeration": { "dark": "rainTeal", "light": "rainTeal" },
|
|
64
|
+
"markdownImage": { "dark": "alertBlue", "light": "alertBlue" },
|
|
65
|
+
"markdownImageText": { "dark": "rainTeal", "light": "rainTeal" },
|
|
66
|
+
"markdownCodeBlock": { "dark": "rainGreenHi", "light": "lightText" },
|
|
67
|
+
"syntaxComment": { "dark": "rainGray", "light": "lightGray" },
|
|
68
|
+
"syntaxKeyword": { "dark": "rainPurple", "light": "rainPurple" },
|
|
69
|
+
"syntaxFunction": { "dark": "alertBlue", "light": "alertBlue" },
|
|
70
|
+
"syntaxVariable": { "dark": "rainGreenHi", "light": "lightText" },
|
|
71
|
+
"syntaxString": { "dark": "rainGreenDim", "light": "rainGreenDim" },
|
|
72
|
+
"syntaxNumber": { "dark": "rainOrange", "light": "rainOrange" },
|
|
73
|
+
"syntaxType": { "dark": "alertYellow", "light": "alertYellow" },
|
|
74
|
+
"syntaxOperator": { "dark": "rainTeal", "light": "rainTeal" },
|
|
75
|
+
"syntaxPunctuation": { "dark": "rainGreenHi", "light": "lightText" }
|
|
76
|
+
}
|
|
77
|
+
}
|