@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,241 @@
1
+ {
2
+ "$schema": "https://opencode.ai/theme.json",
3
+ "defs": {
4
+ "darkStep1": "#2d353b",
5
+ "darkStep2": "#333c43",
6
+ "darkStep3": "#343f44",
7
+ "darkStep4": "#3d484d",
8
+ "darkStep5": "#475258",
9
+ "darkStep6": "#7a8478",
10
+ "darkStep7": "#859289",
11
+ "darkStep8": "#9da9a0",
12
+ "darkStep9": "#a7c080",
13
+ "darkStep10": "#83c092",
14
+ "darkStep11": "#7a8478",
15
+ "darkStep12": "#d3c6aa",
16
+ "darkRed": "#e67e80",
17
+ "darkOrange": "#e69875",
18
+ "darkGreen": "#a7c080",
19
+ "darkCyan": "#83c092",
20
+ "darkYellow": "#dbbc7f",
21
+ "lightStep1": "#fdf6e3",
22
+ "lightStep2": "#efebd4",
23
+ "lightStep3": "#f4f0d9",
24
+ "lightStep4": "#efebd4",
25
+ "lightStep5": "#e6e2cc",
26
+ "lightStep6": "#a6b0a0",
27
+ "lightStep7": "#939f91",
28
+ "lightStep8": "#829181",
29
+ "lightStep9": "#8da101",
30
+ "lightStep10": "#35a77c",
31
+ "lightStep11": "#a6b0a0",
32
+ "lightStep12": "#5c6a72",
33
+ "lightRed": "#f85552",
34
+ "lightOrange": "#f57d26",
35
+ "lightGreen": "#8da101",
36
+ "lightCyan": "#35a77c",
37
+ "lightYellow": "#dfa000"
38
+ },
39
+ "theme": {
40
+ "primary": {
41
+ "dark": "darkStep9",
42
+ "light": "lightStep9"
43
+ },
44
+ "secondary": {
45
+ "dark": "#7fbbb3",
46
+ "light": "#3a94c5"
47
+ },
48
+ "accent": {
49
+ "dark": "#d699b6",
50
+ "light": "#df69ba"
51
+ },
52
+ "error": {
53
+ "dark": "darkRed",
54
+ "light": "lightRed"
55
+ },
56
+ "warning": {
57
+ "dark": "darkOrange",
58
+ "light": "lightOrange"
59
+ },
60
+ "success": {
61
+ "dark": "darkGreen",
62
+ "light": "lightGreen"
63
+ },
64
+ "info": {
65
+ "dark": "darkCyan",
66
+ "light": "lightCyan"
67
+ },
68
+ "text": {
69
+ "dark": "darkStep12",
70
+ "light": "lightStep12"
71
+ },
72
+ "textMuted": {
73
+ "dark": "darkStep11",
74
+ "light": "lightStep11"
75
+ },
76
+ "background": {
77
+ "dark": "darkStep1",
78
+ "light": "lightStep1"
79
+ },
80
+ "backgroundPanel": {
81
+ "dark": "darkStep2",
82
+ "light": "lightStep2"
83
+ },
84
+ "backgroundElement": {
85
+ "dark": "darkStep3",
86
+ "light": "lightStep3"
87
+ },
88
+ "border": {
89
+ "dark": "darkStep7",
90
+ "light": "lightStep7"
91
+ },
92
+ "borderActive": {
93
+ "dark": "darkStep8",
94
+ "light": "lightStep8"
95
+ },
96
+ "borderSubtle": {
97
+ "dark": "darkStep6",
98
+ "light": "lightStep6"
99
+ },
100
+ "diffAdded": {
101
+ "dark": "#4fd6be",
102
+ "light": "#1e725c"
103
+ },
104
+ "diffRemoved": {
105
+ "dark": "#c53b53",
106
+ "light": "#c53b53"
107
+ },
108
+ "diffContext": {
109
+ "dark": "#828bb8",
110
+ "light": "#7086b5"
111
+ },
112
+ "diffHunkHeader": {
113
+ "dark": "#828bb8",
114
+ "light": "#7086b5"
115
+ },
116
+ "diffHighlightAdded": {
117
+ "dark": "#b8db87",
118
+ "light": "#4db380"
119
+ },
120
+ "diffHighlightRemoved": {
121
+ "dark": "#e26a75",
122
+ "light": "#f52a65"
123
+ },
124
+ "diffAddedBg": {
125
+ "dark": "#20303b",
126
+ "light": "#d5e5d5"
127
+ },
128
+ "diffRemovedBg": {
129
+ "dark": "#37222c",
130
+ "light": "#f7d8db"
131
+ },
132
+ "diffContextBg": {
133
+ "dark": "darkStep2",
134
+ "light": "lightStep2"
135
+ },
136
+ "diffLineNumber": {
137
+ "dark": "darkStep3",
138
+ "light": "lightStep3"
139
+ },
140
+ "diffAddedLineNumberBg": {
141
+ "dark": "#1b2b34",
142
+ "light": "#c5d5c5"
143
+ },
144
+ "diffRemovedLineNumberBg": {
145
+ "dark": "#2d1f26",
146
+ "light": "#e7c8cb"
147
+ },
148
+ "markdownText": {
149
+ "dark": "darkStep12",
150
+ "light": "lightStep12"
151
+ },
152
+ "markdownHeading": {
153
+ "dark": "#d699b6",
154
+ "light": "#df69ba"
155
+ },
156
+ "markdownLink": {
157
+ "dark": "darkStep9",
158
+ "light": "lightStep9"
159
+ },
160
+ "markdownLinkText": {
161
+ "dark": "darkCyan",
162
+ "light": "lightCyan"
163
+ },
164
+ "markdownCode": {
165
+ "dark": "darkGreen",
166
+ "light": "lightGreen"
167
+ },
168
+ "markdownBlockQuote": {
169
+ "dark": "darkYellow",
170
+ "light": "lightYellow"
171
+ },
172
+ "markdownEmph": {
173
+ "dark": "darkYellow",
174
+ "light": "lightYellow"
175
+ },
176
+ "markdownStrong": {
177
+ "dark": "darkOrange",
178
+ "light": "lightOrange"
179
+ },
180
+ "markdownHorizontalRule": {
181
+ "dark": "darkStep11",
182
+ "light": "lightStep11"
183
+ },
184
+ "markdownListItem": {
185
+ "dark": "darkStep9",
186
+ "light": "lightStep9"
187
+ },
188
+ "markdownListEnumeration": {
189
+ "dark": "darkCyan",
190
+ "light": "lightCyan"
191
+ },
192
+ "markdownImage": {
193
+ "dark": "darkStep9",
194
+ "light": "lightStep9"
195
+ },
196
+ "markdownImageText": {
197
+ "dark": "darkCyan",
198
+ "light": "lightCyan"
199
+ },
200
+ "markdownCodeBlock": {
201
+ "dark": "darkStep12",
202
+ "light": "lightStep12"
203
+ },
204
+ "syntaxComment": {
205
+ "dark": "darkStep11",
206
+ "light": "lightStep11"
207
+ },
208
+ "syntaxKeyword": {
209
+ "dark": "#d699b6",
210
+ "light": "#df69ba"
211
+ },
212
+ "syntaxFunction": {
213
+ "dark": "darkStep9",
214
+ "light": "lightStep9"
215
+ },
216
+ "syntaxVariable": {
217
+ "dark": "darkRed",
218
+ "light": "lightRed"
219
+ },
220
+ "syntaxString": {
221
+ "dark": "darkGreen",
222
+ "light": "lightGreen"
223
+ },
224
+ "syntaxNumber": {
225
+ "dark": "darkOrange",
226
+ "light": "lightOrange"
227
+ },
228
+ "syntaxType": {
229
+ "dark": "darkYellow",
230
+ "light": "lightYellow"
231
+ },
232
+ "syntaxOperator": {
233
+ "dark": "darkCyan",
234
+ "light": "lightCyan"
235
+ },
236
+ "syntaxPunctuation": {
237
+ "dark": "darkStep12",
238
+ "light": "lightStep12"
239
+ }
240
+ }
241
+ }
@@ -0,0 +1,237 @@
1
+ {
2
+ "$schema": "https://opencode.ai/theme.json",
3
+ "defs": {
4
+ "black": "#100F0F",
5
+ "base950": "#1C1B1A",
6
+ "base900": "#282726",
7
+ "base850": "#343331",
8
+ "base800": "#403E3C",
9
+ "base700": "#575653",
10
+ "base600": "#6F6E69",
11
+ "base500": "#878580",
12
+ "base300": "#B7B5AC",
13
+ "base200": "#CECDC3",
14
+ "base150": "#DAD8CE",
15
+ "base100": "#E6E4D9",
16
+ "base50": "#F2F0E5",
17
+ "paper": "#FFFCF0",
18
+ "red400": "#D14D41",
19
+ "red600": "#AF3029",
20
+ "orange400": "#DA702C",
21
+ "orange600": "#BC5215",
22
+ "yellow400": "#D0A215",
23
+ "yellow600": "#AD8301",
24
+ "green400": "#879A39",
25
+ "green600": "#66800B",
26
+ "cyan400": "#3AA99F",
27
+ "cyan600": "#24837B",
28
+ "blue400": "#4385BE",
29
+ "blue600": "#205EA6",
30
+ "purple400": "#8B7EC8",
31
+ "purple600": "#5E409D",
32
+ "magenta400": "#CE5D97",
33
+ "magenta600": "#A02F6F"
34
+ },
35
+ "theme": {
36
+ "primary": {
37
+ "dark": "orange400",
38
+ "light": "blue600"
39
+ },
40
+ "secondary": {
41
+ "dark": "blue400",
42
+ "light": "purple600"
43
+ },
44
+ "accent": {
45
+ "dark": "purple400",
46
+ "light": "orange600"
47
+ },
48
+ "error": {
49
+ "dark": "red400",
50
+ "light": "red600"
51
+ },
52
+ "warning": {
53
+ "dark": "orange400",
54
+ "light": "orange600"
55
+ },
56
+ "success": {
57
+ "dark": "green400",
58
+ "light": "green600"
59
+ },
60
+ "info": {
61
+ "dark": "cyan400",
62
+ "light": "cyan600"
63
+ },
64
+ "text": {
65
+ "dark": "base200",
66
+ "light": "black"
67
+ },
68
+ "textMuted": {
69
+ "dark": "base600",
70
+ "light": "base600"
71
+ },
72
+ "background": {
73
+ "dark": "black",
74
+ "light": "paper"
75
+ },
76
+ "backgroundPanel": {
77
+ "dark": "base950",
78
+ "light": "base50"
79
+ },
80
+ "backgroundElement": {
81
+ "dark": "base900",
82
+ "light": "base100"
83
+ },
84
+ "border": {
85
+ "dark": "base700",
86
+ "light": "base300"
87
+ },
88
+ "borderActive": {
89
+ "dark": "base600",
90
+ "light": "base500"
91
+ },
92
+ "borderSubtle": {
93
+ "dark": "base800",
94
+ "light": "base200"
95
+ },
96
+ "diffAdded": {
97
+ "dark": "green400",
98
+ "light": "green600"
99
+ },
100
+ "diffRemoved": {
101
+ "dark": "red400",
102
+ "light": "red600"
103
+ },
104
+ "diffContext": {
105
+ "dark": "base600",
106
+ "light": "base600"
107
+ },
108
+ "diffHunkHeader": {
109
+ "dark": "blue400",
110
+ "light": "blue600"
111
+ },
112
+ "diffHighlightAdded": {
113
+ "dark": "green400",
114
+ "light": "green600"
115
+ },
116
+ "diffHighlightRemoved": {
117
+ "dark": "red400",
118
+ "light": "red600"
119
+ },
120
+ "diffAddedBg": {
121
+ "dark": "#1A2D1A",
122
+ "light": "#D5E5D5"
123
+ },
124
+ "diffRemovedBg": {
125
+ "dark": "#2D1A1A",
126
+ "light": "#F7D8DB"
127
+ },
128
+ "diffContextBg": {
129
+ "dark": "base950",
130
+ "light": "base50"
131
+ },
132
+ "diffLineNumber": {
133
+ "dark": "base600",
134
+ "light": "base600"
135
+ },
136
+ "diffAddedLineNumberBg": {
137
+ "dark": "#152515",
138
+ "light": "#C5D5C5"
139
+ },
140
+ "diffRemovedLineNumberBg": {
141
+ "dark": "#251515",
142
+ "light": "#E7C8CB"
143
+ },
144
+ "markdownText": {
145
+ "dark": "base200",
146
+ "light": "black"
147
+ },
148
+ "markdownHeading": {
149
+ "dark": "purple400",
150
+ "light": "purple600"
151
+ },
152
+ "markdownLink": {
153
+ "dark": "blue400",
154
+ "light": "blue600"
155
+ },
156
+ "markdownLinkText": {
157
+ "dark": "cyan400",
158
+ "light": "cyan600"
159
+ },
160
+ "markdownCode": {
161
+ "dark": "cyan400",
162
+ "light": "cyan600"
163
+ },
164
+ "markdownBlockQuote": {
165
+ "dark": "yellow400",
166
+ "light": "yellow600"
167
+ },
168
+ "markdownEmph": {
169
+ "dark": "yellow400",
170
+ "light": "yellow600"
171
+ },
172
+ "markdownStrong": {
173
+ "dark": "orange400",
174
+ "light": "orange600"
175
+ },
176
+ "markdownHorizontalRule": {
177
+ "dark": "base600",
178
+ "light": "base600"
179
+ },
180
+ "markdownListItem": {
181
+ "dark": "orange400",
182
+ "light": "orange600"
183
+ },
184
+ "markdownListEnumeration": {
185
+ "dark": "cyan400",
186
+ "light": "cyan600"
187
+ },
188
+ "markdownImage": {
189
+ "dark": "magenta400",
190
+ "light": "magenta600"
191
+ },
192
+ "markdownImageText": {
193
+ "dark": "cyan400",
194
+ "light": "cyan600"
195
+ },
196
+ "markdownCodeBlock": {
197
+ "dark": "base200",
198
+ "light": "black"
199
+ },
200
+ "syntaxComment": {
201
+ "dark": "base600",
202
+ "light": "base600"
203
+ },
204
+ "syntaxKeyword": {
205
+ "dark": "green400",
206
+ "light": "green600"
207
+ },
208
+ "syntaxFunction": {
209
+ "dark": "orange400",
210
+ "light": "orange600"
211
+ },
212
+ "syntaxVariable": {
213
+ "dark": "blue400",
214
+ "light": "blue600"
215
+ },
216
+ "syntaxString": {
217
+ "dark": "cyan400",
218
+ "light": "cyan600"
219
+ },
220
+ "syntaxNumber": {
221
+ "dark": "purple400",
222
+ "light": "purple600"
223
+ },
224
+ "syntaxType": {
225
+ "dark": "yellow400",
226
+ "light": "yellow600"
227
+ },
228
+ "syntaxOperator": {
229
+ "dark": "base300",
230
+ "light": "base600"
231
+ },
232
+ "syntaxPunctuation": {
233
+ "dark": "base300",
234
+ "light": "base600"
235
+ }
236
+ }
237
+ }
@@ -0,0 +1,56 @@
1
+ {
2
+ "$schema": "https://opencode.ai/theme.json",
3
+ "defs": {
4
+ "bg": "#ffffff",
5
+ "bgPanel": "#ffffff",
6
+ "bgElement": "#f0f3f6",
7
+ "fg": "#24292f",
8
+ "fgMuted": "#57606a",
9
+ "blue": "#0969da",
10
+ "green": "#1a7f37",
11
+ "red": "#cf222e",
12
+ "orange": "#bc4c00",
13
+ "purple": "#8250df",
14
+ "pink": "#bf3989",
15
+ "yellow": "#9a6700",
16
+ "cyan": "#1b7c83"
17
+ },
18
+ "theme": {
19
+ "primary": "blue",
20
+ "secondary": "purple",
21
+ "accent": "cyan",
22
+ "error": "red",
23
+ "warning": "yellow",
24
+ "success": "green",
25
+ "info": "orange",
26
+ "text": "fg",
27
+ "textMuted": "fgMuted",
28
+ "background": "bg",
29
+ "backgroundPanel": "bgPanel",
30
+ "backgroundElement": "bgElement",
31
+ "border": "#d0d7de",
32
+ "borderActive": "blue",
33
+ "borderSubtle": "#d8dee4",
34
+ "diffAdded": "green",
35
+ "diffRemoved": "red",
36
+ "diffContext": "fgMuted",
37
+ "diffHunkHeader": "blue",
38
+ "diffHighlightAdded": "#1a7f37",
39
+ "diffHighlightRemoved": "#cf222e",
40
+ "diffAddedBg": "#e6ffec",
41
+ "diffRemovedBg": "#fff0ee",
42
+ "diffContextBg": "bg",
43
+ "diffLineNumber": "fgMuted",
44
+ "diffAddedLineNumberBg": "#dafbe1",
45
+ "diffRemovedLineNumberBg": "#ffebe9",
46
+ "syntaxComment": "fgMuted",
47
+ "syntaxKeyword": "red",
48
+ "syntaxFunction": "purple",
49
+ "syntaxVariable": "orange",
50
+ "syntaxString": "blue",
51
+ "syntaxNumber": "cyan",
52
+ "syntaxType": "orange",
53
+ "syntaxOperator": "red",
54
+ "syntaxPunctuation": "fg"
55
+ }
56
+ }