@floegence/floe-webapp-core 0.38.0 → 0.39.0

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.
@@ -0,0 +1,859 @@
1
+ const A = [
2
+ "--background",
3
+ "--foreground",
4
+ "--primary",
5
+ "--primary-foreground",
6
+ "--secondary",
7
+ "--secondary-foreground",
8
+ "--muted",
9
+ "--muted-foreground",
10
+ "--accent",
11
+ "--accent-foreground",
12
+ "--border",
13
+ "--input",
14
+ "--ring",
15
+ "--chrome-border",
16
+ "--top-bar-border",
17
+ "--activity-bar-border",
18
+ "--bottom-bar-border",
19
+ "--terminal-panel-border",
20
+ "--card",
21
+ "--card-foreground",
22
+ "--popover",
23
+ "--popover-foreground",
24
+ "--success",
25
+ "--success-foreground",
26
+ "--warning",
27
+ "--warning-foreground",
28
+ "--error",
29
+ "--error-foreground",
30
+ "--info",
31
+ "--info-foreground",
32
+ "--highlight-block-info-accent",
33
+ "--highlight-block-warning-accent",
34
+ "--highlight-block-success-accent",
35
+ "--highlight-block-error-accent",
36
+ "--highlight-block-note-accent",
37
+ "--highlight-block-tip-accent",
38
+ "--sidebar",
39
+ "--sidebar-foreground",
40
+ "--sidebar-primary",
41
+ "--sidebar-primary-foreground",
42
+ "--sidebar-accent",
43
+ "--sidebar-accent-foreground",
44
+ "--sidebar-border",
45
+ "--sidebar-ring",
46
+ "--activity-bar",
47
+ "--activity-bar-foreground",
48
+ "--activity-bar-foreground-active",
49
+ "--activity-bar-badge",
50
+ "--activity-bar-badge-foreground",
51
+ "--terminal-background",
52
+ "--terminal-foreground",
53
+ "--chart-1",
54
+ "--chart-2",
55
+ "--chart-3",
56
+ "--chart-4",
57
+ "--chart-5",
58
+ "--selection-bg",
59
+ "--selection-fg",
60
+ "--selection-on-primary-bg",
61
+ "--selection-on-primary-fg",
62
+ "--selection-code-bg",
63
+ "--selection-code-fg"
64
+ ], s = {
65
+ success: "#287A4B",
66
+ successForeground: "#FFFFFF",
67
+ warning: "#835800",
68
+ warningForeground: "#FFFFFF",
69
+ error: "#B42318",
70
+ errorForeground: "#FFFFFF",
71
+ info: "#245B9B",
72
+ infoForeground: "#FFFFFF",
73
+ note: "#6847A0",
74
+ tip: "#1E6F73"
75
+ }, m = {
76
+ success: "#72D39C",
77
+ successForeground: "#07160E",
78
+ warning: "#F0C36A",
79
+ warningForeground: "#1B1405",
80
+ error: "#FF8A82",
81
+ errorForeground: "#210706",
82
+ info: "#79B8FF",
83
+ infoForeground: "#061321",
84
+ note: "#C19BE8",
85
+ tip: "#71C8C0"
86
+ };
87
+ function o(r) {
88
+ const e = r.mode === "light" ? s : m, n = r.mode === "light" ? { background: "#F4C95D", foreground: "#243447" } : {
89
+ background: r.background,
90
+ foreground: r.foreground
91
+ }, [t, d, F, c, u] = r.chart, a = r.syntax ?? {
92
+ comment: r.mutedForeground,
93
+ keyword: t,
94
+ string: d,
95
+ number: c,
96
+ type: F,
97
+ function: u,
98
+ constant: c
99
+ }, g = {
100
+ "--background": r.background,
101
+ "--foreground": r.foreground,
102
+ "--primary": r.primary,
103
+ "--primary-foreground": r.primaryForeground,
104
+ "--secondary": r.muted,
105
+ "--secondary-foreground": r.foreground,
106
+ "--muted": r.muted,
107
+ "--muted-foreground": r.mutedForeground,
108
+ "--accent": r.muted,
109
+ "--accent-foreground": r.foreground,
110
+ "--border": r.border,
111
+ "--input": r.input,
112
+ "--ring": r.primary,
113
+ "--chrome-border": r.border,
114
+ "--top-bar-border": r.border,
115
+ "--activity-bar-border": r.border,
116
+ "--bottom-bar-border": r.border,
117
+ "--terminal-panel-border": r.border,
118
+ "--card": r.card,
119
+ "--card-foreground": r.foreground,
120
+ "--popover": r.card,
121
+ "--popover-foreground": r.foreground,
122
+ "--success": e.success,
123
+ "--success-foreground": e.successForeground,
124
+ "--warning": e.warning,
125
+ "--warning-foreground": e.warningForeground,
126
+ "--error": e.error,
127
+ "--error-foreground": e.errorForeground,
128
+ "--info": e.info,
129
+ "--info-foreground": e.infoForeground,
130
+ "--highlight-block-info-accent": e.info,
131
+ "--highlight-block-warning-accent": e.warning,
132
+ "--highlight-block-success-accent": e.success,
133
+ "--highlight-block-error-accent": e.error,
134
+ "--highlight-block-note-accent": e.note,
135
+ "--highlight-block-tip-accent": e.tip,
136
+ "--sidebar": r.sidebar,
137
+ "--sidebar-foreground": r.foreground,
138
+ "--sidebar-primary": r.primary,
139
+ "--sidebar-primary-foreground": r.primaryForeground,
140
+ "--sidebar-accent": r.muted,
141
+ "--sidebar-accent-foreground": r.foreground,
142
+ "--sidebar-border": r.border,
143
+ "--sidebar-ring": r.primary,
144
+ "--activity-bar": r.sidebar,
145
+ "--activity-bar-foreground": r.mutedForeground,
146
+ "--activity-bar-foreground-active": r.foreground,
147
+ "--activity-bar-badge": r.primary,
148
+ "--activity-bar-badge-foreground": r.primaryForeground,
149
+ "--terminal-background": r.terminalBackground,
150
+ "--terminal-foreground": r.terminalForeground,
151
+ "--chart-1": t,
152
+ "--chart-2": d,
153
+ "--chart-3": F,
154
+ "--chart-4": c,
155
+ "--chart-5": u,
156
+ "--selection-bg": r.selectionBackground,
157
+ "--selection-fg": r.selectionForeground,
158
+ "--selection-on-primary-bg": n.background,
159
+ "--selection-on-primary-fg": n.foreground,
160
+ "--selection-code-bg": "#58A6FF",
161
+ "--selection-code-fg": "#08111D"
162
+ };
163
+ return {
164
+ name: r.name,
165
+ displayName: r.displayName,
166
+ description: r.description,
167
+ mode: r.mode,
168
+ preview: {
169
+ background: r.background,
170
+ surface: r.card,
171
+ primary: r.primary,
172
+ sidebar: r.sidebar,
173
+ border: r.border,
174
+ colors: r.chart
175
+ },
176
+ monaco: {
177
+ [r.mode]: {
178
+ base: r.mode === "light" ? "vs" : "vs-dark",
179
+ inherit: !0,
180
+ rules: [
181
+ { token: "comment", foreground: a.comment, fontStyle: "italic" },
182
+ { token: "comment.doc", foreground: a.comment, fontStyle: "italic" },
183
+ { token: "keyword", foreground: a.keyword },
184
+ { token: "keyword.control", foreground: a.keyword },
185
+ { token: "storage", foreground: a.keyword },
186
+ { token: "string", foreground: a.string },
187
+ { token: "string.escape", foreground: a.constant },
188
+ { token: "number", foreground: a.number },
189
+ { token: "constant.numeric", foreground: a.number },
190
+ { token: "type", foreground: a.type },
191
+ { token: "type.identifier", foreground: a.type },
192
+ { token: "entity.name.type", foreground: a.type },
193
+ { token: "function", foreground: a.function },
194
+ { token: "entity.name.function", foreground: a.function },
195
+ { token: "support.function", foreground: a.function },
196
+ { token: "constant.language", foreground: a.constant },
197
+ { token: "variable.predefined", foreground: a.constant }
198
+ ],
199
+ colors: {
200
+ "editor.background": r.background,
201
+ "editor.foreground": r.foreground,
202
+ "editorCursor.foreground": r.primary,
203
+ "editor.selectionBackground": r.selectionBackground,
204
+ "editor.selectionForeground": r.selectionForeground,
205
+ "editor.inactiveSelectionBackground": `${r.selectionBackground}99`,
206
+ "editor.selectionHighlightBackground": `${r.selectionBackground}66`,
207
+ "editor.lineHighlightBackground": r.muted,
208
+ "editor.lineHighlightBorder": r.border,
209
+ "editorLineNumber.foreground": r.mutedForeground,
210
+ "editorLineNumber.activeForeground": r.foreground,
211
+ "editorGutter.background": r.background,
212
+ "editorWhitespace.foreground": r.border,
213
+ "editorIndentGuide.background1": r.border,
214
+ "editorIndentGuide.activeBackground1": r.input,
215
+ "editor.findMatchBackground": r.selectionBackground,
216
+ "editor.findMatchHighlightBackground": `${r.selectionBackground}66`,
217
+ "editorBracketMatch.background": r.muted,
218
+ "editorBracketMatch.border": r.primary,
219
+ "editorWidget.background": r.card,
220
+ "editorWidget.border": r.input,
221
+ "editorSuggestWidget.background": r.card,
222
+ "editorSuggestWidget.border": r.border,
223
+ "editorSuggestWidget.selectedBackground": r.muted,
224
+ "editorHoverWidget.background": r.card,
225
+ "editorHoverWidget.border": r.border,
226
+ "editorError.foreground": e.error,
227
+ "editorWarning.foreground": e.warning,
228
+ "editorInfo.foreground": e.info,
229
+ "scrollbarSlider.background": `${r.input}66`,
230
+ "scrollbarSlider.hoverBackground": `${r.input}99`,
231
+ "scrollbarSlider.activeBackground": `${r.input}CC`
232
+ }
233
+ }
234
+ },
235
+ tokens: r.mode === "light" ? { light: g } : { dark: g }
236
+ };
237
+ }
238
+ const l = {
239
+ ...o({
240
+ name: "classic-light",
241
+ displayName: "Classic Light",
242
+ description: "The original Floe warm-paper light theme.",
243
+ mode: "light",
244
+ background: "#F3F0EC",
245
+ foreground: "#202A37",
246
+ card: "#FFFDFA",
247
+ muted: "#F2F0ED",
248
+ mutedForeground: "#5A687C",
249
+ primary: "#202A37",
250
+ primaryForeground: "#FFFDFA",
251
+ border: "#D7D2CB",
252
+ input: "#CBC4B9",
253
+ sidebar: "#EDEBE8",
254
+ terminalBackground: "#202A37",
255
+ terminalForeground: "#EBEBEB",
256
+ selectionBackground: "#2671D9",
257
+ selectionForeground: "#FFFFFF",
258
+ chart: ["#202A37", "#5A687C", "#2671D9", "#287A4B", "#835800"],
259
+ syntax: {
260
+ comment: "#5A687C",
261
+ keyword: "#005FB8",
262
+ string: "#26736F",
263
+ number: "#8A5A00",
264
+ type: "#245B9B",
265
+ function: "#6847A0",
266
+ constant: "#9C225E"
267
+ }
268
+ }),
269
+ inheritsBaseTokens: !0,
270
+ tokens: void 0
271
+ }, b = {
272
+ ...o({
273
+ name: "classic-dark",
274
+ displayName: "Classic Dark",
275
+ description: "The original Floe blue-black dark theme.",
276
+ mode: "dark",
277
+ background: "#0E121B",
278
+ foreground: "#F9FAFB",
279
+ card: "#121721",
280
+ muted: "#1B212D",
281
+ mutedForeground: "#8596AD",
282
+ primary: "#F9FAFB",
283
+ primaryForeground: "#121621",
284
+ border: "#252B37",
285
+ input: "#52627A",
286
+ sidebar: "#121721",
287
+ terminalBackground: "#0C1018",
288
+ terminalForeground: "#E8EBEE",
289
+ selectionBackground: "#2671D9",
290
+ selectionForeground: "#FFFFFF",
291
+ chart: ["#F9FAFB", "#8596AD", "#79B8FF", "#72D39C", "#F0C36A"],
292
+ syntax: {
293
+ comment: "#8596AD",
294
+ keyword: "#C19BE8",
295
+ string: "#91C980",
296
+ number: "#F0C36A",
297
+ type: "#79B8FF",
298
+ function: "#72D39C",
299
+ constant: "#FF8A82"
300
+ }
301
+ }),
302
+ inheritsBaseTokens: !0,
303
+ tokens: void 0
304
+ }, B = [
305
+ l,
306
+ o({
307
+ name: "paper",
308
+ displayName: "Paper",
309
+ description: "Warm paper and deep ink for focused reading.",
310
+ mode: "light",
311
+ background: "#F5F1E8",
312
+ foreground: "#243447",
313
+ card: "#FFFDF8",
314
+ muted: "#EAE4D8",
315
+ mutedForeground: "#5B6470",
316
+ primary: "#243447",
317
+ primaryForeground: "#FFFDF8",
318
+ border: "#CEC6B8",
319
+ input: "#7D7468",
320
+ sidebar: "#EDE7DC",
321
+ terminalBackground: "#18202B",
322
+ terminalForeground: "#EDF2F7",
323
+ selectionBackground: "#245B8A",
324
+ selectionForeground: "#FFFFFF",
325
+ chart: ["#245B8A", "#26736F", "#567832", "#8A5A00", "#7A4F78"]
326
+ }),
327
+ o({
328
+ name: "mist",
329
+ displayName: "Mist",
330
+ description: "Cool, quiet layers for monitoring and dense data.",
331
+ mode: "light",
332
+ background: "#EEF3F7",
333
+ foreground: "#1F3442",
334
+ card: "#FFFFFF",
335
+ muted: "#E2EAF0",
336
+ mutedForeground: "#536574",
337
+ primary: "#234E63",
338
+ primaryForeground: "#FFFFFF",
339
+ border: "#C5D0D8",
340
+ input: "#768895",
341
+ sidebar: "#E7EDF2",
342
+ terminalBackground: "#111D26",
343
+ terminalForeground: "#ECF4F8",
344
+ selectionBackground: "#245B9B",
345
+ selectionForeground: "#FFFFFF",
346
+ chart: ["#245B9B", "#1E6F73", "#3E6B46", "#8A5A00", "#6847A0"]
347
+ }),
348
+ o({
349
+ name: "meadow",
350
+ displayName: "Meadow",
351
+ description: "Natural greens for collaborative daily work.",
352
+ mode: "light",
353
+ background: "#EEF4EC",
354
+ foreground: "#20372D",
355
+ card: "#FBFDF9",
356
+ muted: "#E2EBDF",
357
+ mutedForeground: "#52635A",
358
+ primary: "#24523D",
359
+ primaryForeground: "#FFFFFF",
360
+ border: "#C3D0BE",
361
+ input: "#7C8C77",
362
+ sidebar: "#E5EDE2",
363
+ terminalBackground: "#10221B",
364
+ terminalForeground: "#EEF6F0",
365
+ selectionBackground: "#26734D",
366
+ selectionForeground: "#FFFFFF",
367
+ chart: ["#26734D", "#245B9B", "#8A5A00", "#A13F17", "#6847A0"]
368
+ }),
369
+ o({
370
+ name: "citrus",
371
+ displayName: "Citrus",
372
+ description: "Warm cream and amber for lively commercial work.",
373
+ mode: "light",
374
+ background: "#FFF5E1",
375
+ foreground: "#3F2D1C",
376
+ card: "#FFFEFA",
377
+ muted: "#F3E7D0",
378
+ mutedForeground: "#675B4B",
379
+ primary: "#874000",
380
+ primaryForeground: "#FFFFFF",
381
+ border: "#DBC9AA",
382
+ input: "#9F8C6C",
383
+ sidebar: "#F7EBD3",
384
+ terminalBackground: "#261A11",
385
+ terminalForeground: "#FFF5E1",
386
+ selectionBackground: "#874000",
387
+ selectionForeground: "#FFFFFF",
388
+ chart: ["#A13F17", "#245B9B", "#26734D", "#6E45A3", "#9C225E"]
389
+ }),
390
+ o({
391
+ name: "lilac",
392
+ displayName: "Lilac",
393
+ description: "Soft violet structure for creative and client work.",
394
+ mode: "light",
395
+ background: "#F5F0FA",
396
+ foreground: "#30253D",
397
+ card: "#FFFDFF",
398
+ muted: "#EAE1F2",
399
+ mutedForeground: "#62566E",
400
+ primary: "#51407E",
401
+ primaryForeground: "#FFFFFF",
402
+ border: "#D4C5DF",
403
+ input: "#9584A2",
404
+ sidebar: "#EEE6F4",
405
+ terminalBackground: "#201827",
406
+ terminalForeground: "#F7F0FB",
407
+ selectionBackground: "#51407E",
408
+ selectionForeground: "#FFFFFF",
409
+ chart: ["#3E3F9F", "#245B9B", "#26734D", "#A13F17", "#9C225E"]
410
+ }),
411
+ o({
412
+ name: "light-plus",
413
+ displayName: "Light+",
414
+ description: "VS Code clarity with crisp blue actions and neutral chrome.",
415
+ mode: "light",
416
+ background: "#FFFFFF",
417
+ foreground: "#1F1F1F",
418
+ card: "#F7F7F7",
419
+ muted: "#EDEDED",
420
+ mutedForeground: "#616161",
421
+ primary: "#005FB8",
422
+ primaryForeground: "#FFFFFF",
423
+ border: "#D4D4D4",
424
+ input: "#767676",
425
+ sidebar: "#F3F3F3",
426
+ terminalBackground: "#181818",
427
+ terminalForeground: "#CCCCCC",
428
+ selectionBackground: "#005FB8",
429
+ selectionForeground: "#FFFFFF",
430
+ chart: ["#005FB8", "#007A69", "#527A00", "#9A5D00", "#7A3E9D"],
431
+ syntax: {
432
+ comment: "#008000",
433
+ keyword: "#0000FF",
434
+ string: "#A31515",
435
+ number: "#098658",
436
+ type: "#267F99",
437
+ function: "#795E26",
438
+ constant: "#811F3F"
439
+ }
440
+ }),
441
+ o({
442
+ name: "quiet-light",
443
+ displayName: "Quiet Light",
444
+ description: "Soft gray surfaces and calm indigo for long coding sessions.",
445
+ mode: "light",
446
+ background: "#F5F5F5",
447
+ foreground: "#333333",
448
+ card: "#FFFFFF",
449
+ muted: "#E8E8E8",
450
+ mutedForeground: "#626262",
451
+ primary: "#4B61B9",
452
+ primaryForeground: "#FFFFFF",
453
+ border: "#D2D2D2",
454
+ input: "#777777",
455
+ sidebar: "#EBEBEB",
456
+ terminalBackground: "#202020",
457
+ terminalForeground: "#DADADA",
458
+ selectionBackground: "#455FA0",
459
+ selectionForeground: "#FFFFFF",
460
+ chart: ["#4B5FBF", "#26736F", "#567832", "#9A5D00", "#8A427A"],
461
+ syntax: {
462
+ comment: "#777777",
463
+ keyword: "#7A3E9D",
464
+ string: "#A31515",
465
+ number: "#098658",
466
+ type: "#267F99",
467
+ function: "#795E26",
468
+ constant: "#4B5FBF"
469
+ }
470
+ }),
471
+ o({
472
+ name: "solarized-light",
473
+ displayName: "Solarized Light",
474
+ description: "Solarized warmth with measured cyan, green, and amber syntax.",
475
+ mode: "light",
476
+ background: "#FDF6E3",
477
+ foreground: "#586E75",
478
+ card: "#FFFDF4",
479
+ muted: "#EEE8D5",
480
+ mutedForeground: "#536970",
481
+ primary: "#075E73",
482
+ primaryForeground: "#FFFFFF",
483
+ border: "#D9D1BA",
484
+ input: "#7B7464",
485
+ sidebar: "#F3ECD8",
486
+ terminalBackground: "#002B36",
487
+ terminalForeground: "#EEE8D5",
488
+ selectionBackground: "#075E73",
489
+ selectionForeground: "#FFFFFF",
490
+ chart: ["#006F8A", "#2C6E49", "#7A6A00", "#B04A00", "#6C4A9E"],
491
+ syntax: {
492
+ comment: "#657B83",
493
+ keyword: "#6C4A9E",
494
+ string: "#2C6E49",
495
+ number: "#B04A00",
496
+ type: "#006F8A",
497
+ function: "#7A6A00",
498
+ constant: "#B04A00"
499
+ }
500
+ }),
501
+ o({
502
+ name: "github-light",
503
+ displayName: "GitHub Light",
504
+ description: "Clean repository neutrals with familiar blue and green accents.",
505
+ mode: "light",
506
+ background: "#F6F8FA",
507
+ foreground: "#24292F",
508
+ card: "#FFFFFF",
509
+ muted: "#EAEEF2",
510
+ mutedForeground: "#57606A",
511
+ primary: "#0969DA",
512
+ primaryForeground: "#FFFFFF",
513
+ border: "#D0D7DE",
514
+ input: "#6E7781",
515
+ sidebar: "#F0F3F6",
516
+ terminalBackground: "#0D1117",
517
+ terminalForeground: "#C9D1D9",
518
+ selectionBackground: "#0969DA",
519
+ selectionForeground: "#FFFFFF",
520
+ chart: ["#0969DA", "#1A7F37", "#9A6700", "#CF222E", "#8250DF"],
521
+ syntax: {
522
+ comment: "#57606A",
523
+ keyword: "#CF222E",
524
+ string: "#0A3069",
525
+ number: "#0550AE",
526
+ type: "#953800",
527
+ function: "#8250DF",
528
+ constant: "#0550AE"
529
+ }
530
+ }),
531
+ o({
532
+ name: "hc-light",
533
+ displayName: "High Contrast Light",
534
+ description: "Maximum edge definition for bright environments and low vision.",
535
+ mode: "light",
536
+ background: "#FFFFFF",
537
+ foreground: "#000000",
538
+ card: "#F2F2F2",
539
+ muted: "#E0E0E0",
540
+ mutedForeground: "#333333",
541
+ primary: "#0000A8",
542
+ primaryForeground: "#FFFFFF",
543
+ border: "#000000",
544
+ input: "#000000",
545
+ sidebar: "#FFFFFF",
546
+ terminalBackground: "#000000",
547
+ terminalForeground: "#FFFFFF",
548
+ selectionBackground: "#0000A8",
549
+ selectionForeground: "#FFFFFF",
550
+ chart: ["#0000A8", "#006B3C", "#745500", "#B00020", "#6A1B9A"],
551
+ syntax: {
552
+ comment: "#005A00",
553
+ keyword: "#0000A8",
554
+ string: "#A00000",
555
+ number: "#006B3C",
556
+ type: "#005B70",
557
+ function: "#6A1B9A",
558
+ constant: "#745500"
559
+ }
560
+ }),
561
+ b,
562
+ o({
563
+ name: "ink",
564
+ displayName: "Ink",
565
+ description: "Blue-black focus with a restrained engineering blue.",
566
+ mode: "dark",
567
+ background: "#0B1420",
568
+ foreground: "#EAF2F7",
569
+ card: "#121F2D",
570
+ muted: "#1A2938",
571
+ mutedForeground: "#AAB8C7",
572
+ primary: "#86A6E7",
573
+ primaryForeground: "#0B1420",
574
+ border: "#2B3D50",
575
+ input: "#58708A",
576
+ sidebar: "#0F1B28",
577
+ terminalBackground: "#070D14",
578
+ terminalForeground: "#DFEAF1",
579
+ selectionBackground: "#395C9F",
580
+ selectionForeground: "#FFFFFF",
581
+ chart: ["#86A6E7", "#62B8C7", "#91C980", "#F1C86D", "#C19BE8"]
582
+ }),
583
+ o({
584
+ name: "slate",
585
+ displayName: "Slate",
586
+ description: "Neutral graphite layers for enterprise operations.",
587
+ mode: "dark",
588
+ background: "#171B22",
589
+ foreground: "#EEF1F5",
590
+ card: "#202832",
591
+ muted: "#29323D",
592
+ mutedForeground: "#AAB3BF",
593
+ primary: "#A8B7C8",
594
+ primaryForeground: "#171B22",
595
+ border: "#38434F",
596
+ input: "#68798C",
597
+ sidebar: "#1C222B",
598
+ terminalBackground: "#0F1217",
599
+ terminalForeground: "#E7EBEF",
600
+ selectionBackground: "#52677E",
601
+ selectionForeground: "#FFFFFF",
602
+ chart: ["#A8B7C8", "#71C8C0", "#A9C77A", "#E0B96D", "#C2A6E7"]
603
+ }),
604
+ o({
605
+ name: "forest",
606
+ displayName: "Forest",
607
+ description: "Deep greens and copper for calm live monitoring.",
608
+ mode: "dark",
609
+ background: "#0B1A17",
610
+ foreground: "#EDF6F1",
611
+ card: "#132621",
612
+ muted: "#1B312B",
613
+ mutedForeground: "#A7BDB3",
614
+ primary: "#71D0B1",
615
+ primaryForeground: "#0B1A17",
616
+ border: "#2A453C",
617
+ input: "#587C6C",
618
+ sidebar: "#10211D",
619
+ terminalBackground: "#06100E",
620
+ terminalForeground: "#E5F1EB",
621
+ selectionBackground: "#2D7D67",
622
+ selectionForeground: "#FFFFFF",
623
+ chart: ["#71D0B1", "#8FCB81", "#E5C07B", "#F08C78", "#C7A6E8"]
624
+ }),
625
+ o({
626
+ name: "ember",
627
+ displayName: "Ember",
628
+ description: "Charcoal warmth for releases and high-attention work.",
629
+ mode: "dark",
630
+ background: "#1D1115",
631
+ foreground: "#FFF1F1",
632
+ card: "#291A20",
633
+ muted: "#352329",
634
+ mutedForeground: "#C4A9B0",
635
+ primary: "#FF9B7A",
636
+ primaryForeground: "#1D1115",
637
+ border: "#4B3038",
638
+ input: "#8C6270",
639
+ sidebar: "#24171B",
640
+ terminalBackground: "#11090B",
641
+ terminalForeground: "#FBEAED",
642
+ selectionBackground: "#A94632",
643
+ selectionForeground: "#FFFFFF",
644
+ chart: ["#FF9B7A", "#7BC8FF", "#8ED081", "#F4CC75", "#D7A4F9"]
645
+ }),
646
+ o({
647
+ name: "ocean",
648
+ displayName: "Ocean",
649
+ description: "High-clarity cyan for streams, terminals, and tools.",
650
+ mode: "dark",
651
+ background: "#071A25",
652
+ foreground: "#E9F7FC",
653
+ card: "#0E2938",
654
+ muted: "#153544",
655
+ mutedForeground: "#A1BECA",
656
+ primary: "#69D4FF",
657
+ primaryForeground: "#071A25",
658
+ border: "#254657",
659
+ input: "#47788E",
660
+ sidebar: "#0A2230",
661
+ terminalBackground: "#030E14",
662
+ terminalForeground: "#E0F3FA",
663
+ selectionBackground: "#176C8E",
664
+ selectionForeground: "#FFFFFF",
665
+ chart: ["#69D4FF", "#83E1C1", "#B6D86C", "#F2C879", "#D2AEFF"]
666
+ }),
667
+ o({
668
+ name: "dark-plus",
669
+ displayName: "Dark+",
670
+ description: "The familiar VS Code dark workbench with balanced syntax color.",
671
+ mode: "dark",
672
+ background: "#1E1E1E",
673
+ foreground: "#D4D4D4",
674
+ card: "#252526",
675
+ muted: "#2D2D30",
676
+ mutedForeground: "#B4B4B4",
677
+ primary: "#3794FF",
678
+ primaryForeground: "#101010",
679
+ border: "#3F3F46",
680
+ input: "#737379",
681
+ sidebar: "#181818",
682
+ terminalBackground: "#181818",
683
+ terminalForeground: "#CCCCCC",
684
+ selectionBackground: "#264F78",
685
+ selectionForeground: "#FFFFFF",
686
+ chart: ["#569CD6", "#4EC9B0", "#B5CEA8", "#DCDCAA", "#C586C0"],
687
+ syntax: {
688
+ comment: "#6A9955",
689
+ keyword: "#C586C0",
690
+ string: "#CE9178",
691
+ number: "#B5CEA8",
692
+ type: "#4EC9B0",
693
+ function: "#DCDCAA",
694
+ constant: "#569CD6"
695
+ }
696
+ }),
697
+ o({
698
+ name: "monokai",
699
+ displayName: "Monokai",
700
+ description: "Warm charcoal with vivid pink, green, cyan, and yellow code.",
701
+ mode: "dark",
702
+ background: "#272822",
703
+ foreground: "#F8F8F2",
704
+ card: "#30312B",
705
+ muted: "#3A3B34",
706
+ mutedForeground: "#C5C8B5",
707
+ primary: "#F92672",
708
+ primaryForeground: "#11120F",
709
+ border: "#494A42",
710
+ input: "#7B7D6E",
711
+ sidebar: "#20211C",
712
+ terminalBackground: "#1D1E19",
713
+ terminalForeground: "#F8F8F2",
714
+ selectionBackground: "#5A594E",
715
+ selectionForeground: "#FFFFFF",
716
+ chart: ["#F92672", "#A6E22E", "#66D9EF", "#E6DB74", "#AE81FF"],
717
+ syntax: {
718
+ comment: "#A6A28C",
719
+ keyword: "#F92672",
720
+ string: "#A6E22E",
721
+ number: "#AE81FF",
722
+ type: "#66D9EF",
723
+ function: "#E6DB74",
724
+ constant: "#AE81FF"
725
+ }
726
+ }),
727
+ o({
728
+ name: "nord",
729
+ displayName: "Nord",
730
+ description: "Arctic blue-gray surfaces with restrained frost accents.",
731
+ mode: "dark",
732
+ background: "#2E3440",
733
+ foreground: "#ECEFF4",
734
+ card: "#3B4252",
735
+ muted: "#434C5E",
736
+ mutedForeground: "#D8DEE9",
737
+ primary: "#88C0D0",
738
+ primaryForeground: "#1B222C",
739
+ border: "#4C566A",
740
+ input: "#8B9AAF",
741
+ sidebar: "#262C36",
742
+ terminalBackground: "#242933",
743
+ terminalForeground: "#D8DEE9",
744
+ selectionBackground: "#4C668A",
745
+ selectionForeground: "#FFFFFF",
746
+ chart: ["#88C0D0", "#A3BE8C", "#EBCB8B", "#D08770", "#B48EAD"],
747
+ syntax: {
748
+ comment: "#A7B0C0",
749
+ keyword: "#B48EAD",
750
+ string: "#A3BE8C",
751
+ number: "#B48EAD",
752
+ type: "#8FBCBB",
753
+ function: "#88C0D0",
754
+ constant: "#D08770"
755
+ }
756
+ }),
757
+ o({
758
+ name: "dracula",
759
+ displayName: "Dracula",
760
+ description: "Deep violet charcoal with bright pink, green, and cyan syntax.",
761
+ mode: "dark",
762
+ background: "#282A36",
763
+ foreground: "#F8F8F2",
764
+ card: "#303341",
765
+ muted: "#3B3F51",
766
+ mutedForeground: "#C9CCD6",
767
+ primary: "#BD93F9",
768
+ primaryForeground: "#1D1E26",
769
+ border: "#44475A",
770
+ input: "#78809C",
771
+ sidebar: "#21222C",
772
+ terminalBackground: "#191A21",
773
+ terminalForeground: "#F8F8F2",
774
+ selectionBackground: "#52566D",
775
+ selectionForeground: "#FFFFFF",
776
+ chart: ["#BD93F9", "#50FA7B", "#8BE9FD", "#F1FA8C", "#FF79C6"],
777
+ syntax: {
778
+ comment: "#A7AAC0",
779
+ keyword: "#FF79C6",
780
+ string: "#F1FA8C",
781
+ number: "#BD93F9",
782
+ type: "#8BE9FD",
783
+ function: "#50FA7B",
784
+ constant: "#BD93F9"
785
+ }
786
+ }),
787
+ o({
788
+ name: "abyss",
789
+ displayName: "Abyss",
790
+ description: "Near-black ocean depth with electric cyan tool highlights.",
791
+ mode: "dark",
792
+ background: "#000C18",
793
+ foreground: "#DDEEFF",
794
+ card: "#051A28",
795
+ muted: "#0B2536",
796
+ mutedForeground: "#A7C4D8",
797
+ primary: "#00A4EF",
798
+ primaryForeground: "#00111D",
799
+ border: "#12374D",
800
+ input: "#39758F",
801
+ sidebar: "#00111D",
802
+ terminalBackground: "#00070D",
803
+ terminalForeground: "#D7E9F5",
804
+ selectionBackground: "#005A8D",
805
+ selectionForeground: "#FFFFFF",
806
+ chart: ["#00A4EF", "#22C7A9", "#A6D957", "#FFCC66", "#C792EA"],
807
+ syntax: {
808
+ comment: "#77A4BC",
809
+ keyword: "#C792EA",
810
+ string: "#A6D957",
811
+ number: "#FFCC66",
812
+ type: "#22C7A9",
813
+ function: "#00A4EF",
814
+ constant: "#FFCC66"
815
+ }
816
+ })
817
+ ], y = {
818
+ light: "classic-light",
819
+ dark: "classic-dark"
820
+ };
821
+ function p(r, e) {
822
+ const n = r.mode ?? "both";
823
+ return n === "both" || n === e;
824
+ }
825
+ function k(r, e) {
826
+ return r.filter((n) => p(n, e));
827
+ }
828
+ function E(r) {
829
+ const e = /* @__PURE__ */ new Set();
830
+ for (const n of r) {
831
+ if (e.has(n.name))
832
+ throw new Error(`Duplicate shell theme preset name: ${n.name}`);
833
+ e.add(n.name);
834
+ }
835
+ }
836
+ function i(r, e, n, t) {
837
+ const d = k(r, e);
838
+ return n && d.some((F) => F.name === n) ? n : t && d.some((F) => F.name === t) ? t : d[0]?.name;
839
+ }
840
+ function h(r, e, n = {}) {
841
+ const t = typeof r == "object" && r !== null && !Array.isArray(r) ? r : void 0, d = t?.version === 1, F = d && typeof t.light == "string" ? t.light : void 0, c = d && typeof t.dark == "string" ? t.dark : void 0;
842
+ return {
843
+ version: 1,
844
+ light: i(e, "light", F, n.light),
845
+ dark: i(e, "dark", c, n.dark)
846
+ };
847
+ }
848
+ E(B);
849
+ export {
850
+ y as BUILT_IN_SHELL_THEME_DEFAULTS,
851
+ A as REQUIRED_SHELL_THEME_TOKENS,
852
+ E as assertUniqueThemePresetNames,
853
+ B as builtInShellThemePresets,
854
+ o as createShellThemePreset,
855
+ k as getShellThemePresetsForMode,
856
+ h as normalizeShellThemeSelection,
857
+ p as presetSupportsMode,
858
+ i as resolveShellThemePresetName
859
+ };