@mak-98/dirvi-app 0.0.0-stage → 0.11.0-beta.3

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 (81) hide show
  1. package/LICENSE +674 -0
  2. package/dist/application/create-app-api.d.ts +11 -0
  3. package/dist/application/create-app-api.d.ts.map +1 -0
  4. package/dist/application/create-app-api.js +33 -0
  5. package/dist/application/create-dirvi-api.d.ts +10 -0
  6. package/dist/application/create-dirvi-api.d.ts.map +1 -0
  7. package/dist/application/create-dirvi-api.js +23 -0
  8. package/dist/application/init-runtime.d.ts +20 -0
  9. package/dist/application/init-runtime.d.ts.map +1 -0
  10. package/dist/application/init-runtime.js +117 -0
  11. package/dist/application/package-loader.d.ts +9 -0
  12. package/dist/application/package-loader.d.ts.map +1 -0
  13. package/dist/application/package-loader.js +1 -0
  14. package/dist/application/shell-api.d.ts +5 -0
  15. package/dist/application/shell-api.d.ts.map +1 -0
  16. package/dist/application/shell-api.js +1 -0
  17. package/dist/domain/app-pack-ref.d.ts +17 -0
  18. package/dist/domain/app-pack-ref.d.ts.map +1 -0
  19. package/dist/domain/app-pack-ref.js +37 -0
  20. package/dist/domain/app.d.ts +39 -0
  21. package/dist/domain/app.d.ts.map +1 -0
  22. package/dist/domain/app.js +25 -0
  23. package/dist/domain/config.d.ts +402 -0
  24. package/dist/domain/config.d.ts.map +1 -0
  25. package/dist/domain/config.js +44 -0
  26. package/dist/domain/dirvi-api.d.ts +24 -0
  27. package/dist/domain/dirvi-api.d.ts.map +1 -0
  28. package/dist/domain/dirvi-api.js +1 -0
  29. package/dist/domain/ex-command.d.ts +12 -0
  30. package/dist/domain/ex-command.d.ts.map +1 -0
  31. package/dist/domain/ex-command.js +1 -0
  32. package/dist/domain/init-runtime.d.ts +41 -0
  33. package/dist/domain/init-runtime.d.ts.map +1 -0
  34. package/dist/domain/init-runtime.js +1 -0
  35. package/dist/domain/initialization.d.ts +20 -0
  36. package/dist/domain/initialization.d.ts.map +1 -0
  37. package/dist/domain/initialization.js +1 -0
  38. package/dist/domain/public-init-api.d.ts +42 -0
  39. package/dist/domain/public-init-api.d.ts.map +1 -0
  40. package/dist/domain/public-init-api.js +1 -0
  41. package/dist/domain/shell-api.d.ts +5 -0
  42. package/dist/domain/shell-api.d.ts.map +1 -0
  43. package/dist/domain/shell-api.js +1 -0
  44. package/dist/domain/theme.d.ts +536 -0
  45. package/dist/domain/theme.d.ts.map +1 -0
  46. package/dist/domain/theme.js +170 -0
  47. package/dist/domain/view-name-schema.d.ts +18 -0
  48. package/dist/domain/view-name-schema.d.ts.map +1 -0
  49. package/dist/domain/view-name-schema.js +68 -0
  50. package/dist/index.d.ts +19 -0
  51. package/dist/index.d.ts.map +1 -0
  52. package/dist/index.js +7 -0
  53. package/dist/theme.d.ts +536 -0
  54. package/dist/theme.d.ts.map +1 -0
  55. package/dist/theme.js +170 -0
  56. package/dist/ui/App.d.ts +18 -0
  57. package/dist/ui/App.d.ts.map +1 -0
  58. package/dist/ui/App.js +225 -0
  59. package/dist/ui/AppSetup.d.ts +17 -0
  60. package/dist/ui/AppSetup.d.ts.map +1 -0
  61. package/dist/ui/AppSetup.js +88 -0
  62. package/dist/ui/Shell.d.ts +49 -0
  63. package/dist/ui/Shell.d.ts.map +1 -0
  64. package/dist/ui/Shell.js +54 -0
  65. package/dist/ui/app-screen-renderer.d.ts +28 -0
  66. package/dist/ui/app-screen-renderer.d.ts.map +1 -0
  67. package/dist/ui/app-screen-renderer.js +1 -0
  68. package/dist/ui/color-resolver.d.ts +3 -0
  69. package/dist/ui/color-resolver.d.ts.map +1 -0
  70. package/dist/ui/color-resolver.js +61 -0
  71. package/dist/ui/hooks/useView.d.ts +4 -0
  72. package/dist/ui/hooks/useView.d.ts.map +1 -0
  73. package/dist/ui/hooks/useView.js +32 -0
  74. package/dist/ui/loading-screen-renderer.d.ts +3 -0
  75. package/dist/ui/loading-screen-renderer.d.ts.map +1 -0
  76. package/dist/ui/loading-screen-renderer.js +1 -0
  77. package/dist/ui/view.d.ts +23 -0
  78. package/dist/ui/view.d.ts.map +1 -0
  79. package/dist/ui/view.js +74 -0
  80. package/package.json +34 -3
  81. package/README.md +0 -3
