@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/index.js
CHANGED
|
@@ -341,12 +341,12 @@ var text = {
|
|
|
341
341
|
var bg = {
|
|
342
342
|
primary: colors.gray[50],
|
|
343
343
|
primaryAlt: colors.gray[50],
|
|
344
|
-
primaryHover: colors.gray[
|
|
344
|
+
primaryHover: colors.gray[100],
|
|
345
345
|
primarySolid: colors.gray[950],
|
|
346
346
|
secondary: colors.base.white,
|
|
347
347
|
secondaryAlt: colors.base.white,
|
|
348
348
|
secondarySubtle: colors.gray[25],
|
|
349
|
-
secondaryHover: colors.gray[
|
|
349
|
+
secondaryHover: colors.gray[50],
|
|
350
350
|
secondarySolid: colors.gray[600],
|
|
351
351
|
tertiary: colors.gray[100],
|
|
352
352
|
quaternary: colors.gray[200],
|
|
@@ -557,60 +557,60 @@ var alpha = {
|
|
|
557
557
|
|
|
558
558
|
// src/theme/palette.ts
|
|
559
559
|
function buildPalette(tokens) {
|
|
560
|
-
const { colors:
|
|
560
|
+
const { colors: colors3, text: text3, bg: bg3, fg: fg3, border: border3 } = tokens;
|
|
561
561
|
return {
|
|
562
562
|
primary: {
|
|
563
|
-
main:
|
|
564
|
-
light:
|
|
565
|
-
dark:
|
|
566
|
-
contrastText:
|
|
563
|
+
main: colors3.brand[600],
|
|
564
|
+
light: colors3.brand[400],
|
|
565
|
+
dark: colors3.brand[700],
|
|
566
|
+
contrastText: colors3.base.white
|
|
567
567
|
},
|
|
568
568
|
secondary: {
|
|
569
|
-
main:
|
|
570
|
-
light:
|
|
571
|
-
dark:
|
|
572
|
-
contrastText:
|
|
569
|
+
main: colors3.gray[600],
|
|
570
|
+
light: colors3.gray[400],
|
|
571
|
+
dark: colors3.gray[700],
|
|
572
|
+
contrastText: colors3.base.white
|
|
573
573
|
},
|
|
574
574
|
error: {
|
|
575
|
-
main:
|
|
576
|
-
light:
|
|
577
|
-
dark:
|
|
578
|
-
contrastText:
|
|
575
|
+
main: colors3.error[600],
|
|
576
|
+
light: colors3.error[300],
|
|
577
|
+
dark: colors3.error[700],
|
|
578
|
+
contrastText: colors3.base.white
|
|
579
579
|
},
|
|
580
580
|
warning: {
|
|
581
|
-
main:
|
|
582
|
-
light:
|
|
583
|
-
dark:
|
|
584
|
-
contrastText:
|
|
581
|
+
main: colors3.warning[600],
|
|
582
|
+
light: colors3.warning[300],
|
|
583
|
+
dark: colors3.warning[700],
|
|
584
|
+
contrastText: colors3.base.white
|
|
585
585
|
},
|
|
586
586
|
success: {
|
|
587
|
-
main:
|
|
588
|
-
light:
|
|
589
|
-
dark:
|
|
590
|
-
contrastText:
|
|
587
|
+
main: colors3.success[600],
|
|
588
|
+
light: colors3.success[300],
|
|
589
|
+
dark: colors3.success[700],
|
|
590
|
+
contrastText: colors3.base.white
|
|
591
591
|
},
|
|
592
592
|
info: {
|
|
593
|
-
main:
|
|
594
|
-
light:
|
|
595
|
-
dark:
|
|
596
|
-
contrastText:
|
|
593
|
+
main: colors3.blue[600],
|
|
594
|
+
light: colors3.blue[300],
|
|
595
|
+
dark: colors3.blue[700],
|
|
596
|
+
contrastText: colors3.base.white
|
|
597
597
|
},
|
|
598
598
|
background: {
|
|
599
|
-
default:
|
|
600
|
-
paper:
|
|
599
|
+
default: bg3.primary,
|
|
600
|
+
paper: bg3.secondary
|
|
601
601
|
},
|
|
602
602
|
text: {
|
|
603
|
-
primary:
|
|
604
|
-
secondary:
|
|
605
|
-
disabled:
|
|
603
|
+
primary: text3.primary,
|
|
604
|
+
secondary: text3.secondary,
|
|
605
|
+
disabled: text3.disabled
|
|
606
606
|
},
|
|
607
|
-
divider:
|
|
607
|
+
divider: border3.secondary,
|
|
608
608
|
action: {
|
|
609
|
-
active:
|
|
610
|
-
hover:
|
|
611
|
-
selected:
|
|
612
|
-
disabled:
|
|
613
|
-
disabledBackground:
|
|
609
|
+
active: fg3.tertiary,
|
|
610
|
+
hover: bg3.primaryHover,
|
|
611
|
+
selected: bg3.brandPrimary,
|
|
612
|
+
disabled: fg3.disabled,
|
|
613
|
+
disabledBackground: bg3.disabled
|
|
614
614
|
}
|
|
615
615
|
};
|
|
616
616
|
}
|
|
@@ -715,15 +715,15 @@ var typography = buildTypography({
|
|
|
715
715
|
// src/theme/components.ts
|
|
716
716
|
function buildComponents(tokens) {
|
|
717
717
|
const {
|
|
718
|
-
colors:
|
|
718
|
+
colors: colors3,
|
|
719
719
|
radius: radius2,
|
|
720
|
-
focusRings:
|
|
720
|
+
focusRings: focusRings3,
|
|
721
721
|
shadows: tokenShadows,
|
|
722
|
-
text:
|
|
723
|
-
bg:
|
|
724
|
-
fg:
|
|
725
|
-
border:
|
|
726
|
-
buttonColors:
|
|
722
|
+
text: text3,
|
|
723
|
+
bg: bg3,
|
|
724
|
+
fg: fg3,
|
|
725
|
+
border: border3,
|
|
726
|
+
buttonColors: buttonColors3
|
|
727
727
|
} = tokens;
|
|
728
728
|
return {
|
|
729
729
|
// ─── Button ─────────────────────────────────────────────────────
|
|
@@ -741,36 +741,36 @@ function buildComponents(tokens) {
|
|
|
741
741
|
fontSize: 14,
|
|
742
742
|
lineHeight: "20px",
|
|
743
743
|
"&:focus-visible": {
|
|
744
|
-
boxShadow:
|
|
744
|
+
boxShadow: focusRings3.brandShadowXs
|
|
745
745
|
}
|
|
746
746
|
},
|
|
747
747
|
containedPrimary: {
|
|
748
|
-
backgroundColor:
|
|
748
|
+
backgroundColor: buttonColors3.primary.bg,
|
|
749
749
|
"&:hover": {
|
|
750
|
-
backgroundColor:
|
|
750
|
+
backgroundColor: buttonColors3.primary.bgHover
|
|
751
751
|
}
|
|
752
752
|
},
|
|
753
753
|
outlinedPrimary: {
|
|
754
|
-
borderColor:
|
|
755
|
-
color:
|
|
754
|
+
borderColor: buttonColors3.secondaryColor.border,
|
|
755
|
+
color: buttonColors3.secondaryColor.fg,
|
|
756
756
|
"&:hover": {
|
|
757
|
-
backgroundColor:
|
|
758
|
-
borderColor:
|
|
757
|
+
backgroundColor: buttonColors3.secondaryColor.bgHover,
|
|
758
|
+
borderColor: buttonColors3.secondaryColor.borderHover
|
|
759
759
|
}
|
|
760
760
|
},
|
|
761
761
|
outlinedSecondary: {
|
|
762
|
-
borderColor:
|
|
762
|
+
borderColor: buttonColors3.secondary.border,
|
|
763
763
|
"&:hover": {
|
|
764
|
-
borderColor:
|
|
764
|
+
borderColor: buttonColors3.secondary.borderHover
|
|
765
765
|
}
|
|
766
766
|
},
|
|
767
767
|
text: {
|
|
768
768
|
boxShadow: "none"
|
|
769
769
|
},
|
|
770
770
|
textPrimary: {
|
|
771
|
-
color:
|
|
771
|
+
color: buttonColors3.tertiaryColor.fg,
|
|
772
772
|
"&:hover": {
|
|
773
|
-
backgroundColor:
|
|
773
|
+
backgroundColor: buttonColors3.tertiaryColor.bgHover
|
|
774
774
|
}
|
|
775
775
|
}
|
|
776
776
|
}
|
|
@@ -786,7 +786,7 @@ function buildComponents(tokens) {
|
|
|
786
786
|
},
|
|
787
787
|
grouped: {
|
|
788
788
|
"&:not(:last-of-type)": {
|
|
789
|
-
borderRight: `1px solid ${
|
|
789
|
+
borderRight: `1px solid ${buttonColors3.primary.borderHover}`
|
|
790
790
|
}
|
|
791
791
|
}
|
|
792
792
|
}
|
|
@@ -800,13 +800,13 @@ function buildComponents(tokens) {
|
|
|
800
800
|
boxShadow: tokenShadows.lg
|
|
801
801
|
},
|
|
802
802
|
"&:focus-visible": {
|
|
803
|
-
boxShadow:
|
|
803
|
+
boxShadow: focusRings3.brandShadowSm
|
|
804
804
|
}
|
|
805
805
|
},
|
|
806
806
|
primary: {
|
|
807
|
-
backgroundColor:
|
|
807
|
+
backgroundColor: buttonColors3.primary.bg,
|
|
808
808
|
"&:hover": {
|
|
809
|
-
backgroundColor:
|
|
809
|
+
backgroundColor: buttonColors3.primary.bgHover
|
|
810
810
|
}
|
|
811
811
|
}
|
|
812
812
|
}
|
|
@@ -822,8 +822,8 @@ function buildComponents(tokens) {
|
|
|
822
822
|
styleOverrides: {
|
|
823
823
|
input: {
|
|
824
824
|
"&::placeholder": {
|
|
825
|
-
color:
|
|
826
|
-
WebkitTextFillColor:
|
|
825
|
+
color: text3.placeholder,
|
|
826
|
+
WebkitTextFillColor: text3.placeholder,
|
|
827
827
|
fontWeight: 400,
|
|
828
828
|
opacity: 1
|
|
829
829
|
}
|
|
@@ -836,23 +836,23 @@ function buildComponents(tokens) {
|
|
|
836
836
|
borderRadius: radius2.md,
|
|
837
837
|
boxShadow: tokenShadows.xs,
|
|
838
838
|
"&:hover .MuiOutlinedInput-notchedOutline": {
|
|
839
|
-
borderColor:
|
|
839
|
+
borderColor: border3.brand
|
|
840
840
|
},
|
|
841
841
|
"&.Mui-focused .MuiOutlinedInput-notchedOutline": {
|
|
842
|
-
borderColor:
|
|
842
|
+
borderColor: border3.brandSolid,
|
|
843
843
|
borderWidth: 1,
|
|
844
844
|
boxShadow: "none"
|
|
845
845
|
},
|
|
846
846
|
"&.Mui-error .MuiOutlinedInput-notchedOutline": {
|
|
847
|
-
borderColor:
|
|
847
|
+
borderColor: border3.error
|
|
848
848
|
},
|
|
849
849
|
"&.Mui-error.Mui-focused .MuiOutlinedInput-notchedOutline": {
|
|
850
|
-
borderColor:
|
|
850
|
+
borderColor: border3.errorSolid,
|
|
851
851
|
boxShadow: "none"
|
|
852
852
|
}
|
|
853
853
|
},
|
|
854
854
|
notchedOutline: {
|
|
855
|
-
borderColor:
|
|
855
|
+
borderColor: border3.primary
|
|
856
856
|
},
|
|
857
857
|
input: {
|
|
858
858
|
padding: "10px 14px",
|
|
@@ -869,12 +869,12 @@ function buildComponents(tokens) {
|
|
|
869
869
|
MuiFormLabel: {
|
|
870
870
|
styleOverrides: {
|
|
871
871
|
root: {
|
|
872
|
-
color:
|
|
872
|
+
color: text3.placeholder,
|
|
873
873
|
"&.Mui-focused": {
|
|
874
|
-
color:
|
|
874
|
+
color: text3.placeholder
|
|
875
875
|
},
|
|
876
876
|
"&.Mui-error": {
|
|
877
|
-
color:
|
|
877
|
+
color: text3.errorPrimary
|
|
878
878
|
}
|
|
879
879
|
}
|
|
880
880
|
}
|
|
@@ -884,12 +884,23 @@ function buildComponents(tokens) {
|
|
|
884
884
|
root: {
|
|
885
885
|
fontSize: 14,
|
|
886
886
|
fontWeight: 500,
|
|
887
|
-
color:
|
|
887
|
+
color: text3.placeholder,
|
|
888
888
|
"&.Mui-focused": {
|
|
889
|
-
color:
|
|
889
|
+
color: text3.placeholder
|
|
890
890
|
},
|
|
891
891
|
"&.Mui-error": {
|
|
892
|
-
color:
|
|
892
|
+
color: text3.errorPrimary
|
|
893
|
+
}
|
|
894
|
+
},
|
|
895
|
+
outlined: {
|
|
896
|
+
// Align label with custom OutlinedInput padding (10px 14px)
|
|
897
|
+
transform: "translate(14px, 10px) scale(1)",
|
|
898
|
+
"&.MuiInputLabel-sizeSmall": {
|
|
899
|
+
// Align label with custom inputSizeSmall padding (8px 12px)
|
|
900
|
+
transform: "translate(12px, 8px) scale(1)"
|
|
901
|
+
},
|
|
902
|
+
"&.MuiInputLabel-shrink": {
|
|
903
|
+
transform: "translate(14px, -9px) scale(0.75)"
|
|
893
904
|
}
|
|
894
905
|
}
|
|
895
906
|
}
|
|
@@ -902,7 +913,7 @@ function buildComponents(tokens) {
|
|
|
902
913
|
marginTop: 6,
|
|
903
914
|
marginLeft: 0,
|
|
904
915
|
"&.Mui-error": {
|
|
905
|
-
color:
|
|
916
|
+
color: text3.errorPrimary
|
|
906
917
|
}
|
|
907
918
|
}
|
|
908
919
|
}
|
|
@@ -910,18 +921,36 @@ function buildComponents(tokens) {
|
|
|
910
921
|
// ─── Select ─────────────────────────────────────────────────────
|
|
911
922
|
MuiSelect: {
|
|
912
923
|
defaultProps: {
|
|
913
|
-
size: "small"
|
|
924
|
+
size: "small",
|
|
925
|
+
MenuProps: {
|
|
926
|
+
autoFocus: false
|
|
927
|
+
}
|
|
914
928
|
},
|
|
915
929
|
styleOverrides: {
|
|
916
930
|
select: {
|
|
931
|
+
display: "flex",
|
|
932
|
+
alignItems: "center",
|
|
917
933
|
"&.MuiSelect-select": {
|
|
934
|
+
minHeight: "20px",
|
|
918
935
|
"&[aria-placeholder], &:empty + .MuiSelect-nativeInput[value='']~&": {
|
|
919
|
-
color:
|
|
936
|
+
color: text3.placeholder
|
|
920
937
|
}
|
|
921
938
|
}
|
|
922
939
|
},
|
|
923
940
|
icon: {
|
|
924
|
-
color:
|
|
941
|
+
color: text3.placeholder
|
|
942
|
+
}
|
|
943
|
+
}
|
|
944
|
+
},
|
|
945
|
+
MuiMenuItem: {
|
|
946
|
+
styleOverrides: {
|
|
947
|
+
root: {
|
|
948
|
+
borderRadius: radius2.md,
|
|
949
|
+
padding: "6px 8px",
|
|
950
|
+
gap: 4,
|
|
951
|
+
"&:hover": {
|
|
952
|
+
backgroundColor: bg3.primaryHover
|
|
953
|
+
}
|
|
925
954
|
}
|
|
926
955
|
}
|
|
927
956
|
},
|
|
@@ -931,7 +960,7 @@ function buildComponents(tokens) {
|
|
|
931
960
|
paper: {
|
|
932
961
|
borderRadius: radius2.md,
|
|
933
962
|
boxShadow: tokenShadows.lg,
|
|
934
|
-
border: `1px solid ${
|
|
963
|
+
border: `1px solid ${border3.secondary}`,
|
|
935
964
|
marginTop: 4
|
|
936
965
|
},
|
|
937
966
|
option: {
|
|
@@ -939,10 +968,10 @@ function buildComponents(tokens) {
|
|
|
939
968
|
lineHeight: "24px",
|
|
940
969
|
padding: "10px 14px",
|
|
941
970
|
"&.Mui-focused": {
|
|
942
|
-
backgroundColor:
|
|
971
|
+
backgroundColor: bg3.primaryHover
|
|
943
972
|
},
|
|
944
973
|
'&[aria-selected="true"]': {
|
|
945
|
-
backgroundColor:
|
|
974
|
+
backgroundColor: bg3.brandPrimary
|
|
946
975
|
}
|
|
947
976
|
},
|
|
948
977
|
listbox: {
|
|
@@ -957,28 +986,28 @@ function buildComponents(tokens) {
|
|
|
957
986
|
},
|
|
958
987
|
styleOverrides: {
|
|
959
988
|
root: {
|
|
960
|
-
color:
|
|
989
|
+
color: border3.primary,
|
|
961
990
|
borderRadius: radius2.xs,
|
|
962
991
|
padding: 0,
|
|
963
992
|
width: 20,
|
|
964
993
|
height: 20,
|
|
965
994
|
"&:hover": {
|
|
966
995
|
backgroundColor: "transparent",
|
|
967
|
-
color:
|
|
996
|
+
color: fg3.brandPrimary
|
|
968
997
|
},
|
|
969
998
|
"&.Mui-checked": {
|
|
970
|
-
color:
|
|
999
|
+
color: fg3.brandPrimary
|
|
971
1000
|
},
|
|
972
1001
|
"&.Mui-checked:hover": {
|
|
973
|
-
color:
|
|
1002
|
+
color: colors3.brand[700]
|
|
974
1003
|
},
|
|
975
1004
|
"&.Mui-focusVisible": {
|
|
976
1005
|
outline: "none",
|
|
977
|
-
boxShadow:
|
|
1006
|
+
boxShadow: focusRings3.brand,
|
|
978
1007
|
borderRadius: radius2.xs
|
|
979
1008
|
},
|
|
980
1009
|
"&.Mui-disabled": {
|
|
981
|
-
color:
|
|
1010
|
+
color: border3.primary
|
|
982
1011
|
}
|
|
983
1012
|
}
|
|
984
1013
|
}
|
|
@@ -990,25 +1019,25 @@ function buildComponents(tokens) {
|
|
|
990
1019
|
},
|
|
991
1020
|
styleOverrides: {
|
|
992
1021
|
root: {
|
|
993
|
-
color:
|
|
1022
|
+
color: border3.primary,
|
|
994
1023
|
padding: 0,
|
|
995
1024
|
"&:hover": {
|
|
996
1025
|
backgroundColor: "transparent",
|
|
997
|
-
color:
|
|
1026
|
+
color: fg3.brandPrimary
|
|
998
1027
|
},
|
|
999
1028
|
"&.Mui-checked": {
|
|
1000
|
-
color:
|
|
1029
|
+
color: fg3.brandPrimary
|
|
1001
1030
|
},
|
|
1002
1031
|
"&.Mui-checked:hover": {
|
|
1003
|
-
color:
|
|
1032
|
+
color: colors3.brand[700]
|
|
1004
1033
|
},
|
|
1005
1034
|
"&.Mui-focusVisible": {
|
|
1006
1035
|
outline: "none",
|
|
1007
|
-
boxShadow:
|
|
1036
|
+
boxShadow: focusRings3.brand,
|
|
1008
1037
|
borderRadius: radius2.full
|
|
1009
1038
|
},
|
|
1010
1039
|
"&.Mui-disabled": {
|
|
1011
|
-
color:
|
|
1040
|
+
color: border3.primary
|
|
1012
1041
|
}
|
|
1013
1042
|
}
|
|
1014
1043
|
}
|
|
@@ -1028,20 +1057,20 @@ function buildComponents(tokens) {
|
|
|
1028
1057
|
padding: 2,
|
|
1029
1058
|
"&.Mui-checked": {
|
|
1030
1059
|
transform: "translateX(20px)",
|
|
1031
|
-
color:
|
|
1060
|
+
color: fg3.white,
|
|
1032
1061
|
"& + .MuiSwitch-track": {
|
|
1033
|
-
backgroundColor:
|
|
1062
|
+
backgroundColor: fg3.brandPrimary,
|
|
1034
1063
|
opacity: 1
|
|
1035
1064
|
}
|
|
1036
1065
|
},
|
|
1037
1066
|
"&.Mui-checked:hover + .MuiSwitch-track": {
|
|
1038
|
-
backgroundColor:
|
|
1067
|
+
backgroundColor: colors3.brand[700]
|
|
1039
1068
|
},
|
|
1040
1069
|
"&.Mui-focusVisible .MuiSwitch-thumb": {
|
|
1041
|
-
boxShadow:
|
|
1070
|
+
boxShadow: focusRings3.brand
|
|
1042
1071
|
},
|
|
1043
1072
|
"&.Mui-disabled .MuiSwitch-thumb": {
|
|
1044
|
-
color:
|
|
1073
|
+
color: bg3.disabled
|
|
1045
1074
|
},
|
|
1046
1075
|
"&.Mui-disabled + .MuiSwitch-track": {
|
|
1047
1076
|
opacity: 0.5
|
|
@@ -1054,7 +1083,7 @@ function buildComponents(tokens) {
|
|
|
1054
1083
|
},
|
|
1055
1084
|
track: {
|
|
1056
1085
|
borderRadius: radius2.full,
|
|
1057
|
-
backgroundColor:
|
|
1086
|
+
backgroundColor: border3.secondary,
|
|
1058
1087
|
opacity: 1
|
|
1059
1088
|
}
|
|
1060
1089
|
}
|
|
@@ -1063,8 +1092,8 @@ function buildComponents(tokens) {
|
|
|
1063
1092
|
MuiToggleButton: {
|
|
1064
1093
|
styleOverrides: {
|
|
1065
1094
|
root: {
|
|
1066
|
-
borderColor:
|
|
1067
|
-
color:
|
|
1095
|
+
borderColor: border3.primary,
|
|
1096
|
+
color: text3.secondary,
|
|
1068
1097
|
fontSize: 14,
|
|
1069
1098
|
fontWeight: 600,
|
|
1070
1099
|
lineHeight: "20px",
|
|
@@ -1072,19 +1101,20 @@ function buildComponents(tokens) {
|
|
|
1072
1101
|
padding: "6px 12px",
|
|
1073
1102
|
textTransform: "none",
|
|
1074
1103
|
"&:hover": {
|
|
1075
|
-
backgroundColor:
|
|
1076
|
-
borderColor:
|
|
1104
|
+
backgroundColor: bg3.primaryHover,
|
|
1105
|
+
borderColor: border3.primary
|
|
1077
1106
|
},
|
|
1078
1107
|
"&.Mui-selected": {
|
|
1079
|
-
backgroundColor:
|
|
1080
|
-
color:
|
|
1081
|
-
borderColor:
|
|
1108
|
+
backgroundColor: bg3.brandPrimary,
|
|
1109
|
+
color: buttonColors3.secondaryColor.fg,
|
|
1110
|
+
borderColor: border3.brand,
|
|
1111
|
+
boxShadow: `inset 0 0 0 1px ${border3.brandSolid}`,
|
|
1082
1112
|
"&:hover": {
|
|
1083
|
-
backgroundColor:
|
|
1113
|
+
backgroundColor: bg3.brandSecondary
|
|
1084
1114
|
}
|
|
1085
1115
|
},
|
|
1086
1116
|
"&:focus-visible": {
|
|
1087
|
-
boxShadow:
|
|
1117
|
+
boxShadow: focusRings3.brandShadowXs
|
|
1088
1118
|
}
|
|
1089
1119
|
}
|
|
1090
1120
|
}
|
|
@@ -1100,6 +1130,9 @@ function buildComponents(tokens) {
|
|
|
1100
1130
|
"&:not(:first-of-type)": {
|
|
1101
1131
|
marginLeft: -1
|
|
1102
1132
|
},
|
|
1133
|
+
"&.Mui-selected + &.Mui-selected": {
|
|
1134
|
+
boxShadow: `inset -1px 0 0 0 ${border3.brandSolid}, inset 0 1px 0 0 ${border3.brandSolid}, inset 0 -1px 0 0 ${border3.brandSolid}`
|
|
1135
|
+
},
|
|
1103
1136
|
"&:first-of-type": {
|
|
1104
1137
|
borderTopLeftRadius: radius2.md,
|
|
1105
1138
|
borderBottomLeftRadius: radius2.md
|
|
@@ -1119,8 +1152,8 @@ function buildComponents(tokens) {
|
|
|
1119
1152
|
styleOverrides: {
|
|
1120
1153
|
root: {
|
|
1121
1154
|
borderRadius: radius2.xl,
|
|
1122
|
-
border: `1px solid ${
|
|
1123
|
-
backgroundColor:
|
|
1155
|
+
border: `1px solid ${border3.secondary}`,
|
|
1156
|
+
backgroundColor: bg3.primary,
|
|
1124
1157
|
boxShadow: tokenShadows.xs,
|
|
1125
1158
|
overflow: "hidden"
|
|
1126
1159
|
}
|
|
@@ -1171,31 +1204,31 @@ function buildComponents(tokens) {
|
|
|
1171
1204
|
},
|
|
1172
1205
|
elevation1: {
|
|
1173
1206
|
boxShadow: tokenShadows.xs,
|
|
1174
|
-
border: `1px solid ${
|
|
1207
|
+
border: `1px solid ${border3.secondary}`
|
|
1175
1208
|
},
|
|
1176
1209
|
elevation2: {
|
|
1177
1210
|
boxShadow: tokenShadows.sm,
|
|
1178
|
-
border: `1px solid ${
|
|
1211
|
+
border: `1px solid ${border3.secondary}`
|
|
1179
1212
|
},
|
|
1180
1213
|
elevation3: {
|
|
1181
1214
|
boxShadow: tokenShadows.md,
|
|
1182
|
-
border: `1px solid ${
|
|
1215
|
+
border: `1px solid ${border3.secondary}`
|
|
1183
1216
|
},
|
|
1184
1217
|
elevation4: {
|
|
1185
1218
|
boxShadow: tokenShadows.lg,
|
|
1186
|
-
border: `1px solid ${
|
|
1219
|
+
border: `1px solid ${border3.secondary}`
|
|
1187
1220
|
},
|
|
1188
1221
|
elevation8: {
|
|
1189
1222
|
boxShadow: tokenShadows.xl,
|
|
1190
|
-
border: `1px solid ${
|
|
1223
|
+
border: `1px solid ${border3.secondary}`
|
|
1191
1224
|
},
|
|
1192
1225
|
elevation16: {
|
|
1193
1226
|
boxShadow: tokenShadows["2xl"],
|
|
1194
|
-
border: `1px solid ${
|
|
1227
|
+
border: `1px solid ${border3.secondary}`
|
|
1195
1228
|
},
|
|
1196
1229
|
elevation24: {
|
|
1197
1230
|
boxShadow: tokenShadows["3xl"],
|
|
1198
|
-
border: `1px solid ${
|
|
1231
|
+
border: `1px solid ${border3.secondary}`
|
|
1199
1232
|
}
|
|
1200
1233
|
}
|
|
1201
1234
|
},
|
|
@@ -1207,7 +1240,7 @@ function buildComponents(tokens) {
|
|
|
1207
1240
|
},
|
|
1208
1241
|
styleOverrides: {
|
|
1209
1242
|
root: {
|
|
1210
|
-
border: `1px solid ${
|
|
1243
|
+
border: `1px solid ${border3.secondary}`,
|
|
1211
1244
|
borderRadius: radius2.lg,
|
|
1212
1245
|
"&:not(:last-child)": {
|
|
1213
1246
|
marginBottom: 8
|
|
@@ -1230,7 +1263,7 @@ function buildComponents(tokens) {
|
|
|
1230
1263
|
minHeight: 56,
|
|
1231
1264
|
"&.Mui-expanded": {
|
|
1232
1265
|
minHeight: 56,
|
|
1233
|
-
borderBottom: `1px solid ${
|
|
1266
|
+
borderBottom: `1px solid ${border3.secondary}`
|
|
1234
1267
|
}
|
|
1235
1268
|
},
|
|
1236
1269
|
content: {
|
|
@@ -1256,8 +1289,8 @@ function buildComponents(tokens) {
|
|
|
1256
1289
|
},
|
|
1257
1290
|
styleOverrides: {
|
|
1258
1291
|
root: {
|
|
1259
|
-
borderBottom: `1px solid ${
|
|
1260
|
-
backgroundColor:
|
|
1292
|
+
borderBottom: `1px solid ${border3.secondary}`,
|
|
1293
|
+
backgroundColor: bg3.primary
|
|
1261
1294
|
}
|
|
1262
1295
|
}
|
|
1263
1296
|
},
|
|
@@ -1297,51 +1330,51 @@ function buildComponents(tokens) {
|
|
|
1297
1330
|
},
|
|
1298
1331
|
colorDefault: {
|
|
1299
1332
|
"&.MuiChip-filled": {
|
|
1300
|
-
backgroundColor:
|
|
1301
|
-
color:
|
|
1302
|
-
"& .MuiChip-deleteIcon": { color:
|
|
1333
|
+
backgroundColor: colors3.gray[50],
|
|
1334
|
+
color: colors3.gray[700],
|
|
1335
|
+
"& .MuiChip-deleteIcon": { color: colors3.gray[400] }
|
|
1303
1336
|
}
|
|
1304
1337
|
},
|
|
1305
1338
|
colorPrimary: {
|
|
1306
1339
|
"&.MuiChip-filled": {
|
|
1307
|
-
backgroundColor:
|
|
1308
|
-
color:
|
|
1309
|
-
"& .MuiChip-deleteIcon": { color:
|
|
1340
|
+
backgroundColor: colors3.brand[50],
|
|
1341
|
+
color: colors3.brand[700],
|
|
1342
|
+
"& .MuiChip-deleteIcon": { color: colors3.brand[400] }
|
|
1310
1343
|
}
|
|
1311
1344
|
},
|
|
1312
1345
|
colorSecondary: {
|
|
1313
1346
|
"&.MuiChip-filled": {
|
|
1314
|
-
backgroundColor:
|
|
1315
|
-
color:
|
|
1316
|
-
"& .MuiChip-deleteIcon": { color:
|
|
1347
|
+
backgroundColor: colors3.gray[50],
|
|
1348
|
+
color: colors3.gray[700],
|
|
1349
|
+
"& .MuiChip-deleteIcon": { color: colors3.gray[400] }
|
|
1317
1350
|
}
|
|
1318
1351
|
},
|
|
1319
1352
|
colorError: {
|
|
1320
1353
|
"&.MuiChip-filled": {
|
|
1321
|
-
backgroundColor:
|
|
1322
|
-
color:
|
|
1323
|
-
"& .MuiChip-deleteIcon": { color:
|
|
1354
|
+
backgroundColor: colors3.error[50],
|
|
1355
|
+
color: colors3.error[700],
|
|
1356
|
+
"& .MuiChip-deleteIcon": { color: colors3.error[400] }
|
|
1324
1357
|
}
|
|
1325
1358
|
},
|
|
1326
1359
|
colorWarning: {
|
|
1327
1360
|
"&.MuiChip-filled": {
|
|
1328
|
-
backgroundColor:
|
|
1329
|
-
color:
|
|
1330
|
-
"& .MuiChip-deleteIcon": { color:
|
|
1361
|
+
backgroundColor: colors3.warning[50],
|
|
1362
|
+
color: colors3.warning[700],
|
|
1363
|
+
"& .MuiChip-deleteIcon": { color: colors3.warning[400] }
|
|
1331
1364
|
}
|
|
1332
1365
|
},
|
|
1333
1366
|
colorSuccess: {
|
|
1334
1367
|
"&.MuiChip-filled": {
|
|
1335
|
-
backgroundColor:
|
|
1336
|
-
color:
|
|
1337
|
-
"& .MuiChip-deleteIcon": { color:
|
|
1368
|
+
backgroundColor: colors3.success[50],
|
|
1369
|
+
color: colors3.success[700],
|
|
1370
|
+
"& .MuiChip-deleteIcon": { color: colors3.success[400] }
|
|
1338
1371
|
}
|
|
1339
1372
|
},
|
|
1340
1373
|
colorInfo: {
|
|
1341
1374
|
"&.MuiChip-filled": {
|
|
1342
|
-
backgroundColor:
|
|
1343
|
-
color:
|
|
1344
|
-
"& .MuiChip-deleteIcon": { color:
|
|
1375
|
+
backgroundColor: colors3.blue[50],
|
|
1376
|
+
color: colors3.blue[700],
|
|
1377
|
+
"& .MuiChip-deleteIcon": { color: colors3.blue[400] }
|
|
1345
1378
|
}
|
|
1346
1379
|
}
|
|
1347
1380
|
}
|
|
@@ -1357,7 +1390,7 @@ function buildComponents(tokens) {
|
|
|
1357
1390
|
fontSize: 14,
|
|
1358
1391
|
lineHeight: "20px",
|
|
1359
1392
|
fontWeight: 500,
|
|
1360
|
-
color:
|
|
1393
|
+
color: text3.secondary
|
|
1361
1394
|
}
|
|
1362
1395
|
}
|
|
1363
1396
|
},
|
|
@@ -1373,29 +1406,29 @@ function buildComponents(tokens) {
|
|
|
1373
1406
|
MuiTableCell: {
|
|
1374
1407
|
styleOverrides: {
|
|
1375
1408
|
root: {
|
|
1376
|
-
borderBottom: `1px solid ${
|
|
1409
|
+
borderBottom: `1px solid ${border3.secondary}`,
|
|
1377
1410
|
padding: "16px 24px",
|
|
1378
1411
|
fontSize: 14,
|
|
1379
1412
|
lineHeight: "20px",
|
|
1380
|
-
color:
|
|
1413
|
+
color: fg3.tertiary
|
|
1381
1414
|
},
|
|
1382
1415
|
head: {
|
|
1383
|
-
backgroundColor:
|
|
1384
|
-
color:
|
|
1416
|
+
backgroundColor: bg3.secondary,
|
|
1417
|
+
color: fg3.tertiary,
|
|
1385
1418
|
fontWeight: 500,
|
|
1386
1419
|
fontSize: 12,
|
|
1387
1420
|
lineHeight: "18px"
|
|
1388
1421
|
},
|
|
1389
1422
|
body: {
|
|
1390
|
-
color:
|
|
1423
|
+
color: fg3.tertiary
|
|
1391
1424
|
}
|
|
1392
1425
|
}
|
|
1393
1426
|
},
|
|
1394
1427
|
MuiTableHead: {
|
|
1395
1428
|
styleOverrides: {
|
|
1396
1429
|
root: {
|
|
1397
|
-
backgroundColor:
|
|
1398
|
-
borderBottom: `1px solid ${
|
|
1430
|
+
backgroundColor: bg3.secondary,
|
|
1431
|
+
borderBottom: `1px solid ${border3.secondary}`
|
|
1399
1432
|
}
|
|
1400
1433
|
}
|
|
1401
1434
|
},
|
|
@@ -1406,12 +1439,12 @@ function buildComponents(tokens) {
|
|
|
1406
1439
|
border: 0
|
|
1407
1440
|
},
|
|
1408
1441
|
"&:hover": {
|
|
1409
|
-
backgroundColor:
|
|
1442
|
+
backgroundColor: bg3.primaryHover
|
|
1410
1443
|
},
|
|
1411
1444
|
"&.Mui-selected": {
|
|
1412
|
-
backgroundColor:
|
|
1445
|
+
backgroundColor: bg3.brandPrimary,
|
|
1413
1446
|
"&:hover": {
|
|
1414
|
-
backgroundColor:
|
|
1447
|
+
backgroundColor: bg3.brandPrimary
|
|
1415
1448
|
}
|
|
1416
1449
|
}
|
|
1417
1450
|
}
|
|
@@ -1421,7 +1454,7 @@ function buildComponents(tokens) {
|
|
|
1421
1454
|
styleOverrides: {
|
|
1422
1455
|
root: {
|
|
1423
1456
|
borderRadius: radius2.xl,
|
|
1424
|
-
border: `1px solid ${
|
|
1457
|
+
border: `1px solid ${border3.secondary}`,
|
|
1425
1458
|
boxShadow: "none"
|
|
1426
1459
|
}
|
|
1427
1460
|
}
|
|
@@ -1438,16 +1471,16 @@ function buildComponents(tokens) {
|
|
|
1438
1471
|
borderRadius: radius2.full
|
|
1439
1472
|
},
|
|
1440
1473
|
colorPrimary: {
|
|
1441
|
-
backgroundColor:
|
|
1474
|
+
backgroundColor: bg3.brandSolid
|
|
1442
1475
|
},
|
|
1443
1476
|
colorError: {
|
|
1444
|
-
backgroundColor:
|
|
1477
|
+
backgroundColor: bg3.errorSolid
|
|
1445
1478
|
},
|
|
1446
1479
|
colorSuccess: {
|
|
1447
|
-
backgroundColor:
|
|
1480
|
+
backgroundColor: bg3.successSolid
|
|
1448
1481
|
},
|
|
1449
1482
|
colorWarning: {
|
|
1450
|
-
backgroundColor:
|
|
1483
|
+
backgroundColor: bg3.warningSolid
|
|
1451
1484
|
},
|
|
1452
1485
|
dot: {
|
|
1453
1486
|
minWidth: 8,
|
|
@@ -1460,7 +1493,7 @@ function buildComponents(tokens) {
|
|
|
1460
1493
|
MuiDivider: {
|
|
1461
1494
|
styleOverrides: {
|
|
1462
1495
|
root: {
|
|
1463
|
-
borderColor:
|
|
1496
|
+
borderColor: border3.secondary
|
|
1464
1497
|
}
|
|
1465
1498
|
}
|
|
1466
1499
|
},
|
|
@@ -1478,13 +1511,13 @@ function buildComponents(tokens) {
|
|
|
1478
1511
|
borderRadius: radius2.sm,
|
|
1479
1512
|
padding: "8px 12px",
|
|
1480
1513
|
"&:hover": {
|
|
1481
|
-
backgroundColor:
|
|
1514
|
+
backgroundColor: bg3.primaryHover
|
|
1482
1515
|
},
|
|
1483
1516
|
"&.Mui-selected": {
|
|
1484
|
-
backgroundColor:
|
|
1485
|
-
color:
|
|
1517
|
+
backgroundColor: bg3.brandPrimary,
|
|
1518
|
+
color: buttonColors3.secondaryColor.fg,
|
|
1486
1519
|
"&:hover": {
|
|
1487
|
-
backgroundColor:
|
|
1520
|
+
backgroundColor: bg3.brandSecondary
|
|
1488
1521
|
}
|
|
1489
1522
|
}
|
|
1490
1523
|
}
|
|
@@ -1494,7 +1527,7 @@ function buildComponents(tokens) {
|
|
|
1494
1527
|
styleOverrides: {
|
|
1495
1528
|
root: {
|
|
1496
1529
|
minWidth: 36,
|
|
1497
|
-
color:
|
|
1530
|
+
color: fg3.quaternary
|
|
1498
1531
|
}
|
|
1499
1532
|
}
|
|
1500
1533
|
},
|
|
@@ -1504,12 +1537,12 @@ function buildComponents(tokens) {
|
|
|
1504
1537
|
fontSize: 14,
|
|
1505
1538
|
lineHeight: "20px",
|
|
1506
1539
|
fontWeight: 500,
|
|
1507
|
-
color:
|
|
1540
|
+
color: text3.secondary
|
|
1508
1541
|
},
|
|
1509
1542
|
secondary: {
|
|
1510
1543
|
fontSize: 14,
|
|
1511
1544
|
lineHeight: "20px",
|
|
1512
|
-
color:
|
|
1545
|
+
color: text3.quaternary
|
|
1513
1546
|
}
|
|
1514
1547
|
}
|
|
1515
1548
|
},
|
|
@@ -1517,8 +1550,8 @@ function buildComponents(tokens) {
|
|
|
1517
1550
|
MuiTooltip: {
|
|
1518
1551
|
styleOverrides: {
|
|
1519
1552
|
tooltip: {
|
|
1520
|
-
backgroundColor:
|
|
1521
|
-
color:
|
|
1553
|
+
backgroundColor: bg3.primarySolid,
|
|
1554
|
+
color: text3.white,
|
|
1522
1555
|
fontSize: 12,
|
|
1523
1556
|
lineHeight: "18px",
|
|
1524
1557
|
fontWeight: 600,
|
|
@@ -1527,7 +1560,7 @@ function buildComponents(tokens) {
|
|
|
1527
1560
|
boxShadow: tokenShadows.lg
|
|
1528
1561
|
},
|
|
1529
1562
|
arrow: {
|
|
1530
|
-
color:
|
|
1563
|
+
color: bg3.primarySolid
|
|
1531
1564
|
}
|
|
1532
1565
|
}
|
|
1533
1566
|
},
|
|
@@ -1545,35 +1578,35 @@ function buildComponents(tokens) {
|
|
|
1545
1578
|
alignItems: "center"
|
|
1546
1579
|
},
|
|
1547
1580
|
standardError: {
|
|
1548
|
-
backgroundColor:
|
|
1549
|
-
color:
|
|
1550
|
-
border: `1px solid ${
|
|
1581
|
+
backgroundColor: bg3.errorPrimary,
|
|
1582
|
+
color: colors3.error[700],
|
|
1583
|
+
border: `1px solid ${border3.error}`,
|
|
1551
1584
|
"& .MuiAlert-icon": {
|
|
1552
|
-
color:
|
|
1585
|
+
color: fg3.errorPrimary
|
|
1553
1586
|
}
|
|
1554
1587
|
},
|
|
1555
1588
|
standardWarning: {
|
|
1556
|
-
backgroundColor:
|
|
1557
|
-
color:
|
|
1558
|
-
border: `1px solid ${
|
|
1589
|
+
backgroundColor: bg3.warningPrimary,
|
|
1590
|
+
color: colors3.warning[700],
|
|
1591
|
+
border: `1px solid ${colors3.warning[300]}`,
|
|
1559
1592
|
"& .MuiAlert-icon": {
|
|
1560
|
-
color:
|
|
1593
|
+
color: fg3.warningPrimary
|
|
1561
1594
|
}
|
|
1562
1595
|
},
|
|
1563
1596
|
standardSuccess: {
|
|
1564
|
-
backgroundColor:
|
|
1565
|
-
color:
|
|
1566
|
-
border: `1px solid ${
|
|
1597
|
+
backgroundColor: bg3.successPrimary,
|
|
1598
|
+
color: colors3.success[700],
|
|
1599
|
+
border: `1px solid ${colors3.success[300]}`,
|
|
1567
1600
|
"& .MuiAlert-icon": {
|
|
1568
|
-
color:
|
|
1601
|
+
color: fg3.successPrimary
|
|
1569
1602
|
}
|
|
1570
1603
|
},
|
|
1571
1604
|
standardInfo: {
|
|
1572
|
-
backgroundColor:
|
|
1573
|
-
color:
|
|
1574
|
-
border: `1px solid ${
|
|
1605
|
+
backgroundColor: colors3.blue[50],
|
|
1606
|
+
color: colors3.blue[700],
|
|
1607
|
+
border: `1px solid ${colors3.blue[300]}`,
|
|
1575
1608
|
"& .MuiAlert-icon": {
|
|
1576
|
-
color:
|
|
1609
|
+
color: colors3.blue[600]
|
|
1577
1610
|
}
|
|
1578
1611
|
},
|
|
1579
1612
|
icon: {
|
|
@@ -1616,7 +1649,7 @@ function buildComponents(tokens) {
|
|
|
1616
1649
|
fontSize: 18,
|
|
1617
1650
|
lineHeight: "28px",
|
|
1618
1651
|
fontWeight: 600,
|
|
1619
|
-
color:
|
|
1652
|
+
color: text3.primary,
|
|
1620
1653
|
padding: "24px 24px 0"
|
|
1621
1654
|
}
|
|
1622
1655
|
}
|
|
@@ -1627,7 +1660,7 @@ function buildComponents(tokens) {
|
|
|
1627
1660
|
padding: "20px 24px",
|
|
1628
1661
|
fontSize: 14,
|
|
1629
1662
|
lineHeight: "20px",
|
|
1630
|
-
color:
|
|
1663
|
+
color: text3.tertiary
|
|
1631
1664
|
}
|
|
1632
1665
|
}
|
|
1633
1666
|
},
|
|
@@ -1645,14 +1678,14 @@ function buildComponents(tokens) {
|
|
|
1645
1678
|
root: {
|
|
1646
1679
|
borderRadius: radius2.full,
|
|
1647
1680
|
height: 8,
|
|
1648
|
-
backgroundColor:
|
|
1681
|
+
backgroundColor: border3.secondary
|
|
1649
1682
|
},
|
|
1650
1683
|
barColorPrimary: {
|
|
1651
|
-
backgroundColor:
|
|
1684
|
+
backgroundColor: fg3.brandPrimary,
|
|
1652
1685
|
borderRadius: radius2.full
|
|
1653
1686
|
},
|
|
1654
1687
|
barColorSecondary: {
|
|
1655
|
-
backgroundColor:
|
|
1688
|
+
backgroundColor: bg3.secondarySolid,
|
|
1656
1689
|
borderRadius: radius2.full
|
|
1657
1690
|
}
|
|
1658
1691
|
}
|
|
@@ -1660,10 +1693,10 @@ function buildComponents(tokens) {
|
|
|
1660
1693
|
MuiCircularProgress: {
|
|
1661
1694
|
styleOverrides: {
|
|
1662
1695
|
colorPrimary: {
|
|
1663
|
-
color:
|
|
1696
|
+
color: fg3.brandPrimary
|
|
1664
1697
|
},
|
|
1665
1698
|
colorSecondary: {
|
|
1666
|
-
color:
|
|
1699
|
+
color: bg3.secondarySolid
|
|
1667
1700
|
}
|
|
1668
1701
|
}
|
|
1669
1702
|
},
|
|
@@ -1674,7 +1707,7 @@ function buildComponents(tokens) {
|
|
|
1674
1707
|
},
|
|
1675
1708
|
styleOverrides: {
|
|
1676
1709
|
root: {
|
|
1677
|
-
backgroundColor:
|
|
1710
|
+
backgroundColor: bg3.tertiary
|
|
1678
1711
|
},
|
|
1679
1712
|
rounded: {
|
|
1680
1713
|
borderRadius: radius2.md
|
|
@@ -1688,8 +1721,8 @@ function buildComponents(tokens) {
|
|
|
1688
1721
|
MuiSnackbarContent: {
|
|
1689
1722
|
styleOverrides: {
|
|
1690
1723
|
root: {
|
|
1691
|
-
backgroundColor:
|
|
1692
|
-
color:
|
|
1724
|
+
backgroundColor: bg3.primarySolid,
|
|
1725
|
+
color: text3.white,
|
|
1693
1726
|
borderRadius: radius2.xl,
|
|
1694
1727
|
boxShadow: tokenShadows.lg,
|
|
1695
1728
|
fontSize: 14,
|
|
@@ -1724,21 +1757,21 @@ function buildComponents(tokens) {
|
|
|
1724
1757
|
MuiDataGrid: {
|
|
1725
1758
|
styleOverrides: {
|
|
1726
1759
|
root: {
|
|
1727
|
-
border: `1px solid ${
|
|
1760
|
+
border: `1px solid ${border3.secondary}`,
|
|
1728
1761
|
borderRadius: radius2.xl,
|
|
1729
1762
|
fontFamily: "inherit",
|
|
1730
1763
|
"& .MuiDataGrid-withBorderColor": {
|
|
1731
|
-
borderColor:
|
|
1764
|
+
borderColor: border3.secondary
|
|
1732
1765
|
}
|
|
1733
1766
|
},
|
|
1734
1767
|
columnHeaders: {
|
|
1735
|
-
backgroundColor:
|
|
1768
|
+
backgroundColor: bg3.secondary
|
|
1736
1769
|
},
|
|
1737
1770
|
columnHeader: {
|
|
1738
1771
|
fontSize: 12,
|
|
1739
1772
|
lineHeight: "18px",
|
|
1740
1773
|
fontWeight: 500,
|
|
1741
|
-
color:
|
|
1774
|
+
color: fg3.tertiary,
|
|
1742
1775
|
"&:focus, &:focus-within": {
|
|
1743
1776
|
outline: "none"
|
|
1744
1777
|
}
|
|
@@ -1749,27 +1782,27 @@ function buildComponents(tokens) {
|
|
|
1749
1782
|
cell: {
|
|
1750
1783
|
fontSize: 14,
|
|
1751
1784
|
lineHeight: "20px",
|
|
1752
|
-
color:
|
|
1785
|
+
color: fg3.tertiary,
|
|
1753
1786
|
"&:focus, &:focus-within": {
|
|
1754
1787
|
outline: "none"
|
|
1755
1788
|
}
|
|
1756
1789
|
},
|
|
1757
1790
|
row: {
|
|
1758
1791
|
"&:hover": {
|
|
1759
|
-
backgroundColor:
|
|
1792
|
+
backgroundColor: bg3.primaryHover
|
|
1760
1793
|
},
|
|
1761
1794
|
"&.Mui-selected": {
|
|
1762
|
-
backgroundColor:
|
|
1795
|
+
backgroundColor: bg3.brandPrimary,
|
|
1763
1796
|
"&:hover": {
|
|
1764
|
-
backgroundColor:
|
|
1797
|
+
backgroundColor: bg3.brandPrimary
|
|
1765
1798
|
}
|
|
1766
1799
|
}
|
|
1767
1800
|
},
|
|
1768
1801
|
footerContainer: {
|
|
1769
|
-
borderTop: `1px solid ${
|
|
1802
|
+
borderTop: `1px solid ${border3.secondary}`
|
|
1770
1803
|
},
|
|
1771
1804
|
columnSeparator: {
|
|
1772
|
-
color:
|
|
1805
|
+
color: border3.secondary
|
|
1773
1806
|
}
|
|
1774
1807
|
}
|
|
1775
1808
|
}
|
|
@@ -1898,9 +1931,339 @@ var forestPreset = {
|
|
|
1898
1931
|
}
|
|
1899
1932
|
};
|
|
1900
1933
|
|
|
1934
|
+
// src/theme/presets/alkemy-plus.ts
|
|
1935
|
+
var red = {
|
|
1936
|
+
50: "#fef2f2",
|
|
1937
|
+
100: "#fee2e2",
|
|
1938
|
+
200: "#fecaca",
|
|
1939
|
+
600: "#dc2626",
|
|
1940
|
+
700: "#b91c1c",
|
|
1941
|
+
800: "#991b1b",
|
|
1942
|
+
900: "#7f1d1d"};
|
|
1943
|
+
var colors2 = {
|
|
1944
|
+
base: {
|
|
1945
|
+
white: "#ffffff",
|
|
1946
|
+
black: "#000000",
|
|
1947
|
+
transparent: "#ffffff00"
|
|
1948
|
+
},
|
|
1949
|
+
/** Brand scale — black-based for primary actions */
|
|
1950
|
+
brand: {
|
|
1951
|
+
25: "#fafafa",
|
|
1952
|
+
50: "#f5f5f5",
|
|
1953
|
+
100: "#ebebeb",
|
|
1954
|
+
200: "#d6d6d6",
|
|
1955
|
+
300: "#b0b0b0",
|
|
1956
|
+
400: "#737373",
|
|
1957
|
+
500: "#404040",
|
|
1958
|
+
600: "#1a1a1a",
|
|
1959
|
+
700: "#0d0d0d",
|
|
1960
|
+
800: "#050505",
|
|
1961
|
+
900: "#000000",
|
|
1962
|
+
950: "#000000"
|
|
1963
|
+
},
|
|
1964
|
+
/** Warm-neutral gray scale */
|
|
1965
|
+
gray: {
|
|
1966
|
+
25: "#fdfcfc",
|
|
1967
|
+
50: "#faf9f8",
|
|
1968
|
+
100: "#f5f3f1",
|
|
1969
|
+
200: "#e8e5e3",
|
|
1970
|
+
300: "#d8d8dc",
|
|
1971
|
+
400: "#a0a0a6",
|
|
1972
|
+
500: "#71717a",
|
|
1973
|
+
600: "#52525b",
|
|
1974
|
+
700: "#3f3f46",
|
|
1975
|
+
800: "#27272a",
|
|
1976
|
+
900: "#18181b",
|
|
1977
|
+
950: "#09090b"
|
|
1978
|
+
},
|
|
1979
|
+
/** Error — forest defaults (standard UX red) */
|
|
1980
|
+
error: colors.error,
|
|
1981
|
+
/** Warning — orange/yellow tones from Alkemy+ palette */
|
|
1982
|
+
warning: {
|
|
1983
|
+
25: "#fffcf5",
|
|
1984
|
+
50: "#fff7ed",
|
|
1985
|
+
100: "#ffedd5",
|
|
1986
|
+
200: "#fed7aa",
|
|
1987
|
+
300: "#fdba74",
|
|
1988
|
+
400: "#fb923c",
|
|
1989
|
+
500: "#f08828",
|
|
1990
|
+
600: "#ea580c",
|
|
1991
|
+
700: "#c2410c",
|
|
1992
|
+
800: "#9a3412",
|
|
1993
|
+
900: "#7c2d12",
|
|
1994
|
+
950: "#431407"
|
|
1995
|
+
},
|
|
1996
|
+
/** Success — forest defaults (standard UX green) */
|
|
1997
|
+
success: colors.success,
|
|
1998
|
+
/** Blue (info) — forest defaults (standard UX) */
|
|
1999
|
+
blue: colors.blue
|
|
2000
|
+
};
|
|
2001
|
+
var text2 = {
|
|
2002
|
+
primary: colors2.gray[900],
|
|
2003
|
+
secondary: colors2.gray[700],
|
|
2004
|
+
secondaryHover: colors2.gray[800],
|
|
2005
|
+
tertiary: colors2.gray[600],
|
|
2006
|
+
tertiaryHover: colors2.gray[700],
|
|
2007
|
+
quaternary: colors2.gray[500],
|
|
2008
|
+
disabled: colors2.gray[500],
|
|
2009
|
+
placeholder: colors2.gray[500],
|
|
2010
|
+
placeholderSubtle: colors2.gray[300],
|
|
2011
|
+
white: colors2.base.white,
|
|
2012
|
+
brandPrimary: red[900],
|
|
2013
|
+
brandSecondary: red[700],
|
|
2014
|
+
brandTertiary: red[600],
|
|
2015
|
+
brandTertiaryAlt: red[600],
|
|
2016
|
+
primaryOnBrand: colors2.base.white,
|
|
2017
|
+
secondaryOnBrand: colors2.brand[200],
|
|
2018
|
+
tertiaryOnBrand: colors2.brand[200],
|
|
2019
|
+
quaternaryOnBrand: colors2.brand[300],
|
|
2020
|
+
errorPrimary: colors2.error[600],
|
|
2021
|
+
warningPrimary: colors2.warning[600],
|
|
2022
|
+
successPrimary: colors2.success[600]
|
|
2023
|
+
};
|
|
2024
|
+
var bg2 = {
|
|
2025
|
+
primary: colors2.gray[50],
|
|
2026
|
+
primaryAlt: colors2.gray[50],
|
|
2027
|
+
primaryHover: colors2.gray[50],
|
|
2028
|
+
primarySolid: colors2.gray[950],
|
|
2029
|
+
secondary: colors2.base.white,
|
|
2030
|
+
secondaryAlt: colors2.base.white,
|
|
2031
|
+
secondarySubtle: colors2.gray[25],
|
|
2032
|
+
secondaryHover: colors2.gray[100],
|
|
2033
|
+
secondarySolid: colors2.gray[600],
|
|
2034
|
+
tertiary: colors2.gray[100],
|
|
2035
|
+
quaternary: colors2.gray[200],
|
|
2036
|
+
active: colors2.gray[50],
|
|
2037
|
+
disabled: colors2.gray[100],
|
|
2038
|
+
disabledSubtle: colors2.gray[50],
|
|
2039
|
+
overlay: colors2.gray[950],
|
|
2040
|
+
brandPrimary: colors2.brand[100],
|
|
2041
|
+
brandPrimaryAlt: colors2.brand[100],
|
|
2042
|
+
brandSecondary: colors2.brand[200],
|
|
2043
|
+
brandSolid: colors2.brand[600],
|
|
2044
|
+
brandSolidHover: colors2.brand[700],
|
|
2045
|
+
brandSection: colors2.brand[800],
|
|
2046
|
+
brandSectionSubtle: colors2.brand[700],
|
|
2047
|
+
errorPrimary: colors2.error[50],
|
|
2048
|
+
errorSecondary: colors2.error[100],
|
|
2049
|
+
errorSolid: colors2.error[600],
|
|
2050
|
+
warningPrimary: colors2.warning[50],
|
|
2051
|
+
warningSecondary: colors2.warning[100],
|
|
2052
|
+
warningSolid: colors2.warning[600],
|
|
2053
|
+
successPrimary: colors2.success[50],
|
|
2054
|
+
successSecondary: colors2.success[100],
|
|
2055
|
+
successSolid: colors2.success[600]
|
|
2056
|
+
};
|
|
2057
|
+
var fg2 = {
|
|
2058
|
+
primary: colors2.gray[900],
|
|
2059
|
+
secondary: colors2.gray[700],
|
|
2060
|
+
secondaryHover: colors2.gray[800],
|
|
2061
|
+
tertiary: colors2.gray[600],
|
|
2062
|
+
tertiaryHover: colors2.gray[700],
|
|
2063
|
+
quaternary: colors2.gray[500],
|
|
2064
|
+
quaternaryHover: colors2.gray[600],
|
|
2065
|
+
quinary: colors2.gray[400],
|
|
2066
|
+
quinaryHover: colors2.gray[500],
|
|
2067
|
+
senary: colors2.gray[300],
|
|
2068
|
+
white: colors2.base.white,
|
|
2069
|
+
disabled: colors2.gray[400],
|
|
2070
|
+
disabledSubtle: colors2.gray[300],
|
|
2071
|
+
brandPrimary: colors2.brand[600],
|
|
2072
|
+
brandPrimaryAlt: colors2.brand[600],
|
|
2073
|
+
brandSecondary: colors2.brand[500],
|
|
2074
|
+
errorPrimary: colors2.error[600],
|
|
2075
|
+
errorSecondary: colors2.error[500],
|
|
2076
|
+
warningPrimary: colors2.warning[600],
|
|
2077
|
+
warningSecondary: colors2.warning[500],
|
|
2078
|
+
successPrimary: colors2.success[600],
|
|
2079
|
+
successSecondary: colors2.success[500]
|
|
2080
|
+
};
|
|
2081
|
+
var border2 = {
|
|
2082
|
+
primary: colors2.gray[300],
|
|
2083
|
+
secondary: colors2.gray[200],
|
|
2084
|
+
tertiary: colors2.gray[100],
|
|
2085
|
+
disabled: colors2.gray[300],
|
|
2086
|
+
disabledSubtle: colors2.gray[200],
|
|
2087
|
+
brand: colors2.brand[300],
|
|
2088
|
+
brandSolid: colors2.brand[600],
|
|
2089
|
+
brandSolidAlt: colors2.brand[600],
|
|
2090
|
+
error: colors2.error[300],
|
|
2091
|
+
errorSolid: colors2.error[600]
|
|
2092
|
+
};
|
|
2093
|
+
var buttonColors2 = {
|
|
2094
|
+
/** Primary buttons — black */
|
|
2095
|
+
primary: {
|
|
2096
|
+
bg: colors2.brand[600],
|
|
2097
|
+
bgHover: colors2.brand[700],
|
|
2098
|
+
fg: colors2.base.white,
|
|
2099
|
+
fgHover: colors2.base.white,
|
|
2100
|
+
border: colors2.brand[600],
|
|
2101
|
+
borderHover: colors2.brand[700]
|
|
2102
|
+
},
|
|
2103
|
+
secondary: {
|
|
2104
|
+
bg: colors2.base.white,
|
|
2105
|
+
bgHover: colors2.gray[50],
|
|
2106
|
+
fg: colors2.gray[700],
|
|
2107
|
+
fgHover: colors2.gray[800],
|
|
2108
|
+
border: colors2.gray[300],
|
|
2109
|
+
borderHover: colors2.gray[300]
|
|
2110
|
+
},
|
|
2111
|
+
/** Outlined accent buttons — dark */
|
|
2112
|
+
secondaryColor: {
|
|
2113
|
+
bg: colors2.base.white,
|
|
2114
|
+
bgHover: colors2.brand[50],
|
|
2115
|
+
fg: colors2.brand[700],
|
|
2116
|
+
fgHover: colors2.brand[800],
|
|
2117
|
+
border: colors2.brand[300],
|
|
2118
|
+
borderHover: colors2.brand[300]
|
|
2119
|
+
},
|
|
2120
|
+
tertiary: {
|
|
2121
|
+
fg: colors2.gray[600],
|
|
2122
|
+
fgHover: colors2.gray[700],
|
|
2123
|
+
bgHover: colors2.gray[50]
|
|
2124
|
+
},
|
|
2125
|
+
/** Text accent buttons — red */
|
|
2126
|
+
tertiaryColor: {
|
|
2127
|
+
fg: red[700],
|
|
2128
|
+
fgHover: red[800],
|
|
2129
|
+
bgHover: red[50]
|
|
2130
|
+
},
|
|
2131
|
+
primaryError: {
|
|
2132
|
+
bg: colors2.error[600],
|
|
2133
|
+
bgHover: colors2.error[700],
|
|
2134
|
+
fg: colors2.base.white,
|
|
2135
|
+
fgHover: colors2.base.white,
|
|
2136
|
+
border: colors2.error[600],
|
|
2137
|
+
borderHover: colors2.error[700]
|
|
2138
|
+
},
|
|
2139
|
+
secondaryError: {
|
|
2140
|
+
bg: colors2.base.white,
|
|
2141
|
+
bgHover: colors2.error[50],
|
|
2142
|
+
fg: colors2.error[700],
|
|
2143
|
+
fgHover: colors2.error[800],
|
|
2144
|
+
border: colors2.error[300],
|
|
2145
|
+
borderHover: colors2.error[300]
|
|
2146
|
+
},
|
|
2147
|
+
tertiaryError: {
|
|
2148
|
+
fg: colors2.error[700],
|
|
2149
|
+
fgHover: colors2.error[800],
|
|
2150
|
+
bgHover: colors2.error[50]
|
|
2151
|
+
}
|
|
2152
|
+
};
|
|
2153
|
+
var avatarColors2 = {
|
|
2154
|
+
bg: colors2.gray[100],
|
|
2155
|
+
contrastBorder: "#00000014",
|
|
2156
|
+
profilePhotoBorder: colors2.base.white,
|
|
2157
|
+
focusBorder: "#a0a0a624"
|
|
2158
|
+
};
|
|
2159
|
+
var breadcrumbColors2 = {
|
|
2160
|
+
fg: colors2.gray[600],
|
|
2161
|
+
fgHover: colors2.gray[700],
|
|
2162
|
+
bgHover: colors2.gray[50],
|
|
2163
|
+
brandBgHover: red[50],
|
|
2164
|
+
brandFgHover: red[700],
|
|
2165
|
+
iconFg: colors2.gray[500],
|
|
2166
|
+
iconFgHover: colors2.gray[700],
|
|
2167
|
+
brandIconFgHover: red[700]
|
|
2168
|
+
};
|
|
2169
|
+
var iconColors2 = {
|
|
2170
|
+
fgBrand: red[600],
|
|
2171
|
+
fgBrandOnBrand: red[200],
|
|
2172
|
+
featuredModernBorder: colors2.gray[200],
|
|
2173
|
+
featuredLightFgBrand: red[600],
|
|
2174
|
+
featuredLightFgGray: colors2.gray[500],
|
|
2175
|
+
featuredLightFgError: colors2.error[600],
|
|
2176
|
+
featuredLightFgWarning: colors2.warning[600],
|
|
2177
|
+
featuredLightFgSuccess: colors2.success[600],
|
|
2178
|
+
featuredDarkFgBrand: colors2.base.white,
|
|
2179
|
+
featuredDarkFgGray: colors2.base.white,
|
|
2180
|
+
featuredDarkFgError: colors2.base.white,
|
|
2181
|
+
featuredDarkFgWarning: colors2.base.white,
|
|
2182
|
+
featuredDarkFgSuccess: colors2.base.white
|
|
2183
|
+
};
|
|
2184
|
+
var navColors2 = {
|
|
2185
|
+
itemIconFg: colors2.gray[500],
|
|
2186
|
+
itemIconFgActive: colors2.gray[500],
|
|
2187
|
+
itemButtonIconFg: colors2.gray[500],
|
|
2188
|
+
itemButtonIconFgActive: colors2.gray[700]
|
|
2189
|
+
};
|
|
2190
|
+
var sliderColors2 = {
|
|
2191
|
+
handleBorder: red[600],
|
|
2192
|
+
handleBg: colors2.base.white
|
|
2193
|
+
};
|
|
2194
|
+
var toggleColors2 = {
|
|
2195
|
+
buttonFgDisabled: colors2.gray[50]
|
|
2196
|
+
};
|
|
2197
|
+
var chartColors2 = {
|
|
2198
|
+
axisFg: colors2.gray[200],
|
|
2199
|
+
gridlineFg: colors2.gray[100],
|
|
2200
|
+
labelFg: colors2.gray[600],
|
|
2201
|
+
labelFgEmphasis: colors2.gray[700],
|
|
2202
|
+
bg: colors2.base.white,
|
|
2203
|
+
bgAlt: colors2.gray[50],
|
|
2204
|
+
tooltipBg: colors2.gray[950],
|
|
2205
|
+
tooltipFg: colors2.base.white,
|
|
2206
|
+
crosshairFg: colors2.gray[500],
|
|
2207
|
+
legendFg: colors2.gray[700],
|
|
2208
|
+
series1Fg: colors2.brand[600],
|
|
2209
|
+
series1FgHover: colors2.brand[700],
|
|
2210
|
+
series1Bg: colors2.brand[100],
|
|
2211
|
+
series1BgHover: colors2.brand[200],
|
|
2212
|
+
series2Fg: red[600],
|
|
2213
|
+
series2FgHover: red[700],
|
|
2214
|
+
series2Bg: red[100],
|
|
2215
|
+
series2BgHover: red[200]
|
|
2216
|
+
};
|
|
2217
|
+
var focusRings2 = {
|
|
2218
|
+
brand: "0px 0px 0px 4px #f040403d",
|
|
2219
|
+
brandShadowXs: "0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #f040403d",
|
|
2220
|
+
brandShadowSm: "0px 1px 3px 0px #1018281a, 0px 1px 2px 0px #1018280f, 0px 0px 0px 4px #f040403d",
|
|
2221
|
+
gray: "0px 0px 0px 4px #a0a0a624",
|
|
2222
|
+
grayShadowXs: "0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #a0a0a624",
|
|
2223
|
+
grayShadowSm: "0px 1px 3px 0px #1018281a, 0px 1px 2px 0px #1018280f, 0px 0px 0px 4px #a0a0a624",
|
|
2224
|
+
error: "0px 0px 0px 4px #f044383d",
|
|
2225
|
+
errorShadowXs: "0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #f044383d"
|
|
2226
|
+
};
|
|
2227
|
+
var alkemyPlusPreset = {
|
|
2228
|
+
name: "alkemy-plus",
|
|
2229
|
+
defaultVariant: "light",
|
|
2230
|
+
variants: {
|
|
2231
|
+
light: {
|
|
2232
|
+
tokens: {
|
|
2233
|
+
colors: colors2,
|
|
2234
|
+
spacing,
|
|
2235
|
+
radius,
|
|
2236
|
+
shadows,
|
|
2237
|
+
focusRings: focusRings2,
|
|
2238
|
+
fontFamily: '"Aeonik", sans-serif',
|
|
2239
|
+
fontSize,
|
|
2240
|
+
lineHeight,
|
|
2241
|
+
fontWeight,
|
|
2242
|
+
display,
|
|
2243
|
+
container,
|
|
2244
|
+
widths,
|
|
2245
|
+
text: text2,
|
|
2246
|
+
bg: bg2,
|
|
2247
|
+
fg: fg2,
|
|
2248
|
+
border: border2,
|
|
2249
|
+
buttonColors: buttonColors2,
|
|
2250
|
+
avatarColors: avatarColors2,
|
|
2251
|
+
breadcrumbColors: breadcrumbColors2,
|
|
2252
|
+
iconColors: iconColors2,
|
|
2253
|
+
navColors: navColors2,
|
|
2254
|
+
sliderColors: sliderColors2,
|
|
2255
|
+
toggleColors: toggleColors2,
|
|
2256
|
+
chartColors: chartColors2,
|
|
2257
|
+
alpha
|
|
2258
|
+
}
|
|
2259
|
+
}
|
|
2260
|
+
}
|
|
2261
|
+
};
|
|
2262
|
+
|
|
1901
2263
|
// src/theme/presets/index.ts
|
|
1902
2264
|
var presetRegistry = /* @__PURE__ */ new Map();
|
|
1903
2265
|
presetRegistry.set(forestPreset.name, forestPreset);
|
|
2266
|
+
presetRegistry.set(alkemyPlusPreset.name, alkemyPlusPreset);
|
|
1904
2267
|
function getPreset(name) {
|
|
1905
2268
|
return presetRegistry.get(name);
|
|
1906
2269
|
}
|
|
@@ -2187,6 +2550,7 @@ exports.ToggleButtonGroup = ToggleButtonGroup;
|
|
|
2187
2550
|
exports.Toolbar = Toolbar;
|
|
2188
2551
|
exports.Tooltip = Tooltip;
|
|
2189
2552
|
exports.Typography = Typography;
|
|
2553
|
+
exports.alkemyPlusPreset = alkemyPlusPreset;
|
|
2190
2554
|
exports.alpha = alpha;
|
|
2191
2555
|
exports.avatarColors = avatarColors;
|
|
2192
2556
|
exports.bg = bg;
|