@yeshwanthyk/open-tui 0.1.0 → 0.1.1
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/dist/app.d.ts +18 -0
- package/dist/app.d.ts.map +1 -0
- package/dist/app.jsx +28 -0
- package/dist/app.jsx.map +1 -0
- package/dist/autocomplete/autocomplete.d.ts +48 -0
- package/dist/autocomplete/autocomplete.d.ts.map +1 -0
- package/dist/autocomplete/autocomplete.js +391 -0
- package/dist/autocomplete/autocomplete.js.map +1 -0
- package/dist/autocomplete/file-index.d.ts +36 -0
- package/dist/autocomplete/file-index.d.ts.map +1 -0
- package/dist/autocomplete/file-index.js +143 -0
- package/dist/autocomplete/file-index.js.map +1 -0
- package/dist/autocomplete/index.d.ts +3 -0
- package/dist/autocomplete/index.d.ts.map +1 -0
- package/dist/autocomplete/index.js +3 -0
- package/dist/autocomplete/index.js.map +1 -0
- package/dist/components/badge.d.ts +11 -0
- package/dist/components/badge.d.ts.map +1 -0
- package/dist/components/badge.jsx +31 -0
- package/dist/components/badge.jsx.map +1 -0
- package/dist/components/code-block.d.ts +12 -0
- package/dist/components/code-block.d.ts.map +1 -0
- package/dist/components/code-block.jsx +34 -0
- package/dist/components/code-block.jsx.map +1 -0
- package/dist/components/dialog.d.ts +12 -0
- package/dist/components/dialog.d.ts.map +1 -0
- package/dist/components/dialog.jsx +29 -0
- package/dist/components/dialog.jsx.map +1 -0
- package/dist/components/diff.d.ts +11 -0
- package/dist/components/diff.d.ts.map +1 -0
- package/dist/components/diff.jsx +17 -0
- package/dist/components/diff.jsx.map +1 -0
- package/dist/components/divider.d.ts +9 -0
- package/dist/components/divider.d.ts.map +1 -0
- package/dist/components/divider.jsx +13 -0
- package/dist/components/divider.jsx.map +1 -0
- package/dist/components/editor.d.ts +87 -0
- package/dist/components/editor.d.ts.map +1 -0
- package/dist/components/editor.jsx +146 -0
- package/dist/components/editor.jsx.map +1 -0
- package/dist/components/image.d.ts +65 -0
- package/dist/components/image.d.ts.map +1 -0
- package/dist/components/image.jsx +319 -0
- package/dist/components/image.jsx.map +1 -0
- package/dist/components/loader.d.ts +25 -0
- package/dist/components/loader.d.ts.map +1 -0
- package/dist/components/loader.jsx +31 -0
- package/dist/components/loader.jsx.map +1 -0
- package/dist/components/markdown.d.ts +28 -0
- package/dist/components/markdown.d.ts.map +1 -0
- package/dist/components/markdown.jsx +30 -0
- package/dist/components/markdown.jsx.map +1 -0
- package/dist/components/panel.d.ts +12 -0
- package/dist/components/panel.d.ts.map +1 -0
- package/dist/components/panel.jsx +51 -0
- package/dist/components/panel.jsx.map +1 -0
- package/dist/components/select-list.d.ts +55 -0
- package/dist/components/select-list.d.ts.map +1 -0
- package/dist/components/select-list.jsx +135 -0
- package/dist/components/select-list.jsx.map +1 -0
- package/dist/components/spacer.d.ts +25 -0
- package/dist/components/spacer.d.ts.map +1 -0
- package/dist/components/spacer.jsx +27 -0
- package/dist/components/spacer.jsx.map +1 -0
- package/dist/components/toast.d.ts +19 -0
- package/dist/components/toast.d.ts.map +1 -0
- package/dist/components/toast.jsx +52 -0
- package/dist/components/toast.jsx.map +1 -0
- package/dist/context/terminal.d.ts +7 -0
- package/dist/context/terminal.d.ts.map +1 -0
- package/dist/context/terminal.jsx +6 -0
- package/dist/context/terminal.jsx.map +1 -0
- package/dist/context/theme.d.ts +117 -0
- package/dist/context/theme.d.ts.map +1 -0
- package/dist/context/theme.jsx +650 -0
- package/dist/context/theme.jsx.map +1 -0
- package/dist/hooks/use-keyboard.d.ts +7 -0
- package/dist/hooks/use-keyboard.d.ts.map +1 -0
- package/dist/hooks/use-keyboard.js +6 -0
- package/dist/hooks/use-keyboard.js.map +1 -0
- package/dist/index.d.ts +31 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +45 -0
- package/dist/index.js.map +1 -0
- package/dist/opentui-augmentations.d.ts +9 -0
- package/dist/opentui-augmentations.d.ts.map +1 -0
- package/dist/opentui-augmentations.js +1 -0
- package/dist/opentui-augmentations.js.map +1 -0
- package/dist/parsers-config.d.ts +16 -0
- package/dist/parsers-config.d.ts.map +1 -0
- package/dist/parsers-config.js +119 -0
- package/dist/parsers-config.js.map +1 -0
- package/dist/themes/aura.json +69 -0
- package/dist/themes/ayu.json +80 -0
- package/dist/themes/catppuccin-macchiato.json +233 -0
- package/dist/themes/catppuccin.json +112 -0
- package/dist/themes/cobalt2.json +228 -0
- package/dist/themes/dracula.json +219 -0
- package/dist/themes/everforest.json +241 -0
- package/dist/themes/flexoki.json +237 -0
- package/dist/themes/github.json +233 -0
- package/dist/themes/gruvbox.json +95 -0
- package/dist/themes/kanagawa.json +77 -0
- package/dist/themes/lucent-orng.json +227 -0
- package/dist/themes/marvin.json +97 -0
- package/dist/themes/material.json +235 -0
- package/dist/themes/matrix.json +77 -0
- package/dist/themes/mercury.json +245 -0
- package/dist/themes/monokai.json +221 -0
- package/dist/themes/nightowl.json +221 -0
- package/dist/themes/nord.json +223 -0
- package/dist/themes/one-dark.json +84 -0
- package/dist/themes/opencode.json +245 -0
- package/dist/themes/orng.json +245 -0
- package/dist/themes/palenight.json +222 -0
- package/dist/themes/rosepine.json +234 -0
- package/dist/themes/solarized.json +223 -0
- package/dist/themes/synthwave84.json +226 -0
- package/dist/themes/tokyonight.json +243 -0
- package/dist/themes/vercel.json +245 -0
- package/dist/themes/vesper.json +218 -0
- package/dist/themes/zenburn.json +223 -0
- package/dist/utils/clipboard.d.ts +12 -0
- package/dist/utils/clipboard.d.ts.map +1 -0
- package/dist/utils/clipboard.js +52 -0
- package/dist/utils/clipboard.js.map +1 -0
- package/dist/utils/text-width.d.ts +26 -0
- package/dist/utils/text-width.d.ts.map +1 -0
- package/dist/utils/text-width.js +101 -0
- package/dist/utils/text-width.js.map +1 -0
- package/package.json +13 -4
- package/src/index.ts +0 -121
|
@@ -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": "gray600",
|
|
142
|
+
"light": "lightGray600"
|
|
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
|
+
}
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opencode.ai/theme.json",
|
|
3
|
+
"defs": {
|
|
4
|
+
"vesperBg": "#101010",
|
|
5
|
+
"vesperFg": "#FFF",
|
|
6
|
+
"vesperComment": "#8b8b8b",
|
|
7
|
+
"vesperKeyword": "#A0A0A0",
|
|
8
|
+
"vesperFunction": "#FFC799",
|
|
9
|
+
"vesperString": "#99FFE4",
|
|
10
|
+
"vesperNumber": "#FFC799",
|
|
11
|
+
"vesperError": "#FF8080",
|
|
12
|
+
"vesperWarning": "#FFC799",
|
|
13
|
+
"vesperSuccess": "#99FFE4",
|
|
14
|
+
"vesperMuted": "#A0A0A0"
|
|
15
|
+
},
|
|
16
|
+
"theme": {
|
|
17
|
+
"primary": {
|
|
18
|
+
"dark": "#FFC799",
|
|
19
|
+
"light": "#FFC799"
|
|
20
|
+
},
|
|
21
|
+
"secondary": {
|
|
22
|
+
"dark": "#99FFE4",
|
|
23
|
+
"light": "#99FFE4"
|
|
24
|
+
},
|
|
25
|
+
"accent": {
|
|
26
|
+
"dark": "#FFC799",
|
|
27
|
+
"light": "#FFC799"
|
|
28
|
+
},
|
|
29
|
+
"error": {
|
|
30
|
+
"dark": "vesperError",
|
|
31
|
+
"light": "vesperError"
|
|
32
|
+
},
|
|
33
|
+
"warning": {
|
|
34
|
+
"dark": "vesperWarning",
|
|
35
|
+
"light": "vesperWarning"
|
|
36
|
+
},
|
|
37
|
+
"success": {
|
|
38
|
+
"dark": "vesperSuccess",
|
|
39
|
+
"light": "vesperSuccess"
|
|
40
|
+
},
|
|
41
|
+
"info": {
|
|
42
|
+
"dark": "#FFC799",
|
|
43
|
+
"light": "#FFC799"
|
|
44
|
+
},
|
|
45
|
+
"text": {
|
|
46
|
+
"dark": "vesperFg",
|
|
47
|
+
"light": "vesperBg"
|
|
48
|
+
},
|
|
49
|
+
"textMuted": {
|
|
50
|
+
"dark": "vesperMuted",
|
|
51
|
+
"light": "vesperMuted"
|
|
52
|
+
},
|
|
53
|
+
"background": {
|
|
54
|
+
"dark": "vesperBg",
|
|
55
|
+
"light": "#FFF"
|
|
56
|
+
},
|
|
57
|
+
"backgroundPanel": {
|
|
58
|
+
"dark": "vesperBg",
|
|
59
|
+
"light": "#F0F0F0"
|
|
60
|
+
},
|
|
61
|
+
"backgroundElement": {
|
|
62
|
+
"dark": "vesperBg",
|
|
63
|
+
"light": "#E0E0E0"
|
|
64
|
+
},
|
|
65
|
+
"border": {
|
|
66
|
+
"dark": "#282828",
|
|
67
|
+
"light": "#D0D0D0"
|
|
68
|
+
},
|
|
69
|
+
"borderActive": {
|
|
70
|
+
"dark": "#FFC799",
|
|
71
|
+
"light": "#FFC799"
|
|
72
|
+
},
|
|
73
|
+
"borderSubtle": {
|
|
74
|
+
"dark": "#1C1C1C",
|
|
75
|
+
"light": "#E8E8E8"
|
|
76
|
+
},
|
|
77
|
+
"diffAdded": {
|
|
78
|
+
"dark": "vesperSuccess",
|
|
79
|
+
"light": "vesperSuccess"
|
|
80
|
+
},
|
|
81
|
+
"diffRemoved": {
|
|
82
|
+
"dark": "vesperError",
|
|
83
|
+
"light": "vesperError"
|
|
84
|
+
},
|
|
85
|
+
"diffContext": {
|
|
86
|
+
"dark": "vesperMuted",
|
|
87
|
+
"light": "vesperMuted"
|
|
88
|
+
},
|
|
89
|
+
"diffHunkHeader": {
|
|
90
|
+
"dark": "vesperMuted",
|
|
91
|
+
"light": "vesperMuted"
|
|
92
|
+
},
|
|
93
|
+
"diffHighlightAdded": {
|
|
94
|
+
"dark": "vesperSuccess",
|
|
95
|
+
"light": "vesperSuccess"
|
|
96
|
+
},
|
|
97
|
+
"diffHighlightRemoved": {
|
|
98
|
+
"dark": "vesperError",
|
|
99
|
+
"light": "vesperError"
|
|
100
|
+
},
|
|
101
|
+
"diffAddedBg": {
|
|
102
|
+
"dark": "#0d2818",
|
|
103
|
+
"light": "#e8f5e8"
|
|
104
|
+
},
|
|
105
|
+
"diffRemovedBg": {
|
|
106
|
+
"dark": "#281a1a",
|
|
107
|
+
"light": "#f5e8e8"
|
|
108
|
+
},
|
|
109
|
+
"diffContextBg": {
|
|
110
|
+
"dark": "vesperBg",
|
|
111
|
+
"light": "#F8F8F8"
|
|
112
|
+
},
|
|
113
|
+
"diffLineNumber": {
|
|
114
|
+
"dark": "#505050",
|
|
115
|
+
"light": "#808080"
|
|
116
|
+
},
|
|
117
|
+
"diffAddedLineNumberBg": {
|
|
118
|
+
"dark": "#0d2818",
|
|
119
|
+
"light": "#e8f5e8"
|
|
120
|
+
},
|
|
121
|
+
"diffRemovedLineNumberBg": {
|
|
122
|
+
"dark": "#281a1a",
|
|
123
|
+
"light": "#f5e8e8"
|
|
124
|
+
},
|
|
125
|
+
"markdownText": {
|
|
126
|
+
"dark": "vesperFg",
|
|
127
|
+
"light": "vesperBg"
|
|
128
|
+
},
|
|
129
|
+
"markdownHeading": {
|
|
130
|
+
"dark": "#FFC799",
|
|
131
|
+
"light": "#FFC799"
|
|
132
|
+
},
|
|
133
|
+
"markdownLink": {
|
|
134
|
+
"dark": "#FFC799",
|
|
135
|
+
"light": "#FFC799"
|
|
136
|
+
},
|
|
137
|
+
"markdownLinkText": {
|
|
138
|
+
"dark": "vesperMuted",
|
|
139
|
+
"light": "vesperMuted"
|
|
140
|
+
},
|
|
141
|
+
"markdownCode": {
|
|
142
|
+
"dark": "vesperMuted",
|
|
143
|
+
"light": "vesperMuted"
|
|
144
|
+
},
|
|
145
|
+
"markdownBlockQuote": {
|
|
146
|
+
"dark": "vesperFg",
|
|
147
|
+
"light": "vesperBg"
|
|
148
|
+
},
|
|
149
|
+
"markdownEmph": {
|
|
150
|
+
"dark": "vesperFg",
|
|
151
|
+
"light": "vesperBg"
|
|
152
|
+
},
|
|
153
|
+
"markdownStrong": {
|
|
154
|
+
"dark": "vesperFg",
|
|
155
|
+
"light": "vesperBg"
|
|
156
|
+
},
|
|
157
|
+
"markdownHorizontalRule": {
|
|
158
|
+
"dark": "#65737E",
|
|
159
|
+
"light": "#65737E"
|
|
160
|
+
},
|
|
161
|
+
"markdownListItem": {
|
|
162
|
+
"dark": "vesperFg",
|
|
163
|
+
"light": "vesperBg"
|
|
164
|
+
},
|
|
165
|
+
"markdownListEnumeration": {
|
|
166
|
+
"dark": "vesperFg",
|
|
167
|
+
"light": "vesperBg"
|
|
168
|
+
},
|
|
169
|
+
"markdownImage": {
|
|
170
|
+
"dark": "#FFC799",
|
|
171
|
+
"light": "#FFC799"
|
|
172
|
+
},
|
|
173
|
+
"markdownImageText": {
|
|
174
|
+
"dark": "vesperMuted",
|
|
175
|
+
"light": "vesperMuted"
|
|
176
|
+
},
|
|
177
|
+
"markdownCodeBlock": {
|
|
178
|
+
"dark": "vesperFg",
|
|
179
|
+
"light": "vesperBg"
|
|
180
|
+
},
|
|
181
|
+
"syntaxComment": {
|
|
182
|
+
"dark": "vesperComment",
|
|
183
|
+
"light": "vesperComment"
|
|
184
|
+
},
|
|
185
|
+
"syntaxKeyword": {
|
|
186
|
+
"dark": "vesperKeyword",
|
|
187
|
+
"light": "vesperKeyword"
|
|
188
|
+
},
|
|
189
|
+
"syntaxFunction": {
|
|
190
|
+
"dark": "vesperFunction",
|
|
191
|
+
"light": "vesperFunction"
|
|
192
|
+
},
|
|
193
|
+
"syntaxVariable": {
|
|
194
|
+
"dark": "vesperFg",
|
|
195
|
+
"light": "vesperBg"
|
|
196
|
+
},
|
|
197
|
+
"syntaxString": {
|
|
198
|
+
"dark": "vesperString",
|
|
199
|
+
"light": "vesperString"
|
|
200
|
+
},
|
|
201
|
+
"syntaxNumber": {
|
|
202
|
+
"dark": "vesperNumber",
|
|
203
|
+
"light": "vesperNumber"
|
|
204
|
+
},
|
|
205
|
+
"syntaxType": {
|
|
206
|
+
"dark": "vesperFunction",
|
|
207
|
+
"light": "vesperFunction"
|
|
208
|
+
},
|
|
209
|
+
"syntaxOperator": {
|
|
210
|
+
"dark": "vesperKeyword",
|
|
211
|
+
"light": "vesperKeyword"
|
|
212
|
+
},
|
|
213
|
+
"syntaxPunctuation": {
|
|
214
|
+
"dark": "vesperFg",
|
|
215
|
+
"light": "vesperBg"
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
}
|
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://opencode.ai/theme.json",
|
|
3
|
+
"defs": {
|
|
4
|
+
"bg": "#3f3f3f",
|
|
5
|
+
"bgAlt": "#4f4f4f",
|
|
6
|
+
"bgPanel": "#5f5f5f",
|
|
7
|
+
"fg": "#dcdccc",
|
|
8
|
+
"fgMuted": "#9f9f9f",
|
|
9
|
+
"red": "#cc9393",
|
|
10
|
+
"redBright": "#dca3a3",
|
|
11
|
+
"green": "#7f9f7f",
|
|
12
|
+
"greenBright": "#8fb28f",
|
|
13
|
+
"yellow": "#f0dfaf",
|
|
14
|
+
"yellowDim": "#e0cf9f",
|
|
15
|
+
"blue": "#8cd0d3",
|
|
16
|
+
"blueDim": "#7cb8bb",
|
|
17
|
+
"magenta": "#dc8cc3",
|
|
18
|
+
"cyan": "#93e0e3",
|
|
19
|
+
"orange": "#dfaf8f"
|
|
20
|
+
},
|
|
21
|
+
"theme": {
|
|
22
|
+
"primary": {
|
|
23
|
+
"dark": "blue",
|
|
24
|
+
"light": "#5f7f8f"
|
|
25
|
+
},
|
|
26
|
+
"secondary": {
|
|
27
|
+
"dark": "magenta",
|
|
28
|
+
"light": "#8f5f8f"
|
|
29
|
+
},
|
|
30
|
+
"accent": {
|
|
31
|
+
"dark": "cyan",
|
|
32
|
+
"light": "#5f8f8f"
|
|
33
|
+
},
|
|
34
|
+
"error": {
|
|
35
|
+
"dark": "red",
|
|
36
|
+
"light": "#8f5f5f"
|
|
37
|
+
},
|
|
38
|
+
"warning": {
|
|
39
|
+
"dark": "yellow",
|
|
40
|
+
"light": "#8f8f5f"
|
|
41
|
+
},
|
|
42
|
+
"success": {
|
|
43
|
+
"dark": "green",
|
|
44
|
+
"light": "#5f8f5f"
|
|
45
|
+
},
|
|
46
|
+
"info": {
|
|
47
|
+
"dark": "orange",
|
|
48
|
+
"light": "#8f7f5f"
|
|
49
|
+
},
|
|
50
|
+
"text": {
|
|
51
|
+
"dark": "fg",
|
|
52
|
+
"light": "#3f3f3f"
|
|
53
|
+
},
|
|
54
|
+
"textMuted": {
|
|
55
|
+
"dark": "fgMuted",
|
|
56
|
+
"light": "#6f6f6f"
|
|
57
|
+
},
|
|
58
|
+
"background": {
|
|
59
|
+
"dark": "bg",
|
|
60
|
+
"light": "#ffffef"
|
|
61
|
+
},
|
|
62
|
+
"backgroundPanel": {
|
|
63
|
+
"dark": "bgAlt",
|
|
64
|
+
"light": "#f5f5e5"
|
|
65
|
+
},
|
|
66
|
+
"backgroundElement": {
|
|
67
|
+
"dark": "bgPanel",
|
|
68
|
+
"light": "#ebebdb"
|
|
69
|
+
},
|
|
70
|
+
"border": {
|
|
71
|
+
"dark": "#5f5f5f",
|
|
72
|
+
"light": "#d0d0c0"
|
|
73
|
+
},
|
|
74
|
+
"borderActive": {
|
|
75
|
+
"dark": "blue",
|
|
76
|
+
"light": "#5f7f8f"
|
|
77
|
+
},
|
|
78
|
+
"borderSubtle": {
|
|
79
|
+
"dark": "#4f4f4f",
|
|
80
|
+
"light": "#e0e0d0"
|
|
81
|
+
},
|
|
82
|
+
"diffAdded": {
|
|
83
|
+
"dark": "green",
|
|
84
|
+
"light": "#5f8f5f"
|
|
85
|
+
},
|
|
86
|
+
"diffRemoved": {
|
|
87
|
+
"dark": "red",
|
|
88
|
+
"light": "#8f5f5f"
|
|
89
|
+
},
|
|
90
|
+
"diffContext": {
|
|
91
|
+
"dark": "fgMuted",
|
|
92
|
+
"light": "#6f6f6f"
|
|
93
|
+
},
|
|
94
|
+
"diffHunkHeader": {
|
|
95
|
+
"dark": "cyan",
|
|
96
|
+
"light": "#5f8f8f"
|
|
97
|
+
},
|
|
98
|
+
"diffHighlightAdded": {
|
|
99
|
+
"dark": "greenBright",
|
|
100
|
+
"light": "#5f8f5f"
|
|
101
|
+
},
|
|
102
|
+
"diffHighlightRemoved": {
|
|
103
|
+
"dark": "redBright",
|
|
104
|
+
"light": "#8f5f5f"
|
|
105
|
+
},
|
|
106
|
+
"diffAddedBg": {
|
|
107
|
+
"dark": "#4f5f4f",
|
|
108
|
+
"light": "#efffef"
|
|
109
|
+
},
|
|
110
|
+
"diffRemovedBg": {
|
|
111
|
+
"dark": "#5f4f4f",
|
|
112
|
+
"light": "#ffefef"
|
|
113
|
+
},
|
|
114
|
+
"diffContextBg": {
|
|
115
|
+
"dark": "bgAlt",
|
|
116
|
+
"light": "#f5f5e5"
|
|
117
|
+
},
|
|
118
|
+
"diffLineNumber": {
|
|
119
|
+
"dark": "#6f6f6f",
|
|
120
|
+
"light": "#b0b0a0"
|
|
121
|
+
},
|
|
122
|
+
"diffAddedLineNumberBg": {
|
|
123
|
+
"dark": "#4f5f4f",
|
|
124
|
+
"light": "#efffef"
|
|
125
|
+
},
|
|
126
|
+
"diffRemovedLineNumberBg": {
|
|
127
|
+
"dark": "#5f4f4f",
|
|
128
|
+
"light": "#ffefef"
|
|
129
|
+
},
|
|
130
|
+
"markdownText": {
|
|
131
|
+
"dark": "fg",
|
|
132
|
+
"light": "#3f3f3f"
|
|
133
|
+
},
|
|
134
|
+
"markdownHeading": {
|
|
135
|
+
"dark": "yellow",
|
|
136
|
+
"light": "#8f8f5f"
|
|
137
|
+
},
|
|
138
|
+
"markdownLink": {
|
|
139
|
+
"dark": "blue",
|
|
140
|
+
"light": "#5f7f8f"
|
|
141
|
+
},
|
|
142
|
+
"markdownLinkText": {
|
|
143
|
+
"dark": "cyan",
|
|
144
|
+
"light": "#5f8f8f"
|
|
145
|
+
},
|
|
146
|
+
"markdownCode": {
|
|
147
|
+
"dark": "green",
|
|
148
|
+
"light": "#5f8f5f"
|
|
149
|
+
},
|
|
150
|
+
"markdownBlockQuote": {
|
|
151
|
+
"dark": "fgMuted",
|
|
152
|
+
"light": "#6f6f6f"
|
|
153
|
+
},
|
|
154
|
+
"markdownEmph": {
|
|
155
|
+
"dark": "yellowDim",
|
|
156
|
+
"light": "#8f8f5f"
|
|
157
|
+
},
|
|
158
|
+
"markdownStrong": {
|
|
159
|
+
"dark": "orange",
|
|
160
|
+
"light": "#8f7f5f"
|
|
161
|
+
},
|
|
162
|
+
"markdownHorizontalRule": {
|
|
163
|
+
"dark": "fgMuted",
|
|
164
|
+
"light": "#6f6f6f"
|
|
165
|
+
},
|
|
166
|
+
"markdownListItem": {
|
|
167
|
+
"dark": "blue",
|
|
168
|
+
"light": "#5f7f8f"
|
|
169
|
+
},
|
|
170
|
+
"markdownListEnumeration": {
|
|
171
|
+
"dark": "cyan",
|
|
172
|
+
"light": "#5f8f8f"
|
|
173
|
+
},
|
|
174
|
+
"markdownImage": {
|
|
175
|
+
"dark": "blue",
|
|
176
|
+
"light": "#5f7f8f"
|
|
177
|
+
},
|
|
178
|
+
"markdownImageText": {
|
|
179
|
+
"dark": "cyan",
|
|
180
|
+
"light": "#5f8f8f"
|
|
181
|
+
},
|
|
182
|
+
"markdownCodeBlock": {
|
|
183
|
+
"dark": "fg",
|
|
184
|
+
"light": "#3f3f3f"
|
|
185
|
+
},
|
|
186
|
+
"syntaxComment": {
|
|
187
|
+
"dark": "#7f9f7f",
|
|
188
|
+
"light": "#5f7f5f"
|
|
189
|
+
},
|
|
190
|
+
"syntaxKeyword": {
|
|
191
|
+
"dark": "yellow",
|
|
192
|
+
"light": "#8f8f5f"
|
|
193
|
+
},
|
|
194
|
+
"syntaxFunction": {
|
|
195
|
+
"dark": "blue",
|
|
196
|
+
"light": "#5f7f8f"
|
|
197
|
+
},
|
|
198
|
+
"syntaxVariable": {
|
|
199
|
+
"dark": "fg",
|
|
200
|
+
"light": "#3f3f3f"
|
|
201
|
+
},
|
|
202
|
+
"syntaxString": {
|
|
203
|
+
"dark": "red",
|
|
204
|
+
"light": "#8f5f5f"
|
|
205
|
+
},
|
|
206
|
+
"syntaxNumber": {
|
|
207
|
+
"dark": "greenBright",
|
|
208
|
+
"light": "#5f8f5f"
|
|
209
|
+
},
|
|
210
|
+
"syntaxType": {
|
|
211
|
+
"dark": "cyan",
|
|
212
|
+
"light": "#5f8f8f"
|
|
213
|
+
},
|
|
214
|
+
"syntaxOperator": {
|
|
215
|
+
"dark": "yellow",
|
|
216
|
+
"light": "#8f8f5f"
|
|
217
|
+
},
|
|
218
|
+
"syntaxPunctuation": {
|
|
219
|
+
"dark": "fg",
|
|
220
|
+
"light": "#3f3f3f"
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Clipboard utilities for terminal applications
|
|
3
|
+
* Uses native clipboard commands with OSC 52 fallback
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Copy text to clipboard using platform-native commands
|
|
7
|
+
* Falls back to OSC 52 escape sequence for terminal support
|
|
8
|
+
*
|
|
9
|
+
* @returns true if clipboard command succeeded, false if only OSC 52 was attempted
|
|
10
|
+
*/
|
|
11
|
+
export declare function copyToClipboard(text: string): boolean;
|
|
12
|
+
//# sourceMappingURL=clipboard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clipboard.d.ts","sourceRoot":"","sources":["../../src/utils/clipboard.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAqCrD"}
|