@abelfubu/dv 1.0.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 (42) hide show
  1. package/dist/components/diff-view.d.ts +1 -1
  2. package/dist/components/diff-view.d.ts.map +1 -1
  3. package/dist/components/diff-view.js +69 -8
  4. package/dist/components/diff-view.test.d.ts.map +1 -1
  5. package/dist/components/diff-view.test.js +54 -0
  6. package/dist/themes/aura.json +69 -0
  7. package/dist/themes/ayu.json +80 -0
  8. package/dist/themes/catppuccin-frappe.json +233 -0
  9. package/dist/themes/catppuccin-macchiato.json +233 -0
  10. package/dist/themes/catppuccin.json +112 -0
  11. package/dist/themes/cobalt2.json +228 -0
  12. package/dist/themes/cursor.json +249 -0
  13. package/dist/themes/dracula.json +219 -0
  14. package/dist/themes/everforest.json +241 -0
  15. package/dist/themes/flexoki.json +237 -0
  16. package/dist/themes/github-light.json +56 -0
  17. package/dist/themes/github.json +244 -244
  18. package/dist/themes/gruvbox.json +95 -0
  19. package/dist/themes/kanagawa.json +77 -0
  20. package/dist/themes/lucent-orng.json +227 -0
  21. package/dist/themes/material.json +235 -0
  22. package/dist/themes/matrix.json +77 -0
  23. package/dist/themes/mercury.json +252 -0
  24. package/dist/themes/monokai.json +221 -0
  25. package/dist/themes/muted-slate.json +56 -0
  26. package/dist/themes/nightowl.json +221 -0
  27. package/dist/themes/nord.json +223 -0
  28. package/dist/themes/one-dark.json +84 -0
  29. package/dist/themes/opencode-light.json +62 -0
  30. package/dist/themes/opencode.json +245 -0
  31. package/dist/themes/orng.json +245 -0
  32. package/dist/themes/palenight.json +222 -0
  33. package/dist/themes/rosepine.json +234 -0
  34. package/dist/themes/solarized.json +223 -0
  35. package/dist/themes/synthwave84.json +226 -0
  36. package/dist/themes/tokyonight.json +243 -0
  37. package/dist/themes/vercel.json +255 -0
  38. package/dist/themes/vesper.json +218 -0
  39. package/dist/themes/zenburn.json +223 -0
  40. package/dist/themes.d.ts.map +1 -1
  41. package/dist/themes.js +4 -4
  42. package/package.json +3 -2