@@ -0,0 +1,536 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * Named ANSI foreground colors supported by Dirvi themes.
4
+ *
5
+ * Renderers translate these symbolic names into their own color APIs. The CLI
6
+ * renderer currently maps them to terminal colors; another renderer does not
7
+ * need to depend on Chalk to interpret the same theme.
8
+ */
9
+ export declare const basicColorNames: readonly ["black", "red", "green", "yellow", "blue", "cyan", "magenta", "white", "gray", "grey", "blackBright", "redBright", "greenBright", "yellowBright", "blueBright", "cyanBright", "magentaBright", "whiteBright"];
10
+ export type BasicColorName = (typeof basicColorNames)[number];
11
+ export declare const ColorConfigSchema: z.ZodObject<{
12
+ hex: z.ZodOptional<z.ZodString>;
13
+ ansi256: z.ZodOptional<z.ZodNumber>;
14
+ basic: z.ZodOptional<z.ZodEnum<{
15
+ black: "black";
16
+ gray: "gray";
17
+ white: "white";
18
+ blue: "blue";
19
+ green: "green";
20
+ red: "red";
21
+ yellow: "yellow";
22
+ cyan: "cyan";
23
+ magenta: "magenta";
24
+ grey: "grey";
25
+ blackBright: "blackBright";
26
+ redBright: "redBright";
27
+ greenBright: "greenBright";
28
+ yellowBright: "yellowBright";
29
+ blueBright: "blueBright";
30
+ cyanBright: "cyanBright";
31
+ magentaBright: "magentaBright";
32
+ whiteBright: "whiteBright";
33
+ }>>;
34
+ }, z.core.$strip>;
35
+ export type ColorConfig = z.infer<typeof ColorConfigSchema>;
36
+ export declare const ForegroundHighlightConfigSchema: z.ZodObject<{
37
+ fg: z.ZodObject<{
38
+ hex: z.ZodOptional<z.ZodString>;
39
+ ansi256: z.ZodOptional<z.ZodNumber>;
40
+ basic: z.ZodOptional<z.ZodEnum<{
41
+ black: "black";
42
+ gray: "gray";
43
+ white: "white";
44
+ blue: "blue";
45
+ green: "green";
46
+ red: "red";
47
+ yellow: "yellow";
48
+ cyan: "cyan";
49
+ magenta: "magenta";
50
+ grey: "grey";
51
+ blackBright: "blackBright";
52
+ redBright: "redBright";
53
+ greenBright: "greenBright";
54
+ yellowBright: "yellowBright";
55
+ blueBright: "blueBright";
56
+ cyanBright: "cyanBright";
57
+ magentaBright: "magentaBright";
58
+ whiteBright: "whiteBright";
59
+ }>>;
60
+ }, z.core.$strip>;
61
+ }, z.core.$strip>;
62
+ export declare const OptionalForegroundHighlightConfigSchema: z.ZodObject<{
63
+ fg: z.ZodOptional<z.ZodObject<{
64
+ hex: z.ZodOptional<z.ZodString>;
65
+ ansi256: z.ZodOptional<z.ZodNumber>;
66
+ basic: z.ZodOptional<z.ZodEnum<{
67
+ black: "black";
68
+ gray: "gray";
69
+ white: "white";
70
+ blue: "blue";
71
+ green: "green";
72
+ red: "red";
73
+ yellow: "yellow";
74
+ cyan: "cyan";
75
+ magenta: "magenta";
76
+ grey: "grey";
77
+ blackBright: "blackBright";
78
+ redBright: "redBright";
79
+ greenBright: "greenBright";
80
+ yellowBright: "yellowBright";
81
+ blueBright: "blueBright";
82
+ cyanBright: "cyanBright";
83
+ magentaBright: "magentaBright";
84
+ whiteBright: "whiteBright";
85
+ }>>;
86
+ }, z.core.$strip>>;
87
+ }, z.core.$strip>;
88
+ export declare const BackgroundHighlightConfigSchema: z.ZodObject<{
89
+ bg: z.ZodObject<{
90
+ hex: z.ZodOptional<z.ZodString>;
91
+ ansi256: z.ZodOptional<z.ZodNumber>;
92
+ basic: z.ZodOptional<z.ZodEnum<{
93
+ black: "black";
94
+ gray: "gray";
95
+ white: "white";
96
+ blue: "blue";
97
+ green: "green";
98
+ red: "red";
99
+ yellow: "yellow";
100
+ cyan: "cyan";
101
+ magenta: "magenta";
102
+ grey: "grey";
103
+ blackBright: "blackBright";
104
+ redBright: "redBright";
105
+ greenBright: "greenBright";
106
+ yellowBright: "yellowBright";
107
+ blueBright: "blueBright";
108
+ cyanBright: "cyanBright";
109
+ magentaBright: "magentaBright";
110
+ whiteBright: "whiteBright";
111
+ }>>;
112
+ }, z.core.$strip>;
113
+ }, z.core.$strip>;
114
+ export declare const ForegroundBackgroundHighlightConfigSchema: z.ZodObject<{
115
+ fg: z.ZodObject<{
116
+ hex: z.ZodOptional<z.ZodString>;
117
+ ansi256: z.ZodOptional<z.ZodNumber>;
118
+ basic: z.ZodOptional<z.ZodEnum<{
119
+ black: "black";
120
+ gray: "gray";
121
+ white: "white";
122
+ blue: "blue";
123
+ green: "green";
124
+ red: "red";
125
+ yellow: "yellow";
126
+ cyan: "cyan";
127
+ magenta: "magenta";
128
+ grey: "grey";
129
+ blackBright: "blackBright";
130
+ redBright: "redBright";
131
+ greenBright: "greenBright";
132
+ yellowBright: "yellowBright";
133
+ blueBright: "blueBright";
134
+ cyanBright: "cyanBright";
135
+ magentaBright: "magentaBright";
136
+ whiteBright: "whiteBright";
137
+ }>>;
138
+ }, z.core.$strip>;
139
+ bg: z.ZodObject<{
140
+ hex: z.ZodOptional<z.ZodString>;
141
+ ansi256: z.ZodOptional<z.ZodNumber>;
142
+ basic: z.ZodOptional<z.ZodEnum<{
143
+ black: "black";
144
+ gray: "gray";
145
+ white: "white";
146
+ blue: "blue";
147
+ green: "green";
148
+ red: "red";
149
+ yellow: "yellow";
150
+ cyan: "cyan";
151
+ magenta: "magenta";
152
+ grey: "grey";
153
+ blackBright: "blackBright";
154
+ redBright: "redBright";
155
+ greenBright: "greenBright";
156
+ yellowBright: "yellowBright";
157
+ blueBright: "blueBright";
158
+ cyanBright: "cyanBright";
159
+ magentaBright: "magentaBright";
160
+ whiteBright: "whiteBright";
161
+ }>>;
162
+ }, z.core.$strip>;
163
+ }, z.core.$strip>;
164
+ export type ForegroundHighlightConfig = z.infer<typeof ForegroundHighlightConfigSchema>;
165
+ export type OptionalForegroundHighlightConfig = z.infer<typeof OptionalForegroundHighlightConfigSchema>;
166
+ export type BackgroundHighlightConfig = z.infer<typeof BackgroundHighlightConfigSchema>;
167
+ export type ForegroundBackgroundHighlightConfig = z.infer<typeof ForegroundBackgroundHighlightConfigSchema>;
168
+ export declare const ThemeSchema: z.ZodObject<{
169
+ statusBar: z.ZodDefault<z.ZodObject<{
170
+ command: z.ZodDefault<z.ZodObject<{
171
+ fg: z.ZodObject<{
172
+ hex: z.ZodOptional<z.ZodString>;
173
+ ansi256: z.ZodOptional<z.ZodNumber>;
174
+ basic: z.ZodOptional<z.ZodEnum<{
175
+ black: "black";
176
+ gray: "gray";
177
+ white: "white";
178
+ blue: "blue";
179
+ green: "green";
180
+ red: "red";
181
+ yellow: "yellow";
182
+ cyan: "cyan";
183
+ magenta: "magenta";
184
+ grey: "grey";
185
+ blackBright: "blackBright";
186
+ redBright: "redBright";
187
+ greenBright: "greenBright";
188
+ yellowBright: "yellowBright";
189
+ blueBright: "blueBright";
190
+ cyanBright: "cyanBright";
191
+ magentaBright: "magentaBright";
192
+ whiteBright: "whiteBright";
193
+ }>>;
194
+ }, z.core.$strip>;
195
+ }, z.core.$strip>>;
196
+ normal: z.ZodDefault<z.ZodObject<{
197
+ fg: z.ZodObject<{
198
+ hex: z.ZodOptional<z.ZodString>;
199
+ ansi256: z.ZodOptional<z.ZodNumber>;
200
+ basic: z.ZodOptional<z.ZodEnum<{
201
+ black: "black";
202
+ gray: "gray";
203
+ white: "white";
204
+ blue: "blue";
205
+ green: "green";
206
+ red: "red";
207
+ yellow: "yellow";
208
+ cyan: "cyan";
209
+ magenta: "magenta";
210
+ grey: "grey";
211
+ blackBright: "blackBright";
212
+ redBright: "redBright";
213
+ greenBright: "greenBright";
214
+ yellowBright: "yellowBright";
215
+ blueBright: "blueBright";
216
+ cyanBright: "cyanBright";
217
+ magentaBright: "magentaBright";
218
+ whiteBright: "whiteBright";
219
+ }>>;
220
+ }, z.core.$strip>;
221
+ }, z.core.$strip>>;
222
+ background: z.ZodDefault<z.ZodObject<{
223
+ bg: z.ZodObject<{
224
+ hex: z.ZodOptional<z.ZodString>;
225
+ ansi256: z.ZodOptional<z.ZodNumber>;
226
+ basic: z.ZodOptional<z.ZodEnum<{
227
+ black: "black";
228
+ gray: "gray";
229
+ white: "white";
230
+ blue: "blue";
231
+ green: "green";
232
+ red: "red";
233
+ yellow: "yellow";
234
+ cyan: "cyan";
235
+ magenta: "magenta";
236
+ grey: "grey";
237
+ blackBright: "blackBright";
238
+ redBright: "redBright";
239
+ greenBright: "greenBright";
240
+ yellowBright: "yellowBright";
241
+ blueBright: "blueBright";
242
+ cyanBright: "cyanBright";
243
+ magentaBright: "magentaBright";
244
+ whiteBright: "whiteBright";
245
+ }>>;
246
+ }, z.core.$strip>;
247
+ }, z.core.$strip>>;
248
+ }, z.core.$strip>>;
249
+ tree: z.ZodDefault<z.ZodObject<{
250
+ leaf: z.ZodDefault<z.ZodObject<{
251
+ fg: z.ZodObject<{
252
+ hex: z.ZodOptional<z.ZodString>;
253
+ ansi256: z.ZodOptional<z.ZodNumber>;
254
+ basic: z.ZodOptional<z.ZodEnum<{
255
+ black: "black";
256
+ gray: "gray";
257
+ white: "white";
258
+ blue: "blue";
259
+ green: "green";
260
+ red: "red";
261
+ yellow: "yellow";
262
+ cyan: "cyan";
263
+ magenta: "magenta";
264
+ grey: "grey";
265
+ blackBright: "blackBright";
266
+ redBright: "redBright";
267
+ greenBright: "greenBright";
268
+ yellowBright: "yellowBright";
269
+ blueBright: "blueBright";
270
+ cyanBright: "cyanBright";
271
+ magentaBright: "magentaBright";
272
+ whiteBright: "whiteBright";
273
+ }>>;
274
+ }, z.core.$strip>;
275
+ }, z.core.$strip>>;
276
+ branch: z.ZodDefault<z.ZodObject<{
277
+ fg: z.ZodObject<{
278
+ hex: z.ZodOptional<z.ZodString>;
279
+ ansi256: z.ZodOptional<z.ZodNumber>;
280
+ basic: z.ZodOptional<z.ZodEnum<{
281
+ black: "black";
282
+ gray: "gray";
283
+ white: "white";
284
+ blue: "blue";
285
+ green: "green";
286
+ red: "red";
287
+ yellow: "yellow";
288
+ cyan: "cyan";
289
+ magenta: "magenta";
290
+ grey: "grey";
291
+ blackBright: "blackBright";
292
+ redBright: "redBright";
293
+ greenBright: "greenBright";
294
+ yellowBright: "yellowBright";
295
+ blueBright: "blueBright";
296
+ cyanBright: "cyanBright";
297
+ magentaBright: "magentaBright";
298
+ whiteBright: "whiteBright";
299
+ }>>;
300
+ }, z.core.$strip>;
301
+ }, z.core.$strip>>;
302
+ folded: z.ZodDefault<z.ZodObject<{
303
+ fg: z.ZodObject<{
304
+ hex: z.ZodOptional<z.ZodString>;
305
+ ansi256: z.ZodOptional<z.ZodNumber>;
306
+ basic: z.ZodOptional<z.ZodEnum<{
307
+ black: "black";
308
+ gray: "gray";
309
+ white: "white";
310
+ blue: "blue";
311
+ green: "green";
312
+ red: "red";
313
+ yellow: "yellow";
314
+ cyan: "cyan";
315
+ magenta: "magenta";
316
+ grey: "grey";
317
+ blackBright: "blackBright";
318
+ redBright: "redBright";
319
+ greenBright: "greenBright";
320
+ yellowBright: "yellowBright";
321
+ blueBright: "blueBright";
322
+ cyanBright: "cyanBright";
323
+ magentaBright: "magentaBright";
324
+ whiteBright: "whiteBright";
325
+ }>>;
326
+ }, z.core.$strip>;
327
+ }, z.core.$strip>>;
328
+ cursorLine: z.ZodDefault<z.ZodObject<{
329
+ bg: z.ZodObject<{
330
+ hex: z.ZodOptional<z.ZodString>;
331
+ ansi256: z.ZodOptional<z.ZodNumber>;
332
+ basic: z.ZodOptional<z.ZodEnum<{
333
+ black: "black";
334
+ gray: "gray";
335
+ white: "white";
336
+ blue: "blue";
337
+ green: "green";
338
+ red: "red";
339
+ yellow: "yellow";
340
+ cyan: "cyan";
341
+ magenta: "magenta";
342
+ grey: "grey";
343
+ blackBright: "blackBright";
344
+ redBright: "redBright";
345
+ greenBright: "greenBright";
346
+ yellowBright: "yellowBright";
347
+ blueBright: "blueBright";
348
+ cyanBright: "cyanBright";
349
+ magentaBright: "magentaBright";
350
+ whiteBright: "whiteBright";
351
+ }>>;
352
+ }, z.core.$strip>;
353
+ }, z.core.$strip>>;
354
+ indentGuide: z.ZodDefault<z.ZodObject<{
355
+ fg: z.ZodOptional<z.ZodObject<{
356
+ hex: z.ZodOptional<z.ZodString>;
357
+ ansi256: z.ZodOptional<z.ZodNumber>;
358
+ basic: z.ZodOptional<z.ZodEnum<{
359
+ black: "black";
360
+ gray: "gray";
361
+ white: "white";
362
+ blue: "blue";
363
+ green: "green";
364
+ red: "red";
365
+ yellow: "yellow";
366
+ cyan: "cyan";
367
+ magenta: "magenta";
368
+ grey: "grey";
369
+ blackBright: "blackBright";
370
+ redBright: "redBright";
371
+ greenBright: "greenBright";
372
+ yellowBright: "yellowBright";
373
+ blueBright: "blueBright";
374
+ cyanBright: "cyanBright";
375
+ magentaBright: "magentaBright";
376
+ whiteBright: "whiteBright";
377
+ }>>;
378
+ }, z.core.$strip>>;
379
+ }, z.core.$strip>>;
380
+ }, z.core.$strip>>;
381
+ feedbackBar: z.ZodDefault<z.ZodObject<{
382
+ message: z.ZodDefault<z.ZodObject<{
383
+ fg: z.ZodObject<{
384
+ hex: z.ZodOptional<z.ZodString>;
385
+ ansi256: z.ZodOptional<z.ZodNumber>;
386
+ basic: z.ZodOptional<z.ZodEnum<{
387
+ black: "black";
388
+ gray: "gray";
389
+ white: "white";
390
+ blue: "blue";
391
+ green: "green";
392
+ red: "red";
393
+ yellow: "yellow";
394
+ cyan: "cyan";
395
+ magenta: "magenta";
396
+ grey: "grey";
397
+ blackBright: "blackBright";
398
+ redBright: "redBright";
399
+ greenBright: "greenBright";
400
+ yellowBright: "yellowBright";
401
+ blueBright: "blueBright";
402
+ cyanBright: "cyanBright";
403
+ magentaBright: "magentaBright";
404
+ whiteBright: "whiteBright";
405
+ }>>;
406
+ }, z.core.$strip>;
407
+ bg: z.ZodObject<{
408
+ hex: z.ZodOptional<z.ZodString>;
409
+ ansi256: z.ZodOptional<z.ZodNumber>;
410
+ basic: z.ZodOptional<z.ZodEnum<{
411
+ black: "black";
412
+ gray: "gray";
413
+ white: "white";
414
+ blue: "blue";
415
+ green: "green";
416
+ red: "red";
417
+ yellow: "yellow";
418
+ cyan: "cyan";
419
+ magenta: "magenta";
420
+ grey: "grey";
421
+ blackBright: "blackBright";
422
+ redBright: "redBright";
423
+ greenBright: "greenBright";
424
+ yellowBright: "yellowBright";
425
+ blueBright: "blueBright";
426
+ cyanBright: "cyanBright";
427
+ magentaBright: "magentaBright";
428
+ whiteBright: "whiteBright";
429
+ }>>;
430
+ }, z.core.$strip>;
431
+ }, z.core.$strip>>;
432
+ success: z.ZodDefault<z.ZodObject<{
433
+ fg: z.ZodObject<{
434
+ hex: z.ZodOptional<z.ZodString>;
435
+ ansi256: z.ZodOptional<z.ZodNumber>;
436
+ basic: z.ZodOptional<z.ZodEnum<{
437
+ black: "black";
438
+ gray: "gray";
439
+ white: "white";
440
+ blue: "blue";
441
+ green: "green";
442
+ red: "red";
443
+ yellow: "yellow";
444
+ cyan: "cyan";
445
+ magenta: "magenta";
446
+ grey: "grey";
447
+ blackBright: "blackBright";
448
+ redBright: "redBright";
449
+ greenBright: "greenBright";
450
+ yellowBright: "yellowBright";
451
+ blueBright: "blueBright";
452
+ cyanBright: "cyanBright";
453
+ magentaBright: "magentaBright";
454
+ whiteBright: "whiteBright";
455
+ }>>;
456
+ }, z.core.$strip>;
457
+ bg: z.ZodObject<{
458
+ hex: z.ZodOptional<z.ZodString>;
459
+ ansi256: z.ZodOptional<z.ZodNumber>;
460
+ basic: z.ZodOptional<z.ZodEnum<{
461
+ black: "black";
462
+ gray: "gray";
463
+ white: "white";
464
+ blue: "blue";
465
+ green: "green";
466
+ red: "red";
467
+ yellow: "yellow";
468
+ cyan: "cyan";
469
+ magenta: "magenta";
470
+ grey: "grey";
471
+ blackBright: "blackBright";
472
+ redBright: "redBright";
473
+ greenBright: "greenBright";
474
+ yellowBright: "yellowBright";
475
+ blueBright: "blueBright";
476
+ cyanBright: "cyanBright";
477
+ magentaBright: "magentaBright";
478
+ whiteBright: "whiteBright";
479
+ }>>;
480
+ }, z.core.$strip>;
481
+ }, z.core.$strip>>;
482
+ error: z.ZodDefault<z.ZodObject<{
483
+ fg: z.ZodObject<{
484
+ hex: z.ZodOptional<z.ZodString>;
485
+ ansi256: z.ZodOptional<z.ZodNumber>;
486
+ basic: z.ZodOptional<z.ZodEnum<{
487
+ black: "black";
488
+ gray: "gray";
489
+ white: "white";
490
+ blue: "blue";
491
+ green: "green";
492
+ red: "red";
493
+ yellow: "yellow";
494
+ cyan: "cyan";
495
+ magenta: "magenta";
496
+ grey: "grey";
497
+ blackBright: "blackBright";
498
+ redBright: "redBright";
499
+ greenBright: "greenBright";
500
+ yellowBright: "yellowBright";
501
+ blueBright: "blueBright";
502
+ cyanBright: "cyanBright";
503
+ magentaBright: "magentaBright";
504
+ whiteBright: "whiteBright";
505
+ }>>;
506
+ }, z.core.$strip>;
507
+ bg: z.ZodObject<{
508
+ hex: z.ZodOptional<z.ZodString>;
509
+ ansi256: z.ZodOptional<z.ZodNumber>;
510
+ basic: z.ZodOptional<z.ZodEnum<{
511
+ black: "black";
512
+ gray: "gray";
513
+ white: "white";
514
+ blue: "blue";
515
+ green: "green";
516
+ red: "red";
517
+ yellow: "yellow";
518
+ cyan: "cyan";
519
+ magenta: "magenta";
520
+ grey: "grey";
521
+ blackBright: "blackBright";
522
+ redBright: "redBright";
523
+ greenBright: "greenBright";
524
+ yellowBright: "yellowBright";
525
+ blueBright: "blueBright";
526
+ cyanBright: "cyanBright";
527
+ magentaBright: "magentaBright";
528
+ whiteBright: "whiteBright";
529
+ }>>;
530
+ }, z.core.$strip>;
531
+ }, z.core.$strip>>;
532
+ }, z.core.$strip>>;
533
+ }, z.core.$strip>;
534
+ export type Theme = z.infer<typeof ThemeSchema>;
535
+ export declare const defaultTheme: Theme;
536
+ //# sourceMappingURL=theme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../src/theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAYxB;;;;;;GAMG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