dsh-cool-theme 0.5.0 → 0.6.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.
@@ -1,846 +1,18 @@
1
1
  import type { StaticMap } from './css/primitives.js';
2
+ import { type BuiltinPresetId } from '../presets-ids.js';
2
3
  /** A fully resolved theme: one primitive map per appearance. */
3
4
  export type PresetDef = {
4
5
  label: string;
5
6
  light: StaticMap;
6
7
  dark: StaticMap;
7
8
  };
8
- export declare const PRESETS: {
9
- readonly aura: {
10
- readonly label: "Aura";
11
- readonly light: {
12
- readonly '--shiki-token-constant': "#7C3AED";
13
- readonly '--shiki-token-string': "#059669";
14
- readonly '--shiki-token-comment': "#6B7280";
15
- readonly '--shiki-token-keyword': "#C026D3";
16
- readonly '--shiki-token-parameter': "#B45309";
17
- readonly '--shiki-token-function': "#7C3AED";
18
- readonly '--shiki-token-string-expression': "#059669";
19
- readonly '--shiki-token-punctuation': "#4B5563";
20
- readonly '--shiki-token-link': "#7C3AED";
21
- };
22
- readonly dark: {
23
- readonly '--shiki-token-constant': "#FFCA85";
24
- readonly '--shiki-token-string': "#61FFCA";
25
- readonly '--shiki-token-comment': "#6C6F93";
26
- readonly '--shiki-token-keyword': "#FF61EF";
27
- readonly '--shiki-token-parameter': "#FFCA85";
28
- readonly '--shiki-token-function': "#A277FF";
29
- readonly '--shiki-token-string-expression': "#61FFCA";
30
- readonly '--shiki-token-punctuation': "#B4B7CF";
31
- readonly '--shiki-token-link': "#A277FF";
32
- };
33
- };
34
- readonly ayu: {
35
- readonly label: "Ayu";
36
- readonly light: {
37
- readonly '--shiki-token-constant': "#A37ACC";
38
- readonly '--shiki-token-string': "#6F8F00";
39
- readonly '--shiki-token-comment': "#6E7681";
40
- readonly '--shiki-token-keyword': "#C76A1A";
41
- readonly '--shiki-token-parameter': "#B87500";
42
- readonly '--shiki-token-function': "#227FC0";
43
- readonly '--shiki-token-string-expression': "#6F8F00";
44
- readonly '--shiki-token-punctuation': "#4F5964";
45
- readonly '--shiki-token-link': "#2F86B7";
46
- };
47
- readonly dark: {
48
- readonly '--shiki-token-constant': "#D2A6FF";
49
- readonly '--shiki-token-string': "#AAD94C";
50
- readonly '--shiki-token-comment': "#5A6673";
51
- readonly '--shiki-token-keyword': "#FF8F40";
52
- readonly '--shiki-token-parameter': "#FFB454";
53
- readonly '--shiki-token-function': "#59C2FF";
54
- readonly '--shiki-token-string-expression': "#AAD94C";
55
- readonly '--shiki-token-punctuation': "#D6DAE0";
56
- readonly '--shiki-token-link': "#39BAE6";
57
- };
58
- };
59
- readonly catppuccin: {
60
- readonly label: "Catppuccin";
61
- readonly light: {
62
- readonly '--shiki-token-constant': "#CA6702";
63
- readonly '--shiki-token-string': "#40A02B";
64
- readonly '--shiki-token-comment': "#6C7086";
65
- readonly '--shiki-token-keyword': "#8839EF";
66
- readonly '--shiki-token-parameter': "#1E66F5";
67
- readonly '--shiki-token-function': "#7287FD";
68
- readonly '--shiki-token-string-expression': "#40A02B";
69
- readonly '--shiki-token-punctuation': "#5C5F77";
70
- readonly '--shiki-token-link': "#04A5E5";
71
- };
72
- readonly dark: {
73
- readonly '--shiki-token-constant': "#FAB387";
74
- readonly '--shiki-token-string': "#A6D189";
75
- readonly '--shiki-token-comment': "#6C7086";
76
- readonly '--shiki-token-keyword': "#CBA6F7";
77
- readonly '--shiki-token-parameter': "#89B4FA";
78
- readonly '--shiki-token-function': "#B4BEFE";
79
- readonly '--shiki-token-string-expression': "#A6D189";
80
- readonly '--shiki-token-punctuation': "#CDD6F4";
81
- readonly '--shiki-token-link': "#89DCEB";
82
- };
83
- };
84
- readonly 'catppuccin-frappe': {
85
- readonly label: "Catppuccin Frappe";
86
- readonly light: {
87
- readonly '--shiki-token-constant': "#CA6702";
88
- readonly '--shiki-token-string': "#40A02B";
89
- readonly '--shiki-token-comment': "#6C7086";
90
- readonly '--shiki-token-keyword': "#8839EF";
91
- readonly '--shiki-token-parameter': "#1E66F5";
92
- readonly '--shiki-token-function': "#7287FD";
93
- readonly '--shiki-token-string-expression': "#40A02B";
94
- readonly '--shiki-token-punctuation': "#5C5F77";
95
- readonly '--shiki-token-link': "#04A5E5";
96
- };
97
- readonly dark: {
98
- readonly '--shiki-token-constant': "#EF9F76";
99
- readonly '--shiki-token-string': "#A6D189";
100
- readonly '--shiki-token-comment': "#838BA7";
101
- readonly '--shiki-token-keyword': "#CA9EE6";
102
- readonly '--shiki-token-parameter': "#8CAAEE";
103
- readonly '--shiki-token-function': "#BABBF1";
104
- readonly '--shiki-token-string-expression': "#A6D189";
105
- readonly '--shiki-token-punctuation': "#C6D0F5";
106
- readonly '--shiki-token-link': "#99D1DB";
107
- };
108
- };
109
- readonly 'catppuccin-macchiato': {
110
- readonly label: "Catppuccin Macchiato";
111
- readonly light: {
112
- readonly '--shiki-token-constant': "#CA6702";
113
- readonly '--shiki-token-string': "#40A02B";
114
- readonly '--shiki-token-comment': "#6C7086";
115
- readonly '--shiki-token-keyword': "#8839EF";
116
- readonly '--shiki-token-parameter': "#1E66F5";
117
- readonly '--shiki-token-function': "#7287FD";
118
- readonly '--shiki-token-string-expression': "#40A02B";
119
- readonly '--shiki-token-punctuation': "#5C5F77";
120
- readonly '--shiki-token-link': "#04A5E5";
121
- };
122
- readonly dark: {
123
- readonly '--shiki-token-constant': "#F5A97F";
124
- readonly '--shiki-token-string': "#A6DA95";
125
- readonly '--shiki-token-comment': "#8087A2";
126
- readonly '--shiki-token-keyword': "#C6A0F6";
127
- readonly '--shiki-token-parameter': "#8AADF4";
128
- readonly '--shiki-token-function': "#B7BDF8";
129
- readonly '--shiki-token-string-expression': "#A6DA95";
130
- readonly '--shiki-token-punctuation': "#CAD3F5";
131
- readonly '--shiki-token-link': "#91D7E3";
132
- };
133
- };
134
- readonly cobalt2: {
135
- readonly label: "Cobalt2";
136
- readonly light: {
137
- readonly '--shiki-token-constant': "#0054A6";
138
- readonly '--shiki-token-string': "#0E7A4A";
139
- readonly '--shiki-token-comment': "#6B7C8D";
140
- readonly '--shiki-token-keyword': "#A31515";
141
- readonly '--shiki-token-parameter': "#8A6A00";
142
- readonly '--shiki-token-function': "#0054A6";
143
- readonly '--shiki-token-string-expression': "#0E7A4A";
144
- readonly '--shiki-token-punctuation': "#334454";
145
- readonly '--shiki-token-link': "#0054A6";
146
- };
147
- readonly dark: {
148
- readonly '--shiki-token-constant': "#FFC600";
149
- readonly '--shiki-token-string': "#3AD900";
150
- readonly '--shiki-token-comment': "#7C8B9E";
151
- readonly '--shiki-token-keyword': "#FF9D00";
152
- readonly '--shiki-token-parameter': "#FFC600";
153
- readonly '--shiki-token-function': "#0088FF";
154
- readonly '--shiki-token-string-expression': "#3AD900";
155
- readonly '--shiki-token-punctuation': "#E1EFFF";
156
- readonly '--shiki-token-link': "#0088FF";
157
- };
158
- };
159
- readonly cursor: {
160
- readonly label: "Cursor";
161
- readonly light: {
162
- readonly '--shiki-token-constant': "#4F46E5";
163
- readonly '--shiki-token-string': "#059669";
164
- readonly '--shiki-token-comment': "#6B7280";
165
- readonly '--shiki-token-keyword': "#7C3AED";
166
- readonly '--shiki-token-parameter': "#B45309";
167
- readonly '--shiki-token-function': "#4F46E5";
168
- readonly '--shiki-token-string-expression': "#059669";
169
- readonly '--shiki-token-punctuation': "#3F3F46";
170
- readonly '--shiki-token-link': "#4F46E5";
171
- };
172
- readonly dark: {
173
- readonly '--shiki-token-constant': "#5E6AD2";
174
- readonly '--shiki-token-string': "#0DBF6A";
175
- readonly '--shiki-token-comment': "#6B7280";
176
- readonly '--shiki-token-keyword': "#A78BFA";
177
- readonly '--shiki-token-parameter': "#FF8A00";
178
- readonly '--shiki-token-function': "#5E6AD2";
179
- readonly '--shiki-token-string-expression': "#0DBF6A";
180
- readonly '--shiki-token-punctuation': "#A1A1AA";
181
- readonly '--shiki-token-link': "#5E6AD2";
182
- };
183
- };
184
- readonly dracula: {
185
- readonly label: "Dracula";
186
- readonly light: {
187
- readonly '--shiki-token-constant': "#6A3FB5";
188
- readonly '--shiki-token-string': "#1A7A3A";
189
- readonly '--shiki-token-comment': "#6D7A9E";
190
- readonly '--shiki-token-keyword': "#A21CAF";
191
- readonly '--shiki-token-parameter': "#B45309";
192
- readonly '--shiki-token-function': "#7C3AED";
193
- readonly '--shiki-token-string-expression': "#1A7A3A";
194
- readonly '--shiki-token-punctuation': "#44475A";
195
- readonly '--shiki-token-link': "#7C3AED";
196
- };
197
- readonly dark: {
198
- readonly '--shiki-token-constant': "#8BE9FD";
199
- readonly '--shiki-token-string': "#50FA7B";
200
- readonly '--shiki-token-comment': "#99A3C4";
201
- readonly '--shiki-token-keyword': "#FF79C6";
202
- readonly '--shiki-token-parameter': "#FFB86C";
203
- readonly '--shiki-token-function': "#BD93F9";
204
- readonly '--shiki-token-string-expression': "#50FA7B";
205
- readonly '--shiki-token-punctuation': "#F8F8F2";
206
- readonly '--shiki-token-link': "#BD93F9";
207
- };
208
- };
209
- readonly dsh: {
210
- readonly label: "DSH";
211
- readonly light: {
212
- readonly [x: string]: string;
213
- };
214
- readonly dark: {
215
- readonly [x: string]: string;
216
- };
217
- };
218
- readonly everforest: {
219
- readonly label: "Everforest";
220
- readonly light: {
221
- readonly '--shiki-token-constant': "#8DA101";
222
- readonly '--shiki-token-string': "#4D7D0F";
223
- readonly '--shiki-token-comment': "#8B9A7E";
224
- readonly '--shiki-token-keyword': "#DF69A0";
225
- readonly '--shiki-token-parameter': "#DFA000";
226
- readonly '--shiki-token-function': "#42675A";
227
- readonly '--shiki-token-string-expression': "#4D7D0F";
228
- readonly '--shiki-token-punctuation': "#5C6A72";
229
- readonly '--shiki-token-link': "#3A94C5";
230
- };
231
- readonly dark: {
232
- readonly '--shiki-token-constant': "#DBBC7F";
233
- readonly '--shiki-token-string': "#A7C080";
234
- readonly '--shiki-token-comment': "#859289";
235
- readonly '--shiki-token-keyword': "#D699B6";
236
- readonly '--shiki-token-parameter': "#E69875";
237
- readonly '--shiki-token-function': "#7FBBB3";
238
- readonly '--shiki-token-string-expression': "#A7C080";
239
- readonly '--shiki-token-punctuation': "#D3C6AA";
240
- readonly '--shiki-token-link': "#83C092";
241
- };
242
- };
243
- readonly flexoki: {
244
- readonly label: "Flexoki";
245
- readonly light: {
246
- readonly '--shiki-token-constant': "#BC5215";
247
- readonly '--shiki-token-string': "#66800B";
248
- readonly '--shiki-token-comment': "#6F6E69";
249
- readonly '--shiki-token-keyword': "#A02F6F";
250
- readonly '--shiki-token-parameter': "#AD8301";
251
- readonly '--shiki-token-function': "#205EA6";
252
- readonly '--shiki-token-string-expression': "#66800B";
253
- readonly '--shiki-token-punctuation': "#575653";
254
- readonly '--shiki-token-link': "#205EA6";
255
- };
256
- readonly dark: {
257
- readonly '--shiki-token-constant': "#DA702C";
258
- readonly '--shiki-token-string': "#879A39";
259
- readonly '--shiki-token-comment': "#6F6E69";
260
- readonly '--shiki-token-keyword': "#CE5D97";
261
- readonly '--shiki-token-parameter': "#D0A215";
262
- readonly '--shiki-token-function': "#4385BE";
263
- readonly '--shiki-token-string-expression': "#879A39";
264
- readonly '--shiki-token-punctuation': "#CECDC3";
265
- readonly '--shiki-token-link': "#4385BE";
266
- };
267
- };
268
- readonly github: {
269
- readonly label: "GitHub";
270
- readonly light: {
271
- readonly '--shiki-token-constant': "#0550AE";
272
- readonly '--shiki-token-string': "#0A3069";
273
- readonly '--shiki-token-comment': "#6E7781";
274
- readonly '--shiki-token-keyword': "#CF222E";
275
- readonly '--shiki-token-parameter': "#953800";
276
- readonly '--shiki-token-function': "#8250DF";
277
- readonly '--shiki-token-string-expression': "#1A7F37";
278
- readonly '--shiki-token-punctuation': "#656D76";
279
- readonly '--shiki-token-link': "#0969DA";
280
- };
281
- readonly dark: {
282
- readonly '--shiki-token-constant': "#79C0FF";
283
- readonly '--shiki-token-string': "#A5D6FF";
284
- readonly '--shiki-token-comment': "#8B949E";
285
- readonly '--shiki-token-keyword': "#FF7B72";
286
- readonly '--shiki-token-parameter': "#FFA657";
287
- readonly '--shiki-token-function': "#D2A8FF";
288
- readonly '--shiki-token-string-expression': "#7EE787";
289
- readonly '--shiki-token-punctuation': "#8B949E";
290
- readonly '--shiki-token-link': "#58A6FF";
291
- };
292
- };
293
- readonly gruvbox: {
294
- readonly label: "Gruvbox";
295
- readonly light: {
296
- readonly '--shiki-token-constant': "#076678";
297
- readonly '--shiki-token-string': "#79740E";
298
- readonly '--shiki-token-comment': "#928374";
299
- readonly '--shiki-token-keyword': "#9D0006";
300
- readonly '--shiki-token-parameter': "#AF3A03";
301
- readonly '--shiki-token-function': "#076678";
302
- readonly '--shiki-token-string-expression': "#79740E";
303
- readonly '--shiki-token-punctuation': "#504945";
304
- readonly '--shiki-token-link': "#076678";
305
- };
306
- readonly dark: {
307
- readonly '--shiki-token-constant': "#83A598";
308
- readonly '--shiki-token-string': "#B8BB26";
309
- readonly '--shiki-token-comment': "#B1A69B";
310
- readonly '--shiki-token-keyword': "#FB4934";
311
- readonly '--shiki-token-parameter': "#FE8019";
312
- readonly '--shiki-token-function': "#FABD2F";
313
- readonly '--shiki-token-string-expression': "#B8BB26";
314
- readonly '--shiki-token-punctuation': "#EBDBB2";
315
- readonly '--shiki-token-link': "#83A598";
316
- };
317
- };
318
- readonly kanagawa: {
319
- readonly label: "Kanagawa";
320
- readonly light: {
321
- readonly '--shiki-token-constant': "#5A6A8A";
322
- readonly '--shiki-token-string': "#587353";
323
- readonly '--shiki-token-comment': "#8A9A7B";
324
- readonly '--shiki-token-keyword': "#957FB8";
325
- readonly '--shiki-token-parameter': "#8A6A2E";
326
- readonly '--shiki-token-function': "#2D4F67";
327
- readonly '--shiki-token-string-expression': "#587353";
328
- readonly '--shiki-token-punctuation': "#43436C";
329
- readonly '--shiki-token-link': "#2D4F67";
330
- };
331
- readonly dark: {
332
- readonly '--shiki-token-constant': "#DCA561";
333
- readonly '--shiki-token-string': "#98BB6C";
334
- readonly '--shiki-token-comment': "#727169";
335
- readonly '--shiki-token-keyword': "#957FB8";
336
- readonly '--shiki-token-parameter': "#FFA066";
337
- readonly '--shiki-token-function': "#7E9CD8";
338
- readonly '--shiki-token-string-expression': "#98BB6C";
339
- readonly '--shiki-token-punctuation': "#DCD7BA";
340
- readonly '--shiki-token-link': "#7FB4CA";
341
- };
342
- };
343
- readonly 'lucent-orng': {
344
- readonly label: "Lucent Orng";
345
- readonly light: {
346
- readonly '--shiki-token-constant': "#9A3412";
347
- readonly '--shiki-token-string': "#166534";
348
- readonly '--shiki-token-comment': "#9A8B7A";
349
- readonly '--shiki-token-keyword': "#C2410C";
350
- readonly '--shiki-token-parameter': "#EA580C";
351
- readonly '--shiki-token-function': "#9A3412";
352
- readonly '--shiki-token-string-expression': "#166534";
353
- readonly '--shiki-token-punctuation': "#57534E";
354
- readonly '--shiki-token-link': "#9A3412";
355
- };
356
- readonly dark: {
357
- readonly '--shiki-token-constant': "#FB923C";
358
- readonly '--shiki-token-string': "#4ADE80";
359
- readonly '--shiki-token-comment': "#8C7A65";
360
- readonly '--shiki-token-keyword': "#FF8904";
361
- readonly '--shiki-token-parameter': "#FDBA74";
362
- readonly '--shiki-token-function': "#FF8904";
363
- readonly '--shiki-token-string-expression': "#4ADE80";
364
- readonly '--shiki-token-punctuation': "#F5E6D3";
365
- readonly '--shiki-token-link': "#FF8904";
366
- };
367
- };
368
- readonly material: {
369
- readonly label: "Material";
370
- readonly light: {
371
- readonly '--shiki-token-constant': "#1565C0";
372
- readonly '--shiki-token-string': "#2E7D32";
373
- readonly '--shiki-token-comment': "#6B7C8D";
374
- readonly '--shiki-token-keyword': "#7C4DFF";
375
- readonly '--shiki-token-parameter': "#EF6C00";
376
- readonly '--shiki-token-function': "#1565C0";
377
- readonly '--shiki-token-string-expression': "#2E7D32";
378
- readonly '--shiki-token-punctuation': "#37474F";
379
- readonly '--shiki-token-link': "#1565C0";
380
- };
381
- readonly dark: {
382
- readonly '--shiki-token-constant': "#FFCB6B";
383
- readonly '--shiki-token-string': "#C3E88D";
384
- readonly '--shiki-token-comment': "#676E95";
385
- readonly '--shiki-token-keyword': "#C792EA";
386
- readonly '--shiki-token-parameter': "#FFCB6B";
387
- readonly '--shiki-token-function': "#82AAFF";
388
- readonly '--shiki-token-string-expression': "#C3E88D";
389
- readonly '--shiki-token-punctuation': "#EEFFFF";
390
- readonly '--shiki-token-link': "#82AAFF";
391
- };
392
- };
393
- readonly matrix: {
394
- readonly label: "Matrix";
395
- readonly light: {
396
- readonly '--shiki-token-constant': "#0A5300";
397
- readonly '--shiki-token-string': "#0A7A00";
398
- readonly '--shiki-token-comment': "#5A7A5A";
399
- readonly '--shiki-token-keyword': "#0A5300";
400
- readonly '--shiki-token-parameter': "#5A7A00";
401
- readonly '--shiki-token-function': "#0A5300";
402
- readonly '--shiki-token-string-expression': "#0A7A00";
403
- readonly '--shiki-token-punctuation': "#2E3B2E";
404
- readonly '--shiki-token-link': "#0A5300";
405
- };
406
- readonly dark: {
407
- readonly '--shiki-token-constant': "#76FF03";
408
- readonly '--shiki-token-string': "#00E676";
409
- readonly '--shiki-token-comment': "#4A7A4A";
410
- readonly '--shiki-token-keyword': "#00FF41";
411
- readonly '--shiki-token-parameter': "#76FF03";
412
- readonly '--shiki-token-function': "#00FF41";
413
- readonly '--shiki-token-string-expression': "#00E676";
414
- readonly '--shiki-token-punctuation': "#CCFFCC";
415
- readonly '--shiki-token-link': "#00FF41";
416
- };
417
- };
418
- readonly mercury: {
419
- readonly label: "Mercury";
420
- readonly light: {
421
- readonly '--shiki-token-constant': "#334155";
422
- readonly '--shiki-token-string': "#047857";
423
- readonly '--shiki-token-comment': "#64748B";
424
- readonly '--shiki-token-keyword': "#7C3AED";
425
- readonly '--shiki-token-parameter': "#B45309";
426
- readonly '--shiki-token-function': "#334155";
427
- readonly '--shiki-token-string-expression': "#047857";
428
- readonly '--shiki-token-punctuation': "#334155";
429
- readonly '--shiki-token-link': "#0284C7";
430
- };
431
- readonly dark: {
432
- readonly '--shiki-token-constant': "#38BDF8";
433
- readonly '--shiki-token-string': "#34D399";
434
- readonly '--shiki-token-comment': "#64748B";
435
- readonly '--shiki-token-keyword': "#A78BFA";
436
- readonly '--shiki-token-parameter': "#FBBF24";
437
- readonly '--shiki-token-function': "#38BDF8";
438
- readonly '--shiki-token-string-expression': "#34D399";
439
- readonly '--shiki-token-punctuation': "#E2E8F0";
440
- readonly '--shiki-token-link': "#38BDF8";
441
- };
442
- };
443
- readonly monokai: {
444
- readonly label: "Monokai";
445
- readonly light: {
446
- readonly '--shiki-token-constant': "#6B42A0";
447
- readonly '--shiki-token-string': "#2A7A2A";
448
- readonly '--shiki-token-comment': "#8A8A8A";
449
- readonly '--shiki-token-keyword': "#C4265E";
450
- readonly '--shiki-token-parameter': "#B45A00";
451
- readonly '--shiki-token-function': "#6B42A0";
452
- readonly '--shiki-token-string-expression': "#2A7A2A";
453
- readonly '--shiki-token-punctuation': "#5B5956";
454
- readonly '--shiki-token-link': "#6B42A0";
455
- };
456
- readonly dark: {
457
- readonly '--shiki-token-constant': "#AB9DF2";
458
- readonly '--shiki-token-string': "#A9DC76";
459
- readonly '--shiki-token-comment': "#A9A8A7";
460
- readonly '--shiki-token-keyword': "#FF6188";
461
- readonly '--shiki-token-parameter': "#FC9867";
462
- readonly '--shiki-token-function': "#78DCE8";
463
- readonly '--shiki-token-string-expression': "#A9DC76";
464
- readonly '--shiki-token-punctuation': "#FCFCFA";
465
- readonly '--shiki-token-link': "#AB9DF2";
466
- };
467
- };
468
- readonly nightowl: {
469
- readonly label: "Night Owl";
470
- readonly light: {
471
- readonly '--shiki-token-constant': "#0B2948";
472
- readonly '--shiki-token-string': "#0A7A5A";
473
- readonly '--shiki-token-comment': "#6B7B8D";
474
- readonly '--shiki-token-keyword': "#7C3AED";
475
- readonly '--shiki-token-parameter': "#8A6A00";
476
- readonly '--shiki-token-function': "#0B2948";
477
- readonly '--shiki-token-string-expression': "#0A7A5A";
478
- readonly '--shiki-token-punctuation': "#2C3E50";
479
- readonly '--shiki-token-link': "#0B2948";
480
- };
481
- readonly dark: {
482
- readonly '--shiki-token-constant': "#FFEB95";
483
- readonly '--shiki-token-string': "#22DA6E";
484
- readonly '--shiki-token-comment': "#637777";
485
- readonly '--shiki-token-keyword': "#C792EA";
486
- readonly '--shiki-token-parameter': "#F78C6C";
487
- readonly '--shiki-token-function': "#82AAFF";
488
- readonly '--shiki-token-string-expression': "#22DA6E";
489
- readonly '--shiki-token-punctuation': "#D6DEEB";
490
- readonly '--shiki-token-link': "#7FDBCA";
491
- };
492
- };
493
- readonly nord: {
494
- readonly label: "Nord";
495
- readonly light: {
496
- readonly '--shiki-token-constant': "#2E6EA6";
497
- readonly '--shiki-token-string': "#3D7A1F";
498
- readonly '--shiki-token-comment': "#6C7A8E";
499
- readonly '--shiki-token-keyword': "#8B4A9A";
500
- readonly '--shiki-token-parameter': "#9A5D2E";
501
- readonly '--shiki-token-function': "#2F6F8A";
502
- readonly '--shiki-token-string-expression': "#3D7A1F";
503
- readonly '--shiki-token-punctuation': "#4C566A";
504
- readonly '--shiki-token-link': "#5E81AC";
505
- };
506
- readonly dark: {
507
- readonly '--shiki-token-constant': "#8BE9FD";
508
- readonly '--shiki-token-string': "#A3BE8C";
509
- readonly '--shiki-token-comment': "#99A3C4";
510
- readonly '--shiki-token-keyword': "#FF79C6";
511
- readonly '--shiki-token-parameter': "#D08770";
512
- readonly '--shiki-token-function': "#88C0D0";
513
- readonly '--shiki-token-string-expression': "#A3BE8C";
514
- readonly '--shiki-token-punctuation': "#8CA0B8";
515
- readonly '--shiki-token-link': "#88C0D0";
516
- };
517
- };
518
- readonly onedark: {
519
- readonly label: "One Dark";
520
- readonly light: {
521
- readonly '--shiki-token-constant': "#0B7EA4";
522
- readonly '--shiki-token-string': "#1F7A3A";
523
- readonly '--shiki-token-comment': "#76808F";
524
- readonly '--shiki-token-keyword': "#A626A4";
525
- readonly '--shiki-token-parameter': "#986801";
526
- readonly '--shiki-token-function': "#4078F2";
527
- readonly '--shiki-token-string-expression': "#1F7A3A";
528
- readonly '--shiki-token-punctuation': "#5C6370";
529
- readonly '--shiki-token-link': "#4078F2";
530
- };
531
- readonly dark: {
532
- readonly '--shiki-token-constant': "#56B6C2";
533
- readonly '--shiki-token-string': "#98C379";
534
- readonly '--shiki-token-comment': "#A0A6B0";
535
- readonly '--shiki-token-keyword': "#C678DD";
536
- readonly '--shiki-token-parameter': "#D19A66";
537
- readonly '--shiki-token-function': "#61AFEF";
538
- readonly '--shiki-token-string-expression': "#98C379";
539
- readonly '--shiki-token-punctuation': "#ABB2BF";
540
- readonly '--shiki-token-link': "#61AFEF";
541
- };
542
- };
543
- readonly opencode: {
544
- readonly label: "OpenCode";
545
- readonly light: {
546
- readonly '--shiki-token-constant': "#4F46E5";
547
- readonly '--shiki-token-string': "#059669";
548
- readonly '--shiki-token-comment': "#6B7280";
549
- readonly '--shiki-token-keyword': "#7C3AED";
550
- readonly '--shiki-token-parameter': "#B45309";
551
- readonly '--shiki-token-function': "#4F46E5";
552
- readonly '--shiki-token-string-expression': "#059669";
553
- readonly '--shiki-token-punctuation': "#27272A";
554
- readonly '--shiki-token-link': "#4F46E5";
555
- };
556
- readonly dark: {
557
- readonly '--shiki-token-constant': "#5E6AD2";
558
- readonly '--shiki-token-string': "#0DBF6A";
559
- readonly '--shiki-token-comment': "#6B7280";
560
- readonly '--shiki-token-keyword': "#A78BFA";
561
- readonly '--shiki-token-parameter': "#FF8A00";
562
- readonly '--shiki-token-function': "#5E6AD2";
563
- readonly '--shiki-token-string-expression': "#0DBF6A";
564
- readonly '--shiki-token-punctuation': "#A1A1AA";
565
- readonly '--shiki-token-link': "#5E6AD2";
566
- };
567
- };
568
- readonly orng: {
569
- readonly label: "Orng";
570
- readonly light: {
571
- readonly '--shiki-token-constant': "#9A3412";
572
- readonly '--shiki-token-string': "#166534";
573
- readonly '--shiki-token-comment': "#9A8B7A";
574
- readonly '--shiki-token-keyword': "#C2410C";
575
- readonly '--shiki-token-parameter': "#EA580C";
576
- readonly '--shiki-token-function': "#9A3412";
577
- readonly '--shiki-token-string-expression': "#166534";
578
- readonly '--shiki-token-punctuation': "#451A03";
579
- readonly '--shiki-token-link': "#9A3412";
580
- };
581
- readonly dark: {
582
- readonly '--shiki-token-constant': "#FF8A00";
583
- readonly '--shiki-token-string': "#22C55E";
584
- readonly '--shiki-token-comment': "#8C6A4A";
585
- readonly '--shiki-token-keyword': "#FF6B00";
586
- readonly '--shiki-token-parameter': "#FDBA74";
587
- readonly '--shiki-token-function': "#FF6B00";
588
- readonly '--shiki-token-string-expression': "#22C55E";
589
- readonly '--shiki-token-punctuation': "#FFEFD6";
590
- readonly '--shiki-token-link': "#FF6B00";
591
- };
592
- };
593
- readonly 'osaka-jade': {
594
- readonly label: "Osaka Jade";
595
- readonly light: {
596
- readonly '--shiki-token-constant': "#0F6F5C";
597
- readonly '--shiki-token-string': "#0B7A3E";
598
- readonly '--shiki-token-comment': "#6B8A7A";
599
- readonly '--shiki-token-keyword': "#0F6F5C";
600
- readonly '--shiki-token-parameter': "#8A6A00";
601
- readonly '--shiki-token-function': "#0F6F5C";
602
- readonly '--shiki-token-string-expression': "#0B7A3E";
603
- readonly '--shiki-token-punctuation': "#1A3A2A";
604
- readonly '--shiki-token-link': "#0F6F5C";
605
- };
606
- readonly dark: {
607
- readonly '--shiki-token-constant': "#6A9589";
608
- readonly '--shiki-token-string': "#98BB6C";
609
- readonly '--shiki-token-comment': "#6B8A7A";
610
- readonly '--shiki-token-keyword': "#00A86B";
611
- readonly '--shiki-token-parameter': "#E6C384";
612
- readonly '--shiki-token-function': "#00A86B";
613
- readonly '--shiki-token-string-expression': "#98BB6C";
614
- readonly '--shiki-token-punctuation': "#D0E8D8";
615
- readonly '--shiki-token-link': "#7FB4CA";
616
- };
617
- };
618
- readonly palenight: {
619
- readonly label: "Palenight";
620
- readonly light: {
621
- readonly '--shiki-token-constant': "#3A4A6B";
622
- readonly '--shiki-token-string': "#2E7D32";
623
- readonly '--shiki-token-comment': "#6B7C8D";
624
- readonly '--shiki-token-keyword': "#7C4DFF";
625
- readonly '--shiki-token-parameter': "#B47A00";
626
- readonly '--shiki-token-function': "#3A4A6B";
627
- readonly '--shiki-token-string-expression': "#2E7D32";
628
- readonly '--shiki-token-punctuation': "#3C435E";
629
- readonly '--shiki-token-link': "#3A4A6B";
630
- };
631
- readonly dark: {
632
- readonly '--shiki-token-constant': "#FFCB6B";
633
- readonly '--shiki-token-string': "#C3E88D";
634
- readonly '--shiki-token-comment': "#676E95";
635
- readonly '--shiki-token-keyword': "#C792EA";
636
- readonly '--shiki-token-parameter': "#FFCB6B";
637
- readonly '--shiki-token-function': "#82AAFF";
638
- readonly '--shiki-token-string-expression': "#C3E88D";
639
- readonly '--shiki-token-punctuation': "#A6ACCD";
640
- readonly '--shiki-token-link': "#82AAFF";
641
- };
642
- };
643
- readonly rosepine: {
644
- readonly label: "Rosé Pine";
645
- readonly light: {
646
- readonly '--shiki-token-constant': "#56949F";
647
- readonly '--shiki-token-string': "#286983";
648
- readonly '--shiki-token-comment': "#9893A5";
649
- readonly '--shiki-token-keyword': "#907AA9";
650
- readonly '--shiki-token-parameter': "#B4637A";
651
- readonly '--shiki-token-function': "#907AA9";
652
- readonly '--shiki-token-string-expression': "#286983";
653
- readonly '--shiki-token-punctuation': "#575279";
654
- readonly '--shiki-token-link': "#907AA9";
655
- };
656
- readonly dark: {
657
- readonly '--shiki-token-constant': "#9CCFD8";
658
- readonly '--shiki-token-string': "#EBBCBA";
659
- readonly '--shiki-token-comment': "#A19EB0";
660
- readonly '--shiki-token-keyword': "#C4A7E7";
661
- readonly '--shiki-token-parameter': "#EB6F92";
662
- readonly '--shiki-token-function': "#E0DEF4";
663
- readonly '--shiki-token-string-expression': "#EBBCBA";
664
- readonly '--shiki-token-punctuation': "#E0DEF4";
665
- readonly '--shiki-token-link': "#C4A7E7";
666
- };
667
- };
668
- readonly solarized: {
669
- readonly label: "Solarized";
670
- readonly light: {
671
- readonly '--shiki-token-constant': "#2AA198";
672
- readonly '--shiki-token-string': "#586E75";
673
- readonly '--shiki-token-comment': "#93A1A1";
674
- readonly '--shiki-token-keyword': "#859900";
675
- readonly '--shiki-token-parameter': "#CB4B16";
676
- readonly '--shiki-token-function': "#268BD2";
677
- readonly '--shiki-token-string-expression': "#2AA198";
678
- readonly '--shiki-token-punctuation': "#657B83";
679
- readonly '--shiki-token-link': "#268BD2";
680
- };
681
- readonly dark: {
682
- readonly '--shiki-token-constant': "#66BBB5";
683
- readonly '--shiki-token-string': "#859900";
684
- readonly '--shiki-token-comment': "#92A1A5";
685
- readonly '--shiki-token-keyword': "#268BD2";
686
- readonly '--shiki-token-parameter': "#DA7D57";
687
- readonly '--shiki-token-function': "#B58900";
688
- readonly '--shiki-token-string-expression': "#66BBB5";
689
- readonly '--shiki-token-punctuation': "#93A1A1";
690
- readonly '--shiki-token-link': "#63ABDF";
691
- };
692
- };
693
- readonly synthwave84: {
694
- readonly label: "Synthwave 84";
695
- readonly light: {
696
- readonly '--shiki-token-constant': "#6B21A8";
697
- readonly '--shiki-token-string': "#0E7A5A";
698
- readonly '--shiki-token-comment': "#8A7FA8";
699
- readonly '--shiki-token-keyword': "#C0265A";
700
- readonly '--shiki-token-parameter': "#9A6A00";
701
- readonly '--shiki-token-function': "#6B21A8";
702
- readonly '--shiki-token-string-expression': "#0E7A5A";
703
- readonly '--shiki-token-punctuation': "#3A2E4A";
704
- readonly '--shiki-token-link': "#6B21A8";
705
- };
706
- readonly dark: {
707
- readonly '--shiki-token-constant': "#FEDE5D";
708
- readonly '--shiki-token-string': "#36F9F6";
709
- readonly '--shiki-token-comment': "#848BBD";
710
- readonly '--shiki-token-keyword': "#FF7EDB";
711
- readonly '--shiki-token-parameter': "#FEDE5D";
712
- readonly '--shiki-token-function': "#FF7EDB";
713
- readonly '--shiki-token-string-expression': "#36F9F6";
714
- readonly '--shiki-token-punctuation': "#FFFFFF";
715
- readonly '--shiki-token-link': "#36F9F6";
716
- };
717
- };
718
- readonly system: {
719
- readonly label: "System";
720
- readonly light: {
721
- readonly '--shiki-token-constant': "#007AFF";
722
- readonly '--shiki-token-string': "#34C759";
723
- readonly '--shiki-token-comment': "#8E8E93";
724
- readonly '--shiki-token-keyword': "#AF52DE";
725
- readonly '--shiki-token-parameter': "#FF9500";
726
- readonly '--shiki-token-function': "#007AFF";
727
- readonly '--shiki-token-string-expression': "#34C759";
728
- readonly '--shiki-token-punctuation': "#1C1C1E";
729
- readonly '--shiki-token-link': "#007AFF";
730
- };
731
- readonly dark: {
732
- readonly '--shiki-token-constant': "#0A84FF";
733
- readonly '--shiki-token-string': "#30D158";
734
- readonly '--shiki-token-comment': "#8E8E93";
735
- readonly '--shiki-token-keyword': "#BF5AF2";
736
- readonly '--shiki-token-parameter': "#FF9F0A";
737
- readonly '--shiki-token-function': "#0A84FF";
738
- readonly '--shiki-token-string-expression': "#30D158";
739
- readonly '--shiki-token-punctuation': "#F5F5F7";
740
- readonly '--shiki-token-link': "#0A84FF";
741
- };
742
- };
743
- readonly tokyonight: {
744
- readonly label: "Tokyo Night";
745
- readonly light: {
746
- readonly '--shiki-token-constant': "#0F4B6E";
747
- readonly '--shiki-token-string': "#1A7A3A";
748
- readonly '--shiki-token-comment': "#6E7A9E";
749
- readonly '--shiki-token-keyword': "#8C4351";
750
- readonly '--shiki-token-parameter': "#965027";
751
- readonly '--shiki-token-function': "#34548A";
752
- readonly '--shiki-token-string-expression': "#1A7A3A";
753
- readonly '--shiki-token-punctuation': "#5A638C";
754
- readonly '--shiki-token-link': "#34548A";
755
- };
756
- readonly dark: {
757
- readonly '--shiki-token-constant': "#7DCFFF";
758
- readonly '--shiki-token-string': "#9ECE6A";
759
- readonly '--shiki-token-comment': "#9197B2";
760
- readonly '--shiki-token-keyword': "#BB9AF7";
761
- readonly '--shiki-token-parameter': "#FF9E64";
762
- readonly '--shiki-token-function': "#7AA2F7";
763
- readonly '--shiki-token-string-expression': "#9ECE6A";
764
- readonly '--shiki-token-punctuation': "#C0CAF5";
765
- readonly '--shiki-token-link': "#7AA2F7";
766
- };
767
- };
768
- readonly vercel: {
769
- readonly label: "Vercel";
770
- readonly light: {
771
- readonly '--shiki-token-constant': "#0070F3";
772
- readonly '--shiki-token-string': "#0A7A42";
773
- readonly '--shiki-token-comment': "#8A8A8A";
774
- readonly '--shiki-token-keyword': "#000000";
775
- readonly '--shiki-token-parameter': "#B45309";
776
- readonly '--shiki-token-function': "#0070F3";
777
- readonly '--shiki-token-string-expression': "#0A7A42";
778
- readonly '--shiki-token-punctuation': "#000000";
779
- readonly '--shiki-token-link': "#0070F3";
780
- };
781
- readonly dark: {
782
- readonly '--shiki-token-constant': "#3291FF";
783
- readonly '--shiki-token-string': "#0CCB6A";
784
- readonly '--shiki-token-comment': "#8A8A8A";
785
- readonly '--shiki-token-keyword': "#FFFFFF";
786
- readonly '--shiki-token-parameter': "#F5A623";
787
- readonly '--shiki-token-function': "#3291FF";
788
- readonly '--shiki-token-string-expression': "#0CCB6A";
789
- readonly '--shiki-token-punctuation': "#FFFFFF";
790
- readonly '--shiki-token-link': "#3291FF";
791
- };
792
- };
793
- readonly vesper: {
794
- readonly label: "Vesper";
795
- readonly light: {
796
- readonly '--shiki-token-constant': "#3A3A3A";
797
- readonly '--shiki-token-string': "#5A7A3A";
798
- readonly '--shiki-token-comment': "#8A8A8A";
799
- readonly '--shiki-token-keyword': "#3A3A3A";
800
- readonly '--shiki-token-parameter': "#8A6A2E";
801
- readonly '--shiki-token-function': "#3A3A3A";
802
- readonly '--shiki-token-string-expression': "#5A7A3A";
803
- readonly '--shiki-token-punctuation': "#2A2A2A";
804
- readonly '--shiki-token-link': "#3A3A3A";
805
- };
806
- readonly dark: {
807
- readonly '--shiki-token-constant': "#E8E8E8";
808
- readonly '--shiki-token-string': "#B8C8A8";
809
- readonly '--shiki-token-comment': "#8A8A8A";
810
- readonly '--shiki-token-keyword': "#E8E8E8";
811
- readonly '--shiki-token-parameter': "#D6C8A8";
812
- readonly '--shiki-token-function': "#E8E8E8";
813
- readonly '--shiki-token-string-expression': "#B8C8A8";
814
- readonly '--shiki-token-punctuation': "#E8E8E8";
815
- readonly '--shiki-token-link': "#E8E8E8";
816
- };
817
- };
818
- readonly zenburn: {
819
- readonly label: "Zenburn";
820
- readonly light: {
821
- readonly '--shiki-token-constant': "#2B6F6F";
822
- readonly '--shiki-token-string': "#8C3333";
823
- readonly '--shiki-token-comment': "#7A8A7A";
824
- readonly '--shiki-token-keyword': "#705040";
825
- readonly '--shiki-token-parameter': "#8F5A00";
826
- readonly '--shiki-token-function': "#2B6F6F";
827
- readonly '--shiki-token-string-expression': "#8C3333";
828
- readonly '--shiki-token-punctuation': "#5F6F5F";
829
- readonly '--shiki-token-link': "#2B6F6F";
830
- };
831
- readonly dark: {
832
- readonly '--shiki-token-constant': "#8CD0D3";
833
- readonly '--shiki-token-string': "#CC9393";
834
- readonly '--shiki-token-comment': "#7F9F7F";
835
- readonly '--shiki-token-keyword': "#F0DFAF";
836
- readonly '--shiki-token-parameter': "#D0BF8F";
837
- readonly '--shiki-token-function': "#8CD0D3";
838
- readonly '--shiki-token-string-expression': "#CC9393";
839
- readonly '--shiki-token-punctuation': "#DCDCCC";
840
- readonly '--shiki-token-link': "#8CD0D3";
841
- };
842
- };
843
- };
9
+ /**
10
+ * Every shipped preset, one entry per {@link PRESET_IDS} name. The mapped type
11
+ * makes the two lists agree at compile time: a preset without a colour map, or a
12
+ * name with no entry here, is a type error rather than a theme that goes missing
13
+ * from the picker (or from an import's validation).
14
+ */
15
+ export declare const PRESETS: Record<BuiltinPresetId, PresetDef>;
844
16
  /** `native` is a legacy storage alias for `dsh` — both mean "system default, no overrides". */
845
17
  export type PresetId = keyof typeof PRESETS | 'native';
846
18
  /**