@matteoaliano/forest-ui 0.2.6 → 0.2.8
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.
- package/bin/sync.mjs +44 -0
- package/dist/{chunk-CQX6QWMF.mjs → chunk-3FZJFTY7.mjs} +624 -253
- package/dist/chunk-3FZJFTY7.mjs.map +1 -0
- package/dist/{index-lqHy9CQ4.d.mts → index-C7JP9vAZ.d.mts} +37 -27
- package/dist/{index-lqHy9CQ4.d.ts → index-C7JP9vAZ.d.ts} +37 -27
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +625 -253
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.map +1 -1
- package/dist/theme.d.mts +1 -1
- package/dist/theme.d.ts +1 -1
- package/dist/theme.js +622 -250
- package/dist/theme.js.map +1 -1
- package/dist/theme.mjs +1 -1
- package/fonts/aeonik/aeonik-bold.woff +0 -0
- package/fonts/aeonik/aeonik-bold.woff2 +0 -0
- package/fonts/aeonik/aeonik-medium.woff +0 -0
- package/fonts/aeonik/aeonik-medium.woff2 +0 -0
- package/fonts/aeonik/aeonik-regular.woff +0 -0
- package/fonts/aeonik/aeonik-regular.woff2 +0 -0
- package/fonts/aeonik/aeonik-semibold.woff +0 -0
- package/fonts/aeonik/aeonik-semibold.woff2 +0 -0
- package/fonts/aeonik/aeonik.css +42 -0
- package/guidelines/FOREST_AI_GUIDELINES.md +8 -1
- package/guidelines/FOREST_DEV_GUIDELINES.md +1 -1
- package/guidelines/themes/FOREST_THEME_ALKEMY_PLUS.md +139 -0
- package/guidelines/themes/FOREST_THEME_DEFAULT.md +1 -1
- package/package.json +5 -3
- package/dist/chunk-CQX6QWMF.mjs.map +0 -1
package/dist/theme.js
CHANGED
|
@@ -222,12 +222,12 @@ var text = {
|
|
|
222
222
|
var bg = {
|
|
223
223
|
primary: colors.gray[50],
|
|
224
224
|
primaryAlt: colors.gray[50],
|
|
225
|
-
primaryHover: colors.gray[
|
|
225
|
+
primaryHover: colors.gray[100],
|
|
226
226
|
primarySolid: colors.gray[950],
|
|
227
227
|
secondary: colors.base.white,
|
|
228
228
|
secondaryAlt: colors.base.white,
|
|
229
229
|
secondarySubtle: colors.gray[25],
|
|
230
|
-
secondaryHover: colors.gray[
|
|
230
|
+
secondaryHover: colors.gray[50],
|
|
231
231
|
secondarySolid: colors.gray[600],
|
|
232
232
|
tertiary: colors.gray[100],
|
|
233
233
|
quaternary: colors.gray[200],
|
|
@@ -438,60 +438,60 @@ var alpha = {
|
|
|
438
438
|
|
|
439
439
|
// src/theme/palette.ts
|
|
440
440
|
function buildPalette(tokens) {
|
|
441
|
-
const { colors:
|
|
441
|
+
const { colors: colors3, text: text3, bg: bg3, fg: fg3, border: border3 } = tokens;
|
|
442
442
|
return {
|
|
443
443
|
primary: {
|
|
444
|
-
main:
|
|
445
|
-
light:
|
|
446
|
-
dark:
|
|
447
|
-
contrastText:
|
|
444
|
+
main: colors3.brand[600],
|
|
445
|
+
light: colors3.brand[400],
|
|
446
|
+
dark: colors3.brand[700],
|
|
447
|
+
contrastText: colors3.base.white
|
|
448
448
|
},
|
|
449
449
|
secondary: {
|
|
450
|
-
main:
|
|
451
|
-
light:
|
|
452
|
-
dark:
|
|
453
|
-
contrastText:
|
|
450
|
+
main: colors3.gray[600],
|
|
451
|
+
light: colors3.gray[400],
|
|
452
|
+
dark: colors3.gray[700],
|
|
453
|
+
contrastText: colors3.base.white
|
|
454
454
|
},
|
|
455
455
|
error: {
|
|
456
|
-
main:
|
|
457
|
-
light:
|
|
458
|
-
dark:
|
|
459
|
-
contrastText:
|
|
456
|
+
main: colors3.error[600],
|
|
457
|
+
light: colors3.error[300],
|
|
458
|
+
dark: colors3.error[700],
|
|
459
|
+
contrastText: colors3.base.white
|
|
460
460
|
},
|
|
461
461
|
warning: {
|
|
462
|
-
main:
|
|
463
|
-
light:
|
|
464
|
-
dark:
|
|
465
|
-
contrastText:
|
|
462
|
+
main: colors3.warning[600],
|
|
463
|
+
light: colors3.warning[300],
|
|
464
|
+
dark: colors3.warning[700],
|
|
465
|
+
contrastText: colors3.base.white
|
|
466
466
|
},
|
|
467
467
|
success: {
|
|
468
|
-
main:
|
|
469
|
-
light:
|
|
470
|
-
dark:
|
|
471
|
-
contrastText:
|
|
468
|
+
main: colors3.success[600],
|
|
469
|
+
light: colors3.success[300],
|
|
470
|
+
dark: colors3.success[700],
|
|
471
|
+
contrastText: colors3.base.white
|
|
472
472
|
},
|
|
473
473
|
info: {
|
|
474
|
-
main:
|
|
475
|
-
light:
|
|
476
|
-
dark:
|
|
477
|
-
contrastText:
|
|
474
|
+
main: colors3.blue[600],
|
|
475
|
+
light: colors3.blue[300],
|
|
476
|
+
dark: colors3.blue[700],
|
|
477
|
+
contrastText: colors3.base.white
|
|
478
478
|
},
|
|
479
479
|
background: {
|
|
480
|
-
default:
|
|
481
|
-
paper:
|
|
480
|
+
default: bg3.primary,
|
|
481
|
+
paper: bg3.secondary
|
|
482
482
|
},
|
|
483
483
|
text: {
|
|
484
|
-
primary:
|
|
485
|
-
secondary:
|
|
486
|
-
disabled:
|
|
484
|
+
primary: text3.primary,
|
|
485
|
+
secondary: text3.secondary,
|
|
486
|
+
disabled: text3.disabled
|
|
487
487
|
},
|
|
488
|
-
divider:
|
|
488
|
+
divider: border3.secondary,
|
|
489
489
|
action: {
|
|
490
|
-
active:
|
|
491
|
-
hover:
|
|
492
|
-
selected:
|
|
493
|
-
disabled:
|
|
494
|
-
disabledBackground:
|
|
490
|
+
active: fg3.tertiary,
|
|
491
|
+
hover: bg3.primaryHover,
|
|
492
|
+
selected: bg3.brandPrimary,
|
|
493
|
+
disabled: fg3.disabled,
|
|
494
|
+
disabledBackground: bg3.disabled
|
|
495
495
|
}
|
|
496
496
|
};
|
|
497
497
|
}
|
|
@@ -596,15 +596,15 @@ var typography = buildTypography({
|
|
|
596
596
|
// src/theme/components.ts
|
|
597
597
|
function buildComponents(tokens) {
|
|
598
598
|
const {
|
|
599
|
-
colors:
|
|
600
|
-
radius:
|
|
601
|
-
focusRings:
|
|
599
|
+
colors: colors3,
|
|
600
|
+
radius: radius3,
|
|
601
|
+
focusRings: focusRings3,
|
|
602
602
|
shadows: tokenShadows,
|
|
603
|
-
text:
|
|
604
|
-
bg:
|
|
605
|
-
fg:
|
|
606
|
-
border:
|
|
607
|
-
buttonColors:
|
|
603
|
+
text: text3,
|
|
604
|
+
bg: bg3,
|
|
605
|
+
fg: fg3,
|
|
606
|
+
border: border3,
|
|
607
|
+
buttonColors: buttonColors3
|
|
608
608
|
} = tokens;
|
|
609
609
|
return {
|
|
610
610
|
// ─── Button ─────────────────────────────────────────────────────
|
|
@@ -614,7 +614,7 @@ function buildComponents(tokens) {
|
|
|
614
614
|
},
|
|
615
615
|
styleOverrides: {
|
|
616
616
|
root: {
|
|
617
|
-
borderRadius:
|
|
617
|
+
borderRadius: radius3.md,
|
|
618
618
|
fontWeight: 600,
|
|
619
619
|
boxShadow: tokenShadows.xs,
|
|
620
620
|
height: 32,
|
|
@@ -622,36 +622,36 @@ function buildComponents(tokens) {
|
|
|
622
622
|
fontSize: 14,
|
|
623
623
|
lineHeight: "20px",
|
|
624
624
|
"&:focus-visible": {
|
|
625
|
-
boxShadow:
|
|
625
|
+
boxShadow: focusRings3.brandShadowXs
|
|
626
626
|
}
|
|
627
627
|
},
|
|
628
628
|
containedPrimary: {
|
|
629
|
-
backgroundColor:
|
|
629
|
+
backgroundColor: buttonColors3.primary.bg,
|
|
630
630
|
"&:hover": {
|
|
631
|
-
backgroundColor:
|
|
631
|
+
backgroundColor: buttonColors3.primary.bgHover
|
|
632
632
|
}
|
|
633
633
|
},
|
|
634
634
|
outlinedPrimary: {
|
|
635
|
-
borderColor:
|
|
636
|
-
color:
|
|
635
|
+
borderColor: buttonColors3.secondaryColor.border,
|
|
636
|
+
color: buttonColors3.secondaryColor.fg,
|
|
637
637
|
"&:hover": {
|
|
638
|
-
backgroundColor:
|
|
639
|
-
borderColor:
|
|
638
|
+
backgroundColor: buttonColors3.secondaryColor.bgHover,
|
|
639
|
+
borderColor: buttonColors3.secondaryColor.borderHover
|
|
640
640
|
}
|
|
641
641
|
},
|
|
642
642
|
outlinedSecondary: {
|
|
643
|
-
borderColor:
|
|
643
|
+
borderColor: buttonColors3.secondary.border,
|
|
644
644
|
"&:hover": {
|
|
645
|
-
borderColor:
|
|
645
|
+
borderColor: buttonColors3.secondary.borderHover
|
|
646
646
|
}
|
|
647
647
|
},
|
|
648
648
|
text: {
|
|
649
649
|
boxShadow: "none"
|
|
650
650
|
},
|
|
651
651
|
textPrimary: {
|
|
652
|
-
color:
|
|
652
|
+
color: buttonColors3.tertiaryColor.fg,
|
|
653
653
|
"&:hover": {
|
|
654
|
-
backgroundColor:
|
|
654
|
+
backgroundColor: buttonColors3.tertiaryColor.bgHover
|
|
655
655
|
}
|
|
656
656
|
}
|
|
657
657
|
}
|
|
@@ -663,11 +663,11 @@ function buildComponents(tokens) {
|
|
|
663
663
|
},
|
|
664
664
|
styleOverrides: {
|
|
665
665
|
root: {
|
|
666
|
-
borderRadius:
|
|
666
|
+
borderRadius: radius3.md
|
|
667
667
|
},
|
|
668
668
|
grouped: {
|
|
669
669
|
"&:not(:last-of-type)": {
|
|
670
|
-
borderRight: `1px solid ${
|
|
670
|
+
borderRight: `1px solid ${buttonColors3.primary.borderHover}`
|
|
671
671
|
}
|
|
672
672
|
}
|
|
673
673
|
}
|
|
@@ -681,13 +681,13 @@ function buildComponents(tokens) {
|
|
|
681
681
|
boxShadow: tokenShadows.lg
|
|
682
682
|
},
|
|
683
683
|
"&:focus-visible": {
|
|
684
|
-
boxShadow:
|
|
684
|
+
boxShadow: focusRings3.brandShadowSm
|
|
685
685
|
}
|
|
686
686
|
},
|
|
687
687
|
primary: {
|
|
688
|
-
backgroundColor:
|
|
688
|
+
backgroundColor: buttonColors3.primary.bg,
|
|
689
689
|
"&:hover": {
|
|
690
|
-
backgroundColor:
|
|
690
|
+
backgroundColor: buttonColors3.primary.bgHover
|
|
691
691
|
}
|
|
692
692
|
}
|
|
693
693
|
}
|
|
@@ -695,16 +695,15 @@ function buildComponents(tokens) {
|
|
|
695
695
|
// ─── TextField / Input ──────────────────────────────────────────
|
|
696
696
|
MuiTextField: {
|
|
697
697
|
defaultProps: {
|
|
698
|
-
variant: "outlined"
|
|
699
|
-
size: "small"
|
|
698
|
+
variant: "outlined"
|
|
700
699
|
}
|
|
701
700
|
},
|
|
702
701
|
MuiInputBase: {
|
|
703
702
|
styleOverrides: {
|
|
704
703
|
input: {
|
|
705
704
|
"&::placeholder": {
|
|
706
|
-
color:
|
|
707
|
-
WebkitTextFillColor:
|
|
705
|
+
color: text3.placeholder,
|
|
706
|
+
WebkitTextFillColor: text3.placeholder,
|
|
708
707
|
fontWeight: 400,
|
|
709
708
|
opacity: 1
|
|
710
709
|
}
|
|
@@ -714,34 +713,29 @@ function buildComponents(tokens) {
|
|
|
714
713
|
MuiOutlinedInput: {
|
|
715
714
|
styleOverrides: {
|
|
716
715
|
root: {
|
|
717
|
-
borderRadius:
|
|
716
|
+
borderRadius: radius3.md,
|
|
718
717
|
boxShadow: tokenShadows.xs,
|
|
719
718
|
"&:hover .MuiOutlinedInput-notchedOutline": {
|
|
720
|
-
borderColor:
|
|
719
|
+
borderColor: border3.brand
|
|
721
720
|
},
|
|
722
721
|
"&.Mui-focused .MuiOutlinedInput-notchedOutline": {
|
|
723
|
-
borderColor:
|
|
722
|
+
borderColor: border3.brandSolid,
|
|
724
723
|
borderWidth: 1,
|
|
725
724
|
boxShadow: "none"
|
|
726
725
|
},
|
|
727
726
|
"&.Mui-error .MuiOutlinedInput-notchedOutline": {
|
|
728
|
-
borderColor:
|
|
727
|
+
borderColor: border3.error
|
|
729
728
|
},
|
|
730
729
|
"&.Mui-error.Mui-focused .MuiOutlinedInput-notchedOutline": {
|
|
731
|
-
borderColor:
|
|
730
|
+
borderColor: border3.errorSolid,
|
|
732
731
|
boxShadow: "none"
|
|
733
732
|
}
|
|
734
733
|
},
|
|
735
734
|
notchedOutline: {
|
|
736
|
-
borderColor:
|
|
735
|
+
borderColor: border3.primary
|
|
737
736
|
},
|
|
738
737
|
input: {
|
|
739
|
-
padding: "
|
|
740
|
-
fontSize: 16,
|
|
741
|
-
lineHeight: "24px"
|
|
742
|
-
},
|
|
743
|
-
inputSizeSmall: {
|
|
744
|
-
padding: "8px 12px",
|
|
738
|
+
padding: "6px 12px",
|
|
745
739
|
fontSize: 14,
|
|
746
740
|
lineHeight: "20px"
|
|
747
741
|
}
|
|
@@ -750,12 +744,12 @@ function buildComponents(tokens) {
|
|
|
750
744
|
MuiFormLabel: {
|
|
751
745
|
styleOverrides: {
|
|
752
746
|
root: {
|
|
753
|
-
color:
|
|
747
|
+
color: text3.placeholder,
|
|
754
748
|
"&.Mui-focused": {
|
|
755
|
-
color:
|
|
749
|
+
color: text3.placeholder
|
|
756
750
|
},
|
|
757
751
|
"&.Mui-error": {
|
|
758
|
-
color:
|
|
752
|
+
color: text3.errorPrimary
|
|
759
753
|
}
|
|
760
754
|
}
|
|
761
755
|
}
|
|
@@ -765,12 +759,18 @@ function buildComponents(tokens) {
|
|
|
765
759
|
root: {
|
|
766
760
|
fontSize: 14,
|
|
767
761
|
fontWeight: 500,
|
|
768
|
-
color:
|
|
762
|
+
color: text3.placeholder,
|
|
769
763
|
"&.Mui-focused": {
|
|
770
|
-
color:
|
|
764
|
+
color: text3.placeholder
|
|
771
765
|
},
|
|
772
766
|
"&.Mui-error": {
|
|
773
|
-
color:
|
|
767
|
+
color: text3.errorPrimary
|
|
768
|
+
}
|
|
769
|
+
},
|
|
770
|
+
outlined: {
|
|
771
|
+
transform: "translate(12px, 6px) scale(1)",
|
|
772
|
+
"&.MuiInputLabel-shrink": {
|
|
773
|
+
transform: "translate(14px, -9px) scale(0.75)"
|
|
774
774
|
}
|
|
775
775
|
}
|
|
776
776
|
}
|
|
@@ -783,7 +783,7 @@ function buildComponents(tokens) {
|
|
|
783
783
|
marginTop: 6,
|
|
784
784
|
marginLeft: 0,
|
|
785
785
|
"&.Mui-error": {
|
|
786
|
-
color:
|
|
786
|
+
color: text3.errorPrimary
|
|
787
787
|
}
|
|
788
788
|
}
|
|
789
789
|
}
|
|
@@ -791,18 +791,38 @@ function buildComponents(tokens) {
|
|
|
791
791
|
// ─── Select ─────────────────────────────────────────────────────
|
|
792
792
|
MuiSelect: {
|
|
793
793
|
defaultProps: {
|
|
794
|
-
|
|
794
|
+
MenuProps: {
|
|
795
|
+
autoFocus: false,
|
|
796
|
+
slotProps: {
|
|
797
|
+
backdrop: {
|
|
798
|
+
sx: { backgroundColor: "transparent" }
|
|
799
|
+
}
|
|
800
|
+
}
|
|
801
|
+
}
|
|
795
802
|
},
|
|
796
803
|
styleOverrides: {
|
|
797
804
|
select: {
|
|
798
805
|
"&.MuiSelect-select": {
|
|
799
|
-
"
|
|
800
|
-
|
|
801
|
-
|
|
806
|
+
minHeight: "auto",
|
|
807
|
+
padding: "6px 12px",
|
|
808
|
+
fontSize: 14,
|
|
809
|
+
lineHeight: "20px"
|
|
802
810
|
}
|
|
803
811
|
},
|
|
804
812
|
icon: {
|
|
805
|
-
color:
|
|
813
|
+
color: text3.placeholder
|
|
814
|
+
}
|
|
815
|
+
}
|
|
816
|
+
},
|
|
817
|
+
MuiMenuItem: {
|
|
818
|
+
styleOverrides: {
|
|
819
|
+
root: {
|
|
820
|
+
borderRadius: radius3.md,
|
|
821
|
+
padding: "6px 8px",
|
|
822
|
+
gap: 4,
|
|
823
|
+
"&:hover": {
|
|
824
|
+
backgroundColor: bg3.primaryHover
|
|
825
|
+
}
|
|
806
826
|
}
|
|
807
827
|
}
|
|
808
828
|
},
|
|
@@ -810,20 +830,29 @@ function buildComponents(tokens) {
|
|
|
810
830
|
MuiAutocomplete: {
|
|
811
831
|
styleOverrides: {
|
|
812
832
|
paper: {
|
|
813
|
-
borderRadius:
|
|
833
|
+
borderRadius: radius3.md,
|
|
814
834
|
boxShadow: tokenShadows.lg,
|
|
815
|
-
border: `1px solid ${
|
|
835
|
+
border: `1px solid ${border3.secondary}`,
|
|
816
836
|
marginTop: 4
|
|
817
837
|
},
|
|
838
|
+
inputRoot: {
|
|
839
|
+
// Override Autocomplete's default padding so the input height stays 32px
|
|
840
|
+
padding: "0 12px",
|
|
841
|
+
"&.MuiOutlinedInput-root .MuiAutocomplete-input": {
|
|
842
|
+
padding: "6px 0",
|
|
843
|
+
fontSize: 14,
|
|
844
|
+
lineHeight: "20px"
|
|
845
|
+
}
|
|
846
|
+
},
|
|
818
847
|
option: {
|
|
819
|
-
fontSize:
|
|
820
|
-
lineHeight: "
|
|
821
|
-
padding: "
|
|
848
|
+
fontSize: 14,
|
|
849
|
+
lineHeight: "20px",
|
|
850
|
+
padding: "6px 12px",
|
|
822
851
|
"&.Mui-focused": {
|
|
823
|
-
backgroundColor:
|
|
852
|
+
backgroundColor: bg3.primaryHover
|
|
824
853
|
},
|
|
825
854
|
'&[aria-selected="true"]': {
|
|
826
|
-
backgroundColor:
|
|
855
|
+
backgroundColor: bg3.brandPrimary
|
|
827
856
|
}
|
|
828
857
|
},
|
|
829
858
|
listbox: {
|
|
@@ -838,28 +867,28 @@ function buildComponents(tokens) {
|
|
|
838
867
|
},
|
|
839
868
|
styleOverrides: {
|
|
840
869
|
root: {
|
|
841
|
-
color:
|
|
842
|
-
borderRadius:
|
|
870
|
+
color: border3.primary,
|
|
871
|
+
borderRadius: radius3.xs,
|
|
843
872
|
padding: 0,
|
|
844
873
|
width: 20,
|
|
845
874
|
height: 20,
|
|
846
875
|
"&:hover": {
|
|
847
876
|
backgroundColor: "transparent",
|
|
848
|
-
color:
|
|
877
|
+
color: fg3.brandPrimary
|
|
849
878
|
},
|
|
850
879
|
"&.Mui-checked": {
|
|
851
|
-
color:
|
|
880
|
+
color: fg3.brandPrimary
|
|
852
881
|
},
|
|
853
882
|
"&.Mui-checked:hover": {
|
|
854
|
-
color:
|
|
883
|
+
color: colors3.brand[700]
|
|
855
884
|
},
|
|
856
885
|
"&.Mui-focusVisible": {
|
|
857
886
|
outline: "none",
|
|
858
|
-
boxShadow:
|
|
859
|
-
borderRadius:
|
|
887
|
+
boxShadow: focusRings3.brand,
|
|
888
|
+
borderRadius: radius3.xs
|
|
860
889
|
},
|
|
861
890
|
"&.Mui-disabled": {
|
|
862
|
-
color:
|
|
891
|
+
color: border3.primary
|
|
863
892
|
}
|
|
864
893
|
}
|
|
865
894
|
}
|
|
@@ -871,25 +900,25 @@ function buildComponents(tokens) {
|
|
|
871
900
|
},
|
|
872
901
|
styleOverrides: {
|
|
873
902
|
root: {
|
|
874
|
-
color:
|
|
903
|
+
color: border3.primary,
|
|
875
904
|
padding: 0,
|
|
876
905
|
"&:hover": {
|
|
877
906
|
backgroundColor: "transparent",
|
|
878
|
-
color:
|
|
907
|
+
color: fg3.brandPrimary
|
|
879
908
|
},
|
|
880
909
|
"&.Mui-checked": {
|
|
881
|
-
color:
|
|
910
|
+
color: fg3.brandPrimary
|
|
882
911
|
},
|
|
883
912
|
"&.Mui-checked:hover": {
|
|
884
|
-
color:
|
|
913
|
+
color: colors3.brand[700]
|
|
885
914
|
},
|
|
886
915
|
"&.Mui-focusVisible": {
|
|
887
916
|
outline: "none",
|
|
888
|
-
boxShadow:
|
|
889
|
-
borderRadius:
|
|
917
|
+
boxShadow: focusRings3.brand,
|
|
918
|
+
borderRadius: radius3.full
|
|
890
919
|
},
|
|
891
920
|
"&.Mui-disabled": {
|
|
892
|
-
color:
|
|
921
|
+
color: border3.primary
|
|
893
922
|
}
|
|
894
923
|
}
|
|
895
924
|
}
|
|
@@ -909,20 +938,20 @@ function buildComponents(tokens) {
|
|
|
909
938
|
padding: 2,
|
|
910
939
|
"&.Mui-checked": {
|
|
911
940
|
transform: "translateX(20px)",
|
|
912
|
-
color:
|
|
941
|
+
color: fg3.white,
|
|
913
942
|
"& + .MuiSwitch-track": {
|
|
914
|
-
backgroundColor:
|
|
943
|
+
backgroundColor: fg3.brandPrimary,
|
|
915
944
|
opacity: 1
|
|
916
945
|
}
|
|
917
946
|
},
|
|
918
947
|
"&.Mui-checked:hover + .MuiSwitch-track": {
|
|
919
|
-
backgroundColor:
|
|
948
|
+
backgroundColor: colors3.brand[700]
|
|
920
949
|
},
|
|
921
950
|
"&.Mui-focusVisible .MuiSwitch-thumb": {
|
|
922
|
-
boxShadow:
|
|
951
|
+
boxShadow: focusRings3.brand
|
|
923
952
|
},
|
|
924
953
|
"&.Mui-disabled .MuiSwitch-thumb": {
|
|
925
|
-
color:
|
|
954
|
+
color: bg3.disabled
|
|
926
955
|
},
|
|
927
956
|
"&.Mui-disabled + .MuiSwitch-track": {
|
|
928
957
|
opacity: 0.5
|
|
@@ -934,8 +963,8 @@ function buildComponents(tokens) {
|
|
|
934
963
|
boxShadow: "0px 1px 2px 0px #1018280d"
|
|
935
964
|
},
|
|
936
965
|
track: {
|
|
937
|
-
borderRadius:
|
|
938
|
-
backgroundColor:
|
|
966
|
+
borderRadius: radius3.full,
|
|
967
|
+
backgroundColor: border3.secondary,
|
|
939
968
|
opacity: 1
|
|
940
969
|
}
|
|
941
970
|
}
|
|
@@ -944,8 +973,8 @@ function buildComponents(tokens) {
|
|
|
944
973
|
MuiToggleButton: {
|
|
945
974
|
styleOverrides: {
|
|
946
975
|
root: {
|
|
947
|
-
borderColor:
|
|
948
|
-
color:
|
|
976
|
+
borderColor: border3.primary,
|
|
977
|
+
color: text3.secondary,
|
|
949
978
|
fontSize: 14,
|
|
950
979
|
fontWeight: 600,
|
|
951
980
|
lineHeight: "20px",
|
|
@@ -953,19 +982,19 @@ function buildComponents(tokens) {
|
|
|
953
982
|
padding: "6px 12px",
|
|
954
983
|
textTransform: "none",
|
|
955
984
|
"&:hover": {
|
|
956
|
-
backgroundColor:
|
|
957
|
-
borderColor:
|
|
985
|
+
backgroundColor: bg3.primaryHover,
|
|
986
|
+
borderColor: border3.primary
|
|
958
987
|
},
|
|
959
988
|
"&.Mui-selected": {
|
|
960
|
-
backgroundColor:
|
|
961
|
-
color:
|
|
962
|
-
borderColor:
|
|
989
|
+
backgroundColor: bg3.brandPrimary,
|
|
990
|
+
color: buttonColors3.secondaryColor.fg,
|
|
991
|
+
borderColor: border3.brandSolid,
|
|
963
992
|
"&:hover": {
|
|
964
|
-
backgroundColor:
|
|
993
|
+
backgroundColor: bg3.brandSecondary
|
|
965
994
|
}
|
|
966
995
|
},
|
|
967
996
|
"&:focus-visible": {
|
|
968
|
-
boxShadow:
|
|
997
|
+
boxShadow: focusRings3.brandShadowXs
|
|
969
998
|
}
|
|
970
999
|
}
|
|
971
1000
|
}
|
|
@@ -973,7 +1002,7 @@ function buildComponents(tokens) {
|
|
|
973
1002
|
MuiToggleButtonGroup: {
|
|
974
1003
|
styleOverrides: {
|
|
975
1004
|
root: {
|
|
976
|
-
borderRadius:
|
|
1005
|
+
borderRadius: radius3.md,
|
|
977
1006
|
overflow: "hidden"
|
|
978
1007
|
},
|
|
979
1008
|
grouped: {
|
|
@@ -982,12 +1011,12 @@ function buildComponents(tokens) {
|
|
|
982
1011
|
marginLeft: -1
|
|
983
1012
|
},
|
|
984
1013
|
"&:first-of-type": {
|
|
985
|
-
borderTopLeftRadius:
|
|
986
|
-
borderBottomLeftRadius:
|
|
1014
|
+
borderTopLeftRadius: radius3.md,
|
|
1015
|
+
borderBottomLeftRadius: radius3.md
|
|
987
1016
|
},
|
|
988
1017
|
"&:last-of-type": {
|
|
989
|
-
borderTopRightRadius:
|
|
990
|
-
borderBottomRightRadius:
|
|
1018
|
+
borderTopRightRadius: radius3.md,
|
|
1019
|
+
borderBottomRightRadius: radius3.md
|
|
991
1020
|
}
|
|
992
1021
|
}
|
|
993
1022
|
}
|
|
@@ -999,9 +1028,9 @@ function buildComponents(tokens) {
|
|
|
999
1028
|
},
|
|
1000
1029
|
styleOverrides: {
|
|
1001
1030
|
root: {
|
|
1002
|
-
borderRadius:
|
|
1003
|
-
border: `1px solid ${
|
|
1004
|
-
backgroundColor:
|
|
1031
|
+
borderRadius: radius3.xl,
|
|
1032
|
+
border: `1px solid ${border3.secondary}`,
|
|
1033
|
+
backgroundColor: bg3.primary,
|
|
1005
1034
|
boxShadow: tokenShadows.xs,
|
|
1006
1035
|
overflow: "hidden"
|
|
1007
1036
|
}
|
|
@@ -1048,35 +1077,35 @@ function buildComponents(tokens) {
|
|
|
1048
1077
|
backgroundImage: "none"
|
|
1049
1078
|
},
|
|
1050
1079
|
rounded: {
|
|
1051
|
-
borderRadius:
|
|
1080
|
+
borderRadius: radius3.lg
|
|
1052
1081
|
},
|
|
1053
1082
|
elevation1: {
|
|
1054
1083
|
boxShadow: tokenShadows.xs,
|
|
1055
|
-
border: `1px solid ${
|
|
1084
|
+
border: `1px solid ${border3.secondary}`
|
|
1056
1085
|
},
|
|
1057
1086
|
elevation2: {
|
|
1058
1087
|
boxShadow: tokenShadows.sm,
|
|
1059
|
-
border: `1px solid ${
|
|
1088
|
+
border: `1px solid ${border3.secondary}`
|
|
1060
1089
|
},
|
|
1061
1090
|
elevation3: {
|
|
1062
1091
|
boxShadow: tokenShadows.md,
|
|
1063
|
-
border: `1px solid ${
|
|
1092
|
+
border: `1px solid ${border3.secondary}`
|
|
1064
1093
|
},
|
|
1065
1094
|
elevation4: {
|
|
1066
1095
|
boxShadow: tokenShadows.lg,
|
|
1067
|
-
border: `1px solid ${
|
|
1096
|
+
border: `1px solid ${border3.secondary}`
|
|
1068
1097
|
},
|
|
1069
1098
|
elevation8: {
|
|
1070
1099
|
boxShadow: tokenShadows.xl,
|
|
1071
|
-
border: `1px solid ${
|
|
1100
|
+
border: `1px solid ${border3.secondary}`
|
|
1072
1101
|
},
|
|
1073
1102
|
elevation16: {
|
|
1074
1103
|
boxShadow: tokenShadows["2xl"],
|
|
1075
|
-
border: `1px solid ${
|
|
1104
|
+
border: `1px solid ${border3.secondary}`
|
|
1076
1105
|
},
|
|
1077
1106
|
elevation24: {
|
|
1078
1107
|
boxShadow: tokenShadows["3xl"],
|
|
1079
|
-
border: `1px solid ${
|
|
1108
|
+
border: `1px solid ${border3.secondary}`
|
|
1080
1109
|
}
|
|
1081
1110
|
}
|
|
1082
1111
|
},
|
|
@@ -1088,8 +1117,8 @@ function buildComponents(tokens) {
|
|
|
1088
1117
|
},
|
|
1089
1118
|
styleOverrides: {
|
|
1090
1119
|
root: {
|
|
1091
|
-
border: `1px solid ${
|
|
1092
|
-
borderRadius:
|
|
1120
|
+
border: `1px solid ${border3.secondary}`,
|
|
1121
|
+
borderRadius: radius3.lg,
|
|
1093
1122
|
"&:not(:last-child)": {
|
|
1094
1123
|
marginBottom: 8
|
|
1095
1124
|
},
|
|
@@ -1099,7 +1128,7 @@ function buildComponents(tokens) {
|
|
|
1099
1128
|
"&.Mui-expanded": {
|
|
1100
1129
|
margin: 0,
|
|
1101
1130
|
marginBottom: 8,
|
|
1102
|
-
borderRadius:
|
|
1131
|
+
borderRadius: radius3.lg
|
|
1103
1132
|
}
|
|
1104
1133
|
}
|
|
1105
1134
|
}
|
|
@@ -1111,7 +1140,7 @@ function buildComponents(tokens) {
|
|
|
1111
1140
|
minHeight: 56,
|
|
1112
1141
|
"&.Mui-expanded": {
|
|
1113
1142
|
minHeight: 56,
|
|
1114
|
-
borderBottom: `1px solid ${
|
|
1143
|
+
borderBottom: `1px solid ${border3.secondary}`
|
|
1115
1144
|
}
|
|
1116
1145
|
},
|
|
1117
1146
|
content: {
|
|
@@ -1137,8 +1166,8 @@ function buildComponents(tokens) {
|
|
|
1137
1166
|
},
|
|
1138
1167
|
styleOverrides: {
|
|
1139
1168
|
root: {
|
|
1140
|
-
borderBottom: `1px solid ${
|
|
1141
|
-
backgroundColor:
|
|
1169
|
+
borderBottom: `1px solid ${border3.secondary}`,
|
|
1170
|
+
backgroundColor: bg3.primary
|
|
1142
1171
|
}
|
|
1143
1172
|
}
|
|
1144
1173
|
},
|
|
@@ -1162,7 +1191,7 @@ function buildComponents(tokens) {
|
|
|
1162
1191
|
MuiChip: {
|
|
1163
1192
|
styleOverrides: {
|
|
1164
1193
|
root: {
|
|
1165
|
-
borderRadius:
|
|
1194
|
+
borderRadius: radius3.md
|
|
1166
1195
|
},
|
|
1167
1196
|
label: {
|
|
1168
1197
|
fontWeight: 500
|
|
@@ -1178,51 +1207,51 @@ function buildComponents(tokens) {
|
|
|
1178
1207
|
},
|
|
1179
1208
|
colorDefault: {
|
|
1180
1209
|
"&.MuiChip-filled": {
|
|
1181
|
-
backgroundColor:
|
|
1182
|
-
color:
|
|
1183
|
-
"& .MuiChip-deleteIcon": { color:
|
|
1210
|
+
backgroundColor: colors3.gray[50],
|
|
1211
|
+
color: colors3.gray[700],
|
|
1212
|
+
"& .MuiChip-deleteIcon": { color: colors3.gray[400] }
|
|
1184
1213
|
}
|
|
1185
1214
|
},
|
|
1186
1215
|
colorPrimary: {
|
|
1187
1216
|
"&.MuiChip-filled": {
|
|
1188
|
-
backgroundColor:
|
|
1189
|
-
color:
|
|
1190
|
-
"& .MuiChip-deleteIcon": { color:
|
|
1217
|
+
backgroundColor: colors3.brand[50],
|
|
1218
|
+
color: colors3.brand[700],
|
|
1219
|
+
"& .MuiChip-deleteIcon": { color: colors3.brand[400] }
|
|
1191
1220
|
}
|
|
1192
1221
|
},
|
|
1193
1222
|
colorSecondary: {
|
|
1194
1223
|
"&.MuiChip-filled": {
|
|
1195
|
-
backgroundColor:
|
|
1196
|
-
color:
|
|
1197
|
-
"& .MuiChip-deleteIcon": { color:
|
|
1224
|
+
backgroundColor: colors3.gray[50],
|
|
1225
|
+
color: colors3.gray[700],
|
|
1226
|
+
"& .MuiChip-deleteIcon": { color: colors3.gray[400] }
|
|
1198
1227
|
}
|
|
1199
1228
|
},
|
|
1200
1229
|
colorError: {
|
|
1201
1230
|
"&.MuiChip-filled": {
|
|
1202
|
-
backgroundColor:
|
|
1203
|
-
color:
|
|
1204
|
-
"& .MuiChip-deleteIcon": { color:
|
|
1231
|
+
backgroundColor: colors3.error[50],
|
|
1232
|
+
color: colors3.error[700],
|
|
1233
|
+
"& .MuiChip-deleteIcon": { color: colors3.error[400] }
|
|
1205
1234
|
}
|
|
1206
1235
|
},
|
|
1207
1236
|
colorWarning: {
|
|
1208
1237
|
"&.MuiChip-filled": {
|
|
1209
|
-
backgroundColor:
|
|
1210
|
-
color:
|
|
1211
|
-
"& .MuiChip-deleteIcon": { color:
|
|
1238
|
+
backgroundColor: colors3.warning[50],
|
|
1239
|
+
color: colors3.warning[700],
|
|
1240
|
+
"& .MuiChip-deleteIcon": { color: colors3.warning[400] }
|
|
1212
1241
|
}
|
|
1213
1242
|
},
|
|
1214
1243
|
colorSuccess: {
|
|
1215
1244
|
"&.MuiChip-filled": {
|
|
1216
|
-
backgroundColor:
|
|
1217
|
-
color:
|
|
1218
|
-
"& .MuiChip-deleteIcon": { color:
|
|
1245
|
+
backgroundColor: colors3.success[50],
|
|
1246
|
+
color: colors3.success[700],
|
|
1247
|
+
"& .MuiChip-deleteIcon": { color: colors3.success[400] }
|
|
1219
1248
|
}
|
|
1220
1249
|
},
|
|
1221
1250
|
colorInfo: {
|
|
1222
1251
|
"&.MuiChip-filled": {
|
|
1223
|
-
backgroundColor:
|
|
1224
|
-
color:
|
|
1225
|
-
"& .MuiChip-deleteIcon": { color:
|
|
1252
|
+
backgroundColor: colors3.blue[50],
|
|
1253
|
+
color: colors3.blue[700],
|
|
1254
|
+
"& .MuiChip-deleteIcon": { color: colors3.blue[400] }
|
|
1226
1255
|
}
|
|
1227
1256
|
}
|
|
1228
1257
|
}
|
|
@@ -1238,7 +1267,7 @@ function buildComponents(tokens) {
|
|
|
1238
1267
|
fontSize: 14,
|
|
1239
1268
|
lineHeight: "20px",
|
|
1240
1269
|
fontWeight: 500,
|
|
1241
|
-
color:
|
|
1270
|
+
color: text3.secondary
|
|
1242
1271
|
}
|
|
1243
1272
|
}
|
|
1244
1273
|
},
|
|
@@ -1254,29 +1283,29 @@ function buildComponents(tokens) {
|
|
|
1254
1283
|
MuiTableCell: {
|
|
1255
1284
|
styleOverrides: {
|
|
1256
1285
|
root: {
|
|
1257
|
-
borderBottom: `1px solid ${
|
|
1286
|
+
borderBottom: `1px solid ${border3.secondary}`,
|
|
1258
1287
|
padding: "16px 24px",
|
|
1259
1288
|
fontSize: 14,
|
|
1260
1289
|
lineHeight: "20px",
|
|
1261
|
-
color:
|
|
1290
|
+
color: fg3.tertiary
|
|
1262
1291
|
},
|
|
1263
1292
|
head: {
|
|
1264
|
-
backgroundColor:
|
|
1265
|
-
color:
|
|
1293
|
+
backgroundColor: bg3.secondary,
|
|
1294
|
+
color: fg3.tertiary,
|
|
1266
1295
|
fontWeight: 500,
|
|
1267
1296
|
fontSize: 12,
|
|
1268
1297
|
lineHeight: "18px"
|
|
1269
1298
|
},
|
|
1270
1299
|
body: {
|
|
1271
|
-
color:
|
|
1300
|
+
color: fg3.tertiary
|
|
1272
1301
|
}
|
|
1273
1302
|
}
|
|
1274
1303
|
},
|
|
1275
1304
|
MuiTableHead: {
|
|
1276
1305
|
styleOverrides: {
|
|
1277
1306
|
root: {
|
|
1278
|
-
backgroundColor:
|
|
1279
|
-
borderBottom: `1px solid ${
|
|
1307
|
+
backgroundColor: bg3.secondary,
|
|
1308
|
+
borderBottom: `1px solid ${border3.secondary}`
|
|
1280
1309
|
}
|
|
1281
1310
|
}
|
|
1282
1311
|
},
|
|
@@ -1287,12 +1316,12 @@ function buildComponents(tokens) {
|
|
|
1287
1316
|
border: 0
|
|
1288
1317
|
},
|
|
1289
1318
|
"&:hover": {
|
|
1290
|
-
backgroundColor:
|
|
1319
|
+
backgroundColor: bg3.primaryHover
|
|
1291
1320
|
},
|
|
1292
1321
|
"&.Mui-selected": {
|
|
1293
|
-
backgroundColor:
|
|
1322
|
+
backgroundColor: bg3.brandPrimary,
|
|
1294
1323
|
"&:hover": {
|
|
1295
|
-
backgroundColor:
|
|
1324
|
+
backgroundColor: bg3.brandPrimary
|
|
1296
1325
|
}
|
|
1297
1326
|
}
|
|
1298
1327
|
}
|
|
@@ -1301,8 +1330,8 @@ function buildComponents(tokens) {
|
|
|
1301
1330
|
MuiTableContainer: {
|
|
1302
1331
|
styleOverrides: {
|
|
1303
1332
|
root: {
|
|
1304
|
-
borderRadius:
|
|
1305
|
-
border: `1px solid ${
|
|
1333
|
+
borderRadius: radius3.xl,
|
|
1334
|
+
border: `1px solid ${border3.secondary}`,
|
|
1306
1335
|
boxShadow: "none"
|
|
1307
1336
|
}
|
|
1308
1337
|
}
|
|
@@ -1316,24 +1345,24 @@ function buildComponents(tokens) {
|
|
|
1316
1345
|
lineHeight: "18px",
|
|
1317
1346
|
minWidth: 20,
|
|
1318
1347
|
height: 20,
|
|
1319
|
-
borderRadius:
|
|
1348
|
+
borderRadius: radius3.full
|
|
1320
1349
|
},
|
|
1321
1350
|
colorPrimary: {
|
|
1322
|
-
backgroundColor:
|
|
1351
|
+
backgroundColor: bg3.brandSolid
|
|
1323
1352
|
},
|
|
1324
1353
|
colorError: {
|
|
1325
|
-
backgroundColor:
|
|
1354
|
+
backgroundColor: bg3.errorSolid
|
|
1326
1355
|
},
|
|
1327
1356
|
colorSuccess: {
|
|
1328
|
-
backgroundColor:
|
|
1357
|
+
backgroundColor: bg3.successSolid
|
|
1329
1358
|
},
|
|
1330
1359
|
colorWarning: {
|
|
1331
|
-
backgroundColor:
|
|
1360
|
+
backgroundColor: bg3.warningSolid
|
|
1332
1361
|
},
|
|
1333
1362
|
dot: {
|
|
1334
1363
|
minWidth: 8,
|
|
1335
1364
|
height: 8,
|
|
1336
|
-
borderRadius:
|
|
1365
|
+
borderRadius: radius3.full
|
|
1337
1366
|
}
|
|
1338
1367
|
}
|
|
1339
1368
|
},
|
|
@@ -1341,7 +1370,7 @@ function buildComponents(tokens) {
|
|
|
1341
1370
|
MuiDivider: {
|
|
1342
1371
|
styleOverrides: {
|
|
1343
1372
|
root: {
|
|
1344
|
-
borderColor:
|
|
1373
|
+
borderColor: border3.secondary
|
|
1345
1374
|
}
|
|
1346
1375
|
}
|
|
1347
1376
|
},
|
|
@@ -1356,16 +1385,16 @@ function buildComponents(tokens) {
|
|
|
1356
1385
|
MuiListItemButton: {
|
|
1357
1386
|
styleOverrides: {
|
|
1358
1387
|
root: {
|
|
1359
|
-
borderRadius:
|
|
1388
|
+
borderRadius: radius3.sm,
|
|
1360
1389
|
padding: "8px 12px",
|
|
1361
1390
|
"&:hover": {
|
|
1362
|
-
backgroundColor:
|
|
1391
|
+
backgroundColor: bg3.primaryHover
|
|
1363
1392
|
},
|
|
1364
1393
|
"&.Mui-selected": {
|
|
1365
|
-
backgroundColor:
|
|
1366
|
-
color:
|
|
1394
|
+
backgroundColor: bg3.brandPrimary,
|
|
1395
|
+
color: buttonColors3.secondaryColor.fg,
|
|
1367
1396
|
"&:hover": {
|
|
1368
|
-
backgroundColor:
|
|
1397
|
+
backgroundColor: bg3.brandSecondary
|
|
1369
1398
|
}
|
|
1370
1399
|
}
|
|
1371
1400
|
}
|
|
@@ -1375,7 +1404,7 @@ function buildComponents(tokens) {
|
|
|
1375
1404
|
styleOverrides: {
|
|
1376
1405
|
root: {
|
|
1377
1406
|
minWidth: 36,
|
|
1378
|
-
color:
|
|
1407
|
+
color: fg3.quaternary
|
|
1379
1408
|
}
|
|
1380
1409
|
}
|
|
1381
1410
|
},
|
|
@@ -1385,12 +1414,12 @@ function buildComponents(tokens) {
|
|
|
1385
1414
|
fontSize: 14,
|
|
1386
1415
|
lineHeight: "20px",
|
|
1387
1416
|
fontWeight: 500,
|
|
1388
|
-
color:
|
|
1417
|
+
color: text3.secondary
|
|
1389
1418
|
},
|
|
1390
1419
|
secondary: {
|
|
1391
1420
|
fontSize: 14,
|
|
1392
1421
|
lineHeight: "20px",
|
|
1393
|
-
color:
|
|
1422
|
+
color: text3.quaternary
|
|
1394
1423
|
}
|
|
1395
1424
|
}
|
|
1396
1425
|
},
|
|
@@ -1398,17 +1427,17 @@ function buildComponents(tokens) {
|
|
|
1398
1427
|
MuiTooltip: {
|
|
1399
1428
|
styleOverrides: {
|
|
1400
1429
|
tooltip: {
|
|
1401
|
-
backgroundColor:
|
|
1402
|
-
color:
|
|
1430
|
+
backgroundColor: bg3.primarySolid,
|
|
1431
|
+
color: text3.white,
|
|
1403
1432
|
fontSize: 12,
|
|
1404
1433
|
lineHeight: "18px",
|
|
1405
1434
|
fontWeight: 600,
|
|
1406
1435
|
padding: "8px 12px",
|
|
1407
|
-
borderRadius:
|
|
1436
|
+
borderRadius: radius3.md,
|
|
1408
1437
|
boxShadow: tokenShadows.lg
|
|
1409
1438
|
},
|
|
1410
1439
|
arrow: {
|
|
1411
|
-
color:
|
|
1440
|
+
color: bg3.primarySolid
|
|
1412
1441
|
}
|
|
1413
1442
|
}
|
|
1414
1443
|
},
|
|
@@ -1419,42 +1448,42 @@ function buildComponents(tokens) {
|
|
|
1419
1448
|
},
|
|
1420
1449
|
styleOverrides: {
|
|
1421
1450
|
root: {
|
|
1422
|
-
borderRadius:
|
|
1451
|
+
borderRadius: radius3.xl,
|
|
1423
1452
|
fontSize: 14,
|
|
1424
1453
|
lineHeight: "20px",
|
|
1425
1454
|
padding: "12px 16px",
|
|
1426
1455
|
alignItems: "center"
|
|
1427
1456
|
},
|
|
1428
1457
|
standardError: {
|
|
1429
|
-
backgroundColor:
|
|
1430
|
-
color:
|
|
1431
|
-
border: `1px solid ${
|
|
1458
|
+
backgroundColor: bg3.errorPrimary,
|
|
1459
|
+
color: colors3.error[700],
|
|
1460
|
+
border: `1px solid ${border3.error}`,
|
|
1432
1461
|
"& .MuiAlert-icon": {
|
|
1433
|
-
color:
|
|
1462
|
+
color: fg3.errorPrimary
|
|
1434
1463
|
}
|
|
1435
1464
|
},
|
|
1436
1465
|
standardWarning: {
|
|
1437
|
-
backgroundColor:
|
|
1438
|
-
color:
|
|
1439
|
-
border: `1px solid ${
|
|
1466
|
+
backgroundColor: bg3.warningPrimary,
|
|
1467
|
+
color: colors3.warning[700],
|
|
1468
|
+
border: `1px solid ${colors3.warning[300]}`,
|
|
1440
1469
|
"& .MuiAlert-icon": {
|
|
1441
|
-
color:
|
|
1470
|
+
color: fg3.warningPrimary
|
|
1442
1471
|
}
|
|
1443
1472
|
},
|
|
1444
1473
|
standardSuccess: {
|
|
1445
|
-
backgroundColor:
|
|
1446
|
-
color:
|
|
1447
|
-
border: `1px solid ${
|
|
1474
|
+
backgroundColor: bg3.successPrimary,
|
|
1475
|
+
color: colors3.success[700],
|
|
1476
|
+
border: `1px solid ${colors3.success[300]}`,
|
|
1448
1477
|
"& .MuiAlert-icon": {
|
|
1449
|
-
color:
|
|
1478
|
+
color: fg3.successPrimary
|
|
1450
1479
|
}
|
|
1451
1480
|
},
|
|
1452
1481
|
standardInfo: {
|
|
1453
|
-
backgroundColor:
|
|
1454
|
-
color:
|
|
1455
|
-
border: `1px solid ${
|
|
1482
|
+
backgroundColor: colors3.blue[50],
|
|
1483
|
+
color: colors3.blue[700],
|
|
1484
|
+
border: `1px solid ${colors3.blue[300]}`,
|
|
1456
1485
|
"& .MuiAlert-icon": {
|
|
1457
|
-
color:
|
|
1486
|
+
color: colors3.blue[600]
|
|
1458
1487
|
}
|
|
1459
1488
|
},
|
|
1460
1489
|
icon: {
|
|
@@ -1485,7 +1514,7 @@ function buildComponents(tokens) {
|
|
|
1485
1514
|
MuiDialog: {
|
|
1486
1515
|
styleOverrides: {
|
|
1487
1516
|
paper: {
|
|
1488
|
-
borderRadius:
|
|
1517
|
+
borderRadius: radius3.xl,
|
|
1489
1518
|
boxShadow: tokenShadows.xl,
|
|
1490
1519
|
padding: 0
|
|
1491
1520
|
}
|
|
@@ -1497,7 +1526,7 @@ function buildComponents(tokens) {
|
|
|
1497
1526
|
fontSize: 18,
|
|
1498
1527
|
lineHeight: "28px",
|
|
1499
1528
|
fontWeight: 600,
|
|
1500
|
-
color:
|
|
1529
|
+
color: text3.primary,
|
|
1501
1530
|
padding: "24px 24px 0"
|
|
1502
1531
|
}
|
|
1503
1532
|
}
|
|
@@ -1508,7 +1537,7 @@ function buildComponents(tokens) {
|
|
|
1508
1537
|
padding: "20px 24px",
|
|
1509
1538
|
fontSize: 14,
|
|
1510
1539
|
lineHeight: "20px",
|
|
1511
|
-
color:
|
|
1540
|
+
color: text3.tertiary
|
|
1512
1541
|
}
|
|
1513
1542
|
}
|
|
1514
1543
|
},
|
|
@@ -1524,27 +1553,27 @@ function buildComponents(tokens) {
|
|
|
1524
1553
|
MuiLinearProgress: {
|
|
1525
1554
|
styleOverrides: {
|
|
1526
1555
|
root: {
|
|
1527
|
-
borderRadius:
|
|
1556
|
+
borderRadius: radius3.full,
|
|
1528
1557
|
height: 8,
|
|
1529
|
-
backgroundColor:
|
|
1558
|
+
backgroundColor: border3.secondary
|
|
1530
1559
|
},
|
|
1531
1560
|
barColorPrimary: {
|
|
1532
|
-
backgroundColor:
|
|
1533
|
-
borderRadius:
|
|
1561
|
+
backgroundColor: fg3.brandPrimary,
|
|
1562
|
+
borderRadius: radius3.full
|
|
1534
1563
|
},
|
|
1535
1564
|
barColorSecondary: {
|
|
1536
|
-
backgroundColor:
|
|
1537
|
-
borderRadius:
|
|
1565
|
+
backgroundColor: bg3.secondarySolid,
|
|
1566
|
+
borderRadius: radius3.full
|
|
1538
1567
|
}
|
|
1539
1568
|
}
|
|
1540
1569
|
},
|
|
1541
1570
|
MuiCircularProgress: {
|
|
1542
1571
|
styleOverrides: {
|
|
1543
1572
|
colorPrimary: {
|
|
1544
|
-
color:
|
|
1573
|
+
color: fg3.brandPrimary
|
|
1545
1574
|
},
|
|
1546
1575
|
colorSecondary: {
|
|
1547
|
-
color:
|
|
1576
|
+
color: bg3.secondarySolid
|
|
1548
1577
|
}
|
|
1549
1578
|
}
|
|
1550
1579
|
},
|
|
@@ -1555,13 +1584,13 @@ function buildComponents(tokens) {
|
|
|
1555
1584
|
},
|
|
1556
1585
|
styleOverrides: {
|
|
1557
1586
|
root: {
|
|
1558
|
-
backgroundColor:
|
|
1587
|
+
backgroundColor: bg3.tertiary
|
|
1559
1588
|
},
|
|
1560
1589
|
rounded: {
|
|
1561
|
-
borderRadius:
|
|
1590
|
+
borderRadius: radius3.md
|
|
1562
1591
|
},
|
|
1563
1592
|
circular: {
|
|
1564
|
-
borderRadius:
|
|
1593
|
+
borderRadius: radius3.full
|
|
1565
1594
|
}
|
|
1566
1595
|
}
|
|
1567
1596
|
},
|
|
@@ -1569,9 +1598,9 @@ function buildComponents(tokens) {
|
|
|
1569
1598
|
MuiSnackbarContent: {
|
|
1570
1599
|
styleOverrides: {
|
|
1571
1600
|
root: {
|
|
1572
|
-
backgroundColor:
|
|
1573
|
-
color:
|
|
1574
|
-
borderRadius:
|
|
1601
|
+
backgroundColor: bg3.primarySolid,
|
|
1602
|
+
color: text3.white,
|
|
1603
|
+
borderRadius: radius3.xl,
|
|
1575
1604
|
boxShadow: tokenShadows.lg,
|
|
1576
1605
|
fontSize: 14,
|
|
1577
1606
|
lineHeight: "20px",
|
|
@@ -1605,21 +1634,21 @@ function buildComponents(tokens) {
|
|
|
1605
1634
|
MuiDataGrid: {
|
|
1606
1635
|
styleOverrides: {
|
|
1607
1636
|
root: {
|
|
1608
|
-
border: `1px solid ${
|
|
1609
|
-
borderRadius:
|
|
1637
|
+
border: `1px solid ${border3.secondary}`,
|
|
1638
|
+
borderRadius: radius3.xl,
|
|
1610
1639
|
fontFamily: "inherit",
|
|
1611
1640
|
"& .MuiDataGrid-withBorderColor": {
|
|
1612
|
-
borderColor:
|
|
1641
|
+
borderColor: border3.secondary
|
|
1613
1642
|
}
|
|
1614
1643
|
},
|
|
1615
1644
|
columnHeaders: {
|
|
1616
|
-
backgroundColor:
|
|
1645
|
+
backgroundColor: bg3.secondary
|
|
1617
1646
|
},
|
|
1618
1647
|
columnHeader: {
|
|
1619
1648
|
fontSize: 12,
|
|
1620
1649
|
lineHeight: "18px",
|
|
1621
1650
|
fontWeight: 500,
|
|
1622
|
-
color:
|
|
1651
|
+
color: fg3.tertiary,
|
|
1623
1652
|
"&:focus, &:focus-within": {
|
|
1624
1653
|
outline: "none"
|
|
1625
1654
|
}
|
|
@@ -1630,27 +1659,27 @@ function buildComponents(tokens) {
|
|
|
1630
1659
|
cell: {
|
|
1631
1660
|
fontSize: 14,
|
|
1632
1661
|
lineHeight: "20px",
|
|
1633
|
-
color:
|
|
1662
|
+
color: fg3.tertiary,
|
|
1634
1663
|
"&:focus, &:focus-within": {
|
|
1635
1664
|
outline: "none"
|
|
1636
1665
|
}
|
|
1637
1666
|
},
|
|
1638
1667
|
row: {
|
|
1639
1668
|
"&:hover": {
|
|
1640
|
-
backgroundColor:
|
|
1669
|
+
backgroundColor: bg3.primaryHover
|
|
1641
1670
|
},
|
|
1642
1671
|
"&.Mui-selected": {
|
|
1643
|
-
backgroundColor:
|
|
1672
|
+
backgroundColor: bg3.brandPrimary,
|
|
1644
1673
|
"&:hover": {
|
|
1645
|
-
backgroundColor:
|
|
1674
|
+
backgroundColor: bg3.brandPrimary
|
|
1646
1675
|
}
|
|
1647
1676
|
}
|
|
1648
1677
|
},
|
|
1649
1678
|
footerContainer: {
|
|
1650
|
-
borderTop: `1px solid ${
|
|
1679
|
+
borderTop: `1px solid ${border3.secondary}`
|
|
1651
1680
|
},
|
|
1652
1681
|
columnSeparator: {
|
|
1653
|
-
color:
|
|
1682
|
+
color: border3.secondary
|
|
1654
1683
|
}
|
|
1655
1684
|
}
|
|
1656
1685
|
}
|
|
@@ -1779,9 +1808,351 @@ var forestPreset = {
|
|
|
1779
1808
|
}
|
|
1780
1809
|
};
|
|
1781
1810
|
|
|
1811
|
+
// src/theme/presets/alkemy-plus.ts
|
|
1812
|
+
var red = {
|
|
1813
|
+
50: "#fef2f2",
|
|
1814
|
+
100: "#fee2e2",
|
|
1815
|
+
200: "#fecaca",
|
|
1816
|
+
600: "#dc2626",
|
|
1817
|
+
700: "#b91c1c",
|
|
1818
|
+
800: "#991b1b",
|
|
1819
|
+
900: "#7f1d1d"};
|
|
1820
|
+
var colors2 = {
|
|
1821
|
+
base: {
|
|
1822
|
+
white: "#ffffff",
|
|
1823
|
+
black: "#000000",
|
|
1824
|
+
transparent: "#ffffff00"
|
|
1825
|
+
},
|
|
1826
|
+
/** Brand scale — black-based for primary actions */
|
|
1827
|
+
brand: {
|
|
1828
|
+
25: "#fafafa",
|
|
1829
|
+
50: "#f5f5f5",
|
|
1830
|
+
100: "#ebebeb",
|
|
1831
|
+
200: "#d6d6d6",
|
|
1832
|
+
300: "#b0b0b0",
|
|
1833
|
+
400: "#737373",
|
|
1834
|
+
500: "#404040",
|
|
1835
|
+
600: "#1a1a1a",
|
|
1836
|
+
700: "#0d0d0d",
|
|
1837
|
+
800: "#050505",
|
|
1838
|
+
900: "#000000",
|
|
1839
|
+
950: "#000000"
|
|
1840
|
+
},
|
|
1841
|
+
/** Warm-neutral gray scale */
|
|
1842
|
+
gray: {
|
|
1843
|
+
25: "#fdfcfc",
|
|
1844
|
+
50: "#faf9f8",
|
|
1845
|
+
100: "#f5f3f1",
|
|
1846
|
+
200: "#e8e5e3",
|
|
1847
|
+
300: "#d8d8dc",
|
|
1848
|
+
400: "#a0a0a6",
|
|
1849
|
+
500: "#71717a",
|
|
1850
|
+
600: "#52525b",
|
|
1851
|
+
700: "#3f3f46",
|
|
1852
|
+
800: "#27272a",
|
|
1853
|
+
900: "#18181b",
|
|
1854
|
+
950: "#09090b"
|
|
1855
|
+
},
|
|
1856
|
+
/** Error — forest defaults (standard UX red) */
|
|
1857
|
+
error: colors.error,
|
|
1858
|
+
/** Warning — orange/yellow tones from Alkemy+ palette */
|
|
1859
|
+
warning: {
|
|
1860
|
+
25: "#fffcf5",
|
|
1861
|
+
50: "#fff7ed",
|
|
1862
|
+
100: "#ffedd5",
|
|
1863
|
+
200: "#fed7aa",
|
|
1864
|
+
300: "#fdba74",
|
|
1865
|
+
400: "#fb923c",
|
|
1866
|
+
500: "#f08828",
|
|
1867
|
+
600: "#ea580c",
|
|
1868
|
+
700: "#c2410c",
|
|
1869
|
+
800: "#9a3412",
|
|
1870
|
+
900: "#7c2d12",
|
|
1871
|
+
950: "#431407"
|
|
1872
|
+
},
|
|
1873
|
+
/** Success — forest defaults (standard UX green) */
|
|
1874
|
+
success: colors.success,
|
|
1875
|
+
/** Blue (info) — forest defaults (standard UX) */
|
|
1876
|
+
blue: colors.blue
|
|
1877
|
+
};
|
|
1878
|
+
var radius2 = {
|
|
1879
|
+
...radius,
|
|
1880
|
+
xxs: 1,
|
|
1881
|
+
xs: 2,
|
|
1882
|
+
sm: 3,
|
|
1883
|
+
md: 4,
|
|
1884
|
+
lg: 5,
|
|
1885
|
+
xl: 6,
|
|
1886
|
+
"2xl": 8,
|
|
1887
|
+
"3xl": 10,
|
|
1888
|
+
"4xl": 12
|
|
1889
|
+
};
|
|
1890
|
+
var text2 = {
|
|
1891
|
+
primary: colors2.gray[900],
|
|
1892
|
+
secondary: colors2.gray[700],
|
|
1893
|
+
secondaryHover: colors2.gray[800],
|
|
1894
|
+
tertiary: colors2.gray[600],
|
|
1895
|
+
tertiaryHover: colors2.gray[700],
|
|
1896
|
+
quaternary: colors2.gray[500],
|
|
1897
|
+
disabled: colors2.gray[500],
|
|
1898
|
+
placeholder: colors2.gray[500],
|
|
1899
|
+
placeholderSubtle: colors2.gray[300],
|
|
1900
|
+
white: colors2.base.white,
|
|
1901
|
+
brandPrimary: red[900],
|
|
1902
|
+
brandSecondary: red[700],
|
|
1903
|
+
brandTertiary: red[600],
|
|
1904
|
+
brandTertiaryAlt: red[600],
|
|
1905
|
+
primaryOnBrand: colors2.base.white,
|
|
1906
|
+
secondaryOnBrand: colors2.brand[200],
|
|
1907
|
+
tertiaryOnBrand: colors2.brand[200],
|
|
1908
|
+
quaternaryOnBrand: colors2.brand[300],
|
|
1909
|
+
errorPrimary: colors2.error[600],
|
|
1910
|
+
warningPrimary: colors2.warning[600],
|
|
1911
|
+
successPrimary: colors2.success[600]
|
|
1912
|
+
};
|
|
1913
|
+
var bg2 = {
|
|
1914
|
+
primary: colors2.gray[50],
|
|
1915
|
+
primaryAlt: colors2.gray[50],
|
|
1916
|
+
primaryHover: colors2.gray[50],
|
|
1917
|
+
primarySolid: colors2.gray[950],
|
|
1918
|
+
secondary: colors2.base.white,
|
|
1919
|
+
secondaryAlt: colors2.base.white,
|
|
1920
|
+
secondarySubtle: colors2.gray[25],
|
|
1921
|
+
secondaryHover: colors2.gray[100],
|
|
1922
|
+
secondarySolid: colors2.gray[600],
|
|
1923
|
+
tertiary: colors2.gray[100],
|
|
1924
|
+
quaternary: colors2.gray[200],
|
|
1925
|
+
active: colors2.gray[50],
|
|
1926
|
+
disabled: colors2.gray[100],
|
|
1927
|
+
disabledSubtle: colors2.gray[50],
|
|
1928
|
+
overlay: colors2.gray[950],
|
|
1929
|
+
brandPrimary: colors2.brand[100],
|
|
1930
|
+
brandPrimaryAlt: colors2.brand[100],
|
|
1931
|
+
brandSecondary: colors2.brand[200],
|
|
1932
|
+
brandSolid: colors2.brand[600],
|
|
1933
|
+
brandSolidHover: colors2.brand[700],
|
|
1934
|
+
brandSection: colors2.brand[800],
|
|
1935
|
+
brandSectionSubtle: colors2.brand[700],
|
|
1936
|
+
errorPrimary: colors2.error[50],
|
|
1937
|
+
errorSecondary: colors2.error[100],
|
|
1938
|
+
errorSolid: colors2.error[600],
|
|
1939
|
+
warningPrimary: colors2.warning[50],
|
|
1940
|
+
warningSecondary: colors2.warning[100],
|
|
1941
|
+
warningSolid: colors2.warning[600],
|
|
1942
|
+
successPrimary: colors2.success[50],
|
|
1943
|
+
successSecondary: colors2.success[100],
|
|
1944
|
+
successSolid: colors2.success[600]
|
|
1945
|
+
};
|
|
1946
|
+
var fg2 = {
|
|
1947
|
+
primary: colors2.gray[900],
|
|
1948
|
+
secondary: colors2.gray[700],
|
|
1949
|
+
secondaryHover: colors2.gray[800],
|
|
1950
|
+
tertiary: colors2.gray[600],
|
|
1951
|
+
tertiaryHover: colors2.gray[700],
|
|
1952
|
+
quaternary: colors2.gray[500],
|
|
1953
|
+
quaternaryHover: colors2.gray[600],
|
|
1954
|
+
quinary: colors2.gray[400],
|
|
1955
|
+
quinaryHover: colors2.gray[500],
|
|
1956
|
+
senary: colors2.gray[300],
|
|
1957
|
+
white: colors2.base.white,
|
|
1958
|
+
disabled: colors2.gray[400],
|
|
1959
|
+
disabledSubtle: colors2.gray[300],
|
|
1960
|
+
brandPrimary: colors2.brand[600],
|
|
1961
|
+
brandPrimaryAlt: colors2.brand[600],
|
|
1962
|
+
brandSecondary: colors2.brand[500],
|
|
1963
|
+
errorPrimary: colors2.error[600],
|
|
1964
|
+
errorSecondary: colors2.error[500],
|
|
1965
|
+
warningPrimary: colors2.warning[600],
|
|
1966
|
+
warningSecondary: colors2.warning[500],
|
|
1967
|
+
successPrimary: colors2.success[600],
|
|
1968
|
+
successSecondary: colors2.success[500]
|
|
1969
|
+
};
|
|
1970
|
+
var border2 = {
|
|
1971
|
+
primary: colors2.gray[300],
|
|
1972
|
+
secondary: colors2.gray[200],
|
|
1973
|
+
tertiary: colors2.gray[100],
|
|
1974
|
+
disabled: colors2.gray[300],
|
|
1975
|
+
disabledSubtle: colors2.gray[200],
|
|
1976
|
+
brand: colors2.brand[300],
|
|
1977
|
+
brandSolid: colors2.brand[600],
|
|
1978
|
+
brandSolidAlt: colors2.brand[600],
|
|
1979
|
+
error: colors2.error[300],
|
|
1980
|
+
errorSolid: colors2.error[600]
|
|
1981
|
+
};
|
|
1982
|
+
var buttonColors2 = {
|
|
1983
|
+
/** Primary buttons — black */
|
|
1984
|
+
primary: {
|
|
1985
|
+
bg: colors2.brand[600],
|
|
1986
|
+
bgHover: colors2.brand[700],
|
|
1987
|
+
fg: colors2.base.white,
|
|
1988
|
+
fgHover: colors2.base.white,
|
|
1989
|
+
border: colors2.brand[600],
|
|
1990
|
+
borderHover: colors2.brand[700]
|
|
1991
|
+
},
|
|
1992
|
+
secondary: {
|
|
1993
|
+
bg: colors2.base.white,
|
|
1994
|
+
bgHover: colors2.gray[50],
|
|
1995
|
+
fg: colors2.gray[700],
|
|
1996
|
+
fgHover: colors2.gray[800],
|
|
1997
|
+
border: colors2.gray[300],
|
|
1998
|
+
borderHover: colors2.gray[300]
|
|
1999
|
+
},
|
|
2000
|
+
/** Outlined accent buttons — dark */
|
|
2001
|
+
secondaryColor: {
|
|
2002
|
+
bg: colors2.base.white,
|
|
2003
|
+
bgHover: colors2.brand[50],
|
|
2004
|
+
fg: colors2.brand[700],
|
|
2005
|
+
fgHover: colors2.brand[800],
|
|
2006
|
+
border: colors2.brand[300],
|
|
2007
|
+
borderHover: colors2.brand[300]
|
|
2008
|
+
},
|
|
2009
|
+
tertiary: {
|
|
2010
|
+
fg: colors2.gray[600],
|
|
2011
|
+
fgHover: colors2.gray[700],
|
|
2012
|
+
bgHover: colors2.gray[50]
|
|
2013
|
+
},
|
|
2014
|
+
/** Text accent buttons — red */
|
|
2015
|
+
tertiaryColor: {
|
|
2016
|
+
fg: red[700],
|
|
2017
|
+
fgHover: red[800],
|
|
2018
|
+
bgHover: red[50]
|
|
2019
|
+
},
|
|
2020
|
+
primaryError: {
|
|
2021
|
+
bg: colors2.error[600],
|
|
2022
|
+
bgHover: colors2.error[700],
|
|
2023
|
+
fg: colors2.base.white,
|
|
2024
|
+
fgHover: colors2.base.white,
|
|
2025
|
+
border: colors2.error[600],
|
|
2026
|
+
borderHover: colors2.error[700]
|
|
2027
|
+
},
|
|
2028
|
+
secondaryError: {
|
|
2029
|
+
bg: colors2.base.white,
|
|
2030
|
+
bgHover: colors2.error[50],
|
|
2031
|
+
fg: colors2.error[700],
|
|
2032
|
+
fgHover: colors2.error[800],
|
|
2033
|
+
border: colors2.error[300],
|
|
2034
|
+
borderHover: colors2.error[300]
|
|
2035
|
+
},
|
|
2036
|
+
tertiaryError: {
|
|
2037
|
+
fg: colors2.error[700],
|
|
2038
|
+
fgHover: colors2.error[800],
|
|
2039
|
+
bgHover: colors2.error[50]
|
|
2040
|
+
}
|
|
2041
|
+
};
|
|
2042
|
+
var avatarColors2 = {
|
|
2043
|
+
bg: colors2.gray[100],
|
|
2044
|
+
contrastBorder: "#00000014",
|
|
2045
|
+
profilePhotoBorder: colors2.base.white,
|
|
2046
|
+
focusBorder: "#a0a0a624"
|
|
2047
|
+
};
|
|
2048
|
+
var breadcrumbColors2 = {
|
|
2049
|
+
fg: colors2.gray[600],
|
|
2050
|
+
fgHover: colors2.gray[700],
|
|
2051
|
+
bgHover: colors2.gray[50],
|
|
2052
|
+
brandBgHover: red[50],
|
|
2053
|
+
brandFgHover: red[700],
|
|
2054
|
+
iconFg: colors2.gray[500],
|
|
2055
|
+
iconFgHover: colors2.gray[700],
|
|
2056
|
+
brandIconFgHover: red[700]
|
|
2057
|
+
};
|
|
2058
|
+
var iconColors2 = {
|
|
2059
|
+
fgBrand: red[600],
|
|
2060
|
+
fgBrandOnBrand: red[200],
|
|
2061
|
+
featuredModernBorder: colors2.gray[200],
|
|
2062
|
+
featuredLightFgBrand: red[600],
|
|
2063
|
+
featuredLightFgGray: colors2.gray[500],
|
|
2064
|
+
featuredLightFgError: colors2.error[600],
|
|
2065
|
+
featuredLightFgWarning: colors2.warning[600],
|
|
2066
|
+
featuredLightFgSuccess: colors2.success[600],
|
|
2067
|
+
featuredDarkFgBrand: colors2.base.white,
|
|
2068
|
+
featuredDarkFgGray: colors2.base.white,
|
|
2069
|
+
featuredDarkFgError: colors2.base.white,
|
|
2070
|
+
featuredDarkFgWarning: colors2.base.white,
|
|
2071
|
+
featuredDarkFgSuccess: colors2.base.white
|
|
2072
|
+
};
|
|
2073
|
+
var navColors2 = {
|
|
2074
|
+
itemIconFg: colors2.gray[500],
|
|
2075
|
+
itemIconFgActive: colors2.gray[500],
|
|
2076
|
+
itemButtonIconFg: colors2.gray[500],
|
|
2077
|
+
itemButtonIconFgActive: colors2.gray[700]
|
|
2078
|
+
};
|
|
2079
|
+
var sliderColors2 = {
|
|
2080
|
+
handleBorder: red[600],
|
|
2081
|
+
handleBg: colors2.base.white
|
|
2082
|
+
};
|
|
2083
|
+
var toggleColors2 = {
|
|
2084
|
+
buttonFgDisabled: colors2.gray[50]
|
|
2085
|
+
};
|
|
2086
|
+
var chartColors2 = {
|
|
2087
|
+
axisFg: colors2.gray[200],
|
|
2088
|
+
gridlineFg: colors2.gray[100],
|
|
2089
|
+
labelFg: colors2.gray[600],
|
|
2090
|
+
labelFgEmphasis: colors2.gray[700],
|
|
2091
|
+
bg: colors2.base.white,
|
|
2092
|
+
bgAlt: colors2.gray[50],
|
|
2093
|
+
tooltipBg: colors2.gray[950],
|
|
2094
|
+
tooltipFg: colors2.base.white,
|
|
2095
|
+
crosshairFg: colors2.gray[500],
|
|
2096
|
+
legendFg: colors2.gray[700],
|
|
2097
|
+
series1Fg: colors2.brand[600],
|
|
2098
|
+
series1FgHover: colors2.brand[700],
|
|
2099
|
+
series1Bg: colors2.brand[100],
|
|
2100
|
+
series1BgHover: colors2.brand[200],
|
|
2101
|
+
series2Fg: red[600],
|
|
2102
|
+
series2FgHover: red[700],
|
|
2103
|
+
series2Bg: red[100],
|
|
2104
|
+
series2BgHover: red[200]
|
|
2105
|
+
};
|
|
2106
|
+
var focusRings2 = {
|
|
2107
|
+
brand: "0px 0px 0px 4px #f040403d",
|
|
2108
|
+
brandShadowXs: "0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #f040403d",
|
|
2109
|
+
brandShadowSm: "0px 1px 3px 0px #1018281a, 0px 1px 2px 0px #1018280f, 0px 0px 0px 4px #f040403d",
|
|
2110
|
+
gray: "0px 0px 0px 4px #a0a0a624",
|
|
2111
|
+
grayShadowXs: "0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #a0a0a624",
|
|
2112
|
+
grayShadowSm: "0px 1px 3px 0px #1018281a, 0px 1px 2px 0px #1018280f, 0px 0px 0px 4px #a0a0a624",
|
|
2113
|
+
error: "0px 0px 0px 4px #f044383d",
|
|
2114
|
+
errorShadowXs: "0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #f044383d"
|
|
2115
|
+
};
|
|
2116
|
+
var alkemyPlusPreset = {
|
|
2117
|
+
name: "alkemy-plus",
|
|
2118
|
+
defaultVariant: "light",
|
|
2119
|
+
variants: {
|
|
2120
|
+
light: {
|
|
2121
|
+
tokens: {
|
|
2122
|
+
colors: colors2,
|
|
2123
|
+
spacing,
|
|
2124
|
+
radius: radius2,
|
|
2125
|
+
shadows,
|
|
2126
|
+
focusRings: focusRings2,
|
|
2127
|
+
fontFamily: '"Aeonik", sans-serif',
|
|
2128
|
+
fontSize,
|
|
2129
|
+
lineHeight,
|
|
2130
|
+
fontWeight,
|
|
2131
|
+
display,
|
|
2132
|
+
container,
|
|
2133
|
+
widths,
|
|
2134
|
+
text: text2,
|
|
2135
|
+
bg: bg2,
|
|
2136
|
+
fg: fg2,
|
|
2137
|
+
border: border2,
|
|
2138
|
+
buttonColors: buttonColors2,
|
|
2139
|
+
avatarColors: avatarColors2,
|
|
2140
|
+
breadcrumbColors: breadcrumbColors2,
|
|
2141
|
+
iconColors: iconColors2,
|
|
2142
|
+
navColors: navColors2,
|
|
2143
|
+
sliderColors: sliderColors2,
|
|
2144
|
+
toggleColors: toggleColors2,
|
|
2145
|
+
chartColors: chartColors2,
|
|
2146
|
+
alpha
|
|
2147
|
+
}
|
|
2148
|
+
}
|
|
2149
|
+
}
|
|
2150
|
+
};
|
|
2151
|
+
|
|
1782
2152
|
// src/theme/presets/index.ts
|
|
1783
2153
|
var presetRegistry = /* @__PURE__ */ new Map();
|
|
1784
2154
|
presetRegistry.set(forestPreset.name, forestPreset);
|
|
2155
|
+
presetRegistry.set(alkemyPlusPreset.name, alkemyPlusPreset);
|
|
1785
2156
|
function getPreset(name) {
|
|
1786
2157
|
return presetRegistry.get(name);
|
|
1787
2158
|
}
|
|
@@ -1804,6 +2175,7 @@ var forestThemeOptions = {
|
|
|
1804
2175
|
};
|
|
1805
2176
|
var forestTheme = styles.createTheme(forestThemeOptions);
|
|
1806
2177
|
|
|
2178
|
+
exports.alkemyPlusPreset = alkemyPlusPreset;
|
|
1807
2179
|
exports.alpha = alpha;
|
|
1808
2180
|
exports.avatarColors = avatarColors;
|
|
1809
2181
|
exports.bg = bg;
|