@abelfubu/dv 0.1.0 → 1.0.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.
Files changed (48) hide show
  1. package/README.md +111 -0
  2. package/dist/cli-copy-notification.test.js +7 -3
  3. package/dist/cli.d.ts +3 -1
  4. package/dist/cli.d.ts.map +1 -1
  5. package/dist/cli.js +2 -2
  6. package/dist/components/diff-view.d.ts +1 -1
  7. package/dist/components/diff-view.d.ts.map +1 -1
  8. package/dist/components/diff-view.js +69 -8
  9. package/dist/components/diff-view.test.d.ts.map +1 -1
  10. package/dist/components/diff-view.test.js +54 -0
  11. package/dist/components/toast.js +1 -1
  12. package/dist/themes/aura.json +69 -0
  13. package/dist/themes/ayu.json +80 -0
  14. package/dist/themes/catppuccin-frappe.json +233 -0
  15. package/dist/themes/catppuccin-macchiato.json +233 -0
  16. package/dist/themes/catppuccin.json +112 -0
  17. package/dist/themes/cobalt2.json +228 -0
  18. package/dist/themes/cursor.json +249 -0
  19. package/dist/themes/dracula.json +219 -0
  20. package/dist/themes/everforest.json +241 -0
  21. package/dist/themes/flexoki.json +237 -0
  22. package/dist/themes/github-light.json +56 -0
  23. package/dist/themes/github.json +244 -244
  24. package/dist/themes/gruvbox.json +95 -0
  25. package/dist/themes/kanagawa.json +77 -0
  26. package/dist/themes/lucent-orng.json +227 -0
  27. package/dist/themes/material.json +235 -0
  28. package/dist/themes/matrix.json +77 -0
  29. package/dist/themes/mercury.json +252 -0
  30. package/dist/themes/monokai.json +221 -0
  31. package/dist/themes/muted-slate.json +56 -0
  32. package/dist/themes/nightowl.json +221 -0
  33. package/dist/themes/nord.json +223 -0
  34. package/dist/themes/one-dark.json +84 -0
  35. package/dist/themes/opencode-light.json +62 -0
  36. package/dist/themes/opencode.json +245 -0
  37. package/dist/themes/orng.json +245 -0
  38. package/dist/themes/palenight.json +222 -0
  39. package/dist/themes/rosepine.json +234 -0
  40. package/dist/themes/solarized.json +223 -0
  41. package/dist/themes/synthwave84.json +226 -0
  42. package/dist/themes/tokyonight.json +243 -0
  43. package/dist/themes/vercel.json +255 -0
  44. package/dist/themes/vesper.json +218 -0
  45. package/dist/themes/zenburn.json +223 -0
  46. package/dist/themes.d.ts.map +1 -1
  47. package/dist/themes.js +4 -4
  48. package/package.json +11 -3
