@matteoaliano/forest-ui 0.2.5 → 0.2.7
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/dist/{chunk-CQX6QWMF.mjs → chunk-3FSKMCSC.mjs} +570 -207
- package/dist/chunk-3FSKMCSC.mjs.map +1 -0
- package/dist/{index-lqHy9CQ4.d.mts → index-DoEC7Q1q.d.mts} +31 -21
- package/dist/{index-lqHy9CQ4.d.ts → index-DoEC7Q1q.d.ts} +31 -21
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +568 -204
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/theme.d.mts +1 -1
- package/dist/theme.d.ts +1 -1
- package/dist/theme.js +568 -204
- 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 +1 -1
- package/guidelines/FOREST_DEV_GUIDELINES.md +39 -8
- 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:
|
|
599
|
+
colors: colors3,
|
|
600
600
|
radius: radius2,
|
|
601
|
-
focusRings:
|
|
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 ─────────────────────────────────────────────────────
|
|
@@ -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
|
}
|
|
@@ -667,7 +667,7 @@ function buildComponents(tokens) {
|
|
|
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
|
}
|
|
@@ -703,8 +703,8 @@ function buildComponents(tokens) {
|
|
|
703
703
|
styleOverrides: {
|
|
704
704
|
input: {
|
|
705
705
|
"&::placeholder": {
|
|
706
|
-
color:
|
|
707
|
-
WebkitTextFillColor:
|
|
706
|
+
color: text3.placeholder,
|
|
707
|
+
WebkitTextFillColor: text3.placeholder,
|
|
708
708
|
fontWeight: 400,
|
|
709
709
|
opacity: 1
|
|
710
710
|
}
|
|
@@ -717,23 +717,23 @@ function buildComponents(tokens) {
|
|
|
717
717
|
borderRadius: radius2.md,
|
|
718
718
|
boxShadow: tokenShadows.xs,
|
|
719
719
|
"&:hover .MuiOutlinedInput-notchedOutline": {
|
|
720
|
-
borderColor:
|
|
720
|
+
borderColor: border3.brand
|
|
721
721
|
},
|
|
722
722
|
"&.Mui-focused .MuiOutlinedInput-notchedOutline": {
|
|
723
|
-
borderColor:
|
|
723
|
+
borderColor: border3.brandSolid,
|
|
724
724
|
borderWidth: 1,
|
|
725
725
|
boxShadow: "none"
|
|
726
726
|
},
|
|
727
727
|
"&.Mui-error .MuiOutlinedInput-notchedOutline": {
|
|
728
|
-
borderColor:
|
|
728
|
+
borderColor: border3.error
|
|
729
729
|
},
|
|
730
730
|
"&.Mui-error.Mui-focused .MuiOutlinedInput-notchedOutline": {
|
|
731
|
-
borderColor:
|
|
731
|
+
borderColor: border3.errorSolid,
|
|
732
732
|
boxShadow: "none"
|
|
733
733
|
}
|
|
734
734
|
},
|
|
735
735
|
notchedOutline: {
|
|
736
|
-
borderColor:
|
|
736
|
+
borderColor: border3.primary
|
|
737
737
|
},
|
|
738
738
|
input: {
|
|
739
739
|
padding: "10px 14px",
|
|
@@ -750,12 +750,12 @@ function buildComponents(tokens) {
|
|
|
750
750
|
MuiFormLabel: {
|
|
751
751
|
styleOverrides: {
|
|
752
752
|
root: {
|
|
753
|
-
color:
|
|
753
|
+
color: text3.placeholder,
|
|
754
754
|
"&.Mui-focused": {
|
|
755
|
-
color:
|
|
755
|
+
color: text3.placeholder
|
|
756
756
|
},
|
|
757
757
|
"&.Mui-error": {
|
|
758
|
-
color:
|
|
758
|
+
color: text3.errorPrimary
|
|
759
759
|
}
|
|
760
760
|
}
|
|
761
761
|
}
|
|
@@ -765,12 +765,23 @@ function buildComponents(tokens) {
|
|
|
765
765
|
root: {
|
|
766
766
|
fontSize: 14,
|
|
767
767
|
fontWeight: 500,
|
|
768
|
-
color:
|
|
768
|
+
color: text3.placeholder,
|
|
769
769
|
"&.Mui-focused": {
|
|
770
|
-
color:
|
|
770
|
+
color: text3.placeholder
|
|
771
771
|
},
|
|
772
772
|
"&.Mui-error": {
|
|
773
|
-
color:
|
|
773
|
+
color: text3.errorPrimary
|
|
774
|
+
}
|
|
775
|
+
},
|
|
776
|
+
outlined: {
|
|
777
|
+
// Align label with custom OutlinedInput padding (10px 14px)
|
|
778
|
+
transform: "translate(14px, 10px) scale(1)",
|
|
779
|
+
"&.MuiInputLabel-sizeSmall": {
|
|
780
|
+
// Align label with custom inputSizeSmall padding (8px 12px)
|
|
781
|
+
transform: "translate(12px, 8px) scale(1)"
|
|
782
|
+
},
|
|
783
|
+
"&.MuiInputLabel-shrink": {
|
|
784
|
+
transform: "translate(14px, -9px) scale(0.75)"
|
|
774
785
|
}
|
|
775
786
|
}
|
|
776
787
|
}
|
|
@@ -783,7 +794,7 @@ function buildComponents(tokens) {
|
|
|
783
794
|
marginTop: 6,
|
|
784
795
|
marginLeft: 0,
|
|
785
796
|
"&.Mui-error": {
|
|
786
|
-
color:
|
|
797
|
+
color: text3.errorPrimary
|
|
787
798
|
}
|
|
788
799
|
}
|
|
789
800
|
}
|
|
@@ -791,18 +802,36 @@ function buildComponents(tokens) {
|
|
|
791
802
|
// ─── Select ─────────────────────────────────────────────────────
|
|
792
803
|
MuiSelect: {
|
|
793
804
|
defaultProps: {
|
|
794
|
-
size: "small"
|
|
805
|
+
size: "small",
|
|
806
|
+
MenuProps: {
|
|
807
|
+
autoFocus: false
|
|
808
|
+
}
|
|
795
809
|
},
|
|
796
810
|
styleOverrides: {
|
|
797
811
|
select: {
|
|
812
|
+
display: "flex",
|
|
813
|
+
alignItems: "center",
|
|
798
814
|
"&.MuiSelect-select": {
|
|
815
|
+
minHeight: "20px",
|
|
799
816
|
"&[aria-placeholder], &:empty + .MuiSelect-nativeInput[value='']~&": {
|
|
800
|
-
color:
|
|
817
|
+
color: text3.placeholder
|
|
801
818
|
}
|
|
802
819
|
}
|
|
803
820
|
},
|
|
804
821
|
icon: {
|
|
805
|
-
color:
|
|
822
|
+
color: text3.placeholder
|
|
823
|
+
}
|
|
824
|
+
}
|
|
825
|
+
},
|
|
826
|
+
MuiMenuItem: {
|
|
827
|
+
styleOverrides: {
|
|
828
|
+
root: {
|
|
829
|
+
borderRadius: radius2.md,
|
|
830
|
+
padding: "6px 8px",
|
|
831
|
+
gap: 4,
|
|
832
|
+
"&:hover": {
|
|
833
|
+
backgroundColor: bg3.primaryHover
|
|
834
|
+
}
|
|
806
835
|
}
|
|
807
836
|
}
|
|
808
837
|
},
|
|
@@ -812,7 +841,7 @@ function buildComponents(tokens) {
|
|
|
812
841
|
paper: {
|
|
813
842
|
borderRadius: radius2.md,
|
|
814
843
|
boxShadow: tokenShadows.lg,
|
|
815
|
-
border: `1px solid ${
|
|
844
|
+
border: `1px solid ${border3.secondary}`,
|
|
816
845
|
marginTop: 4
|
|
817
846
|
},
|
|
818
847
|
option: {
|
|
@@ -820,10 +849,10 @@ function buildComponents(tokens) {
|
|
|
820
849
|
lineHeight: "24px",
|
|
821
850
|
padding: "10px 14px",
|
|
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:
|
|
870
|
+
color: border3.primary,
|
|
842
871
|
borderRadius: radius2.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:
|
|
887
|
+
boxShadow: focusRings3.brand,
|
|
859
888
|
borderRadius: radius2.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:
|
|
917
|
+
boxShadow: focusRings3.brand,
|
|
889
918
|
borderRadius: radius2.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
|
|
@@ -935,7 +964,7 @@ function buildComponents(tokens) {
|
|
|
935
964
|
},
|
|
936
965
|
track: {
|
|
937
966
|
borderRadius: radius2.full,
|
|
938
|
-
backgroundColor:
|
|
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,20 @@ 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.brand,
|
|
992
|
+
boxShadow: `inset 0 0 0 1px ${border3.brandSolid}`,
|
|
963
993
|
"&:hover": {
|
|
964
|
-
backgroundColor:
|
|
994
|
+
backgroundColor: bg3.brandSecondary
|
|
965
995
|
}
|
|
966
996
|
},
|
|
967
997
|
"&:focus-visible": {
|
|
968
|
-
boxShadow:
|
|
998
|
+
boxShadow: focusRings3.brandShadowXs
|
|
969
999
|
}
|
|
970
1000
|
}
|
|
971
1001
|
}
|
|
@@ -981,6 +1011,9 @@ function buildComponents(tokens) {
|
|
|
981
1011
|
"&:not(:first-of-type)": {
|
|
982
1012
|
marginLeft: -1
|
|
983
1013
|
},
|
|
1014
|
+
"&.Mui-selected + &.Mui-selected": {
|
|
1015
|
+
boxShadow: `inset -1px 0 0 0 ${border3.brandSolid}, inset 0 1px 0 0 ${border3.brandSolid}, inset 0 -1px 0 0 ${border3.brandSolid}`
|
|
1016
|
+
},
|
|
984
1017
|
"&:first-of-type": {
|
|
985
1018
|
borderTopLeftRadius: radius2.md,
|
|
986
1019
|
borderBottomLeftRadius: radius2.md
|
|
@@ -1000,8 +1033,8 @@ function buildComponents(tokens) {
|
|
|
1000
1033
|
styleOverrides: {
|
|
1001
1034
|
root: {
|
|
1002
1035
|
borderRadius: radius2.xl,
|
|
1003
|
-
border: `1px solid ${
|
|
1004
|
-
backgroundColor:
|
|
1036
|
+
border: `1px solid ${border3.secondary}`,
|
|
1037
|
+
backgroundColor: bg3.primary,
|
|
1005
1038
|
boxShadow: tokenShadows.xs,
|
|
1006
1039
|
overflow: "hidden"
|
|
1007
1040
|
}
|
|
@@ -1052,31 +1085,31 @@ function buildComponents(tokens) {
|
|
|
1052
1085
|
},
|
|
1053
1086
|
elevation1: {
|
|
1054
1087
|
boxShadow: tokenShadows.xs,
|
|
1055
|
-
border: `1px solid ${
|
|
1088
|
+
border: `1px solid ${border3.secondary}`
|
|
1056
1089
|
},
|
|
1057
1090
|
elevation2: {
|
|
1058
1091
|
boxShadow: tokenShadows.sm,
|
|
1059
|
-
border: `1px solid ${
|
|
1092
|
+
border: `1px solid ${border3.secondary}`
|
|
1060
1093
|
},
|
|
1061
1094
|
elevation3: {
|
|
1062
1095
|
boxShadow: tokenShadows.md,
|
|
1063
|
-
border: `1px solid ${
|
|
1096
|
+
border: `1px solid ${border3.secondary}`
|
|
1064
1097
|
},
|
|
1065
1098
|
elevation4: {
|
|
1066
1099
|
boxShadow: tokenShadows.lg,
|
|
1067
|
-
border: `1px solid ${
|
|
1100
|
+
border: `1px solid ${border3.secondary}`
|
|
1068
1101
|
},
|
|
1069
1102
|
elevation8: {
|
|
1070
1103
|
boxShadow: tokenShadows.xl,
|
|
1071
|
-
border: `1px solid ${
|
|
1104
|
+
border: `1px solid ${border3.secondary}`
|
|
1072
1105
|
},
|
|
1073
1106
|
elevation16: {
|
|
1074
1107
|
boxShadow: tokenShadows["2xl"],
|
|
1075
|
-
border: `1px solid ${
|
|
1108
|
+
border: `1px solid ${border3.secondary}`
|
|
1076
1109
|
},
|
|
1077
1110
|
elevation24: {
|
|
1078
1111
|
boxShadow: tokenShadows["3xl"],
|
|
1079
|
-
border: `1px solid ${
|
|
1112
|
+
border: `1px solid ${border3.secondary}`
|
|
1080
1113
|
}
|
|
1081
1114
|
}
|
|
1082
1115
|
},
|
|
@@ -1088,7 +1121,7 @@ function buildComponents(tokens) {
|
|
|
1088
1121
|
},
|
|
1089
1122
|
styleOverrides: {
|
|
1090
1123
|
root: {
|
|
1091
|
-
border: `1px solid ${
|
|
1124
|
+
border: `1px solid ${border3.secondary}`,
|
|
1092
1125
|
borderRadius: radius2.lg,
|
|
1093
1126
|
"&:not(:last-child)": {
|
|
1094
1127
|
marginBottom: 8
|
|
@@ -1111,7 +1144,7 @@ function buildComponents(tokens) {
|
|
|
1111
1144
|
minHeight: 56,
|
|
1112
1145
|
"&.Mui-expanded": {
|
|
1113
1146
|
minHeight: 56,
|
|
1114
|
-
borderBottom: `1px solid ${
|
|
1147
|
+
borderBottom: `1px solid ${border3.secondary}`
|
|
1115
1148
|
}
|
|
1116
1149
|
},
|
|
1117
1150
|
content: {
|
|
@@ -1137,8 +1170,8 @@ function buildComponents(tokens) {
|
|
|
1137
1170
|
},
|
|
1138
1171
|
styleOverrides: {
|
|
1139
1172
|
root: {
|
|
1140
|
-
borderBottom: `1px solid ${
|
|
1141
|
-
backgroundColor:
|
|
1173
|
+
borderBottom: `1px solid ${border3.secondary}`,
|
|
1174
|
+
backgroundColor: bg3.primary
|
|
1142
1175
|
}
|
|
1143
1176
|
}
|
|
1144
1177
|
},
|
|
@@ -1178,51 +1211,51 @@ function buildComponents(tokens) {
|
|
|
1178
1211
|
},
|
|
1179
1212
|
colorDefault: {
|
|
1180
1213
|
"&.MuiChip-filled": {
|
|
1181
|
-
backgroundColor:
|
|
1182
|
-
color:
|
|
1183
|
-
"& .MuiChip-deleteIcon": { color:
|
|
1214
|
+
backgroundColor: colors3.gray[50],
|
|
1215
|
+
color: colors3.gray[700],
|
|
1216
|
+
"& .MuiChip-deleteIcon": { color: colors3.gray[400] }
|
|
1184
1217
|
}
|
|
1185
1218
|
},
|
|
1186
1219
|
colorPrimary: {
|
|
1187
1220
|
"&.MuiChip-filled": {
|
|
1188
|
-
backgroundColor:
|
|
1189
|
-
color:
|
|
1190
|
-
"& .MuiChip-deleteIcon": { color:
|
|
1221
|
+
backgroundColor: colors3.brand[50],
|
|
1222
|
+
color: colors3.brand[700],
|
|
1223
|
+
"& .MuiChip-deleteIcon": { color: colors3.brand[400] }
|
|
1191
1224
|
}
|
|
1192
1225
|
},
|
|
1193
1226
|
colorSecondary: {
|
|
1194
1227
|
"&.MuiChip-filled": {
|
|
1195
|
-
backgroundColor:
|
|
1196
|
-
color:
|
|
1197
|
-
"& .MuiChip-deleteIcon": { color:
|
|
1228
|
+
backgroundColor: colors3.gray[50],
|
|
1229
|
+
color: colors3.gray[700],
|
|
1230
|
+
"& .MuiChip-deleteIcon": { color: colors3.gray[400] }
|
|
1198
1231
|
}
|
|
1199
1232
|
},
|
|
1200
1233
|
colorError: {
|
|
1201
1234
|
"&.MuiChip-filled": {
|
|
1202
|
-
backgroundColor:
|
|
1203
|
-
color:
|
|
1204
|
-
"& .MuiChip-deleteIcon": { color:
|
|
1235
|
+
backgroundColor: colors3.error[50],
|
|
1236
|
+
color: colors3.error[700],
|
|
1237
|
+
"& .MuiChip-deleteIcon": { color: colors3.error[400] }
|
|
1205
1238
|
}
|
|
1206
1239
|
},
|
|
1207
1240
|
colorWarning: {
|
|
1208
1241
|
"&.MuiChip-filled": {
|
|
1209
|
-
backgroundColor:
|
|
1210
|
-
color:
|
|
1211
|
-
"& .MuiChip-deleteIcon": { color:
|
|
1242
|
+
backgroundColor: colors3.warning[50],
|
|
1243
|
+
color: colors3.warning[700],
|
|
1244
|
+
"& .MuiChip-deleteIcon": { color: colors3.warning[400] }
|
|
1212
1245
|
}
|
|
1213
1246
|
},
|
|
1214
1247
|
colorSuccess: {
|
|
1215
1248
|
"&.MuiChip-filled": {
|
|
1216
|
-
backgroundColor:
|
|
1217
|
-
color:
|
|
1218
|
-
"& .MuiChip-deleteIcon": { color:
|
|
1249
|
+
backgroundColor: colors3.success[50],
|
|
1250
|
+
color: colors3.success[700],
|
|
1251
|
+
"& .MuiChip-deleteIcon": { color: colors3.success[400] }
|
|
1219
1252
|
}
|
|
1220
1253
|
},
|
|
1221
1254
|
colorInfo: {
|
|
1222
1255
|
"&.MuiChip-filled": {
|
|
1223
|
-
backgroundColor:
|
|
1224
|
-
color:
|
|
1225
|
-
"& .MuiChip-deleteIcon": { color:
|
|
1256
|
+
backgroundColor: colors3.blue[50],
|
|
1257
|
+
color: colors3.blue[700],
|
|
1258
|
+
"& .MuiChip-deleteIcon": { color: colors3.blue[400] }
|
|
1226
1259
|
}
|
|
1227
1260
|
}
|
|
1228
1261
|
}
|
|
@@ -1238,7 +1271,7 @@ function buildComponents(tokens) {
|
|
|
1238
1271
|
fontSize: 14,
|
|
1239
1272
|
lineHeight: "20px",
|
|
1240
1273
|
fontWeight: 500,
|
|
1241
|
-
color:
|
|
1274
|
+
color: text3.secondary
|
|
1242
1275
|
}
|
|
1243
1276
|
}
|
|
1244
1277
|
},
|
|
@@ -1254,29 +1287,29 @@ function buildComponents(tokens) {
|
|
|
1254
1287
|
MuiTableCell: {
|
|
1255
1288
|
styleOverrides: {
|
|
1256
1289
|
root: {
|
|
1257
|
-
borderBottom: `1px solid ${
|
|
1290
|
+
borderBottom: `1px solid ${border3.secondary}`,
|
|
1258
1291
|
padding: "16px 24px",
|
|
1259
1292
|
fontSize: 14,
|
|
1260
1293
|
lineHeight: "20px",
|
|
1261
|
-
color:
|
|
1294
|
+
color: fg3.tertiary
|
|
1262
1295
|
},
|
|
1263
1296
|
head: {
|
|
1264
|
-
backgroundColor:
|
|
1265
|
-
color:
|
|
1297
|
+
backgroundColor: bg3.secondary,
|
|
1298
|
+
color: fg3.tertiary,
|
|
1266
1299
|
fontWeight: 500,
|
|
1267
1300
|
fontSize: 12,
|
|
1268
1301
|
lineHeight: "18px"
|
|
1269
1302
|
},
|
|
1270
1303
|
body: {
|
|
1271
|
-
color:
|
|
1304
|
+
color: fg3.tertiary
|
|
1272
1305
|
}
|
|
1273
1306
|
}
|
|
1274
1307
|
},
|
|
1275
1308
|
MuiTableHead: {
|
|
1276
1309
|
styleOverrides: {
|
|
1277
1310
|
root: {
|
|
1278
|
-
backgroundColor:
|
|
1279
|
-
borderBottom: `1px solid ${
|
|
1311
|
+
backgroundColor: bg3.secondary,
|
|
1312
|
+
borderBottom: `1px solid ${border3.secondary}`
|
|
1280
1313
|
}
|
|
1281
1314
|
}
|
|
1282
1315
|
},
|
|
@@ -1287,12 +1320,12 @@ function buildComponents(tokens) {
|
|
|
1287
1320
|
border: 0
|
|
1288
1321
|
},
|
|
1289
1322
|
"&:hover": {
|
|
1290
|
-
backgroundColor:
|
|
1323
|
+
backgroundColor: bg3.primaryHover
|
|
1291
1324
|
},
|
|
1292
1325
|
"&.Mui-selected": {
|
|
1293
|
-
backgroundColor:
|
|
1326
|
+
backgroundColor: bg3.brandPrimary,
|
|
1294
1327
|
"&:hover": {
|
|
1295
|
-
backgroundColor:
|
|
1328
|
+
backgroundColor: bg3.brandPrimary
|
|
1296
1329
|
}
|
|
1297
1330
|
}
|
|
1298
1331
|
}
|
|
@@ -1302,7 +1335,7 @@ function buildComponents(tokens) {
|
|
|
1302
1335
|
styleOverrides: {
|
|
1303
1336
|
root: {
|
|
1304
1337
|
borderRadius: radius2.xl,
|
|
1305
|
-
border: `1px solid ${
|
|
1338
|
+
border: `1px solid ${border3.secondary}`,
|
|
1306
1339
|
boxShadow: "none"
|
|
1307
1340
|
}
|
|
1308
1341
|
}
|
|
@@ -1319,16 +1352,16 @@ function buildComponents(tokens) {
|
|
|
1319
1352
|
borderRadius: radius2.full
|
|
1320
1353
|
},
|
|
1321
1354
|
colorPrimary: {
|
|
1322
|
-
backgroundColor:
|
|
1355
|
+
backgroundColor: bg3.brandSolid
|
|
1323
1356
|
},
|
|
1324
1357
|
colorError: {
|
|
1325
|
-
backgroundColor:
|
|
1358
|
+
backgroundColor: bg3.errorSolid
|
|
1326
1359
|
},
|
|
1327
1360
|
colorSuccess: {
|
|
1328
|
-
backgroundColor:
|
|
1361
|
+
backgroundColor: bg3.successSolid
|
|
1329
1362
|
},
|
|
1330
1363
|
colorWarning: {
|
|
1331
|
-
backgroundColor:
|
|
1364
|
+
backgroundColor: bg3.warningSolid
|
|
1332
1365
|
},
|
|
1333
1366
|
dot: {
|
|
1334
1367
|
minWidth: 8,
|
|
@@ -1341,7 +1374,7 @@ function buildComponents(tokens) {
|
|
|
1341
1374
|
MuiDivider: {
|
|
1342
1375
|
styleOverrides: {
|
|
1343
1376
|
root: {
|
|
1344
|
-
borderColor:
|
|
1377
|
+
borderColor: border3.secondary
|
|
1345
1378
|
}
|
|
1346
1379
|
}
|
|
1347
1380
|
},
|
|
@@ -1359,13 +1392,13 @@ function buildComponents(tokens) {
|
|
|
1359
1392
|
borderRadius: radius2.sm,
|
|
1360
1393
|
padding: "8px 12px",
|
|
1361
1394
|
"&:hover": {
|
|
1362
|
-
backgroundColor:
|
|
1395
|
+
backgroundColor: bg3.primaryHover
|
|
1363
1396
|
},
|
|
1364
1397
|
"&.Mui-selected": {
|
|
1365
|
-
backgroundColor:
|
|
1366
|
-
color:
|
|
1398
|
+
backgroundColor: bg3.brandPrimary,
|
|
1399
|
+
color: buttonColors3.secondaryColor.fg,
|
|
1367
1400
|
"&:hover": {
|
|
1368
|
-
backgroundColor:
|
|
1401
|
+
backgroundColor: bg3.brandSecondary
|
|
1369
1402
|
}
|
|
1370
1403
|
}
|
|
1371
1404
|
}
|
|
@@ -1375,7 +1408,7 @@ function buildComponents(tokens) {
|
|
|
1375
1408
|
styleOverrides: {
|
|
1376
1409
|
root: {
|
|
1377
1410
|
minWidth: 36,
|
|
1378
|
-
color:
|
|
1411
|
+
color: fg3.quaternary
|
|
1379
1412
|
}
|
|
1380
1413
|
}
|
|
1381
1414
|
},
|
|
@@ -1385,12 +1418,12 @@ function buildComponents(tokens) {
|
|
|
1385
1418
|
fontSize: 14,
|
|
1386
1419
|
lineHeight: "20px",
|
|
1387
1420
|
fontWeight: 500,
|
|
1388
|
-
color:
|
|
1421
|
+
color: text3.secondary
|
|
1389
1422
|
},
|
|
1390
1423
|
secondary: {
|
|
1391
1424
|
fontSize: 14,
|
|
1392
1425
|
lineHeight: "20px",
|
|
1393
|
-
color:
|
|
1426
|
+
color: text3.quaternary
|
|
1394
1427
|
}
|
|
1395
1428
|
}
|
|
1396
1429
|
},
|
|
@@ -1398,8 +1431,8 @@ function buildComponents(tokens) {
|
|
|
1398
1431
|
MuiTooltip: {
|
|
1399
1432
|
styleOverrides: {
|
|
1400
1433
|
tooltip: {
|
|
1401
|
-
backgroundColor:
|
|
1402
|
-
color:
|
|
1434
|
+
backgroundColor: bg3.primarySolid,
|
|
1435
|
+
color: text3.white,
|
|
1403
1436
|
fontSize: 12,
|
|
1404
1437
|
lineHeight: "18px",
|
|
1405
1438
|
fontWeight: 600,
|
|
@@ -1408,7 +1441,7 @@ function buildComponents(tokens) {
|
|
|
1408
1441
|
boxShadow: tokenShadows.lg
|
|
1409
1442
|
},
|
|
1410
1443
|
arrow: {
|
|
1411
|
-
color:
|
|
1444
|
+
color: bg3.primarySolid
|
|
1412
1445
|
}
|
|
1413
1446
|
}
|
|
1414
1447
|
},
|
|
@@ -1426,35 +1459,35 @@ function buildComponents(tokens) {
|
|
|
1426
1459
|
alignItems: "center"
|
|
1427
1460
|
},
|
|
1428
1461
|
standardError: {
|
|
1429
|
-
backgroundColor:
|
|
1430
|
-
color:
|
|
1431
|
-
border: `1px solid ${
|
|
1462
|
+
backgroundColor: bg3.errorPrimary,
|
|
1463
|
+
color: colors3.error[700],
|
|
1464
|
+
border: `1px solid ${border3.error}`,
|
|
1432
1465
|
"& .MuiAlert-icon": {
|
|
1433
|
-
color:
|
|
1466
|
+
color: fg3.errorPrimary
|
|
1434
1467
|
}
|
|
1435
1468
|
},
|
|
1436
1469
|
standardWarning: {
|
|
1437
|
-
backgroundColor:
|
|
1438
|
-
color:
|
|
1439
|
-
border: `1px solid ${
|
|
1470
|
+
backgroundColor: bg3.warningPrimary,
|
|
1471
|
+
color: colors3.warning[700],
|
|
1472
|
+
border: `1px solid ${colors3.warning[300]}`,
|
|
1440
1473
|
"& .MuiAlert-icon": {
|
|
1441
|
-
color:
|
|
1474
|
+
color: fg3.warningPrimary
|
|
1442
1475
|
}
|
|
1443
1476
|
},
|
|
1444
1477
|
standardSuccess: {
|
|
1445
|
-
backgroundColor:
|
|
1446
|
-
color:
|
|
1447
|
-
border: `1px solid ${
|
|
1478
|
+
backgroundColor: bg3.successPrimary,
|
|
1479
|
+
color: colors3.success[700],
|
|
1480
|
+
border: `1px solid ${colors3.success[300]}`,
|
|
1448
1481
|
"& .MuiAlert-icon": {
|
|
1449
|
-
color:
|
|
1482
|
+
color: fg3.successPrimary
|
|
1450
1483
|
}
|
|
1451
1484
|
},
|
|
1452
1485
|
standardInfo: {
|
|
1453
|
-
backgroundColor:
|
|
1454
|
-
color:
|
|
1455
|
-
border: `1px solid ${
|
|
1486
|
+
backgroundColor: colors3.blue[50],
|
|
1487
|
+
color: colors3.blue[700],
|
|
1488
|
+
border: `1px solid ${colors3.blue[300]}`,
|
|
1456
1489
|
"& .MuiAlert-icon": {
|
|
1457
|
-
color:
|
|
1490
|
+
color: colors3.blue[600]
|
|
1458
1491
|
}
|
|
1459
1492
|
},
|
|
1460
1493
|
icon: {
|
|
@@ -1497,7 +1530,7 @@ function buildComponents(tokens) {
|
|
|
1497
1530
|
fontSize: 18,
|
|
1498
1531
|
lineHeight: "28px",
|
|
1499
1532
|
fontWeight: 600,
|
|
1500
|
-
color:
|
|
1533
|
+
color: text3.primary,
|
|
1501
1534
|
padding: "24px 24px 0"
|
|
1502
1535
|
}
|
|
1503
1536
|
}
|
|
@@ -1508,7 +1541,7 @@ function buildComponents(tokens) {
|
|
|
1508
1541
|
padding: "20px 24px",
|
|
1509
1542
|
fontSize: 14,
|
|
1510
1543
|
lineHeight: "20px",
|
|
1511
|
-
color:
|
|
1544
|
+
color: text3.tertiary
|
|
1512
1545
|
}
|
|
1513
1546
|
}
|
|
1514
1547
|
},
|
|
@@ -1526,14 +1559,14 @@ function buildComponents(tokens) {
|
|
|
1526
1559
|
root: {
|
|
1527
1560
|
borderRadius: radius2.full,
|
|
1528
1561
|
height: 8,
|
|
1529
|
-
backgroundColor:
|
|
1562
|
+
backgroundColor: border3.secondary
|
|
1530
1563
|
},
|
|
1531
1564
|
barColorPrimary: {
|
|
1532
|
-
backgroundColor:
|
|
1565
|
+
backgroundColor: fg3.brandPrimary,
|
|
1533
1566
|
borderRadius: radius2.full
|
|
1534
1567
|
},
|
|
1535
1568
|
barColorSecondary: {
|
|
1536
|
-
backgroundColor:
|
|
1569
|
+
backgroundColor: bg3.secondarySolid,
|
|
1537
1570
|
borderRadius: radius2.full
|
|
1538
1571
|
}
|
|
1539
1572
|
}
|
|
@@ -1541,10 +1574,10 @@ function buildComponents(tokens) {
|
|
|
1541
1574
|
MuiCircularProgress: {
|
|
1542
1575
|
styleOverrides: {
|
|
1543
1576
|
colorPrimary: {
|
|
1544
|
-
color:
|
|
1577
|
+
color: fg3.brandPrimary
|
|
1545
1578
|
},
|
|
1546
1579
|
colorSecondary: {
|
|
1547
|
-
color:
|
|
1580
|
+
color: bg3.secondarySolid
|
|
1548
1581
|
}
|
|
1549
1582
|
}
|
|
1550
1583
|
},
|
|
@@ -1555,7 +1588,7 @@ function buildComponents(tokens) {
|
|
|
1555
1588
|
},
|
|
1556
1589
|
styleOverrides: {
|
|
1557
1590
|
root: {
|
|
1558
|
-
backgroundColor:
|
|
1591
|
+
backgroundColor: bg3.tertiary
|
|
1559
1592
|
},
|
|
1560
1593
|
rounded: {
|
|
1561
1594
|
borderRadius: radius2.md
|
|
@@ -1569,8 +1602,8 @@ function buildComponents(tokens) {
|
|
|
1569
1602
|
MuiSnackbarContent: {
|
|
1570
1603
|
styleOverrides: {
|
|
1571
1604
|
root: {
|
|
1572
|
-
backgroundColor:
|
|
1573
|
-
color:
|
|
1605
|
+
backgroundColor: bg3.primarySolid,
|
|
1606
|
+
color: text3.white,
|
|
1574
1607
|
borderRadius: radius2.xl,
|
|
1575
1608
|
boxShadow: tokenShadows.lg,
|
|
1576
1609
|
fontSize: 14,
|
|
@@ -1605,21 +1638,21 @@ function buildComponents(tokens) {
|
|
|
1605
1638
|
MuiDataGrid: {
|
|
1606
1639
|
styleOverrides: {
|
|
1607
1640
|
root: {
|
|
1608
|
-
border: `1px solid ${
|
|
1641
|
+
border: `1px solid ${border3.secondary}`,
|
|
1609
1642
|
borderRadius: radius2.xl,
|
|
1610
1643
|
fontFamily: "inherit",
|
|
1611
1644
|
"& .MuiDataGrid-withBorderColor": {
|
|
1612
|
-
borderColor:
|
|
1645
|
+
borderColor: border3.secondary
|
|
1613
1646
|
}
|
|
1614
1647
|
},
|
|
1615
1648
|
columnHeaders: {
|
|
1616
|
-
backgroundColor:
|
|
1649
|
+
backgroundColor: bg3.secondary
|
|
1617
1650
|
},
|
|
1618
1651
|
columnHeader: {
|
|
1619
1652
|
fontSize: 12,
|
|
1620
1653
|
lineHeight: "18px",
|
|
1621
1654
|
fontWeight: 500,
|
|
1622
|
-
color:
|
|
1655
|
+
color: fg3.tertiary,
|
|
1623
1656
|
"&:focus, &:focus-within": {
|
|
1624
1657
|
outline: "none"
|
|
1625
1658
|
}
|
|
@@ -1630,27 +1663,27 @@ function buildComponents(tokens) {
|
|
|
1630
1663
|
cell: {
|
|
1631
1664
|
fontSize: 14,
|
|
1632
1665
|
lineHeight: "20px",
|
|
1633
|
-
color:
|
|
1666
|
+
color: fg3.tertiary,
|
|
1634
1667
|
"&:focus, &:focus-within": {
|
|
1635
1668
|
outline: "none"
|
|
1636
1669
|
}
|
|
1637
1670
|
},
|
|
1638
1671
|
row: {
|
|
1639
1672
|
"&:hover": {
|
|
1640
|
-
backgroundColor:
|
|
1673
|
+
backgroundColor: bg3.primaryHover
|
|
1641
1674
|
},
|
|
1642
1675
|
"&.Mui-selected": {
|
|
1643
|
-
backgroundColor:
|
|
1676
|
+
backgroundColor: bg3.brandPrimary,
|
|
1644
1677
|
"&:hover": {
|
|
1645
|
-
backgroundColor:
|
|
1678
|
+
backgroundColor: bg3.brandPrimary
|
|
1646
1679
|
}
|
|
1647
1680
|
}
|
|
1648
1681
|
},
|
|
1649
1682
|
footerContainer: {
|
|
1650
|
-
borderTop: `1px solid ${
|
|
1683
|
+
borderTop: `1px solid ${border3.secondary}`
|
|
1651
1684
|
},
|
|
1652
1685
|
columnSeparator: {
|
|
1653
|
-
color:
|
|
1686
|
+
color: border3.secondary
|
|
1654
1687
|
}
|
|
1655
1688
|
}
|
|
1656
1689
|
}
|
|
@@ -1779,9 +1812,339 @@ var forestPreset = {
|
|
|
1779
1812
|
}
|
|
1780
1813
|
};
|
|
1781
1814
|
|
|
1815
|
+
// src/theme/presets/alkemy-plus.ts
|
|
1816
|
+
var red = {
|
|
1817
|
+
50: "#fef2f2",
|
|
1818
|
+
100: "#fee2e2",
|
|
1819
|
+
200: "#fecaca",
|
|
1820
|
+
600: "#dc2626",
|
|
1821
|
+
700: "#b91c1c",
|
|
1822
|
+
800: "#991b1b",
|
|
1823
|
+
900: "#7f1d1d"};
|
|
1824
|
+
var colors2 = {
|
|
1825
|
+
base: {
|
|
1826
|
+
white: "#ffffff",
|
|
1827
|
+
black: "#000000",
|
|
1828
|
+
transparent: "#ffffff00"
|
|
1829
|
+
},
|
|
1830
|
+
/** Brand scale — black-based for primary actions */
|
|
1831
|
+
brand: {
|
|
1832
|
+
25: "#fafafa",
|
|
1833
|
+
50: "#f5f5f5",
|
|
1834
|
+
100: "#ebebeb",
|
|
1835
|
+
200: "#d6d6d6",
|
|
1836
|
+
300: "#b0b0b0",
|
|
1837
|
+
400: "#737373",
|
|
1838
|
+
500: "#404040",
|
|
1839
|
+
600: "#1a1a1a",
|
|
1840
|
+
700: "#0d0d0d",
|
|
1841
|
+
800: "#050505",
|
|
1842
|
+
900: "#000000",
|
|
1843
|
+
950: "#000000"
|
|
1844
|
+
},
|
|
1845
|
+
/** Warm-neutral gray scale */
|
|
1846
|
+
gray: {
|
|
1847
|
+
25: "#fdfcfc",
|
|
1848
|
+
50: "#faf9f8",
|
|
1849
|
+
100: "#f5f3f1",
|
|
1850
|
+
200: "#e8e5e3",
|
|
1851
|
+
300: "#d8d8dc",
|
|
1852
|
+
400: "#a0a0a6",
|
|
1853
|
+
500: "#71717a",
|
|
1854
|
+
600: "#52525b",
|
|
1855
|
+
700: "#3f3f46",
|
|
1856
|
+
800: "#27272a",
|
|
1857
|
+
900: "#18181b",
|
|
1858
|
+
950: "#09090b"
|
|
1859
|
+
},
|
|
1860
|
+
/** Error — forest defaults (standard UX red) */
|
|
1861
|
+
error: colors.error,
|
|
1862
|
+
/** Warning — orange/yellow tones from Alkemy+ palette */
|
|
1863
|
+
warning: {
|
|
1864
|
+
25: "#fffcf5",
|
|
1865
|
+
50: "#fff7ed",
|
|
1866
|
+
100: "#ffedd5",
|
|
1867
|
+
200: "#fed7aa",
|
|
1868
|
+
300: "#fdba74",
|
|
1869
|
+
400: "#fb923c",
|
|
1870
|
+
500: "#f08828",
|
|
1871
|
+
600: "#ea580c",
|
|
1872
|
+
700: "#c2410c",
|
|
1873
|
+
800: "#9a3412",
|
|
1874
|
+
900: "#7c2d12",
|
|
1875
|
+
950: "#431407"
|
|
1876
|
+
},
|
|
1877
|
+
/** Success — forest defaults (standard UX green) */
|
|
1878
|
+
success: colors.success,
|
|
1879
|
+
/** Blue (info) — forest defaults (standard UX) */
|
|
1880
|
+
blue: colors.blue
|
|
1881
|
+
};
|
|
1882
|
+
var text2 = {
|
|
1883
|
+
primary: colors2.gray[900],
|
|
1884
|
+
secondary: colors2.gray[700],
|
|
1885
|
+
secondaryHover: colors2.gray[800],
|
|
1886
|
+
tertiary: colors2.gray[600],
|
|
1887
|
+
tertiaryHover: colors2.gray[700],
|
|
1888
|
+
quaternary: colors2.gray[500],
|
|
1889
|
+
disabled: colors2.gray[500],
|
|
1890
|
+
placeholder: colors2.gray[500],
|
|
1891
|
+
placeholderSubtle: colors2.gray[300],
|
|
1892
|
+
white: colors2.base.white,
|
|
1893
|
+
brandPrimary: red[900],
|
|
1894
|
+
brandSecondary: red[700],
|
|
1895
|
+
brandTertiary: red[600],
|
|
1896
|
+
brandTertiaryAlt: red[600],
|
|
1897
|
+
primaryOnBrand: colors2.base.white,
|
|
1898
|
+
secondaryOnBrand: colors2.brand[200],
|
|
1899
|
+
tertiaryOnBrand: colors2.brand[200],
|
|
1900
|
+
quaternaryOnBrand: colors2.brand[300],
|
|
1901
|
+
errorPrimary: colors2.error[600],
|
|
1902
|
+
warningPrimary: colors2.warning[600],
|
|
1903
|
+
successPrimary: colors2.success[600]
|
|
1904
|
+
};
|
|
1905
|
+
var bg2 = {
|
|
1906
|
+
primary: colors2.gray[50],
|
|
1907
|
+
primaryAlt: colors2.gray[50],
|
|
1908
|
+
primaryHover: colors2.gray[50],
|
|
1909
|
+
primarySolid: colors2.gray[950],
|
|
1910
|
+
secondary: colors2.base.white,
|
|
1911
|
+
secondaryAlt: colors2.base.white,
|
|
1912
|
+
secondarySubtle: colors2.gray[25],
|
|
1913
|
+
secondaryHover: colors2.gray[100],
|
|
1914
|
+
secondarySolid: colors2.gray[600],
|
|
1915
|
+
tertiary: colors2.gray[100],
|
|
1916
|
+
quaternary: colors2.gray[200],
|
|
1917
|
+
active: colors2.gray[50],
|
|
1918
|
+
disabled: colors2.gray[100],
|
|
1919
|
+
disabledSubtle: colors2.gray[50],
|
|
1920
|
+
overlay: colors2.gray[950],
|
|
1921
|
+
brandPrimary: colors2.brand[100],
|
|
1922
|
+
brandPrimaryAlt: colors2.brand[100],
|
|
1923
|
+
brandSecondary: colors2.brand[200],
|
|
1924
|
+
brandSolid: colors2.brand[600],
|
|
1925
|
+
brandSolidHover: colors2.brand[700],
|
|
1926
|
+
brandSection: colors2.brand[800],
|
|
1927
|
+
brandSectionSubtle: colors2.brand[700],
|
|
1928
|
+
errorPrimary: colors2.error[50],
|
|
1929
|
+
errorSecondary: colors2.error[100],
|
|
1930
|
+
errorSolid: colors2.error[600],
|
|
1931
|
+
warningPrimary: colors2.warning[50],
|
|
1932
|
+
warningSecondary: colors2.warning[100],
|
|
1933
|
+
warningSolid: colors2.warning[600],
|
|
1934
|
+
successPrimary: colors2.success[50],
|
|
1935
|
+
successSecondary: colors2.success[100],
|
|
1936
|
+
successSolid: colors2.success[600]
|
|
1937
|
+
};
|
|
1938
|
+
var fg2 = {
|
|
1939
|
+
primary: colors2.gray[900],
|
|
1940
|
+
secondary: colors2.gray[700],
|
|
1941
|
+
secondaryHover: colors2.gray[800],
|
|
1942
|
+
tertiary: colors2.gray[600],
|
|
1943
|
+
tertiaryHover: colors2.gray[700],
|
|
1944
|
+
quaternary: colors2.gray[500],
|
|
1945
|
+
quaternaryHover: colors2.gray[600],
|
|
1946
|
+
quinary: colors2.gray[400],
|
|
1947
|
+
quinaryHover: colors2.gray[500],
|
|
1948
|
+
senary: colors2.gray[300],
|
|
1949
|
+
white: colors2.base.white,
|
|
1950
|
+
disabled: colors2.gray[400],
|
|
1951
|
+
disabledSubtle: colors2.gray[300],
|
|
1952
|
+
brandPrimary: colors2.brand[600],
|
|
1953
|
+
brandPrimaryAlt: colors2.brand[600],
|
|
1954
|
+
brandSecondary: colors2.brand[500],
|
|
1955
|
+
errorPrimary: colors2.error[600],
|
|
1956
|
+
errorSecondary: colors2.error[500],
|
|
1957
|
+
warningPrimary: colors2.warning[600],
|
|
1958
|
+
warningSecondary: colors2.warning[500],
|
|
1959
|
+
successPrimary: colors2.success[600],
|
|
1960
|
+
successSecondary: colors2.success[500]
|
|
1961
|
+
};
|
|
1962
|
+
var border2 = {
|
|
1963
|
+
primary: colors2.gray[300],
|
|
1964
|
+
secondary: colors2.gray[200],
|
|
1965
|
+
tertiary: colors2.gray[100],
|
|
1966
|
+
disabled: colors2.gray[300],
|
|
1967
|
+
disabledSubtle: colors2.gray[200],
|
|
1968
|
+
brand: colors2.brand[300],
|
|
1969
|
+
brandSolid: colors2.brand[600],
|
|
1970
|
+
brandSolidAlt: colors2.brand[600],
|
|
1971
|
+
error: colors2.error[300],
|
|
1972
|
+
errorSolid: colors2.error[600]
|
|
1973
|
+
};
|
|
1974
|
+
var buttonColors2 = {
|
|
1975
|
+
/** Primary buttons — black */
|
|
1976
|
+
primary: {
|
|
1977
|
+
bg: colors2.brand[600],
|
|
1978
|
+
bgHover: colors2.brand[700],
|
|
1979
|
+
fg: colors2.base.white,
|
|
1980
|
+
fgHover: colors2.base.white,
|
|
1981
|
+
border: colors2.brand[600],
|
|
1982
|
+
borderHover: colors2.brand[700]
|
|
1983
|
+
},
|
|
1984
|
+
secondary: {
|
|
1985
|
+
bg: colors2.base.white,
|
|
1986
|
+
bgHover: colors2.gray[50],
|
|
1987
|
+
fg: colors2.gray[700],
|
|
1988
|
+
fgHover: colors2.gray[800],
|
|
1989
|
+
border: colors2.gray[300],
|
|
1990
|
+
borderHover: colors2.gray[300]
|
|
1991
|
+
},
|
|
1992
|
+
/** Outlined accent buttons — dark */
|
|
1993
|
+
secondaryColor: {
|
|
1994
|
+
bg: colors2.base.white,
|
|
1995
|
+
bgHover: colors2.brand[50],
|
|
1996
|
+
fg: colors2.brand[700],
|
|
1997
|
+
fgHover: colors2.brand[800],
|
|
1998
|
+
border: colors2.brand[300],
|
|
1999
|
+
borderHover: colors2.brand[300]
|
|
2000
|
+
},
|
|
2001
|
+
tertiary: {
|
|
2002
|
+
fg: colors2.gray[600],
|
|
2003
|
+
fgHover: colors2.gray[700],
|
|
2004
|
+
bgHover: colors2.gray[50]
|
|
2005
|
+
},
|
|
2006
|
+
/** Text accent buttons — red */
|
|
2007
|
+
tertiaryColor: {
|
|
2008
|
+
fg: red[700],
|
|
2009
|
+
fgHover: red[800],
|
|
2010
|
+
bgHover: red[50]
|
|
2011
|
+
},
|
|
2012
|
+
primaryError: {
|
|
2013
|
+
bg: colors2.error[600],
|
|
2014
|
+
bgHover: colors2.error[700],
|
|
2015
|
+
fg: colors2.base.white,
|
|
2016
|
+
fgHover: colors2.base.white,
|
|
2017
|
+
border: colors2.error[600],
|
|
2018
|
+
borderHover: colors2.error[700]
|
|
2019
|
+
},
|
|
2020
|
+
secondaryError: {
|
|
2021
|
+
bg: colors2.base.white,
|
|
2022
|
+
bgHover: colors2.error[50],
|
|
2023
|
+
fg: colors2.error[700],
|
|
2024
|
+
fgHover: colors2.error[800],
|
|
2025
|
+
border: colors2.error[300],
|
|
2026
|
+
borderHover: colors2.error[300]
|
|
2027
|
+
},
|
|
2028
|
+
tertiaryError: {
|
|
2029
|
+
fg: colors2.error[700],
|
|
2030
|
+
fgHover: colors2.error[800],
|
|
2031
|
+
bgHover: colors2.error[50]
|
|
2032
|
+
}
|
|
2033
|
+
};
|
|
2034
|
+
var avatarColors2 = {
|
|
2035
|
+
bg: colors2.gray[100],
|
|
2036
|
+
contrastBorder: "#00000014",
|
|
2037
|
+
profilePhotoBorder: colors2.base.white,
|
|
2038
|
+
focusBorder: "#a0a0a624"
|
|
2039
|
+
};
|
|
2040
|
+
var breadcrumbColors2 = {
|
|
2041
|
+
fg: colors2.gray[600],
|
|
2042
|
+
fgHover: colors2.gray[700],
|
|
2043
|
+
bgHover: colors2.gray[50],
|
|
2044
|
+
brandBgHover: red[50],
|
|
2045
|
+
brandFgHover: red[700],
|
|
2046
|
+
iconFg: colors2.gray[500],
|
|
2047
|
+
iconFgHover: colors2.gray[700],
|
|
2048
|
+
brandIconFgHover: red[700]
|
|
2049
|
+
};
|
|
2050
|
+
var iconColors2 = {
|
|
2051
|
+
fgBrand: red[600],
|
|
2052
|
+
fgBrandOnBrand: red[200],
|
|
2053
|
+
featuredModernBorder: colors2.gray[200],
|
|
2054
|
+
featuredLightFgBrand: red[600],
|
|
2055
|
+
featuredLightFgGray: colors2.gray[500],
|
|
2056
|
+
featuredLightFgError: colors2.error[600],
|
|
2057
|
+
featuredLightFgWarning: colors2.warning[600],
|
|
2058
|
+
featuredLightFgSuccess: colors2.success[600],
|
|
2059
|
+
featuredDarkFgBrand: colors2.base.white,
|
|
2060
|
+
featuredDarkFgGray: colors2.base.white,
|
|
2061
|
+
featuredDarkFgError: colors2.base.white,
|
|
2062
|
+
featuredDarkFgWarning: colors2.base.white,
|
|
2063
|
+
featuredDarkFgSuccess: colors2.base.white
|
|
2064
|
+
};
|
|
2065
|
+
var navColors2 = {
|
|
2066
|
+
itemIconFg: colors2.gray[500],
|
|
2067
|
+
itemIconFgActive: colors2.gray[500],
|
|
2068
|
+
itemButtonIconFg: colors2.gray[500],
|
|
2069
|
+
itemButtonIconFgActive: colors2.gray[700]
|
|
2070
|
+
};
|
|
2071
|
+
var sliderColors2 = {
|
|
2072
|
+
handleBorder: red[600],
|
|
2073
|
+
handleBg: colors2.base.white
|
|
2074
|
+
};
|
|
2075
|
+
var toggleColors2 = {
|
|
2076
|
+
buttonFgDisabled: colors2.gray[50]
|
|
2077
|
+
};
|
|
2078
|
+
var chartColors2 = {
|
|
2079
|
+
axisFg: colors2.gray[200],
|
|
2080
|
+
gridlineFg: colors2.gray[100],
|
|
2081
|
+
labelFg: colors2.gray[600],
|
|
2082
|
+
labelFgEmphasis: colors2.gray[700],
|
|
2083
|
+
bg: colors2.base.white,
|
|
2084
|
+
bgAlt: colors2.gray[50],
|
|
2085
|
+
tooltipBg: colors2.gray[950],
|
|
2086
|
+
tooltipFg: colors2.base.white,
|
|
2087
|
+
crosshairFg: colors2.gray[500],
|
|
2088
|
+
legendFg: colors2.gray[700],
|
|
2089
|
+
series1Fg: colors2.brand[600],
|
|
2090
|
+
series1FgHover: colors2.brand[700],
|
|
2091
|
+
series1Bg: colors2.brand[100],
|
|
2092
|
+
series1BgHover: colors2.brand[200],
|
|
2093
|
+
series2Fg: red[600],
|
|
2094
|
+
series2FgHover: red[700],
|
|
2095
|
+
series2Bg: red[100],
|
|
2096
|
+
series2BgHover: red[200]
|
|
2097
|
+
};
|
|
2098
|
+
var focusRings2 = {
|
|
2099
|
+
brand: "0px 0px 0px 4px #f040403d",
|
|
2100
|
+
brandShadowXs: "0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #f040403d",
|
|
2101
|
+
brandShadowSm: "0px 1px 3px 0px #1018281a, 0px 1px 2px 0px #1018280f, 0px 0px 0px 4px #f040403d",
|
|
2102
|
+
gray: "0px 0px 0px 4px #a0a0a624",
|
|
2103
|
+
grayShadowXs: "0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #a0a0a624",
|
|
2104
|
+
grayShadowSm: "0px 1px 3px 0px #1018281a, 0px 1px 2px 0px #1018280f, 0px 0px 0px 4px #a0a0a624",
|
|
2105
|
+
error: "0px 0px 0px 4px #f044383d",
|
|
2106
|
+
errorShadowXs: "0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #f044383d"
|
|
2107
|
+
};
|
|
2108
|
+
var alkemyPlusPreset = {
|
|
2109
|
+
name: "alkemy-plus",
|
|
2110
|
+
defaultVariant: "light",
|
|
2111
|
+
variants: {
|
|
2112
|
+
light: {
|
|
2113
|
+
tokens: {
|
|
2114
|
+
colors: colors2,
|
|
2115
|
+
spacing,
|
|
2116
|
+
radius,
|
|
2117
|
+
shadows,
|
|
2118
|
+
focusRings: focusRings2,
|
|
2119
|
+
fontFamily: '"Aeonik", sans-serif',
|
|
2120
|
+
fontSize,
|
|
2121
|
+
lineHeight,
|
|
2122
|
+
fontWeight,
|
|
2123
|
+
display,
|
|
2124
|
+
container,
|
|
2125
|
+
widths,
|
|
2126
|
+
text: text2,
|
|
2127
|
+
bg: bg2,
|
|
2128
|
+
fg: fg2,
|
|
2129
|
+
border: border2,
|
|
2130
|
+
buttonColors: buttonColors2,
|
|
2131
|
+
avatarColors: avatarColors2,
|
|
2132
|
+
breadcrumbColors: breadcrumbColors2,
|
|
2133
|
+
iconColors: iconColors2,
|
|
2134
|
+
navColors: navColors2,
|
|
2135
|
+
sliderColors: sliderColors2,
|
|
2136
|
+
toggleColors: toggleColors2,
|
|
2137
|
+
chartColors: chartColors2,
|
|
2138
|
+
alpha
|
|
2139
|
+
}
|
|
2140
|
+
}
|
|
2141
|
+
}
|
|
2142
|
+
};
|
|
2143
|
+
|
|
1782
2144
|
// src/theme/presets/index.ts
|
|
1783
2145
|
var presetRegistry = /* @__PURE__ */ new Map();
|
|
1784
2146
|
presetRegistry.set(forestPreset.name, forestPreset);
|
|
2147
|
+
presetRegistry.set(alkemyPlusPreset.name, alkemyPlusPreset);
|
|
1785
2148
|
function getPreset(name) {
|
|
1786
2149
|
return presetRegistry.get(name);
|
|
1787
2150
|
}
|
|
@@ -1804,6 +2167,7 @@ var forestThemeOptions = {
|
|
|
1804
2167
|
};
|
|
1805
2168
|
var forestTheme = styles.createTheme(forestThemeOptions);
|
|
1806
2169
|
|
|
2170
|
+
exports.alkemyPlusPreset = alkemyPlusPreset;
|
|
1807
2171
|
exports.alpha = alpha;
|
|
1808
2172
|
exports.avatarColors = avatarColors;
|
|
1809
2173
|
exports.bg = bg;
|