@hanzo/ui 8.0.51 → 8.0.53

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.
@@ -55,7 +55,588 @@ export declare const config: import("@hanzogui/web").GuiInternalConfig<{
55
55
  $19: number;
56
56
  $20: number;
57
57
  };
58
- }, import("@hanzogui/config/v5").V5Themes, {
58
+ }, {
59
+ dark: {
60
+ color4: string;
61
+ borderColor: string;
62
+ color12: string;
63
+ accentBackground: string;
64
+ accentColor: string;
65
+ background0: string;
66
+ background02: string;
67
+ background04: string;
68
+ background06: string;
69
+ background08: string;
70
+ color1: string;
71
+ color2: string;
72
+ color3: string;
73
+ color5: string;
74
+ color6: string;
75
+ color7: string;
76
+ color8: string;
77
+ color9: string;
78
+ color10: string;
79
+ color11: string;
80
+ color0: string;
81
+ color02: string;
82
+ color04: string;
83
+ color06: string;
84
+ color08: string;
85
+ color: string;
86
+ colorHover: string;
87
+ colorPress: string;
88
+ colorFocus: string;
89
+ background: string;
90
+ backgroundHover: string;
91
+ backgroundPress: string;
92
+ backgroundFocus: string;
93
+ backgroundActive: string;
94
+ borderColorHover: string;
95
+ borderColorFocus: string;
96
+ borderColorPress: string;
97
+ placeholderColor: string;
98
+ colorTransparent: string;
99
+ black1: string;
100
+ black2: string;
101
+ black3: string;
102
+ black4: string;
103
+ black5: string;
104
+ black6: string;
105
+ black7: string;
106
+ black8: string;
107
+ black9: string;
108
+ black10: string;
109
+ black11: string;
110
+ black12: string;
111
+ white1: string;
112
+ white2: string;
113
+ white3: string;
114
+ white4: string;
115
+ white5: string;
116
+ white6: string;
117
+ white7: string;
118
+ white8: string;
119
+ white9: string;
120
+ white10: string;
121
+ white11: string;
122
+ white12: string;
123
+ white: string;
124
+ white0: string;
125
+ white02: string;
126
+ white04: string;
127
+ white06: string;
128
+ white08: string;
129
+ black: string;
130
+ black0: string;
131
+ black02: string;
132
+ black04: string;
133
+ black06: string;
134
+ black08: string;
135
+ shadow1: string;
136
+ shadow2: string;
137
+ shadow3: string;
138
+ shadow4: string;
139
+ shadow5: string;
140
+ shadow6: string;
141
+ shadow7: string;
142
+ shadow8: string;
143
+ highlight1: string;
144
+ highlight2: string;
145
+ highlight3: string;
146
+ highlight4: string;
147
+ highlight5: string;
148
+ highlight6: string;
149
+ highlight7: string;
150
+ highlight8: string;
151
+ shadowColor: string;
152
+ gray1: string;
153
+ gray2: string;
154
+ gray3: string;
155
+ gray4: string;
156
+ gray5: string;
157
+ gray6: string;
158
+ gray7: string;
159
+ gray8: string;
160
+ gray9: string;
161
+ gray10: string;
162
+ gray11: string;
163
+ gray12: string;
164
+ blue1: string;
165
+ blue2: string;
166
+ blue3: string;
167
+ blue4: string;
168
+ blue5: string;
169
+ blue6: string;
170
+ blue7: string;
171
+ blue8: string;
172
+ blue9: string;
173
+ blue10: string;
174
+ blue11: string;
175
+ blue12: string;
176
+ red1: string;
177
+ red2: string;
178
+ red3: string;
179
+ red4: string;
180
+ red5: string;
181
+ red6: string;
182
+ red7: string;
183
+ red8: string;
184
+ red9: string;
185
+ red10: string;
186
+ red11: string;
187
+ red12: string;
188
+ yellow1: string;
189
+ yellow2: string;
190
+ yellow3: string;
191
+ yellow4: string;
192
+ yellow5: string;
193
+ yellow6: string;
194
+ yellow7: string;
195
+ yellow8: string;
196
+ yellow9: string;
197
+ yellow10: string;
198
+ yellow11: string;
199
+ yellow12: string;
200
+ green1: string;
201
+ green2: string;
202
+ green3: string;
203
+ green4: string;
204
+ green5: string;
205
+ green6: string;
206
+ green7: string;
207
+ green8: string;
208
+ green9: string;
209
+ green10: string;
210
+ green11: string;
211
+ green12: string;
212
+ orange1: string;
213
+ orange2: string;
214
+ orange3: string;
215
+ orange4: string;
216
+ orange5: string;
217
+ orange6: string;
218
+ orange7: string;
219
+ orange8: string;
220
+ orange9: string;
221
+ orange10: string;
222
+ orange11: string;
223
+ orange12: string;
224
+ pink1: string;
225
+ pink2: string;
226
+ pink3: string;
227
+ pink4: string;
228
+ pink5: string;
229
+ pink6: string;
230
+ pink7: string;
231
+ pink8: string;
232
+ pink9: string;
233
+ pink10: string;
234
+ pink11: string;
235
+ pink12: string;
236
+ purple1: string;
237
+ purple2: string;
238
+ purple3: string;
239
+ purple4: string;
240
+ purple5: string;
241
+ purple6: string;
242
+ purple7: string;
243
+ purple8: string;
244
+ purple9: string;
245
+ purple10: string;
246
+ purple11: string;
247
+ purple12: string;
248
+ teal1: string;
249
+ teal2: string;
250
+ teal3: string;
251
+ teal4: string;
252
+ teal5: string;
253
+ teal6: string;
254
+ teal7: string;
255
+ teal8: string;
256
+ teal9: string;
257
+ teal10: string;
258
+ teal11: string;
259
+ teal12: string;
260
+ neutral1: string;
261
+ neutral2: string;
262
+ neutral3: string;
263
+ neutral4: string;
264
+ neutral5: string;
265
+ neutral6: string;
266
+ neutral7: string;
267
+ neutral8: string;
268
+ neutral9: string;
269
+ neutral10: string;
270
+ neutral11: string;
271
+ neutral12: string;
272
+ accent1: string;
273
+ accent2: string;
274
+ accent3: string;
275
+ accent4: string;
276
+ accent5: string;
277
+ accent6: string;
278
+ accent7: string;
279
+ accent8: string;
280
+ accent9: string;
281
+ accent10: string;
282
+ accent11: string;
283
+ accent12: string;
284
+ color01: string;
285
+ color0075: string;
286
+ color005: string;
287
+ color0025: string;
288
+ color002: string;
289
+ color001: string;
290
+ background01: string;
291
+ background0075: string;
292
+ background005: string;
293
+ background0025: string;
294
+ background002: string;
295
+ background001: string;
296
+ outlineColor: string;
297
+ };
298
+ light: {
299
+ color4: string;
300
+ borderColor: string;
301
+ color12: string;
302
+ accentBackground: string;
303
+ accentColor: string;
304
+ background0: string;
305
+ background02: string;
306
+ background04: string;
307
+ background06: string;
308
+ background08: string;
309
+ color1: string;
310
+ color2: string;
311
+ color3: string;
312
+ color5: string;
313
+ color6: string;
314
+ color7: string;
315
+ color8: string;
316
+ color9: string;
317
+ color10: string;
318
+ color11: string;
319
+ color0: string;
320
+ color02: string;
321
+ color04: string;
322
+ color06: string;
323
+ color08: string;
324
+ color: string;
325
+ colorHover: string;
326
+ colorPress: string;
327
+ colorFocus: string;
328
+ background: string;
329
+ backgroundHover: string;
330
+ backgroundPress: string;
331
+ backgroundFocus: string;
332
+ backgroundActive: string;
333
+ borderColorHover: string;
334
+ borderColorFocus: string;
335
+ borderColorPress: string;
336
+ placeholderColor: string;
337
+ colorTransparent: string;
338
+ black1: string;
339
+ black2: string;
340
+ black3: string;
341
+ black4: string;
342
+ black5: string;
343
+ black6: string;
344
+ black7: string;
345
+ black8: string;
346
+ black9: string;
347
+ black10: string;
348
+ black11: string;
349
+ black12: string;
350
+ white1: string;
351
+ white2: string;
352
+ white3: string;
353
+ white4: string;
354
+ white5: string;
355
+ white6: string;
356
+ white7: string;
357
+ white8: string;
358
+ white9: string;
359
+ white10: string;
360
+ white11: string;
361
+ white12: string;
362
+ white: string;
363
+ white0: string;
364
+ white02: string;
365
+ white04: string;
366
+ white06: string;
367
+ white08: string;
368
+ black: string;
369
+ black0: string;
370
+ black02: string;
371
+ black04: string;
372
+ black06: string;
373
+ black08: string;
374
+ shadow1: string;
375
+ shadow2: string;
376
+ shadow3: string;
377
+ shadow4: string;
378
+ shadow5: string;
379
+ shadow6: string;
380
+ shadow7: string;
381
+ shadow8: string;
382
+ highlight1: string;
383
+ highlight2: string;
384
+ highlight3: string;
385
+ highlight4: string;
386
+ highlight5: string;
387
+ highlight6: string;
388
+ highlight7: string;
389
+ highlight8: string;
390
+ shadowColor: string;
391
+ gray1: string;
392
+ gray2: string;
393
+ gray3: string;
394
+ gray4: string;
395
+ gray5: string;
396
+ gray6: string;
397
+ gray7: string;
398
+ gray8: string;
399
+ gray9: string;
400
+ gray10: string;
401
+ gray11: string;
402
+ gray12: string;
403
+ blue1: string;
404
+ blue2: string;
405
+ blue3: string;
406
+ blue4: string;
407
+ blue5: string;
408
+ blue6: string;
409
+ blue7: string;
410
+ blue8: string;
411
+ blue9: string;
412
+ blue10: string;
413
+ blue11: string;
414
+ blue12: string;
415
+ red1: string;
416
+ red2: string;
417
+ red3: string;
418
+ red4: string;
419
+ red5: string;
420
+ red6: string;
421
+ red7: string;
422
+ red8: string;
423
+ red9: string;
424
+ red10: string;
425
+ red11: string;
426
+ red12: string;
427
+ yellow1: string;
428
+ yellow2: string;
429
+ yellow3: string;
430
+ yellow4: string;
431
+ yellow5: string;
432
+ yellow6: string;
433
+ yellow7: string;
434
+ yellow8: string;
435
+ yellow9: string;
436
+ yellow10: string;
437
+ yellow11: string;
438
+ yellow12: string;
439
+ green1: string;
440
+ green2: string;
441
+ green3: string;
442
+ green4: string;
443
+ green5: string;
444
+ green6: string;
445
+ green7: string;
446
+ green8: string;
447
+ green9: string;
448
+ green10: string;
449
+ green11: string;
450
+ green12: string;
451
+ orange1: string;
452
+ orange2: string;
453
+ orange3: string;
454
+ orange4: string;
455
+ orange5: string;
456
+ orange6: string;
457
+ orange7: string;
458
+ orange8: string;
459
+ orange9: string;
460
+ orange10: string;
461
+ orange11: string;
462
+ orange12: string;
463
+ pink1: string;
464
+ pink2: string;
465
+ pink3: string;
466
+ pink4: string;
467
+ pink5: string;
468
+ pink6: string;
469
+ pink7: string;
470
+ pink8: string;
471
+ pink9: string;
472
+ pink10: string;
473
+ pink11: string;
474
+ pink12: string;
475
+ purple1: string;
476
+ purple2: string;
477
+ purple3: string;
478
+ purple4: string;
479
+ purple5: string;
480
+ purple6: string;
481
+ purple7: string;
482
+ purple8: string;
483
+ purple9: string;
484
+ purple10: string;
485
+ purple11: string;
486
+ purple12: string;
487
+ teal1: string;
488
+ teal2: string;
489
+ teal3: string;
490
+ teal4: string;
491
+ teal5: string;
492
+ teal6: string;
493
+ teal7: string;
494
+ teal8: string;
495
+ teal9: string;
496
+ teal10: string;
497
+ teal11: string;
498
+ teal12: string;
499
+ neutral1: string;
500
+ neutral2: string;
501
+ neutral3: string;
502
+ neutral4: string;
503
+ neutral5: string;
504
+ neutral6: string;
505
+ neutral7: string;
506
+ neutral8: string;
507
+ neutral9: string;
508
+ neutral10: string;
509
+ neutral11: string;
510
+ neutral12: string;
511
+ accent1: string;
512
+ accent2: string;
513
+ accent3: string;
514
+ accent4: string;
515
+ accent5: string;
516
+ accent6: string;
517
+ accent7: string;
518
+ accent8: string;
519
+ accent9: string;
520
+ accent10: string;
521
+ accent11: string;
522
+ accent12: string;
523
+ color01: string;
524
+ color0075: string;
525
+ color005: string;
526
+ color0025: string;
527
+ color002: string;
528
+ color001: string;
529
+ background01: string;
530
+ background0075: string;
531
+ background005: string;
532
+ background0025: string;
533
+ background002: string;
534
+ background001: string;
535
+ outlineColor: string;
536
+ };
537
+ light_accent: import("@hanzogui/config/v5").V5Theme;
538
+ dark_accent: import("@hanzogui/config/v5").V5Theme;
539
+ light_black: import("@hanzogui/config/v5").V5Theme;
540
+ light_white: import("@hanzogui/config/v5").V5Theme;
541
+ light_gray: import("@hanzogui/config/v5").V5Theme;
542
+ light_blue: import("@hanzogui/config/v5").V5Theme;
543
+ light_red: import("@hanzogui/config/v5").V5Theme;
544
+ light_yellow: import("@hanzogui/config/v5").V5Theme;
545
+ light_green: import("@hanzogui/config/v5").V5Theme;
546
+ light_orange: import("@hanzogui/config/v5").V5Theme;
547
+ light_pink: import("@hanzogui/config/v5").V5Theme;
548
+ light_purple: import("@hanzogui/config/v5").V5Theme;
549
+ light_teal: import("@hanzogui/config/v5").V5Theme;
550
+ light_neutral: import("@hanzogui/config/v5").V5Theme;
551
+ dark_black: import("@hanzogui/config/v5").V5Theme;
552
+ dark_white: import("@hanzogui/config/v5").V5Theme;
553
+ dark_gray: import("@hanzogui/config/v5").V5Theme;
554
+ dark_blue: import("@hanzogui/config/v5").V5Theme;
555
+ dark_red: import("@hanzogui/config/v5").V5Theme;
556
+ dark_yellow: import("@hanzogui/config/v5").V5Theme;
557
+ dark_green: import("@hanzogui/config/v5").V5Theme;
558
+ dark_orange: import("@hanzogui/config/v5").V5Theme;
559
+ dark_pink: import("@hanzogui/config/v5").V5Theme;
560
+ dark_purple: import("@hanzogui/config/v5").V5Theme;
561
+ dark_teal: import("@hanzogui/config/v5").V5Theme;
562
+ dark_neutral: import("@hanzogui/config/v5").V5Theme;
563
+ light_surface1: import("@hanzogui/config/v5").V5Theme;
564
+ light_white_surface1: import("@hanzogui/config/v5").V5Theme;
565
+ light_surface2: import("@hanzogui/config/v5").V5Theme;
566
+ light_white_surface2: import("@hanzogui/config/v5").V5Theme;
567
+ dark_surface1: import("@hanzogui/config/v5").V5Theme;
568
+ dark_black_surface1: import("@hanzogui/config/v5").V5Theme;
569
+ dark_surface2: import("@hanzogui/config/v5").V5Theme;
570
+ dark_black_surface2: import("@hanzogui/config/v5").V5Theme;
571
+ light_black_accent: import("@hanzogui/config/v5").V5Theme;
572
+ light_black_surface1: import("@hanzogui/config/v5").V5Theme;
573
+ light_black_surface2: import("@hanzogui/config/v5").V5Theme;
574
+ light_white_accent: import("@hanzogui/config/v5").V5Theme;
575
+ light_gray_accent: import("@hanzogui/config/v5").V5Theme;
576
+ light_gray_surface1: import("@hanzogui/config/v5").V5Theme;
577
+ light_gray_surface2: import("@hanzogui/config/v5").V5Theme;
578
+ light_blue_accent: import("@hanzogui/config/v5").V5Theme;
579
+ light_blue_surface1: import("@hanzogui/config/v5").V5Theme;
580
+ light_blue_surface2: import("@hanzogui/config/v5").V5Theme;
581
+ light_red_accent: import("@hanzogui/config/v5").V5Theme;
582
+ light_red_surface1: import("@hanzogui/config/v5").V5Theme;
583
+ light_red_surface2: import("@hanzogui/config/v5").V5Theme;
584
+ light_yellow_accent: import("@hanzogui/config/v5").V5Theme;
585
+ light_yellow_surface1: import("@hanzogui/config/v5").V5Theme;
586
+ light_yellow_surface2: import("@hanzogui/config/v5").V5Theme;
587
+ light_green_accent: import("@hanzogui/config/v5").V5Theme;
588
+ light_green_surface1: import("@hanzogui/config/v5").V5Theme;
589
+ light_green_surface2: import("@hanzogui/config/v5").V5Theme;
590
+ light_orange_accent: import("@hanzogui/config/v5").V5Theme;
591
+ light_orange_surface1: import("@hanzogui/config/v5").V5Theme;
592
+ light_orange_surface2: import("@hanzogui/config/v5").V5Theme;
593
+ light_pink_accent: import("@hanzogui/config/v5").V5Theme;
594
+ light_pink_surface1: import("@hanzogui/config/v5").V5Theme;
595
+ light_pink_surface2: import("@hanzogui/config/v5").V5Theme;
596
+ light_purple_accent: import("@hanzogui/config/v5").V5Theme;
597
+ light_purple_surface1: import("@hanzogui/config/v5").V5Theme;
598
+ light_purple_surface2: import("@hanzogui/config/v5").V5Theme;
599
+ light_teal_accent: import("@hanzogui/config/v5").V5Theme;
600
+ light_teal_surface1: import("@hanzogui/config/v5").V5Theme;
601
+ light_teal_surface2: import("@hanzogui/config/v5").V5Theme;
602
+ light_neutral_accent: import("@hanzogui/config/v5").V5Theme;
603
+ light_neutral_surface1: import("@hanzogui/config/v5").V5Theme;
604
+ light_neutral_surface2: import("@hanzogui/config/v5").V5Theme;
605
+ dark_black_accent: import("@hanzogui/config/v5").V5Theme;
606
+ dark_white_accent: import("@hanzogui/config/v5").V5Theme;
607
+ dark_white_surface1: import("@hanzogui/config/v5").V5Theme;
608
+ dark_white_surface2: import("@hanzogui/config/v5").V5Theme;
609
+ dark_gray_accent: import("@hanzogui/config/v5").V5Theme;
610
+ dark_gray_surface1: import("@hanzogui/config/v5").V5Theme;
611
+ dark_gray_surface2: import("@hanzogui/config/v5").V5Theme;
612
+ dark_blue_accent: import("@hanzogui/config/v5").V5Theme;
613
+ dark_blue_surface1: import("@hanzogui/config/v5").V5Theme;
614
+ dark_blue_surface2: import("@hanzogui/config/v5").V5Theme;
615
+ dark_red_accent: import("@hanzogui/config/v5").V5Theme;
616
+ dark_red_surface1: import("@hanzogui/config/v5").V5Theme;
617
+ dark_red_surface2: import("@hanzogui/config/v5").V5Theme;
618
+ dark_yellow_accent: import("@hanzogui/config/v5").V5Theme;
619
+ dark_yellow_surface1: import("@hanzogui/config/v5").V5Theme;
620
+ dark_yellow_surface2: import("@hanzogui/config/v5").V5Theme;
621
+ dark_green_accent: import("@hanzogui/config/v5").V5Theme;
622
+ dark_green_surface1: import("@hanzogui/config/v5").V5Theme;
623
+ dark_green_surface2: import("@hanzogui/config/v5").V5Theme;
624
+ dark_orange_accent: import("@hanzogui/config/v5").V5Theme;
625
+ dark_orange_surface1: import("@hanzogui/config/v5").V5Theme;
626
+ dark_orange_surface2: import("@hanzogui/config/v5").V5Theme;
627
+ dark_pink_accent: import("@hanzogui/config/v5").V5Theme;
628
+ dark_pink_surface1: import("@hanzogui/config/v5").V5Theme;
629
+ dark_pink_surface2: import("@hanzogui/config/v5").V5Theme;
630
+ dark_purple_accent: import("@hanzogui/config/v5").V5Theme;
631
+ dark_purple_surface1: import("@hanzogui/config/v5").V5Theme;
632
+ dark_purple_surface2: import("@hanzogui/config/v5").V5Theme;
633
+ dark_teal_accent: import("@hanzogui/config/v5").V5Theme;
634
+ dark_teal_surface1: import("@hanzogui/config/v5").V5Theme;
635
+ dark_teal_surface2: import("@hanzogui/config/v5").V5Theme;
636
+ dark_neutral_accent: import("@hanzogui/config/v5").V5Theme;
637
+ dark_neutral_surface1: import("@hanzogui/config/v5").V5Theme;
638
+ dark_neutral_surface2: import("@hanzogui/config/v5").V5Theme;
639
+ }, {
59
640
  text: "textAlign";
60
641
  b: "bottom";
61
642
  bg: "backgroundColor";
@@ -1 +1 @@
1
- {"version":3,"file":"gui-config.d.ts","sourceRoot":"","sources":["../src/gui-config.ts"],"names":[],"mappings":"AAqJA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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-138,8 +138,55 @@ for (const [k, v] of Object.entries(STEP)) {
138
138
  }
139
139
  space.$true = STEP['4'];
140
140
  space['-true'] = -STEP['4'];
141
+ /**
142
+ * TWO RUNGS OF THE NUMBERED RAMP UNDID A TOKEN DECISION, so they are re-based.
143
+ *
144
+ * `$color1..$color12` is a generic monotonic ramp inherited from upstream
145
+ * `@hanzogui/themes` — a scale, not this system's token layer. Most of it is
146
+ * harmless: a ramp of greys is a ramp of greys. Two rungs are not, because
147
+ * every component in this package reads them by name and @hanzo/design had
148
+ * already decided each one the other way, in writing:
149
+ *
150
+ * `$borderColor` (= `$color4`) shipped `hsla(0, 0%, 14%, 1)` — a SOLID edge.
151
+ * design's `colors.css` spends a paragraph on why its borders are alpha: a
152
+ * solid hex hairline vanishes the moment it lands on a lifted surface,
153
+ * because it stops being a lighter line and becomes an unrelated grey. Nearly
154
+ * every component here (Button, Input, Card, Select, Dialog, Popover,
155
+ * Tooltip, Switch, Checkbox, DropdownMenu) draws its edge with it.
156
+ *
157
+ * `$color12` shipped `hsla(0, 0%, 100%, 1)` — PURE WHITE, and it is the label
158
+ * colour for Button's default/primary, for every Badge, and for the `accent`
159
+ * recipe, the one loud control a page is allowed. design sets `--foreground`
160
+ * to `#fafafa` on purpose: pure white halates on near-black.
161
+ *
162
+ * So the two rungs read the token instead of shadowing it. `var()` first, so a
163
+ * host that mounts design's sheet (this package's own theme.css does) follows
164
+ * the live cascade and inverts with it; design's published literal behind it,
165
+ * so a host that mounts neither still gets the right value rather than a
166
+ * dropped declaration.
167
+ *
168
+ * The literals are stated per theme rather than left to the cascade, and that
169
+ * is load-bearing: a NESTED `<Theme name="light">` (PrimaryButton's white pill
170
+ * inside a dark app) emits `.t_light` on a span, not on `:root`, so the light
171
+ * column has to be able to answer on its own. gui-config.test.ts reads
172
+ * @hanzo/design's stylesheet and fails if either column stops matching what
173
+ * design publishes, so the copy cannot drift.
174
+ */
175
+ const EDGE = { dark: 'rgb(255 255 255 / .10)', light: 'rgb(0 0 0 / .10)' };
176
+ const LABEL = { dark: '#fafafa', light: '#0a0a0a' };
177
+ const rebased = (theme) => ({
178
+ ...defaultConfig.themes[theme],
179
+ color4: `var(--border, ${EDGE[theme]})`,
180
+ borderColor: `var(--border, ${EDGE[theme]})`,
181
+ color12: `var(--foreground, ${LABEL[theme]})`,
182
+ });
141
183
  export const config = createGui({
142
184
  ...defaultConfig,
185
+ themes: {
186
+ ...defaultConfig.themes,
187
+ dark: rebased('dark'),
188
+ light: rebased('light'),
189
+ },
143
190
  tokens: {
144
191
  ...defaultConfig.tokens,
145
192
  radius: RADIUS,
@@ -1 +1 @@
1
- {"version":3,"file":"gui-config.js","sourceRoot":"","sources":["../src/gui-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAA;AAEtC,gFAAgF;AAChF,6EAA6E;AAC7E,EAAE;AACF,iFAAiF;AACjF,mFAAmF;AACnF,iFAAiF;AACjF,6DAA6D;AAC7D,EAAE;AACF,0EAA0E;AAC1E,6EAA6E;AAC7E,+EAA+E;AAC/E,2EAA2E;AAC3E,gFAAgF;AAChF,6CAA6C;AAC7C,EAAE;AACF,6EAA6E;AAC7E,+EAA+E;AAC/E,oEAAoE;AACpE,gFAAgF;AAChF,gFAAgF;AAChF,4EAA4E;AAC5E,EAAE;AACF,6EAA6E;AAC7E,4EAA4E;AAC5E,cAAc;AACd,gFAAgF;AAEhF,MAAM,KAAK,GAAG,+CAA+C,CAAA;AAE7D;;;yCAGyC;AACzC,MAAM,UAAU,GAAG,wEAAwE,CAAA;AAE3F;;;8EAG8E;AAC9E,MAAM,SAAS,GAAG;IAChB,CAAC,EAAE,EAAE;IACL,CAAC,EAAE,EAAE;IACL,CAAC,EAAE,EAAE;IACL,CAAC,EAAE,EAAE;IACL,CAAC,EAAE,EAAE;IACL,CAAC,EAAE,EAAE;IACL,CAAC,EAAE,EAAE;IACL,CA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