@@ -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": "darkStep3",
140
+ "light": "lightStep3"
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,255 @@
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
+ "gray1000": "#EDEDED",
14
+ "blue700": "#0070F3",
15
+ "blue1000": "#EBF8FF",
16
+ "red700": "#E5484D",
17
+ "red1000": "#FDECED",
18
+ "amber700": "#FFB224",
19
+ "amber1000": "#FDF4DC",
20
+ "green700": "#46A758",
21
+ "green1000": "#E6F9E9",
22
+ "teal700": "#12A594",
23
+ "teal900": "#0AC7AC",
24
+ "cyan": "#50E3C2",
25
+ "lightBackground": "#FFFFFF",
26
+ "lightGray100": "#FAFAFA",
27
+ "lightGray200": "#EAEAEA",
28
+ "lightGray600": "#666666",
29
+ "lightGray1000": "#171717",
30
+ "darkForeground": "#EDEDED",
31
+ "darkConstant": "#47A8FF",
32
+ "darkString": "#00CA50",
33
+ "darkComment": "#A1A1A1",
34
+ "darkKeyword": "#FF4D8D",
35
+ "darkParameter": "#FF9300",
36
+ "darkFunction": "#C472FB",
37
+ "darkNumber": "#FFFFFF",
38
+ "darkDiffDeleted": "#F32E40",
39
+ "darkDiffInserted": "#00952D",
40
+ "darkHighlight": "#002F62",
41
+ "lightForeground": "#171717",
42
+ "lightConstant": "#005FF2",
43
+ "lightString": "#107D32",
44
+ "lightComment": "#666666",
45
+ "lightKeyword": "#C41562",
46
+ "lightParameter": "#AA4D00",
47
+ "lightFunction": "#7D00CC",
48
+ "lightNumber": "#111111",
49
+ "lightDiffDeleted": "#E2162A",
50
+ "lightDiffInserted": "#009432",
51
+ "lightHighlight": "#DFEFFF"
52
+ },
53
+ "theme": {
54
+ "primary": {
55
+ "dark": "blue700",
56
+ "light": "blue700"
57
+ },
58
+ "secondary": {
59
+ "dark": "darkConstant",
60
+ "light": "lightConstant"
61
+ },
62
+ "accent": {
63
+ "dark": "darkFunction",
64
+ "light": "lightFunction"
65
+ },
66
+ "error": {
67
+ "dark": "red700",
68
+ "light": "#DC3545"
69
+ },
70
+ "warning": {
71
+ "dark": "darkParameter",
72
+ "light": "lightParameter"
73
+ },
74
+ "success": {
75
+ "dark": "darkString",
76
+ "light": "lightString"
77
+ },
78
+ "info": {
79
+ "dark": "darkConstant",
80
+ "light": "lightConstant"
81
+ },
82
+ "text": {
83
+ "dark": "darkForeground",
84
+ "light": "lightForeground"
85
+ },
86
+ "textMuted": {
87
+ "dark": "darkComment",
88
+ "light": "lightComment"
89
+ },
90
+ "background": {
91
+ "dark": "background200",
92
+ "light": "lightBackground"
93
+ },
94
+ "backgroundPanel": {
95
+ "dark": "background200",
96
+ "light": "lightGray100"
97
+ },
98
+ "backgroundElement": {
99
+ "dark": "gray200",
100
+ "light": "lightGray200"
101
+ },
102
+ "border": {
103
+ "dark": "gray100",
104
+ "light": "lightGray200"
105
+ },
106
+ "borderActive": {
107
+ "dark": "gray500",
108
+ "light": "#999999"
109
+ },
110
+ "borderSubtle": {
111
+ "dark": "#111111",
112
+ "light": "#EAEAEA"
113
+ },
114
+ "diffAdded": {
115
+ "dark": "darkDiffInserted",
116
+ "light": "lightDiffInserted"
117
+ },
118
+ "diffRemoved": {
119
+ "dark": "darkDiffDeleted",
120
+ "light": "lightDiffDeleted"
121
+ },
122
+ "diffContext": {
123
+ "dark": "darkComment",
124
+ "light": "lightComment"
125
+ },
126
+ "diffHunkHeader": {
127
+ "dark": "darkComment",
128
+ "light": "lightComment"
129
+ },
130
+ "diffHighlightAdded": {
131
+ "dark": "darkDiffInserted",
132
+ "light": "lightDiffInserted"
133
+ },
134
+ "diffHighlightRemoved": {
135
+ "dark": "darkDiffDeleted",
136
+ "light": "lightDiffDeleted"
137
+ },
138
+ "diffAddedBg": {
139
+ "dark": "#041208",
140
+ "light": "#E6F9E9"
141
+ },
142
+ "diffRemovedBg": {
143
+ "dark": "#1A0809",
144
+ "light": "#FDECED"
145
+ },
146
+ "diffContextBg": {
147
+ "dark": "background200",
148
+ "light": "lightBackground"
149
+ },
150
+ "diffLineNumber": {
151
+ "dark": "darkComment",
152
+ "light": "lightComment"
153
+ },
154
+ "diffAddedLineNumberBg": {
155
+ "dark": "#06180C",
156
+ "light": "#D6F5D6"
157
+ },
158
+ "diffRemovedLineNumberBg": {
159
+ "dark": "#200A0B",
160
+ "light": "#FFE5E5"
161
+ },
162
+ "markdownText": {
163
+ "dark": "darkForeground",
164
+ "light": "lightForeground"
165
+ },
166
+ "markdownHeading": {
167
+ "dark": "darkFunction",
168
+ "light": "lightFunction"
169
+ },
170
+ "markdownLink": {
171
+ "dark": "darkString",
172
+ "light": "lightString"
173
+ },
174
+ "markdownLinkText": {
175
+ "dark": "teal900",
176
+ "light": "teal700"
177
+ },
178
+ "markdownCode": {
179
+ "dark": "darkString",
180
+ "light": "lightString"
181
+ },
182
+ "markdownBlockQuote": {
183
+ "dark": "darkComment",
184
+ "light": "lightComment"
185
+ },
186
+ "markdownEmph": {
187
+ "dark": "darkParameter",
188
+ "light": "lightParameter"
189
+ },
190
+ "markdownStrong": {
191
+ "dark": "darkKeyword",
192
+ "light": "lightKeyword"
193
+ },
194
+ "markdownHorizontalRule": {
195
+ "dark": "gray500",
196
+ "light": "#999999"
197
+ },
198
+ "markdownListItem": {
199
+ "dark": "darkForeground",
200
+ "light": "lightForeground"
201
+ },
202
+ "markdownListEnumeration": {
203
+ "dark": "darkConstant",
204
+ "light": "lightConstant"
205
+ },
206
+ "markdownImage": {
207
+ "dark": "teal900",
208
+ "light": "teal700"
209
+ },
210
+ "markdownImageText": {
211
+ "dark": "cyan",
212
+ "light": "teal700"
213
+ },
214
+ "markdownCodeBlock": {
215
+ "dark": "darkForeground",
216
+ "light": "lightForeground"
217
+ },
218
+ "syntaxComment": {
219
+ "dark": "darkComment",
220
+ "light": "lightComment"
221
+ },
222
+ "syntaxKeyword": {
223
+ "dark": "darkKeyword",
224
+ "light": "lightKeyword"
225
+ },
226
+ "syntaxFunction": {
227
+ "dark": "darkFunction",
228
+ "light": "lightFunction"
229
+ },
230
+ "syntaxVariable": {
231
+ "dark": "darkConstant",
232
+ "light": "lightConstant"
233
+ },
234
+ "syntaxString": {
235
+ "dark": "darkString",
236
+ "light": "lightString"
237
+ },
238
+ "syntaxNumber": {
239
+ "dark": "darkNumber",
240
+ "light": "lightNumber"
241
+ },
242
+ "syntaxType": {
243
+ "dark": "darkParameter",
244
+ "light": "lightParameter"
245
+ },
246
+ "syntaxOperator": {
247
+ "dark": "darkKeyword",
248
+ "light": "lightKeyword"
249
+ },
250
+ "syntaxPunctuation": {
251
+ "dark": "darkForeground",
252
+ "light": "lightForeground"
253
+ }
254
+ }
255
+ }