@@ -0,0 +1,252 @@
1
+ {
2
+ "$schema": "https://opencode.ai/theme.json",
3
+ "defs": {
4
+ "purple-800": "#3442a6",
5
+ "purple-700": "#465bd1",
6
+ "purple-600": "#5266eb",
7
+ "purple-400": "#8da4f5",
8
+ "purple-300": "#a7b6f8",
9
+
10
+ "red-700": "#b0175f",
11
+ "red-600": "#d03275",
12
+ "red-400": "#fc92b4",
13
+
14
+ "green-700": "#036e43",
15
+ "green-600": "#188554",
16
+ "green-400": "#77c599",
17
+
18
+ "orange-700": "#a44200",
19
+ "orange-600": "#c45000",
20
+ "orange-400": "#fc9b6f",
21
+
22
+ "blue-600": "#007f95",
23
+ "blue-400": "#77becf",
24
+
25
+ "neutral-1000": "#10101a",
26
+ "neutral-950": "#171721",
27
+ "neutral-900": "#1e1e2a",
28
+ "neutral-800": "#272735",
29
+ "neutral-700": "#363644",
30
+ "neutral-600": "#535461",
31
+ "neutral-500": "#70707d",
32
+ "neutral-400": "#9d9da8",
33
+ "neutral-300": "#c3c3cc",
34
+ "neutral-200": "#dddde5",
35
+ "neutral-100": "#f4f5f9",
36
+ "neutral-050": "#fbfcfd",
37
+ "neutral-000": "#ffffff",
38
+ "neutral-150": "#ededf3",
39
+
40
+ "border-light": "#7073931a",
41
+ "border-light-subtle": "#7073930f",
42
+ "border-dark": "#b4b7c81f",
43
+ "border-dark-subtle": "#b4b7c814",
44
+
45
+ "diff-added-light": "#1885541a",
46
+ "diff-removed-light": "#d032751a",
47
+ "diff-added-dark": "#77c59933",
48
+ "diff-removed-dark": "#fc92b433"
49
+ },
50
+ "theme": {
51
+ "primary": {
52
+ "light": "purple-600",
53
+ "dark": "purple-400"
54
+ },
55
+ "secondary": {
56
+ "light": "purple-700",
57
+ "dark": "purple-300"
58
+ },
59
+ "accent": {
60
+ "light": "purple-400",
61
+ "dark": "purple-400"
62
+ },
63
+ "error": {
64
+ "light": "red-700",
65
+ "dark": "red-400"
66
+ },
67
+ "warning": {
68
+ "light": "orange-700",
69
+ "dark": "orange-400"
70
+ },
71
+ "success": {
72
+ "light": "green-700",
73
+ "dark": "green-400"
74
+ },
75
+ "info": {
76
+ "light": "blue-600",
77
+ "dark": "blue-400"
78
+ },
79
+ "text": {
80
+ "light": "neutral-700",
81
+ "dark": "neutral-200"
82
+ },
83
+ "textMuted": {
84
+ "light": "neutral-500",
85
+ "dark": "neutral-400"
86
+ },
87
+ "background": {
88
+ "light": "neutral-000",
89
+ "dark": "neutral-950"
90
+ },
91
+ "backgroundPanel": {
92
+ "light": "neutral-050",
93
+ "dark": "neutral-1000"
94
+ },
95
+ "backgroundElement": {
96
+ "light": "neutral-100",
97
+ "dark": "neutral-800"
98
+ },
99
+ "border": {
100
+ "light": "border-light",
101
+ "dark": "border-dark"
102
+ },
103
+ "borderActive": {
104
+ "light": "purple-600",
105
+ "dark": "purple-400"
106
+ },
107
+ "borderSubtle": {
108
+ "light": "border-light-subtle",
109
+ "dark": "border-dark-subtle"
110
+ },
111
+ "diffAdded": {
112
+ "light": "green-700",
113
+ "dark": "green-400"
114
+ },
115
+ "diffRemoved": {
116
+ "light": "red-700",
117
+ "dark": "red-400"
118
+ },
119
+ "diffContext": {
120
+ "light": "neutral-500",
121
+ "dark": "neutral-400"
122
+ },
123
+ "diffHunkHeader": {
124
+ "light": "neutral-500",
125
+ "dark": "neutral-400"
126
+ },
127
+ "diffHighlightAdded": {
128
+ "light": "green-700",
129
+ "dark": "green-400"
130
+ },
131
+ "diffHighlightRemoved": {
132
+ "light": "red-700",
133
+ "dark": "red-400"
134
+ },
135
+ "diffAddedBg": {
136
+ "light": "diff-added-light",
137
+ "dark": "diff-added-dark"
138
+ },
139
+ "diffRemovedBg": {
140
+ "light": "diff-removed-light",
141
+ "dark": "diff-removed-dark"
142
+ },
143
+ "diffContextBg": {
144
+ "light": "neutral-050",
145
+ "dark": "neutral-900"
146
+ },
147
+ "diffLineNumber": {
148
+ "light": "neutral-600",
149
+ "dark": "neutral-300"
150
+ },
151
+ "diffAddedLineNumberBg": {
152
+ "light": "diff-added-light",
153
+ "dark": "diff-added-dark"
154
+ },
155
+ "diffRemovedLineNumberBg": {
156
+ "light": "diff-removed-light",
157
+ "dark": "diff-removed-dark"
158
+ },
159
+ "markdownText": {
160
+ "light": "neutral-700",
161
+ "dark": "neutral-200"
162
+ },
163
+ "markdownHeading": {
164
+ "light": "neutral-900",
165
+ "dark": "neutral-000"
166
+ },
167
+ "markdownLink": {
168
+ "light": "purple-700",
169
+ "dark": "purple-400"
170
+ },
171
+ "markdownLinkText": {
172
+ "light": "purple-600",
173
+ "dark": "purple-300"
174
+ },
175
+ "markdownCode": {
176
+ "light": "green-700",
177
+ "dark": "green-400"
178
+ },
179
+ "markdownBlockQuote": {
180
+ "light": "neutral-500",
181
+ "dark": "neutral-400"
182
+ },
183
+ "markdownEmph": {
184
+ "light": "orange-700",
185
+ "dark": "orange-400"
186
+ },
187
+ "markdownStrong": {
188
+ "light": "neutral-900",
189
+ "dark": "neutral-100"
190
+ },
191
+ "markdownHorizontalRule": {
192
+ "light": "border-light",
193
+ "dark": "border-dark"
194
+ },
195
+ "markdownListItem": {
196
+ "light": "neutral-900",
197
+ "dark": "neutral-000"
198
+ },
199
+ "markdownListEnumeration": {
200
+ "light": "purple-600",
201
+ "dark": "purple-400"
202
+ },
203
+ "markdownImage": {
204
+ "light": "purple-700",
205
+ "dark": "purple-400"
206
+ },
207
+ "markdownImageText": {
208
+ "light": "purple-600",
209
+ "dark": "purple-300"
210
+ },
211
+ "markdownCodeBlock": {
212
+ "light": "neutral-700",
213
+ "dark": "neutral-200"
214
+ },
215
+ "syntaxComment": {
216
+ "light": "neutral-500",
217
+ "dark": "neutral-400"
218
+ },
219
+ "syntaxKeyword": {
220
+ "light": "purple-700",
221
+ "dark": "purple-400"
222
+ },
223
+ "syntaxFunction": {
224
+ "light": "purple-600",
225
+ "dark": "purple-400"
226
+ },
227
+ "syntaxVariable": {
228
+ "light": "blue-600",
229
+ "dark": "blue-400"
230
+ },
231
+ "syntaxString": {
232
+ "light": "green-700",
233
+ "dark": "green-400"
234
+ },
235
+ "syntaxNumber": {
236
+ "light": "orange-700",
237
+ "dark": "orange-400"
238
+ },
239
+ "syntaxType": {
240
+ "light": "blue-600",
241
+ "dark": "blue-400"
242
+ },
243
+ "syntaxOperator": {
244
+ "light": "purple-700",
245
+ "dark": "purple-400"
246
+ },
247
+ "syntaxPunctuation": {
248
+ "light": "neutral-700",
249
+ "dark": "neutral-200"
250
+ }
251
+ }
252
+ }
@@ -0,0 +1,221 @@
1
+ {
2
+ "$schema": "https://opencode.ai/theme.json",
3
+ "defs": {
4
+ "background": "#272822",
5
+ "backgroundAlt": "#1e1f1c",
6
+ "backgroundPanel": "#3e3d32",
7
+ "foreground": "#f8f8f2",
8
+ "comment": "#75715e",
9
+ "red": "#f92672",
10
+ "orange": "#fd971f",
11
+ "lightOrange": "#e69f66",
12
+ "yellow": "#e6db74",
13
+ "green": "#a6e22e",
14
+ "cyan": "#66d9ef",
15
+ "blue": "#66d9ef",
16
+ "purple": "#ae81ff",
17
+ "pink": "#f92672"
18
+ },
19
+ "theme": {
20
+ "primary": {
21
+ "dark": "cyan",
22
+ "light": "blue"
23
+ },
24
+ "secondary": {
25
+ "dark": "purple",
26
+ "light": "purple"
27
+ },
28
+ "accent": {
29
+ "dark": "green",
30
+ "light": "green"
31
+ },
32
+ "error": {
33
+ "dark": "red",
34
+ "light": "red"
35
+ },
36
+ "warning": {
37
+ "dark": "yellow",
38
+ "light": "orange"
39
+ },
40
+ "success": {
41
+ "dark": "green",
42
+ "light": "green"
43
+ },
44
+ "info": {
45
+ "dark": "orange",
46
+ "light": "orange"
47
+ },
48
+ "text": {
49
+ "dark": "foreground",
50
+ "light": "#272822"
51
+ },
52
+ "textMuted": {
53
+ "dark": "comment",
54
+ "light": "#75715e"
55
+ },
56
+ "background": {
57
+ "dark": "#272822",
58
+ "light": "#fafafa"
59
+ },
60
+ "backgroundPanel": {
61
+ "dark": "#1e1f1c",
62
+ "light": "#f0f0f0"
63
+ },
64
+ "backgroundElement": {
65
+ "dark": "#3e3d32",
66
+ "light": "#e0e0e0"
67
+ },
68
+ "border": {
69
+ "dark": "#3e3d32",
70
+ "light": "#d0d0d0"
71
+ },
72
+ "borderActive": {
73
+ "dark": "cyan",
74
+ "light": "blue"
75
+ },
76
+ "borderSubtle": {
77
+ "dark": "#1e1f1c",
78
+ "light": "#e8e8e8"
79
+ },
80
+ "diffAdded": {
81
+ "dark": "green",
82
+ "light": "green"
83
+ },
84
+ "diffRemoved": {
85
+ "dark": "red",
86
+ "light": "red"
87
+ },
88
+ "diffContext": {
89
+ "dark": "comment",
90
+ "light": "#75715e"
91
+ },
92
+ "diffHunkHeader": {
93
+ "dark": "comment",
94
+ "light": "#75715e"
95
+ },
96
+ "diffHighlightAdded": {
97
+ "dark": "green",
98
+ "light": "green"
99
+ },
100
+ "diffHighlightRemoved": {
101
+ "dark": "red",
102
+ "light": "red"
103
+ },
104
+ "diffAddedBg": {
105
+ "dark": "#1a3a1a",
106
+ "light": "#e0ffe0"
107
+ },
108
+ "diffRemovedBg": {
109
+ "dark": "#3a1a1a",
110
+ "light": "#ffe0e0"
111
+ },
112
+ "diffContextBg": {
113
+ "dark": "#1e1f1c",
114
+ "light": "#f0f0f0"
115
+ },
116
+ "diffLineNumber": {
117
+ "dark": "#3e3d32",
118
+ "light": "#d0d0d0"
119
+ },
120
+ "diffAddedLineNumberBg": {
121
+ "dark": "#1a3a1a",
122
+ "light": "#e0ffe0"
123
+ },
124
+ "diffRemovedLineNumberBg": {
125
+ "dark": "#3a1a1a",
126
+ "light": "#ffe0e0"
127
+ },
128
+ "markdownText": {
129
+ "dark": "foreground",
130
+ "light": "#272822"
131
+ },
132
+ "markdownHeading": {
133
+ "dark": "pink",
134
+ "light": "pink"
135
+ },
136
+ "markdownLink": {
137
+ "dark": "cyan",
138
+ "light": "blue"
139
+ },
140
+ "markdownLinkText": {
141
+ "dark": "purple",
142
+ "light": "purple"
143
+ },
144
+ "markdownCode": {
145
+ "dark": "green",
146
+ "light": "green"
147
+ },
148
+ "markdownBlockQuote": {
149
+ "dark": "comment",
150
+ "light": "#75715e"
151
+ },
152
+ "markdownEmph": {
153
+ "dark": "yellow",
154
+ "light": "orange"
155
+ },
156
+ "markdownStrong": {
157
+ "dark": "orange",
158
+ "light": "orange"
159
+ },
160
+ "markdownHorizontalRule": {
161
+ "dark": "comment",
162
+ "light": "#75715e"
163
+ },
164
+ "markdownListItem": {
165
+ "dark": "cyan",
166
+ "light": "blue"
167
+ },
168
+ "markdownListEnumeration": {
169
+ "dark": "purple",
170
+ "light": "purple"
171
+ },
172
+ "markdownImage": {
173
+ "dark": "cyan",
174
+ "light": "blue"
175
+ },
176
+ "markdownImageText": {
177
+ "dark": "purple",
178
+ "light": "purple"
179
+ },
180
+ "markdownCodeBlock": {
181
+ "dark": "foreground",
182
+ "light": "#272822"
183
+ },
184
+ "syntaxComment": {
185
+ "dark": "comment",
186
+ "light": "#75715e"
187
+ },
188
+ "syntaxKeyword": {
189
+ "dark": "pink",
190
+ "light": "pink"
191
+ },
192
+ "syntaxFunction": {
193
+ "dark": "green",
194
+ "light": "green"
195
+ },
196
+ "syntaxVariable": {
197
+ "dark": "foreground",
198
+ "light": "#272822"
199
+ },
200
+ "syntaxString": {
201
+ "dark": "yellow",
202
+ "light": "orange"
203
+ },
204
+ "syntaxNumber": {
205
+ "dark": "purple",
206
+ "light": "purple"
207
+ },
208
+ "syntaxType": {
209
+ "dark": "cyan",
210
+ "light": "blue"
211
+ },
212
+ "syntaxOperator": {
213
+ "dark": "pink",
214
+ "light": "pink"
215
+ },
216
+ "syntaxPunctuation": {
217
+ "dark": "foreground",
218
+ "light": "#272822"
219
+ }
220
+ }
221
+ }
@@ -0,0 +1,56 @@
1
+ {
2
+ "$schema": "https://opencode.ai/theme.json",
3
+ "theme": {
4
+ "primary": "#8aa9c9",
5
+ "secondary": "#9a8fc4",
6
+ "accent": "#7fb3a8",
7
+ "error": "#e07a7a",
8
+ "warning": "#d4b06a",
9
+ "success": "#7aa67a",
10
+ "info": "#c89a6e",
11
+ "text": "#c8ccd4",
12
+ "textMuted": "#6b7280",
13
+ "background": "#1a1d23",
14
+ "backgroundPanel": "#1f232b",
15
+ "backgroundElement": "#252a33",
16
+ "border": "#2a2f38",
17
+ "borderActive": "#8aa9c9",
18
+ "borderSubtle": "#252a33",
19
+ "diffAdded": "#7aa67a",
20
+ "diffRemoved": "#e07a7a",
21
+ "diffContext": "#6b7280",
22
+ "diffHunkHeader": "#8aa9c9",
23
+ "diffHighlightAdded": "#7aa67a",
24
+ "diffHighlightRemoved": "#e07a7a",
25
+ "diffAddedBg": "#0f1a13",
26
+ "diffRemovedBg": "#1a0f0f",
27
+ "diffContextBg": "#1a1d23",
28
+ "diffLineNumber": "#5a6270",
29
+ "diffAddedLineNumberBg": "#142018",
30
+ "diffRemovedLineNumberBg": "#201414",
31
+ "markdownText": "#c8ccd4",
32
+ "markdownHeading": "#8aa9c9",
33
+ "markdownLink": "#8aa9c9",
34
+ "markdownLinkText": "#7fb3a8",
35
+ "markdownCode": "#7aa67a",
36
+ "markdownBlockQuote": "#d4b06a",
37
+ "markdownEmph": "#c8ccd4",
38
+ "markdownStrong": "#c8ccd4",
39
+ "markdownHorizontalRule": "#5a6270",
40
+ "markdownListItem": "#9a8fc4",
41
+ "markdownListEnumeration": "#c89a6e",
42
+ "markdownImage": "#7aa67a",
43
+ "markdownImageText": "#7fb3a8",
44
+ "markdownCodeBlock": "#c8ccd4",
45
+ "syntaxComment": "#5a6270",
46
+ "syntaxKeyword": "#9a8fc4",
47
+ "syntaxFunction": "#8aa9c9",
48
+ "syntaxVariable": "#e07a7a",
49
+ "syntaxString": "#7aa67a",
50
+ "syntaxNumber": "#c89a6e",
51
+ "syntaxType": "#d4b06a",
52
+ "syntaxOperator": "#9a8fc4",
53
+ "syntaxPunctuation": "#c8ccd4",
54
+ "conceal": "#5a6270"
55
+ }
56
+ }