@bcc-code/design-tokens 5.0.2 → 5.1.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.
@@ -1,987 +0,0 @@
1
- import { definePreset } from "@primeuix/themes";
2
- import Aura from "@primeuix/themes/aura";
3
-
4
- // Import built Aura tokens with references preserved
5
- import primitives from "../build/primevue/primitive.js";
6
- import auraLight from "../build/primevue/semantic-light.js";
7
- import auraDark from "../build/primevue/semantic-dark.js";
8
- import componentLight from "../build/primevue/component-light.js";
9
- import componentDark from "../build/primevue/component-dark.js";
10
-
11
- const BCCPreset = definePreset(Aura, {
12
- primitive: {
13
- // BCC primitives
14
- color: primitives.color,
15
- space: primitives.space,
16
- borderRadius: primitives["border-radius"],
17
- iconSize: primitives["icon-size"],
18
- borderWidth: primitives["border-width"],
19
- fontFamily: primitives["font-family"],
20
- fontWeight: primitives["font-weight"],
21
- lineHeight: primitives["line-height"],
22
- fontSize: primitives["font-size"],
23
-
24
- // Aura primitives
25
- border: primitives.border,
26
- emerald: primitives.emerald,
27
- green: primitives.green,
28
- lime: primitives.lime,
29
- red: primitives.red,
30
- orange: primitives.orange,
31
- amber: primitives.amber,
32
- yellow: primitives.yellow,
33
- teal: primitives.teal,
34
- cyan: primitives.cyan,
35
- sky: primitives.sky,
36
- blue: primitives.blue,
37
- indigo: primitives.indigo,
38
- violet: primitives.violet,
39
- purple: primitives.purple,
40
- fuchsia: primitives.fuchsia,
41
- pink: primitives.pink,
42
- rose: primitives.rose,
43
- slate: primitives.slate,
44
- gray: primitives.gray,
45
- zinc: primitives.zinc,
46
- neutral: primitives.neutral,
47
- stone: primitives.stone,
48
- },
49
- semantic: {
50
- primary: auraLight.primary,
51
- transitionDuration: auraLight.transition.duration,
52
- focusRing: {
53
- width: auraLight.focus.ring.width,
54
- style: auraLight.focus.ring.style,
55
- color: auraLight.focus.ring.color,
56
- offset: auraLight.focus.ring.offset,
57
- shadow: auraLight.focus.ring.shadow,
58
- },
59
- disabledOpacity: auraLight.disabled.opacity,
60
- iconSize: auraLight.icon.size,
61
- anchorGutter: auraLight.anchor.gutter,
62
- formField: {
63
- paddingX: auraLight.form.field.padding.x,
64
- paddingY: auraLight.form.field.padding.y,
65
- sm: {
66
- fontSize: auraLight.form.field.sm.font.size,
67
- paddingX: auraLight.form.field.sm.padding.x,
68
- paddingY: auraLight.form.field.sm.padding.y,
69
- },
70
- lg: {
71
- fontSize: auraLight.form.field.lg.font.size,
72
- paddingX: auraLight.form.field.lg.padding.x,
73
- paddingY: auraLight.form.field.lg.padding.y,
74
- },
75
- borderRadius: auraLight.form.field.border.radius,
76
- focusRing: {
77
- width: auraLight.form.field.focus.ring.width,
78
- style: auraLight.form.field.focus.ring.style,
79
- color: auraLight.form.field.focus.ring.color,
80
- offset: auraLight.form.field.focus.ring.offset,
81
- shadow: auraLight.form.field.focus.ring.shadow,
82
- },
83
- transitionDuration: auraLight.form.field.transition.duration,
84
- },
85
- list: {
86
- padding: auraLight.list.padding,
87
- gap: auraLight.list.gap,
88
- header: {
89
- padding: auraLight.list.header.padding,
90
- },
91
- option: {
92
- padding: auraLight.list.option.padding,
93
- borderRadius: auraLight.list.option.border.radius,
94
- },
95
- optionGroup: {
96
- padding: auraLight.list.option.group.padding,
97
- fontWeight: auraLight.list.option.group.font.weight,
98
- },
99
- },
100
- content: {
101
- borderRadius: auraLight.content.border.radius,
102
- },
103
- navigation: {
104
- list: {
105
- padding: auraLight.navigation.list.padding,
106
- gap: auraLight.navigation.list.gap,
107
- },
108
- item: {
109
- padding: auraLight.navigation.item.padding,
110
- borderRadius: auraLight.navigation.item.border.radius,
111
- gap: auraLight.navigation.item.gap,
112
- },
113
- submenuLabel: {
114
- padding: auraLight.navigation.submenu.label.padding,
115
- fontWeight: auraLight.navigation.submenu.label.font.weight,
116
- },
117
- submenuIcon: {
118
- size: auraLight.navigation.submenu.icon.size,
119
- },
120
- },
121
- overlay: {
122
- select: {
123
- borderRadius: auraLight.overlay.select.border.radius,
124
- shadow: auraLight.overlay.select.shadow,
125
- },
126
- popover: {
127
- borderRadius: auraLight.overlay.popover.border.radius,
128
- padding: auraLight.overlay.popover.padding,
129
- shadow: auraLight.overlay.popover.shadow,
130
- },
131
- modal: {
132
- borderRadius: auraLight.overlay.modal.border.radius,
133
- padding: auraLight.overlay.modal.padding,
134
- shadow: auraLight.overlay.modal.shadow,
135
- },
136
- navigation: {
137
- shadow: auraLight.overlay.navigation.shadow,
138
- },
139
- },
140
- colorScheme: {
141
- light: {
142
- surface: auraLight.surface,
143
- primary: auraLight.primary,
144
- highlight: auraLight.highlight,
145
- mask: auraLight.mask,
146
- formField: auraLight.form.field,
147
- content: auraLight.content,
148
- text: auraLight.text,
149
- overlay: auraLight.overlay,
150
- list: auraLight.list,
151
- navigation: auraLight.navigation,
152
- },
153
- dark: {
154
- surface: auraDark.surface,
155
- primary: auraDark.primary,
156
- highlight: auraDark.highlight,
157
- mask: auraDark.mask,
158
- formField: auraDark.form.field,
159
- content: auraDark.content,
160
- text: auraDark.text,
161
- overlay: auraDark.overlay,
162
- list: auraDark.list,
163
- navigation: auraDark.navigation,
164
- },
165
- },
166
- },
167
- components: {
168
- accordion: {
169
- panel: {
170
- borderWidth: componentLight.accordion.panel.border.width,
171
- },
172
- header: {
173
- padding: componentLight.accordion.header.padding,
174
- fontWeight: componentLight.accordion.header.font.weight,
175
- first: {
176
- borderWidth: componentLight.accordion.header.first.border.width,
177
- },
178
- gap: `{space.100}`,
179
- },
180
- content: {
181
- padding: componentLight.accordion.content.padding,
182
- },
183
- },
184
- autocomplete: {
185
- dropdown: {
186
- width: componentLight.autocomplete.dropdown.width,
187
- sm: {
188
- width: componentLight.autocomplete.dropdown.sm.width,
189
- },
190
- lg: {
191
- width: componentLight.autocomplete.dropdown.lg.width,
192
- },
193
- },
194
- chip: {
195
- borderRadius: componentLight.autocomplete.chip.border.radius,
196
- },
197
- option: {
198
- gap: `{space.100}`,
199
- },
200
- input: {
201
- multiple: {
202
- gap: `{space.50}`,
203
- minHeight: `{space.500}`,
204
- },
205
- },
206
- },
207
- avatar: {
208
- width: componentLight.avatar.width,
209
- height: componentLight.avatar.height,
210
- fontSize: componentLight.avatar.font.size,
211
- icon: {
212
- size: componentLight.avatar.icon.size,
213
- },
214
- group: {
215
- offset: componentLight.avatar.group.offset,
216
- },
217
- lg: {
218
- width: componentLight.avatar.lg.width,
219
- height: componentLight.avatar.lg.height,
220
- fontSize: componentLight.avatar.lg.font.size,
221
- icon: {
222
- size: componentLight.avatar.lg.icon.size,
223
- },
224
- group: {
225
- offset: componentLight.avatar.lg.group.offset,
226
- },
227
- },
228
- xl: {
229
- width: componentLight.avatar.xl.width,
230
- height: componentLight.avatar.xl.height,
231
- fontSize: componentLight.avatar.xl.font.size,
232
- icon: {
233
- size: componentLight.avatar.xl.icon.size,
234
- },
235
- group: {
236
- offset: componentLight.avatar.xl.group.offset,
237
- },
238
- },
239
- },
240
- badge: {
241
- root: {
242
- padding: componentLight.badge.padding,
243
- fontSize: componentLight.badge.font.size,
244
- fontWeight: componentLight.badge.font.weight,
245
- minWidth: componentLight.badge.min.width,
246
- height: componentLight.badge.height,
247
- },
248
- dot: {
249
- size: componentLight.badge.dot.size,
250
- },
251
- circle: {
252
- borderRadius: `{borderRadius.full}`,
253
- },
254
- sm: {
255
- fontSize: componentLight.badge.sm.font.size,
256
- minWidth: componentLight.badge.sm.min.width,
257
- height: componentLight.badge.sm.height,
258
- },
259
- lg: {
260
- fontSize: componentLight.badge.lg.font.size,
261
- minWidth: componentLight.badge.lg.min.width,
262
- height: componentLight.badge.lg.height,
263
- },
264
- xl: {
265
- fontSize: componentLight.badge.xl.font.size,
266
- minWidth: componentLight.badge.xl.min.width,
267
- height: componentLight.badge.xl.height,
268
- },
269
- },
270
- button: {
271
- root: {
272
- roundedBorderRadius: componentLight.button.rounded.border.radius,
273
- gap: componentLight.button.gap,
274
- iconOnlyWidth: componentLight.button.icon.only.width,
275
- minHeight: "{space.500}",
276
- sm: {
277
- iconOnlyWidth: componentLight.button.sm.icon.only.width,
278
- minHeight: "{space.400}",
279
- },
280
- lg: {
281
- iconOnlyWidth: componentLight.button.lg.icon.only.width,
282
- minHeight: "{space.600}",
283
- },
284
- label: {
285
- fontWeight: componentLight.button.label.font.weight,
286
- },
287
- badgeSize: componentLight.button.badge.size,
288
- },
289
- colorScheme: {
290
- light: {
291
- primary: {
292
- focusRing: {
293
- shadow: componentLight.button.primary.focus.ring.shadow,
294
- },
295
- },
296
- secondary: {
297
- focusRing: {
298
- shadow: componentLight.button.secondary.focus.ring.shadow,
299
- },
300
- },
301
- info: {
302
- focusRing: {
303
- shadow: componentLight.button.info.focus.ring.shadow,
304
- },
305
- },
306
- success: {
307
- focusRing: {
308
- shadow: componentLight.button.success.focus.ring.shadow,
309
- },
310
- },
311
- warn: {
312
- focusRing: {
313
- shadow: componentLight.button.warn.focus.ring.shadow,
314
- },
315
- },
316
- help: {
317
- focusRing: {
318
- shadow: componentLight.button.help.focus.ring.shadow,
319
- },
320
- },
321
- danger: {
322
- focusRing: {
323
- shadow: componentLight.button.danger.focus.ring.shadow,
324
- },
325
- },
326
- contrast: {
327
- focusRing: {
328
- shadow: componentLight.button.contrast.focus.ring.shadow,
329
- },
330
- },
331
- },
332
- dark: {
333
- primary: {
334
- focusRing: {
335
- shadow: componentDark.button.primary.focus.ring.shadow,
336
- },
337
- },
338
- secondary: {
339
- focusRing: {
340
- shadow: componentDark.button.secondary.focus.ring.shadow,
341
- },
342
- },
343
- info: {
344
- focusRing: {
345
- shadow: componentDark.button.info.focus.ring.shadow,
346
- },
347
- },
348
- success: {
349
- focusRing: {
350
- shadow: componentDark.button.success.focus.ring.shadow,
351
- },
352
- },
353
- warn: {
354
- focusRing: {
355
- shadow: componentDark.button.warn.focus.ring.shadow,
356
- },
357
- },
358
- help: {
359
- focusRing: {
360
- shadow: componentDark.button.help.focus.ring.shadow,
361
- },
362
- },
363
- danger: {
364
- focusRing: {
365
- shadow: componentDark.button.danger.focus.ring.shadow,
366
- },
367
- },
368
- contrast: {
369
- focusRing: {
370
- shadow: componentDark.button.contrast.focus.ring.shadow,
371
- },
372
- },
373
- },
374
- },
375
- },
376
- checkbox: {
377
- root: {
378
- checkedFocusBorderColor: componentLight.checkbox.checked.focus.border.color,
379
- gap: `{space.100}`,
380
- },
381
- icon: {
382
- size: componentLight.checkbox.icon.size,
383
- sm: {
384
- size: componentLight.checkbox.icon.sm.size,
385
- },
386
- lg: {
387
- size: componentLight.checkbox.icon.lg.size,
388
- },
389
- },
390
- },
391
- chip: {
392
- root: {
393
- borderRadius: componentLight.chip.border.radius,
394
- },
395
- icon: {
396
- size: componentLight.chip.icon.size,
397
- },
398
- removeIcon: {
399
- size: componentLight.chip.remove.icon.size,
400
- borderRadius: `{borderRadius.full}`,
401
- },
402
- },
403
- divider: {
404
- content: {
405
- gap: `{space.100}`,
406
- },
407
- horizontal: {
408
- padding: componentLight.divider.horizontal.padding,
409
- },
410
- vertical: {
411
- padding: componentLight.divider.vertical.padding,
412
- },
413
- },
414
- floatlabel: {
415
- on: {
416
- gap: `{space.negative.100}`,
417
- },
418
- },
419
- inputgroup: {
420
- addon: {
421
- borderRadius: componentLight.inputgroup.addon.border.radius,
422
- minHeight: `{space.500}`,
423
- },
424
- },
425
- inputtext: {
426
- root: {
427
- borderRadius: componentLight.inputtext.border.radius,
428
- paddingY: componentLight.inputtext.padding.y,
429
- gap: `{space.50}`,
430
- minHeight: `{space.500}`,
431
- sm: {
432
- paddingX: componentLight.inputtext.sm.padding.x,
433
- paddingY: componentLight.inputtext.sm.padding.y,
434
- minHeight: `{space.400}`,
435
- },
436
- lg: {
437
- paddingX: componentLight.inputtext.lg.padding.x,
438
- paddingY: componentLight.inputtext.lg.padding.y,
439
- minHeight: `{space.600}`,
440
- },
441
- },
442
- },
443
- listbox: {
444
- list: {
445
- padding: componentLight.listbox.list.padding,
446
- },
447
- optionGroup: {
448
- padding: componentLight.listbox.option.group.padding,
449
- },
450
- },
451
- message: {
452
- content: {
453
- padding: componentLight.message.content.padding,
454
- minHeight: `{space.500}`,
455
- sm: {
456
- padding: componentLight.message.content.sm.padding,
457
- minHeight: `{space.400}`,
458
- },
459
- lg: {
460
- padding: componentLight.message.content.lg.padding,
461
- minHeight: `{space.600}`,
462
- },
463
- },
464
- text: {
465
- fontSize: componentLight.message.text.font.size,
466
- lg: {
467
- fontSize: componentLight.message.text.lg.font.size,
468
- },
469
- },
470
- icon: {
471
- size: componentLight.message.icon.size,
472
- sm: {
473
- size: componentLight.message.icon.sm.size,
474
- },
475
- lg: {
476
- size: componentLight.message.icon.lg.size,
477
- },
478
- },
479
- closeButton: {
480
- width: componentLight.message.close.button.width,
481
- height: componentLight.message.close.button.height,
482
- borderRadius: componentLight.message.close.button.border.radius,
483
- },
484
- closeIcon: {
485
- size: componentLight.message.close.icon.size,
486
- sm: {
487
- size: componentLight.message.close.icon.sm.size,
488
- },
489
- lg: {
490
- size: componentLight.message.close.icon.lg.size,
491
- },
492
- },
493
- colorScheme: {
494
- light: {
495
- info: {
496
- background: componentLight.message.info.background,
497
- shadow: componentLight.message.info.shadow,
498
- closeButton: {
499
- focusRing: {
500
- shadow: componentLight.message.info.close.button.focus.ring.shadow,
501
- },
502
- },
503
- },
504
- success: {
505
- background: componentLight.message.success.background,
506
- shadow: componentLight.message.success.shadow,
507
- closeButton: {
508
- focusRing: {
509
- shadow: componentLight.message.success.close.button.focus.ring.shadow,
510
- },
511
- },
512
- },
513
- warn: {
514
- background: componentLight.message.warn.background,
515
- shadow: componentLight.message.warn.shadow,
516
- closeButton: {
517
- focusRing: {
518
- shadow: componentLight.message.warn.close.button.focus.ring.shadow,
519
- },
520
- },
521
- },
522
- error: {
523
- background: componentLight.message.error.background,
524
- shadow: componentLight.message.error.shadow,
525
- closeButton: {
526
- focusRing: {
527
- shadow: componentLight.message.error.close.button.focus.ring.shadow,
528
- },
529
- },
530
- },
531
- secondary: {
532
- background: componentLight.message.secondary.background,
533
- shadow: componentLight.message.secondary.shadow,
534
- closeButton: {
535
- focusRing: {
536
- shadow: componentLight.message.secondary.close.button.focus.ring.shadow,
537
- },
538
- },
539
- },
540
- contrast: {
541
- background: componentLight.message.contrast.background,
542
- shadow: componentLight.message.contrast.shadow,
543
- closeButton: {
544
- focusRing: {
545
- shadow: componentLight.message.contrast.close.button.focus.ring.shadow,
546
- },
547
- },
548
- },
549
- },
550
- dark: {
551
- info: {
552
- closeButton: {
553
- focusRing: {
554
- shadow: componentDark.message.info.close.button.focus.ring.shadow,
555
- },
556
- },
557
- },
558
- success: {
559
- closeButton: {
560
- focusRing: {
561
- shadow: componentDark.message.success.close.button.focus.ring.shadow,
562
- },
563
- },
564
- },
565
- warn: {
566
- closeButton: {
567
- focusRing: {
568
- shadow: componentDark.message.warn.close.button.focus.ring.shadow,
569
- },
570
- },
571
- },
572
- error: {
573
- closeButton: {
574
- focusRing: {
575
- shadow: componentDark.message.error.close.button.focus.ring.shadow,
576
- },
577
- },
578
- },
579
- secondary: {
580
- closeButton: {
581
- focusRing: {
582
- shadow: componentDark.message.secondary.close.button.focus.ring.shadow,
583
- },
584
- },
585
- },
586
- contrast: {
587
- closeButton: {
588
- focusRing: {
589
- shadow: componentDark.message.contrast.close.button.focus.ring.shadow,
590
- },
591
- },
592
- },
593
- },
594
- },
595
- },
596
- multiselect: {
597
- root: {
598
- minHeight: `{space.500}`,
599
- sm: {
600
- minHeight: `{space.400}`,
601
- },
602
- lg: {
603
- minHeight: `{space.600}`,
604
- },
605
- },
606
- dropdown: {
607
- width: componentLight.multiselect.dropdown.width,
608
- },
609
- header: {
610
- padding: componentLight.multiselect.header.padding,
611
- },
612
- option: {
613
- gap: componentLight.multiselect.option.gap,
614
- },
615
- },
616
- progressbar: {
617
- height: componentLight.progressbar.height,
618
- label: {
619
- fontSize: componentLight.progressbar.label.font.size,
620
- fontWeight: componentLight.progressbar.label.font.weight,
621
- },
622
- },
623
- radiobutton: {
624
- width: componentLight.radiobutton.width,
625
- height: componentLight.radiobutton.height,
626
- gap: `{space.100}`,
627
- borderRadius: `{borderRadius.full}`,
628
- checked: {
629
- focus: {
630
- borderColor: componentLight.radiobutton.checked.focus.border.color,
631
- },
632
- },
633
- icon: {
634
- borderRadius: `{borderRadius.full}`,
635
- size: componentLight.radiobutton.icon.size,
636
- sm: {
637
- borderRadius: `{borderRadius.full}`,
638
- size: componentLight.radiobutton.icon.sm.size,
639
- },
640
- lg: {
641
- borderRadius: `{borderRadius.full}`,
642
- size: componentLight.radiobutton.icon.lg.size,
643
- },
644
- },
645
- sm: {
646
- width: componentLight.radiobutton.sm.width,
647
- height: componentLight.radiobutton.sm.height,
648
- },
649
- lg: {
650
- width: componentLight.radiobutton.lg.width,
651
- height: componentLight.radiobutton.lg.height,
652
- },
653
- },
654
- select: {
655
- root: {
656
- minHeight: `{space.500}`,
657
- sm: {
658
- minHeight: `{space.400}`,
659
- },
660
- lg: {
661
- minHeight: `{space.600}`,
662
- },
663
- },
664
- dropdown: {
665
- width: componentLight.select.dropdown.width,
666
- },
667
- option: {
668
- gap: `{space.100}`,
669
- },
670
- },
671
- selectbutton: {
672
- border: {
673
- radius: componentLight.selectbutton.border.radius,
674
- },
675
- },
676
- tabs: {
677
- tablist: {
678
- border: {
679
- width: componentLight.tabs.tablist.border.width,
680
- },
681
- },
682
- tab: {
683
- background: componentLight.tabs.tab.background,
684
- border: {
685
- width: componentLight.tabs.tab.border.width,
686
- },
687
- active: {
688
- background: componentLight.tabs.tab.active.background,
689
- },
690
- hover: {
691
- background: componentLight.tabs.tab.hover.background,
692
- },
693
- padding: componentLight.tabs.tab.padding,
694
- font: {
695
- weight: componentLight.tabs.tab.font.weight,
696
- },
697
- margin: componentLight.tabs.tab.margin,
698
- gap: componentLight.tabs.tab.gap,
699
- },
700
- tabpanel: {
701
- padding: componentLight.tabs.tabpanel.padding,
702
- },
703
- nav: {
704
- button: {
705
- width: componentLight.tabs.nav.button.width,
706
- shadow: componentLight.tabs.nav.button.shadow,
707
- },
708
- },
709
- active: {
710
- bar: {
711
- height: componentLight.tabs.active.bar.height,
712
- },
713
- },
714
- },
715
- tag: {
716
- font: {
717
- size: componentLight.tag.font.size,
718
- weight: componentLight.tag.font.weight,
719
- },
720
- padding: componentLight.tag.padding,
721
- gap: componentLight.tag.gap,
722
- rounded: {
723
- border: {
724
- radius: componentLight.tag.rounded.border.radius,
725
- },
726
- },
727
- icon: {
728
- size: componentLight.tag.icon.size,
729
- },
730
- sm: {
731
- padding: `{space.100} {space.25}`,
732
- font: {
733
- size: `{font-size.xs}`,
734
- },
735
- icon: {
736
- size: `{icon-size.xs}`,
737
- },
738
- },
739
- lg: {
740
- padding: `{space.100} {space.50}`,
741
- font: {
742
- size: `{font-size.md}`,
743
- },
744
- icon: {
745
- size: `{icon-size.md}`,
746
- },
747
- },
748
- },
749
- toast: {
750
- width: componentLight.toast.width,
751
- border: {
752
- width: componentLight.toast.border.width,
753
- },
754
- icon: {
755
- size: componentLight.toast.icon.size,
756
- },
757
- content: {
758
- gap: componentLight.toast.content.gap,
759
- },
760
- text: {
761
- gap: componentLight.toast.text.gap,
762
- },
763
- summary: {
764
- fontWeight: componentLight.toast.summary.font.weight,
765
- fontSize: componentLight.toast.summary.font.size,
766
- },
767
- detail: {
768
- fontWeight: componentLight.toast.detail.font.weight,
769
- fontSize: componentLight.toast.detail.font.size,
770
- },
771
- closeButton: {
772
- width: componentLight.toast.close.button.width,
773
- height: componentLight.toast.close.button.height,
774
- borderRadius: componentLight.toast.close.button.border.radius,
775
- },
776
- closeIcon: {
777
- size: componentLight.toast.close.icon.size,
778
- },
779
- colorScheme: {
780
- light: {
781
- root: {
782
- blur: componentLight.toast.blur,
783
- },
784
- info: {
785
- background: componentLight.toast.info.background,
786
- shadow: componentLight.toast.info.shadow,
787
- closeButton: {
788
- focusRing: {
789
- shadow: componentLight.toast.info.close.button.focus.ring.shadow,
790
- },
791
- },
792
- },
793
- success: {
794
- background: componentLight.toast.success.background,
795
- shadow: componentLight.toast.success.shadow,
796
- closeButton: {
797
- focusRing: {
798
- shadow: componentLight.toast.success.close.button.focus.ring.shadow,
799
- },
800
- },
801
- },
802
- warn: {
803
- background: componentLight.toast.warn.background,
804
- shadow: componentLight.toast.warn.shadow,
805
- closeButton: {
806
- focusRing: {
807
- shadow: componentLight.toast.warn.close.button.focus.ring.shadow,
808
- },
809
- },
810
- },
811
- error: {
812
- background: componentLight.toast.error.background,
813
- shadow: componentLight.toast.error.shadow,
814
- closeButton: {
815
- focusRing: {
816
- shadow: componentLight.toast.error.close.button.focus.ring.shadow,
817
- },
818
- },
819
- },
820
- secondary: {
821
- background: componentLight.toast.secondary.background,
822
- shadow: componentLight.toast.secondary.shadow,
823
- closeButton: {
824
- focusRing: {
825
- shadow: componentLight.toast.secondary.close.button.focus.ring.shadow,
826
- },
827
- },
828
- },
829
- contrast: {
830
- background: componentLight.toast.contrast.background,
831
- shadow: componentLight.toast.contrast.shadow,
832
- closeButton: {
833
- focusRing: {
834
- shadow: componentLight.toast.contrast.close.button.focus.ring.shadow,
835
- },
836
- },
837
- },
838
- },
839
- dark: {
840
- root: {
841
- blur: componentDark.toast.blur,
842
- },
843
- info: {
844
- closeButton: {
845
- focusRing: {
846
- shadow: componentDark.toast.info.close.button.focus.ring.shadow,
847
- },
848
- },
849
- },
850
- success: {
851
- closeButton: {
852
- focusRing: {
853
- shadow: componentDark.toast.success.close.button.focus.ring.shadow,
854
- },
855
- },
856
- },
857
- warn: {
858
- closeButton: {
859
- focusRing: {
860
- shadow: componentDark.toast.warn.close.button.focus.ring.shadow,
861
- },
862
- },
863
- },
864
- error: {
865
- closeButton: {
866
- focusRing: {
867
- shadow: componentDark.toast.error.close.button.focus.ring.shadow,
868
- },
869
- },
870
- },
871
- secondary: {
872
- closeButton: {
873
- focusRing: {
874
- shadow: componentDark.toast.secondary.close.button.focus.ring.shadow,
875
- },
876
- },
877
- },
878
- contrast: {
879
- closeButton: {
880
- focusRing: {
881
- shadow: componentDark.toast.contrast.close.button.focus.ring.shadow,
882
- },
883
- },
884
- },
885
- },
886
- },
887
- },
888
- textarea: {
889
- root: {
890
- gap: `{space.200}`,
891
- minHeight: `{space.300}`,
892
- },
893
- },
894
- togglebutton: {
895
- padding: componentLight.togglebutton.padding,
896
- minHeight: `{space.500}`,
897
- lineHeight: `{line-height.2}`,
898
- border: {
899
- radius: componentLight.togglebutton.border.radius,
900
- color: componentLight.togglebutton.border.color,
901
- },
902
- gap: componentLight.togglebutton.gap,
903
- font: {
904
- weight: componentLight.togglebutton.font.weight,
905
- },
906
- sm: {
907
- padding: componentLight.togglebutton.sm.padding,
908
- minHeight: `{space.400}`,
909
- border: {
910
- radius: `{border-radius.sm}`,
911
- },
912
- },
913
- lg: {
914
- padding: componentLight.togglebutton.lg.padding,
915
- minHeight: `{space.600}`,
916
- },
917
- content: {
918
- padding: componentLight.togglebutton.content.padding,
919
- minHeight: `{space.400}`,
920
- sm: {
921
- padding: componentLight.togglebutton.content.sm.padding,
922
- minHeight: `{space.300}`,
923
- border: {
924
- radius: `{border-radius.sm}`,
925
- },
926
- },
927
- lg: {
928
- padding: componentLight.togglebutton.content.lg.padding,
929
- minHeight: `{space.500}`,
930
- },
931
- },
932
- colorScheme: {
933
- light: {
934
- icon: {
935
- color: componentLight.togglebutton.icon.color,
936
- hoverColor: componentLight.togglebutton.icon.hover.color,
937
- checkedColor: componentLight.togglebutton.icon.checked.color,
938
- },
939
- },
940
- },
941
- },
942
- toggleswitch: {
943
- width: componentLight.toggleswitch.width,
944
- height: componentLight.toggleswitch.height,
945
- border: {
946
- radius: componentLight.toggleswitch.border.radius,
947
- width: componentLight.toggleswitch.border.width,
948
- color: componentLight.toggleswitch.border.color,
949
- },
950
- gap: componentLight.toggleswitch.gap,
951
- hover: {
952
- borderColor: componentLight.toggleswitch.hover.border.color,
953
- },
954
- checked: {
955
- borderColor: componentLight.toggleswitch.checked.border.color,
956
- hoverBorderColor: componentLight.toggleswitch.checked.hover.border.color,
957
- },
958
- slideDuration: componentLight.toggleswitch.slide.duration,
959
- handle: {
960
- borderRadius: componentLight.toggleswitch.handle.border.radius,
961
- size: componentLight.toggleswitch.handle.size,
962
- },
963
- colorScheme: {
964
- light: {
965
- root: {
966
- background: componentLight.toggleswitch.background,
967
- hoverBackground: componentLight.toggleswitch.hover.background,
968
- checkedBackground: componentLight.toggleswitch.checked.background,
969
- checkedHoverBackground: componentLight.toggleswitch.checked.hover.background,
970
- },
971
- handle: {
972
- background: componentLight.toggleswitch.handle.background,
973
- hoverBackground: componentLight.toggleswitch.handle.hover.background,
974
- checkedBackground: componentLight.toggleswitch.handle.checked.background,
975
- checkedHoverBackground: componentLight.toggleswitch.handle.checked.hover.background,
976
- color: componentLight.toggleswitch.handle.color,
977
- hoverColor: componentLight.toggleswitch.handle.hover.color,
978
- checkedColor: componentLight.toggleswitch.handle.checked.color,
979
- checkedHoverColor: componentLight.toggleswitch.handle.checked.hover.color,
980
- },
981
- },
982
- },
983
- },
984
- },
985
- });
986
-
987
- export default BCCPreset;