@matteoaliano/forest-ui 0.2.6 → 0.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/sync.mjs +44 -0
- package/dist/{chunk-CQX6QWMF.mjs → chunk-3FZJFTY7.mjs} +624 -253
- package/dist/chunk-3FZJFTY7.mjs.map +1 -0
- package/dist/{index-lqHy9CQ4.d.mts → index-C7JP9vAZ.d.mts} +37 -27
- package/dist/{index-lqHy9CQ4.d.ts → index-C7JP9vAZ.d.ts} +37 -27
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +625 -253
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.map +1 -1
- package/dist/theme.d.mts +1 -1
- package/dist/theme.d.ts +1 -1
- package/dist/theme.js +622 -250
- package/dist/theme.js.map +1 -1
- package/dist/theme.mjs +1 -1
- package/fonts/aeonik/aeonik-bold.woff +0 -0
- package/fonts/aeonik/aeonik-bold.woff2 +0 -0
- package/fonts/aeonik/aeonik-medium.woff +0 -0
- package/fonts/aeonik/aeonik-medium.woff2 +0 -0
- package/fonts/aeonik/aeonik-regular.woff +0 -0
- package/fonts/aeonik/aeonik-regular.woff2 +0 -0
- package/fonts/aeonik/aeonik-semibold.woff +0 -0
- package/fonts/aeonik/aeonik-semibold.woff2 +0 -0
- package/fonts/aeonik/aeonik.css +42 -0
- package/guidelines/FOREST_AI_GUIDELINES.md +8 -1
- package/guidelines/FOREST_DEV_GUIDELINES.md +1 -1
- package/guidelines/themes/FOREST_THEME_ALKEMY_PLUS.md +139 -0
- package/guidelines/themes/FOREST_THEME_DEFAULT.md +1 -1
- package/package.json +5 -3
- package/dist/chunk-CQX6QWMF.mjs.map +0 -1
package/dist/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:
|
|
719
|
-
radius:
|
|
720
|
-
focusRings:
|
|
718
|
+
colors: colors3,
|
|
719
|
+
radius: radius3,
|
|
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 ─────────────────────────────────────────────────────
|
|
@@ -733,7 +733,7 @@ function buildComponents(tokens) {
|
|
|
733
733
|
},
|
|
734
734
|
styleOverrides: {
|
|
735
735
|
root: {
|
|
736
|
-
borderRadius:
|
|
736
|
+
borderRadius: radius3.md,
|
|
737
737
|
fontWeight: 600,
|
|
738
738
|
boxShadow: tokenShadows.xs,
|
|
739
739
|
height: 32,
|
|
@@ -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
|
}
|
|
@@ -782,11 +782,11 @@ function buildComponents(tokens) {
|
|
|
782
782
|
},
|
|
783
783
|
styleOverrides: {
|
|
784
784
|
root: {
|
|
785
|
-
borderRadius:
|
|
785
|
+
borderRadius: radius3.md
|
|
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
|
}
|
|
@@ -814,16 +814,15 @@ function buildComponents(tokens) {
|
|
|
814
814
|
// ─── TextField / Input ──────────────────────────────────────────
|
|
815
815
|
MuiTextField: {
|
|
816
816
|
defaultProps: {
|
|
817
|
-
variant: "outlined"
|
|
818
|
-
size: "small"
|
|
817
|
+
variant: "outlined"
|
|
819
818
|
}
|
|
820
819
|
},
|
|
821
820
|
MuiInputBase: {
|
|
822
821
|
styleOverrides: {
|
|
823
822
|
input: {
|
|
824
823
|
"&::placeholder": {
|
|
825
|
-
color:
|
|
826
|
-
WebkitTextFillColor:
|
|
824
|
+
color: text3.placeholder,
|
|
825
|
+
WebkitTextFillColor: text3.placeholder,
|
|
827
826
|
fontWeight: 400,
|
|
828
827
|
opacity: 1
|
|
829
828
|
}
|
|
@@ -833,34 +832,29 @@ function buildComponents(tokens) {
|
|
|
833
832
|
MuiOutlinedInput: {
|
|
834
833
|
styleOverrides: {
|
|
835
834
|
root: {
|
|
836
|
-
borderRadius:
|
|
835
|
+
borderRadius: radius3.md,
|
|
837
836
|
boxShadow: tokenShadows.xs,
|
|
838
837
|
"&:hover .MuiOutlinedInput-notchedOutline": {
|
|
839
|
-
borderColor:
|
|
838
|
+
borderColor: border3.brand
|
|
840
839
|
},
|
|
841
840
|
"&.Mui-focused .MuiOutlinedInput-notchedOutline": {
|
|
842
|
-
borderColor:
|
|
841
|
+
borderColor: border3.brandSolid,
|
|
843
842
|
borderWidth: 1,
|
|
844
843
|
boxShadow: "none"
|
|
845
844
|
},
|
|
846
845
|
"&.Mui-error .MuiOutlinedInput-notchedOutline": {
|
|
847
|
-
borderColor:
|
|
846
|
+
borderColor: border3.error
|
|
848
847
|
},
|
|
849
848
|
"&.Mui-error.Mui-focused .MuiOutlinedInput-notchedOutline": {
|
|
850
|
-
borderColor:
|
|
849
|
+
borderColor: border3.errorSolid,
|
|
851
850
|
boxShadow: "none"
|
|
852
851
|
}
|
|
853
852
|
},
|
|
854
853
|
notchedOutline: {
|
|
855
|
-
borderColor:
|
|
854
|
+
borderColor: border3.primary
|
|
856
855
|
},
|
|
857
856
|
input: {
|
|
858
|
-
padding: "
|
|
859
|
-
fontSize: 16,
|
|
860
|
-
lineHeight: "24px"
|
|
861
|
-
},
|
|
862
|
-
inputSizeSmall: {
|
|
863
|
-
padding: "8px 12px",
|
|
857
|
+
padding: "6px 12px",
|
|
864
858
|
fontSize: 14,
|
|
865
859
|
lineHeight: "20px"
|
|
866
860
|
}
|
|
@@ -869,12 +863,12 @@ function buildComponents(tokens) {
|
|
|
869
863
|
MuiFormLabel: {
|
|
870
864
|
styleOverrides: {
|
|
871
865
|
root: {
|
|
872
|
-
color:
|
|
866
|
+
color: text3.placeholder,
|
|
873
867
|
"&.Mui-focused": {
|
|
874
|
-
color:
|
|
868
|
+
color: text3.placeholder
|
|
875
869
|
},
|
|
876
870
|
"&.Mui-error": {
|
|
877
|
-
color:
|
|
871
|
+
color: text3.errorPrimary
|
|
878
872
|
}
|
|
879
873
|
}
|
|
880
874
|
}
|
|
@@ -884,12 +878,18 @@ function buildComponents(tokens) {
|
|
|
884
878
|
root: {
|
|
885
879
|
fontSize: 14,
|
|
886
880
|
fontWeight: 500,
|
|
887
|
-
color:
|
|
881
|
+
color: text3.placeholder,
|
|
888
882
|
"&.Mui-focused": {
|
|
889
|
-
color:
|
|
883
|
+
color: text3.placeholder
|
|
890
884
|
},
|
|
891
885
|
"&.Mui-error": {
|
|
892
|
-
color:
|
|
886
|
+
color: text3.errorPrimary
|
|
887
|
+
}
|
|
888
|
+
},
|
|
889
|
+
outlined: {
|
|
890
|
+
transform: "translate(12px, 6px) scale(1)",
|
|
891
|
+
"&.MuiInputLabel-shrink": {
|
|
892
|
+
transform: "translate(14px, -9px) scale(0.75)"
|
|
893
893
|
}
|
|
894
894
|
}
|
|
895
895
|
}
|
|
@@ -902,7 +902,7 @@ function buildComponents(tokens) {
|
|
|
902
902
|
marginTop: 6,
|
|
903
903
|
marginLeft: 0,
|
|
904
904
|
"&.Mui-error": {
|
|
905
|
-
color:
|
|
905
|
+
color: text3.errorPrimary
|
|
906
906
|
}
|
|
907
907
|
}
|
|
908
908
|
}
|
|
@@ -910,18 +910,38 @@ function buildComponents(tokens) {
|
|
|
910
910
|
// ─── Select ─────────────────────────────────────────────────────
|
|
911
911
|
MuiSelect: {
|
|
912
912
|
defaultProps: {
|
|
913
|
-
|
|
913
|
+
MenuProps: {
|
|
914
|
+
autoFocus: false,
|
|
915
|
+
slotProps: {
|
|
916
|
+
backdrop: {
|
|
917
|
+
sx: { backgroundColor: "transparent" }
|
|
918
|
+
}
|
|
919
|
+
}
|
|
920
|
+
}
|
|
914
921
|
},
|
|
915
922
|
styleOverrides: {
|
|
916
923
|
select: {
|
|
917
924
|
"&.MuiSelect-select": {
|
|
918
|
-
"
|
|
919
|
-
|
|
920
|
-
|
|
925
|
+
minHeight: "auto",
|
|
926
|
+
padding: "6px 12px",
|
|
927
|
+
fontSize: 14,
|
|
928
|
+
lineHeight: "20px"
|
|
921
929
|
}
|
|
922
930
|
},
|
|
923
931
|
icon: {
|
|
924
|
-
color:
|
|
932
|
+
color: text3.placeholder
|
|
933
|
+
}
|
|
934
|
+
}
|
|
935
|
+
},
|
|
936
|
+
MuiMenuItem: {
|
|
937
|
+
styleOverrides: {
|
|
938
|
+
root: {
|
|
939
|
+
borderRadius: radius3.md,
|
|
940
|
+
padding: "6px 8px",
|
|
941
|
+
gap: 4,
|
|
942
|
+
"&:hover": {
|
|
943
|
+
backgroundColor: bg3.primaryHover
|
|
944
|
+
}
|
|
925
945
|
}
|
|
926
946
|
}
|
|
927
947
|
},
|
|
@@ -929,20 +949,29 @@ function buildComponents(tokens) {
|
|
|
929
949
|
MuiAutocomplete: {
|
|
930
950
|
styleOverrides: {
|
|
931
951
|
paper: {
|
|
932
|
-
borderRadius:
|
|
952
|
+
borderRadius: radius3.md,
|
|
933
953
|
boxShadow: tokenShadows.lg,
|
|
934
|
-
border: `1px solid ${
|
|
954
|
+
border: `1px solid ${border3.secondary}`,
|
|
935
955
|
marginTop: 4
|
|
936
956
|
},
|
|
957
|
+
inputRoot: {
|
|
958
|
+
// Override Autocomplete's default padding so the input height stays 32px
|
|
959
|
+
padding: "0 12px",
|
|
960
|
+
"&.MuiOutlinedInput-root .MuiAutocomplete-input": {
|
|
961
|
+
padding: "6px 0",
|
|
962
|
+
fontSize: 14,
|
|
963
|
+
lineHeight: "20px"
|
|
964
|
+
}
|
|
965
|
+
},
|
|
937
966
|
option: {
|
|
938
|
-
fontSize:
|
|
939
|
-
lineHeight: "
|
|
940
|
-
padding: "
|
|
967
|
+
fontSize: 14,
|
|
968
|
+
lineHeight: "20px",
|
|
969
|
+
padding: "6px 12px",
|
|
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:
|
|
961
|
-
borderRadius:
|
|
989
|
+
color: border3.primary,
|
|
990
|
+
borderRadius: radius3.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:
|
|
978
|
-
borderRadius:
|
|
1006
|
+
boxShadow: focusRings3.brand,
|
|
1007
|
+
borderRadius: radius3.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:
|
|
1008
|
-
borderRadius:
|
|
1036
|
+
boxShadow: focusRings3.brand,
|
|
1037
|
+
borderRadius: radius3.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
|
|
@@ -1053,8 +1082,8 @@ function buildComponents(tokens) {
|
|
|
1053
1082
|
boxShadow: "0px 1px 2px 0px #1018280d"
|
|
1054
1083
|
},
|
|
1055
1084
|
track: {
|
|
1056
|
-
borderRadius:
|
|
1057
|
-
backgroundColor:
|
|
1085
|
+
borderRadius: radius3.full,
|
|
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,19 @@ 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.brandSolid,
|
|
1082
1111
|
"&:hover": {
|
|
1083
|
-
backgroundColor:
|
|
1112
|
+
backgroundColor: bg3.brandSecondary
|
|
1084
1113
|
}
|
|
1085
1114
|
},
|
|
1086
1115
|
"&:focus-visible": {
|
|
1087
|
-
boxShadow:
|
|
1116
|
+
boxShadow: focusRings3.brandShadowXs
|
|
1088
1117
|
}
|
|
1089
1118
|
}
|
|
1090
1119
|
}
|
|
@@ -1092,7 +1121,7 @@ function buildComponents(tokens) {
|
|
|
1092
1121
|
MuiToggleButtonGroup: {
|
|
1093
1122
|
styleOverrides: {
|
|
1094
1123
|
root: {
|
|
1095
|
-
borderRadius:
|
|
1124
|
+
borderRadius: radius3.md,
|
|
1096
1125
|
overflow: "hidden"
|
|
1097
1126
|
},
|
|
1098
1127
|
grouped: {
|
|
@@ -1101,12 +1130,12 @@ function buildComponents(tokens) {
|
|
|
1101
1130
|
marginLeft: -1
|
|
1102
1131
|
},
|
|
1103
1132
|
"&:first-of-type": {
|
|
1104
|
-
borderTopLeftRadius:
|
|
1105
|
-
borderBottomLeftRadius:
|
|
1133
|
+
borderTopLeftRadius: radius3.md,
|
|
1134
|
+
borderBottomLeftRadius: radius3.md
|
|
1106
1135
|
},
|
|
1107
1136
|
"&:last-of-type": {
|
|
1108
|
-
borderTopRightRadius:
|
|
1109
|
-
borderBottomRightRadius:
|
|
1137
|
+
borderTopRightRadius: radius3.md,
|
|
1138
|
+
borderBottomRightRadius: radius3.md
|
|
1110
1139
|
}
|
|
1111
1140
|
}
|
|
1112
1141
|
}
|
|
@@ -1118,9 +1147,9 @@ function buildComponents(tokens) {
|
|
|
1118
1147
|
},
|
|
1119
1148
|
styleOverrides: {
|
|
1120
1149
|
root: {
|
|
1121
|
-
borderRadius:
|
|
1122
|
-
border: `1px solid ${
|
|
1123
|
-
backgroundColor:
|
|
1150
|
+
borderRadius: radius3.xl,
|
|
1151
|
+
border: `1px solid ${border3.secondary}`,
|
|
1152
|
+
backgroundColor: bg3.primary,
|
|
1124
1153
|
boxShadow: tokenShadows.xs,
|
|
1125
1154
|
overflow: "hidden"
|
|
1126
1155
|
}
|
|
@@ -1167,35 +1196,35 @@ function buildComponents(tokens) {
|
|
|
1167
1196
|
backgroundImage: "none"
|
|
1168
1197
|
},
|
|
1169
1198
|
rounded: {
|
|
1170
|
-
borderRadius:
|
|
1199
|
+
borderRadius: radius3.lg
|
|
1171
1200
|
},
|
|
1172
1201
|
elevation1: {
|
|
1173
1202
|
boxShadow: tokenShadows.xs,
|
|
1174
|
-
border: `1px solid ${
|
|
1203
|
+
border: `1px solid ${border3.secondary}`
|
|
1175
1204
|
},
|
|
1176
1205
|
elevation2: {
|
|
1177
1206
|
boxShadow: tokenShadows.sm,
|
|
1178
|
-
border: `1px solid ${
|
|
1207
|
+
border: `1px solid ${border3.secondary}`
|
|
1179
1208
|
},
|
|
1180
1209
|
elevation3: {
|
|
1181
1210
|
boxShadow: tokenShadows.md,
|
|
1182
|
-
border: `1px solid ${
|
|
1211
|
+
border: `1px solid ${border3.secondary}`
|
|
1183
1212
|
},
|
|
1184
1213
|
elevation4: {
|
|
1185
1214
|
boxShadow: tokenShadows.lg,
|
|
1186
|
-
border: `1px solid ${
|
|
1215
|
+
border: `1px solid ${border3.secondary}`
|
|
1187
1216
|
},
|
|
1188
1217
|
elevation8: {
|
|
1189
1218
|
boxShadow: tokenShadows.xl,
|
|
1190
|
-
border: `1px solid ${
|
|
1219
|
+
border: `1px solid ${border3.secondary}`
|
|
1191
1220
|
},
|
|
1192
1221
|
elevation16: {
|
|
1193
1222
|
boxShadow: tokenShadows["2xl"],
|
|
1194
|
-
border: `1px solid ${
|
|
1223
|
+
border: `1px solid ${border3.secondary}`
|
|
1195
1224
|
},
|
|
1196
1225
|
elevation24: {
|
|
1197
1226
|
boxShadow: tokenShadows["3xl"],
|
|
1198
|
-
border: `1px solid ${
|
|
1227
|
+
border: `1px solid ${border3.secondary}`
|
|
1199
1228
|
}
|
|
1200
1229
|
}
|
|
1201
1230
|
},
|
|
@@ -1207,8 +1236,8 @@ function buildComponents(tokens) {
|
|
|
1207
1236
|
},
|
|
1208
1237
|
styleOverrides: {
|
|
1209
1238
|
root: {
|
|
1210
|
-
border: `1px solid ${
|
|
1211
|
-
borderRadius:
|
|
1239
|
+
border: `1px solid ${border3.secondary}`,
|
|
1240
|
+
borderRadius: radius3.lg,
|
|
1212
1241
|
"&:not(:last-child)": {
|
|
1213
1242
|
marginBottom: 8
|
|
1214
1243
|
},
|
|
@@ -1218,7 +1247,7 @@ function buildComponents(tokens) {
|
|
|
1218
1247
|
"&.Mui-expanded": {
|
|
1219
1248
|
margin: 0,
|
|
1220
1249
|
marginBottom: 8,
|
|
1221
|
-
borderRadius:
|
|
1250
|
+
borderRadius: radius3.lg
|
|
1222
1251
|
}
|
|
1223
1252
|
}
|
|
1224
1253
|
}
|
|
@@ -1230,7 +1259,7 @@ function buildComponents(tokens) {
|
|
|
1230
1259
|
minHeight: 56,
|
|
1231
1260
|
"&.Mui-expanded": {
|
|
1232
1261
|
minHeight: 56,
|
|
1233
|
-
borderBottom: `1px solid ${
|
|
1262
|
+
borderBottom: `1px solid ${border3.secondary}`
|
|
1234
1263
|
}
|
|
1235
1264
|
},
|
|
1236
1265
|
content: {
|
|
@@ -1256,8 +1285,8 @@ function buildComponents(tokens) {
|
|
|
1256
1285
|
},
|
|
1257
1286
|
styleOverrides: {
|
|
1258
1287
|
root: {
|
|
1259
|
-
borderBottom: `1px solid ${
|
|
1260
|
-
backgroundColor:
|
|
1288
|
+
borderBottom: `1px solid ${border3.secondary}`,
|
|
1289
|
+
backgroundColor: bg3.primary
|
|
1261
1290
|
}
|
|
1262
1291
|
}
|
|
1263
1292
|
},
|
|
@@ -1281,7 +1310,7 @@ function buildComponents(tokens) {
|
|
|
1281
1310
|
MuiChip: {
|
|
1282
1311
|
styleOverrides: {
|
|
1283
1312
|
root: {
|
|
1284
|
-
borderRadius:
|
|
1313
|
+
borderRadius: radius3.md
|
|
1285
1314
|
},
|
|
1286
1315
|
label: {
|
|
1287
1316
|
fontWeight: 500
|
|
@@ -1297,51 +1326,51 @@ function buildComponents(tokens) {
|
|
|
1297
1326
|
},
|
|
1298
1327
|
colorDefault: {
|
|
1299
1328
|
"&.MuiChip-filled": {
|
|
1300
|
-
backgroundColor:
|
|
1301
|
-
color:
|
|
1302
|
-
"& .MuiChip-deleteIcon": { color:
|
|
1329
|
+
backgroundColor: colors3.gray[50],
|
|
1330
|
+
color: colors3.gray[700],
|
|
1331
|
+
"& .MuiChip-deleteIcon": { color: colors3.gray[400] }
|
|
1303
1332
|
}
|
|
1304
1333
|
},
|
|
1305
1334
|
colorPrimary: {
|
|
1306
1335
|
"&.MuiChip-filled": {
|
|
1307
|
-
backgroundColor:
|
|
1308
|
-
color:
|
|
1309
|
-
"& .MuiChip-deleteIcon": { color:
|
|
1336
|
+
backgroundColor: colors3.brand[50],
|
|
1337
|
+
color: colors3.brand[700],
|
|
1338
|
+
"& .MuiChip-deleteIcon": { color: colors3.brand[400] }
|
|
1310
1339
|
}
|
|
1311
1340
|
},
|
|
1312
1341
|
colorSecondary: {
|
|
1313
1342
|
"&.MuiChip-filled": {
|
|
1314
|
-
backgroundColor:
|
|
1315
|
-
color:
|
|
1316
|
-
"& .MuiChip-deleteIcon": { color:
|
|
1343
|
+
backgroundColor: colors3.gray[50],
|
|
1344
|
+
color: colors3.gray[700],
|
|
1345
|
+
"& .MuiChip-deleteIcon": { color: colors3.gray[400] }
|
|
1317
1346
|
}
|
|
1318
1347
|
},
|
|
1319
1348
|
colorError: {
|
|
1320
1349
|
"&.MuiChip-filled": {
|
|
1321
|
-
backgroundColor:
|
|
1322
|
-
color:
|
|
1323
|
-
"& .MuiChip-deleteIcon": { color:
|
|
1350
|
+
backgroundColor: colors3.error[50],
|
|
1351
|
+
color: colors3.error[700],
|
|
1352
|
+
"& .MuiChip-deleteIcon": { color: colors3.error[400] }
|
|
1324
1353
|
}
|
|
1325
1354
|
},
|
|
1326
1355
|
colorWarning: {
|
|
1327
1356
|
"&.MuiChip-filled": {
|
|
1328
|
-
backgroundColor:
|
|
1329
|
-
color:
|
|
1330
|
-
"& .MuiChip-deleteIcon": { color:
|
|
1357
|
+
backgroundColor: colors3.warning[50],
|
|
1358
|
+
color: colors3.warning[700],
|
|
1359
|
+
"& .MuiChip-deleteIcon": { color: colors3.warning[400] }
|
|
1331
1360
|
}
|
|
1332
1361
|
},
|
|
1333
1362
|
colorSuccess: {
|
|
1334
1363
|
"&.MuiChip-filled": {
|
|
1335
|
-
backgroundColor:
|
|
1336
|
-
color:
|
|
1337
|
-
"& .MuiChip-deleteIcon": { color:
|
|
1364
|
+
backgroundColor: colors3.success[50],
|
|
1365
|
+
color: colors3.success[700],
|
|
1366
|
+
"& .MuiChip-deleteIcon": { color: colors3.success[400] }
|
|
1338
1367
|
}
|
|
1339
1368
|
},
|
|
1340
1369
|
colorInfo: {
|
|
1341
1370
|
"&.MuiChip-filled": {
|
|
1342
|
-
backgroundColor:
|
|
1343
|
-
color:
|
|
1344
|
-
"& .MuiChip-deleteIcon": { color:
|
|
1371
|
+
backgroundColor: colors3.blue[50],
|
|
1372
|
+
color: colors3.blue[700],
|
|
1373
|
+
"& .MuiChip-deleteIcon": { color: colors3.blue[400] }
|
|
1345
1374
|
}
|
|
1346
1375
|
}
|
|
1347
1376
|
}
|
|
@@ -1357,7 +1386,7 @@ function buildComponents(tokens) {
|
|
|
1357
1386
|
fontSize: 14,
|
|
1358
1387
|
lineHeight: "20px",
|
|
1359
1388
|
fontWeight: 500,
|
|
1360
|
-
color:
|
|
1389
|
+
color: text3.secondary
|
|
1361
1390
|
}
|
|
1362
1391
|
}
|
|
1363
1392
|
},
|
|
@@ -1373,29 +1402,29 @@ function buildComponents(tokens) {
|
|
|
1373
1402
|
MuiTableCell: {
|
|
1374
1403
|
styleOverrides: {
|
|
1375
1404
|
root: {
|
|
1376
|
-
borderBottom: `1px solid ${
|
|
1405
|
+
borderBottom: `1px solid ${border3.secondary}`,
|
|
1377
1406
|
padding: "16px 24px",
|
|
1378
1407
|
fontSize: 14,
|
|
1379
1408
|
lineHeight: "20px",
|
|
1380
|
-
color:
|
|
1409
|
+
color: fg3.tertiary
|
|
1381
1410
|
},
|
|
1382
1411
|
head: {
|
|
1383
|
-
backgroundColor:
|
|
1384
|
-
color:
|
|
1412
|
+
backgroundColor: bg3.secondary,
|
|
1413
|
+
color: fg3.tertiary,
|
|
1385
1414
|
fontWeight: 500,
|
|
1386
1415
|
fontSize: 12,
|
|
1387
1416
|
lineHeight: "18px"
|
|
1388
1417
|
},
|
|
1389
1418
|
body: {
|
|
1390
|
-
color:
|
|
1419
|
+
color: fg3.tertiary
|
|
1391
1420
|
}
|
|
1392
1421
|
}
|
|
1393
1422
|
},
|
|
1394
1423
|
MuiTableHead: {
|
|
1395
1424
|
styleOverrides: {
|
|
1396
1425
|
root: {
|
|
1397
|
-
backgroundColor:
|
|
1398
|
-
borderBottom: `1px solid ${
|
|
1426
|
+
backgroundColor: bg3.secondary,
|
|
1427
|
+
borderBottom: `1px solid ${border3.secondary}`
|
|
1399
1428
|
}
|
|
1400
1429
|
}
|
|
1401
1430
|
},
|
|
@@ -1406,12 +1435,12 @@ function buildComponents(tokens) {
|
|
|
1406
1435
|
border: 0
|
|
1407
1436
|
},
|
|
1408
1437
|
"&:hover": {
|
|
1409
|
-
backgroundColor:
|
|
1438
|
+
backgroundColor: bg3.primaryHover
|
|
1410
1439
|
},
|
|
1411
1440
|
"&.Mui-selected": {
|
|
1412
|
-
backgroundColor:
|
|
1441
|
+
backgroundColor: bg3.brandPrimary,
|
|
1413
1442
|
"&:hover": {
|
|
1414
|
-
backgroundColor:
|
|
1443
|
+
backgroundColor: bg3.brandPrimary
|
|
1415
1444
|
}
|
|
1416
1445
|
}
|
|
1417
1446
|
}
|
|
@@ -1420,8 +1449,8 @@ function buildComponents(tokens) {
|
|
|
1420
1449
|
MuiTableContainer: {
|
|
1421
1450
|
styleOverrides: {
|
|
1422
1451
|
root: {
|
|
1423
|
-
borderRadius:
|
|
1424
|
-
border: `1px solid ${
|
|
1452
|
+
borderRadius: radius3.xl,
|
|
1453
|
+
border: `1px solid ${border3.secondary}`,
|
|
1425
1454
|
boxShadow: "none"
|
|
1426
1455
|
}
|
|
1427
1456
|
}
|
|
@@ -1435,24 +1464,24 @@ function buildComponents(tokens) {
|
|
|
1435
1464
|
lineHeight: "18px",
|
|
1436
1465
|
minWidth: 20,
|
|
1437
1466
|
height: 20,
|
|
1438
|
-
borderRadius:
|
|
1467
|
+
borderRadius: radius3.full
|
|
1439
1468
|
},
|
|
1440
1469
|
colorPrimary: {
|
|
1441
|
-
backgroundColor:
|
|
1470
|
+
backgroundColor: bg3.brandSolid
|
|
1442
1471
|
},
|
|
1443
1472
|
colorError: {
|
|
1444
|
-
backgroundColor:
|
|
1473
|
+
backgroundColor: bg3.errorSolid
|
|
1445
1474
|
},
|
|
1446
1475
|
colorSuccess: {
|
|
1447
|
-
backgroundColor:
|
|
1476
|
+
backgroundColor: bg3.successSolid
|
|
1448
1477
|
},
|
|
1449
1478
|
colorWarning: {
|
|
1450
|
-
backgroundColor:
|
|
1479
|
+
backgroundColor: bg3.warningSolid
|
|
1451
1480
|
},
|
|
1452
1481
|
dot: {
|
|
1453
1482
|
minWidth: 8,
|
|
1454
1483
|
height: 8,
|
|
1455
|
-
borderRadius:
|
|
1484
|
+
borderRadius: radius3.full
|
|
1456
1485
|
}
|
|
1457
1486
|
}
|
|
1458
1487
|
},
|
|
@@ -1460,7 +1489,7 @@ function buildComponents(tokens) {
|
|
|
1460
1489
|
MuiDivider: {
|
|
1461
1490
|
styleOverrides: {
|
|
1462
1491
|
root: {
|
|
1463
|
-
borderColor:
|
|
1492
|
+
borderColor: border3.secondary
|
|
1464
1493
|
}
|
|
1465
1494
|
}
|
|
1466
1495
|
},
|
|
@@ -1475,16 +1504,16 @@ function buildComponents(tokens) {
|
|
|
1475
1504
|
MuiListItemButton: {
|
|
1476
1505
|
styleOverrides: {
|
|
1477
1506
|
root: {
|
|
1478
|
-
borderRadius:
|
|
1507
|
+
borderRadius: radius3.sm,
|
|
1479
1508
|
padding: "8px 12px",
|
|
1480
1509
|
"&:hover": {
|
|
1481
|
-
backgroundColor:
|
|
1510
|
+
backgroundColor: bg3.primaryHover
|
|
1482
1511
|
},
|
|
1483
1512
|
"&.Mui-selected": {
|
|
1484
|
-
backgroundColor:
|
|
1485
|
-
color:
|
|
1513
|
+
backgroundColor: bg3.brandPrimary,
|
|
1514
|
+
color: buttonColors3.secondaryColor.fg,
|
|
1486
1515
|
"&:hover": {
|
|
1487
|
-
backgroundColor:
|
|
1516
|
+
backgroundColor: bg3.brandSecondary
|
|
1488
1517
|
}
|
|
1489
1518
|
}
|
|
1490
1519
|
}
|
|
@@ -1494,7 +1523,7 @@ function buildComponents(tokens) {
|
|
|
1494
1523
|
styleOverrides: {
|
|
1495
1524
|
root: {
|
|
1496
1525
|
minWidth: 36,
|
|
1497
|
-
color:
|
|
1526
|
+
color: fg3.quaternary
|
|
1498
1527
|
}
|
|
1499
1528
|
}
|
|
1500
1529
|
},
|
|
@@ -1504,12 +1533,12 @@ function buildComponents(tokens) {
|
|
|
1504
1533
|
fontSize: 14,
|
|
1505
1534
|
lineHeight: "20px",
|
|
1506
1535
|
fontWeight: 500,
|
|
1507
|
-
color:
|
|
1536
|
+
color: text3.secondary
|
|
1508
1537
|
},
|
|
1509
1538
|
secondary: {
|
|
1510
1539
|
fontSize: 14,
|
|
1511
1540
|
lineHeight: "20px",
|
|
1512
|
-
color:
|
|
1541
|
+
color: text3.quaternary
|
|
1513
1542
|
}
|
|
1514
1543
|
}
|
|
1515
1544
|
},
|
|
@@ -1517,17 +1546,17 @@ function buildComponents(tokens) {
|
|
|
1517
1546
|
MuiTooltip: {
|
|
1518
1547
|
styleOverrides: {
|
|
1519
1548
|
tooltip: {
|
|
1520
|
-
backgroundColor:
|
|
1521
|
-
color:
|
|
1549
|
+
backgroundColor: bg3.primarySolid,
|
|
1550
|
+
color: text3.white,
|
|
1522
1551
|
fontSize: 12,
|
|
1523
1552
|
lineHeight: "18px",
|
|
1524
1553
|
fontWeight: 600,
|
|
1525
1554
|
padding: "8px 12px",
|
|
1526
|
-
borderRadius:
|
|
1555
|
+
borderRadius: radius3.md,
|
|
1527
1556
|
boxShadow: tokenShadows.lg
|
|
1528
1557
|
},
|
|
1529
1558
|
arrow: {
|
|
1530
|
-
color:
|
|
1559
|
+
color: bg3.primarySolid
|
|
1531
1560
|
}
|
|
1532
1561
|
}
|
|
1533
1562
|
},
|
|
@@ -1538,42 +1567,42 @@ function buildComponents(tokens) {
|
|
|
1538
1567
|
},
|
|
1539
1568
|
styleOverrides: {
|
|
1540
1569
|
root: {
|
|
1541
|
-
borderRadius:
|
|
1570
|
+
borderRadius: radius3.xl,
|
|
1542
1571
|
fontSize: 14,
|
|
1543
1572
|
lineHeight: "20px",
|
|
1544
1573
|
padding: "12px 16px",
|
|
1545
1574
|
alignItems: "center"
|
|
1546
1575
|
},
|
|
1547
1576
|
standardError: {
|
|
1548
|
-
backgroundColor:
|
|
1549
|
-
color:
|
|
1550
|
-
border: `1px solid ${
|
|
1577
|
+
backgroundColor: bg3.errorPrimary,
|
|
1578
|
+
color: colors3.error[700],
|
|
1579
|
+
border: `1px solid ${border3.error}`,
|
|
1551
1580
|
"& .MuiAlert-icon": {
|
|
1552
|
-
color:
|
|
1581
|
+
color: fg3.errorPrimary
|
|
1553
1582
|
}
|
|
1554
1583
|
},
|
|
1555
1584
|
standardWarning: {
|
|
1556
|
-
backgroundColor:
|
|
1557
|
-
color:
|
|
1558
|
-
border: `1px solid ${
|
|
1585
|
+
backgroundColor: bg3.warningPrimary,
|
|
1586
|
+
color: colors3.warning[700],
|
|
1587
|
+
border: `1px solid ${colors3.warning[300]}`,
|
|
1559
1588
|
"& .MuiAlert-icon": {
|
|
1560
|
-
color:
|
|
1589
|
+
color: fg3.warningPrimary
|
|
1561
1590
|
}
|
|
1562
1591
|
},
|
|
1563
1592
|
standardSuccess: {
|
|
1564
|
-
backgroundColor:
|
|
1565
|
-
color:
|
|
1566
|
-
border: `1px solid ${
|
|
1593
|
+
backgroundColor: bg3.successPrimary,
|
|
1594
|
+
color: colors3.success[700],
|
|
1595
|
+
border: `1px solid ${colors3.success[300]}`,
|
|
1567
1596
|
"& .MuiAlert-icon": {
|
|
1568
|
-
color:
|
|
1597
|
+
color: fg3.successPrimary
|
|
1569
1598
|
}
|
|
1570
1599
|
},
|
|
1571
1600
|
standardInfo: {
|
|
1572
|
-
backgroundColor:
|
|
1573
|
-
color:
|
|
1574
|
-
border: `1px solid ${
|
|
1601
|
+
backgroundColor: colors3.blue[50],
|
|
1602
|
+
color: colors3.blue[700],
|
|
1603
|
+
border: `1px solid ${colors3.blue[300]}`,
|
|
1575
1604
|
"& .MuiAlert-icon": {
|
|
1576
|
-
color:
|
|
1605
|
+
color: colors3.blue[600]
|
|
1577
1606
|
}
|
|
1578
1607
|
},
|
|
1579
1608
|
icon: {
|
|
@@ -1604,7 +1633,7 @@ function buildComponents(tokens) {
|
|
|
1604
1633
|
MuiDialog: {
|
|
1605
1634
|
styleOverrides: {
|
|
1606
1635
|
paper: {
|
|
1607
|
-
borderRadius:
|
|
1636
|
+
borderRadius: radius3.xl,
|
|
1608
1637
|
boxShadow: tokenShadows.xl,
|
|
1609
1638
|
padding: 0
|
|
1610
1639
|
}
|
|
@@ -1616,7 +1645,7 @@ function buildComponents(tokens) {
|
|
|
1616
1645
|
fontSize: 18,
|
|
1617
1646
|
lineHeight: "28px",
|
|
1618
1647
|
fontWeight: 600,
|
|
1619
|
-
color:
|
|
1648
|
+
color: text3.primary,
|
|
1620
1649
|
padding: "24px 24px 0"
|
|
1621
1650
|
}
|
|
1622
1651
|
}
|
|
@@ -1627,7 +1656,7 @@ function buildComponents(tokens) {
|
|
|
1627
1656
|
padding: "20px 24px",
|
|
1628
1657
|
fontSize: 14,
|
|
1629
1658
|
lineHeight: "20px",
|
|
1630
|
-
color:
|
|
1659
|
+
color: text3.tertiary
|
|
1631
1660
|
}
|
|
1632
1661
|
}
|
|
1633
1662
|
},
|
|
@@ -1643,27 +1672,27 @@ function buildComponents(tokens) {
|
|
|
1643
1672
|
MuiLinearProgress: {
|
|
1644
1673
|
styleOverrides: {
|
|
1645
1674
|
root: {
|
|
1646
|
-
borderRadius:
|
|
1675
|
+
borderRadius: radius3.full,
|
|
1647
1676
|
height: 8,
|
|
1648
|
-
backgroundColor:
|
|
1677
|
+
backgroundColor: border3.secondary
|
|
1649
1678
|
},
|
|
1650
1679
|
barColorPrimary: {
|
|
1651
|
-
backgroundColor:
|
|
1652
|
-
borderRadius:
|
|
1680
|
+
backgroundColor: fg3.brandPrimary,
|
|
1681
|
+
borderRadius: radius3.full
|
|
1653
1682
|
},
|
|
1654
1683
|
barColorSecondary: {
|
|
1655
|
-
backgroundColor:
|
|
1656
|
-
borderRadius:
|
|
1684
|
+
backgroundColor: bg3.secondarySolid,
|
|
1685
|
+
borderRadius: radius3.full
|
|
1657
1686
|
}
|
|
1658
1687
|
}
|
|
1659
1688
|
},
|
|
1660
1689
|
MuiCircularProgress: {
|
|
1661
1690
|
styleOverrides: {
|
|
1662
1691
|
colorPrimary: {
|
|
1663
|
-
color:
|
|
1692
|
+
color: fg3.brandPrimary
|
|
1664
1693
|
},
|
|
1665
1694
|
colorSecondary: {
|
|
1666
|
-
color:
|
|
1695
|
+
color: bg3.secondarySolid
|
|
1667
1696
|
}
|
|
1668
1697
|
}
|
|
1669
1698
|
},
|
|
@@ -1674,13 +1703,13 @@ function buildComponents(tokens) {
|
|
|
1674
1703
|
},
|
|
1675
1704
|
styleOverrides: {
|
|
1676
1705
|
root: {
|
|
1677
|
-
backgroundColor:
|
|
1706
|
+
backgroundColor: bg3.tertiary
|
|
1678
1707
|
},
|
|
1679
1708
|
rounded: {
|
|
1680
|
-
borderRadius:
|
|
1709
|
+
borderRadius: radius3.md
|
|
1681
1710
|
},
|
|
1682
1711
|
circular: {
|
|
1683
|
-
borderRadius:
|
|
1712
|
+
borderRadius: radius3.full
|
|
1684
1713
|
}
|
|
1685
1714
|
}
|
|
1686
1715
|
},
|
|
@@ -1688,9 +1717,9 @@ function buildComponents(tokens) {
|
|
|
1688
1717
|
MuiSnackbarContent: {
|
|
1689
1718
|
styleOverrides: {
|
|
1690
1719
|
root: {
|
|
1691
|
-
backgroundColor:
|
|
1692
|
-
color:
|
|
1693
|
-
borderRadius:
|
|
1720
|
+
backgroundColor: bg3.primarySolid,
|
|
1721
|
+
color: text3.white,
|
|
1722
|
+
borderRadius: radius3.xl,
|
|
1694
1723
|
boxShadow: tokenShadows.lg,
|
|
1695
1724
|
fontSize: 14,
|
|
1696
1725
|
lineHeight: "20px",
|
|
@@ -1724,21 +1753,21 @@ function buildComponents(tokens) {
|
|
|
1724
1753
|
MuiDataGrid: {
|
|
1725
1754
|
styleOverrides: {
|
|
1726
1755
|
root: {
|
|
1727
|
-
border: `1px solid ${
|
|
1728
|
-
borderRadius:
|
|
1756
|
+
border: `1px solid ${border3.secondary}`,
|
|
1757
|
+
borderRadius: radius3.xl,
|
|
1729
1758
|
fontFamily: "inherit",
|
|
1730
1759
|
"& .MuiDataGrid-withBorderColor": {
|
|
1731
|
-
borderColor:
|
|
1760
|
+
borderColor: border3.secondary
|
|
1732
1761
|
}
|
|
1733
1762
|
},
|
|
1734
1763
|
columnHeaders: {
|
|
1735
|
-
backgroundColor:
|
|
1764
|
+
backgroundColor: bg3.secondary
|
|
1736
1765
|
},
|
|
1737
1766
|
columnHeader: {
|
|
1738
1767
|
fontSize: 12,
|
|
1739
1768
|
lineHeight: "18px",
|
|
1740
1769
|
fontWeight: 500,
|
|
1741
|
-
color:
|
|
1770
|
+
color: fg3.tertiary,
|
|
1742
1771
|
"&:focus, &:focus-within": {
|
|
1743
1772
|
outline: "none"
|
|
1744
1773
|
}
|
|
@@ -1749,27 +1778,27 @@ function buildComponents(tokens) {
|
|
|
1749
1778
|
cell: {
|
|
1750
1779
|
fontSize: 14,
|
|
1751
1780
|
lineHeight: "20px",
|
|
1752
|
-
color:
|
|
1781
|
+
color: fg3.tertiary,
|
|
1753
1782
|
"&:focus, &:focus-within": {
|
|
1754
1783
|
outline: "none"
|
|
1755
1784
|
}
|
|
1756
1785
|
},
|
|
1757
1786
|
row: {
|
|
1758
1787
|
"&:hover": {
|
|
1759
|
-
backgroundColor:
|
|
1788
|
+
backgroundColor: bg3.primaryHover
|
|
1760
1789
|
},
|
|
1761
1790
|
"&.Mui-selected": {
|
|
1762
|
-
backgroundColor:
|
|
1791
|
+
backgroundColor: bg3.brandPrimary,
|
|
1763
1792
|
"&:hover": {
|
|
1764
|
-
backgroundColor:
|
|
1793
|
+
backgroundColor: bg3.brandPrimary
|
|
1765
1794
|
}
|
|
1766
1795
|
}
|
|
1767
1796
|
},
|
|
1768
1797
|
footerContainer: {
|
|
1769
|
-
borderTop: `1px solid ${
|
|
1798
|
+
borderTop: `1px solid ${border3.secondary}`
|
|
1770
1799
|
},
|
|
1771
1800
|
columnSeparator: {
|
|
1772
|
-
color:
|
|
1801
|
+
color: border3.secondary
|
|
1773
1802
|
}
|
|
1774
1803
|
}
|
|
1775
1804
|
}
|
|
@@ -1898,9 +1927,351 @@ var forestPreset = {
|
|
|
1898
1927
|
}
|
|
1899
1928
|
};
|
|
1900
1929
|
|
|
1930
|
+
// src/theme/presets/alkemy-plus.ts
|
|
1931
|
+
var red = {
|
|
1932
|
+
50: "#fef2f2",
|
|
1933
|
+
100: "#fee2e2",
|
|
1934
|
+
200: "#fecaca",
|
|
1935
|
+
600: "#dc2626",
|
|
1936
|
+
700: "#b91c1c",
|
|
1937
|
+
800: "#991b1b",
|
|
1938
|
+
900: "#7f1d1d"};
|
|
1939
|
+
var colors2 = {
|
|
1940
|
+
base: {
|
|
1941
|
+
white: "#ffffff",
|
|
1942
|
+
black: "#000000",
|
|
1943
|
+
transparent: "#ffffff00"
|
|
1944
|
+
},
|
|
1945
|
+
/** Brand scale — black-based for primary actions */
|
|
1946
|
+
brand: {
|
|
1947
|
+
25: "#fafafa",
|
|
1948
|
+
50: "#f5f5f5",
|
|
1949
|
+
100: "#ebebeb",
|
|
1950
|
+
200: "#d6d6d6",
|
|
1951
|
+
300: "#b0b0b0",
|
|
1952
|
+
400: "#737373",
|
|
1953
|
+
500: "#404040",
|
|
1954
|
+
600: "#1a1a1a",
|
|
1955
|
+
700: "#0d0d0d",
|
|
1956
|
+
800: "#050505",
|
|
1957
|
+
900: "#000000",
|
|
1958
|
+
950: "#000000"
|
|
1959
|
+
},
|
|
1960
|
+
/** Warm-neutral gray scale */
|
|
1961
|
+
gray: {
|
|
1962
|
+
25: "#fdfcfc",
|
|
1963
|
+
50: "#faf9f8",
|
|
1964
|
+
100: "#f5f3f1",
|
|
1965
|
+
200: "#e8e5e3",
|
|
1966
|
+
300: "#d8d8dc",
|
|
1967
|
+
400: "#a0a0a6",
|
|
1968
|
+
500: "#71717a",
|
|
1969
|
+
600: "#52525b",
|
|
1970
|
+
700: "#3f3f46",
|
|
1971
|
+
800: "#27272a",
|
|
1972
|
+
900: "#18181b",
|
|
1973
|
+
950: "#09090b"
|
|
1974
|
+
},
|
|
1975
|
+
/** Error — forest defaults (standard UX red) */
|
|
1976
|
+
error: colors.error,
|
|
1977
|
+
/** Warning — orange/yellow tones from Alkemy+ palette */
|
|
1978
|
+
warning: {
|
|
1979
|
+
25: "#fffcf5",
|
|
1980
|
+
50: "#fff7ed",
|
|
1981
|
+
100: "#ffedd5",
|
|
1982
|
+
200: "#fed7aa",
|
|
1983
|
+
300: "#fdba74",
|
|
1984
|
+
400: "#fb923c",
|
|
1985
|
+
500: "#f08828",
|
|
1986
|
+
600: "#ea580c",
|
|
1987
|
+
700: "#c2410c",
|
|
1988
|
+
800: "#9a3412",
|
|
1989
|
+
900: "#7c2d12",
|
|
1990
|
+
950: "#431407"
|
|
1991
|
+
},
|
|
1992
|
+
/** Success — forest defaults (standard UX green) */
|
|
1993
|
+
success: colors.success,
|
|
1994
|
+
/** Blue (info) — forest defaults (standard UX) */
|
|
1995
|
+
blue: colors.blue
|
|
1996
|
+
};
|
|
1997
|
+
var radius2 = {
|
|
1998
|
+
...radius,
|
|
1999
|
+
xxs: 1,
|
|
2000
|
+
xs: 2,
|
|
2001
|
+
sm: 3,
|
|
2002
|
+
md: 4,
|
|
2003
|
+
lg: 5,
|
|
2004
|
+
xl: 6,
|
|
2005
|
+
"2xl": 8,
|
|
2006
|
+
"3xl": 10,
|
|
2007
|
+
"4xl": 12
|
|
2008
|
+
};
|
|
2009
|
+
var text2 = {
|
|
2010
|
+
primary: colors2.gray[900],
|
|
2011
|
+
secondary: colors2.gray[700],
|
|
2012
|
+
secondaryHover: colors2.gray[800],
|
|
2013
|
+
tertiary: colors2.gray[600],
|
|
2014
|
+
tertiaryHover: colors2.gray[700],
|
|
2015
|
+
quaternary: colors2.gray[500],
|
|
2016
|
+
disabled: colors2.gray[500],
|
|
2017
|
+
placeholder: colors2.gray[500],
|
|
2018
|
+
placeholderSubtle: colors2.gray[300],
|
|
2019
|
+
white: colors2.base.white,
|
|
2020
|
+
brandPrimary: red[900],
|
|
2021
|
+
brandSecondary: red[700],
|
|
2022
|
+
brandTertiary: red[600],
|
|
2023
|
+
brandTertiaryAlt: red[600],
|
|
2024
|
+
primaryOnBrand: colors2.base.white,
|
|
2025
|
+
secondaryOnBrand: colors2.brand[200],
|
|
2026
|
+
tertiaryOnBrand: colors2.brand[200],
|
|
2027
|
+
quaternaryOnBrand: colors2.brand[300],
|
|
2028
|
+
errorPrimary: colors2.error[600],
|
|
2029
|
+
warningPrimary: colors2.warning[600],
|
|
2030
|
+
successPrimary: colors2.success[600]
|
|
2031
|
+
};
|
|
2032
|
+
var bg2 = {
|
|
2033
|
+
primary: colors2.gray[50],
|
|
2034
|
+
primaryAlt: colors2.gray[50],
|
|
2035
|
+
primaryHover: colors2.gray[50],
|
|
2036
|
+
primarySolid: colors2.gray[950],
|
|
2037
|
+
secondary: colors2.base.white,
|
|
2038
|
+
secondaryAlt: colors2.base.white,
|
|
2039
|
+
secondarySubtle: colors2.gray[25],
|
|
2040
|
+
secondaryHover: colors2.gray[100],
|
|
2041
|
+
secondarySolid: colors2.gray[600],
|
|
2042
|
+
tertiary: colors2.gray[100],
|
|
2043
|
+
quaternary: colors2.gray[200],
|
|
2044
|
+
active: colors2.gray[50],
|
|
2045
|
+
disabled: colors2.gray[100],
|
|
2046
|
+
disabledSubtle: colors2.gray[50],
|
|
2047
|
+
overlay: colors2.gray[950],
|
|
2048
|
+
brandPrimary: colors2.brand[100],
|
|
2049
|
+
brandPrimaryAlt: colors2.brand[100],
|
|
2050
|
+
brandSecondary: colors2.brand[200],
|
|
2051
|
+
brandSolid: colors2.brand[600],
|
|
2052
|
+
brandSolidHover: colors2.brand[700],
|
|
2053
|
+
brandSection: colors2.brand[800],
|
|
2054
|
+
brandSectionSubtle: colors2.brand[700],
|
|
2055
|
+
errorPrimary: colors2.error[50],
|
|
2056
|
+
errorSecondary: colors2.error[100],
|
|
2057
|
+
errorSolid: colors2.error[600],
|
|
2058
|
+
warningPrimary: colors2.warning[50],
|
|
2059
|
+
warningSecondary: colors2.warning[100],
|
|
2060
|
+
warningSolid: colors2.warning[600],
|
|
2061
|
+
successPrimary: colors2.success[50],
|
|
2062
|
+
successSecondary: colors2.success[100],
|
|
2063
|
+
successSolid: colors2.success[600]
|
|
2064
|
+
};
|
|
2065
|
+
var fg2 = {
|
|
2066
|
+
primary: colors2.gray[900],
|
|
2067
|
+
secondary: colors2.gray[700],
|
|
2068
|
+
secondaryHover: colors2.gray[800],
|
|
2069
|
+
tertiary: colors2.gray[600],
|
|
2070
|
+
tertiaryHover: colors2.gray[700],
|
|
2071
|
+
quaternary: colors2.gray[500],
|
|
2072
|
+
quaternaryHover: colors2.gray[600],
|
|
2073
|
+
quinary: colors2.gray[400],
|
|
2074
|
+
quinaryHover: colors2.gray[500],
|
|
2075
|
+
senary: colors2.gray[300],
|
|
2076
|
+
white: colors2.base.white,
|
|
2077
|
+
disabled: colors2.gray[400],
|
|
2078
|
+
disabledSubtle: colors2.gray[300],
|
|
2079
|
+
brandPrimary: colors2.brand[600],
|
|
2080
|
+
brandPrimaryAlt: colors2.brand[600],
|
|
2081
|
+
brandSecondary: colors2.brand[500],
|
|
2082
|
+
errorPrimary: colors2.error[600],
|
|
2083
|
+
errorSecondary: colors2.error[500],
|
|
2084
|
+
warningPrimary: colors2.warning[600],
|
|
2085
|
+
warningSecondary: colors2.warning[500],
|
|
2086
|
+
successPrimary: colors2.success[600],
|
|
2087
|
+
successSecondary: colors2.success[500]
|
|
2088
|
+
};
|
|
2089
|
+
var border2 = {
|
|
2090
|
+
primary: colors2.gray[300],
|
|
2091
|
+
secondary: colors2.gray[200],
|
|
2092
|
+
tertiary: colors2.gray[100],
|
|
2093
|
+
disabled: colors2.gray[300],
|
|
2094
|
+
disabledSubtle: colors2.gray[200],
|
|
2095
|
+
brand: colors2.brand[300],
|
|
2096
|
+
brandSolid: colors2.brand[600],
|
|
2097
|
+
brandSolidAlt: colors2.brand[600],
|
|
2098
|
+
error: colors2.error[300],
|
|
2099
|
+
errorSolid: colors2.error[600]
|
|
2100
|
+
};
|
|
2101
|
+
var buttonColors2 = {
|
|
2102
|
+
/** Primary buttons — black */
|
|
2103
|
+
primary: {
|
|
2104
|
+
bg: colors2.brand[600],
|
|
2105
|
+
bgHover: colors2.brand[700],
|
|
2106
|
+
fg: colors2.base.white,
|
|
2107
|
+
fgHover: colors2.base.white,
|
|
2108
|
+
border: colors2.brand[600],
|
|
2109
|
+
borderHover: colors2.brand[700]
|
|
2110
|
+
},
|
|
2111
|
+
secondary: {
|
|
2112
|
+
bg: colors2.base.white,
|
|
2113
|
+
bgHover: colors2.gray[50],
|
|
2114
|
+
fg: colors2.gray[700],
|
|
2115
|
+
fgHover: colors2.gray[800],
|
|
2116
|
+
border: colors2.gray[300],
|
|
2117
|
+
borderHover: colors2.gray[300]
|
|
2118
|
+
},
|
|
2119
|
+
/** Outlined accent buttons — dark */
|
|
2120
|
+
secondaryColor: {
|
|
2121
|
+
bg: colors2.base.white,
|
|
2122
|
+
bgHover: colors2.brand[50],
|
|
2123
|
+
fg: colors2.brand[700],
|
|
2124
|
+
fgHover: colors2.brand[800],
|
|
2125
|
+
border: colors2.brand[300],
|
|
2126
|
+
borderHover: colors2.brand[300]
|
|
2127
|
+
},
|
|
2128
|
+
tertiary: {
|
|
2129
|
+
fg: colors2.gray[600],
|
|
2130
|
+
fgHover: colors2.gray[700],
|
|
2131
|
+
bgHover: colors2.gray[50]
|
|
2132
|
+
},
|
|
2133
|
+
/** Text accent buttons — red */
|
|
2134
|
+
tertiaryColor: {
|
|
2135
|
+
fg: red[700],
|
|
2136
|
+
fgHover: red[800],
|
|
2137
|
+
bgHover: red[50]
|
|
2138
|
+
},
|
|
2139
|
+
primaryError: {
|
|
2140
|
+
bg: colors2.error[600],
|
|
2141
|
+
bgHover: colors2.error[700],
|
|
2142
|
+
fg: colors2.base.white,
|
|
2143
|
+
fgHover: colors2.base.white,
|
|
2144
|
+
border: colors2.error[600],
|
|
2145
|
+
borderHover: colors2.error[700]
|
|
2146
|
+
},
|
|
2147
|
+
secondaryError: {
|
|
2148
|
+
bg: colors2.base.white,
|
|
2149
|
+
bgHover: colors2.error[50],
|
|
2150
|
+
fg: colors2.error[700],
|
|
2151
|
+
fgHover: colors2.error[800],
|
|
2152
|
+
border: colors2.error[300],
|
|
2153
|
+
borderHover: colors2.error[300]
|
|
2154
|
+
},
|
|
2155
|
+
tertiaryError: {
|
|
2156
|
+
fg: colors2.error[700],
|
|
2157
|
+
fgHover: colors2.error[800],
|
|
2158
|
+
bgHover: colors2.error[50]
|
|
2159
|
+
}
|
|
2160
|
+
};
|
|
2161
|
+
var avatarColors2 = {
|
|
2162
|
+
bg: colors2.gray[100],
|
|
2163
|
+
contrastBorder: "#00000014",
|
|
2164
|
+
profilePhotoBorder: colors2.base.white,
|
|
2165
|
+
focusBorder: "#a0a0a624"
|
|
2166
|
+
};
|
|
2167
|
+
var breadcrumbColors2 = {
|
|
2168
|
+
fg: colors2.gray[600],
|
|
2169
|
+
fgHover: colors2.gray[700],
|
|
2170
|
+
bgHover: colors2.gray[50],
|
|
2171
|
+
brandBgHover: red[50],
|
|
2172
|
+
brandFgHover: red[700],
|
|
2173
|
+
iconFg: colors2.gray[500],
|
|
2174
|
+
iconFgHover: colors2.gray[700],
|
|
2175
|
+
brandIconFgHover: red[700]
|
|
2176
|
+
};
|
|
2177
|
+
var iconColors2 = {
|
|
2178
|
+
fgBrand: red[600],
|
|
2179
|
+
fgBrandOnBrand: red[200],
|
|
2180
|
+
featuredModernBorder: colors2.gray[200],
|
|
2181
|
+
featuredLightFgBrand: red[600],
|
|
2182
|
+
featuredLightFgGray: colors2.gray[500],
|
|
2183
|
+
featuredLightFgError: colors2.error[600],
|
|
2184
|
+
featuredLightFgWarning: colors2.warning[600],
|
|
2185
|
+
featuredLightFgSuccess: colors2.success[600],
|
|
2186
|
+
featuredDarkFgBrand: colors2.base.white,
|
|
2187
|
+
featuredDarkFgGray: colors2.base.white,
|
|
2188
|
+
featuredDarkFgError: colors2.base.white,
|
|
2189
|
+
featuredDarkFgWarning: colors2.base.white,
|
|
2190
|
+
featuredDarkFgSuccess: colors2.base.white
|
|
2191
|
+
};
|
|
2192
|
+
var navColors2 = {
|
|
2193
|
+
itemIconFg: colors2.gray[500],
|
|
2194
|
+
itemIconFgActive: colors2.gray[500],
|
|
2195
|
+
itemButtonIconFg: colors2.gray[500],
|
|
2196
|
+
itemButtonIconFgActive: colors2.gray[700]
|
|
2197
|
+
};
|
|
2198
|
+
var sliderColors2 = {
|
|
2199
|
+
handleBorder: red[600],
|
|
2200
|
+
handleBg: colors2.base.white
|
|
2201
|
+
};
|
|
2202
|
+
var toggleColors2 = {
|
|
2203
|
+
buttonFgDisabled: colors2.gray[50]
|
|
2204
|
+
};
|
|
2205
|
+
var chartColors2 = {
|
|
2206
|
+
axisFg: colors2.gray[200],
|
|
2207
|
+
gridlineFg: colors2.gray[100],
|
|
2208
|
+
labelFg: colors2.gray[600],
|
|
2209
|
+
labelFgEmphasis: colors2.gray[700],
|
|
2210
|
+
bg: colors2.base.white,
|
|
2211
|
+
bgAlt: colors2.gray[50],
|
|
2212
|
+
tooltipBg: colors2.gray[950],
|
|
2213
|
+
tooltipFg: colors2.base.white,
|
|
2214
|
+
crosshairFg: colors2.gray[500],
|
|
2215
|
+
legendFg: colors2.gray[700],
|
|
2216
|
+
series1Fg: colors2.brand[600],
|
|
2217
|
+
series1FgHover: colors2.brand[700],
|
|
2218
|
+
series1Bg: colors2.brand[100],
|
|
2219
|
+
series1BgHover: colors2.brand[200],
|
|
2220
|
+
series2Fg: red[600],
|
|
2221
|
+
series2FgHover: red[700],
|
|
2222
|
+
series2Bg: red[100],
|
|
2223
|
+
series2BgHover: red[200]
|
|
2224
|
+
};
|
|
2225
|
+
var focusRings2 = {
|
|
2226
|
+
brand: "0px 0px 0px 4px #f040403d",
|
|
2227
|
+
brandShadowXs: "0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #f040403d",
|
|
2228
|
+
brandShadowSm: "0px 1px 3px 0px #1018281a, 0px 1px 2px 0px #1018280f, 0px 0px 0px 4px #f040403d",
|
|
2229
|
+
gray: "0px 0px 0px 4px #a0a0a624",
|
|
2230
|
+
grayShadowXs: "0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #a0a0a624",
|
|
2231
|
+
grayShadowSm: "0px 1px 3px 0px #1018281a, 0px 1px 2px 0px #1018280f, 0px 0px 0px 4px #a0a0a624",
|
|
2232
|
+
error: "0px 0px 0px 4px #f044383d",
|
|
2233
|
+
errorShadowXs: "0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #f044383d"
|
|
2234
|
+
};
|
|
2235
|
+
var alkemyPlusPreset = {
|
|
2236
|
+
name: "alkemy-plus",
|
|
2237
|
+
defaultVariant: "light",
|
|
2238
|
+
variants: {
|
|
2239
|
+
light: {
|
|
2240
|
+
tokens: {
|
|
2241
|
+
colors: colors2,
|
|
2242
|
+
spacing,
|
|
2243
|
+
radius: radius2,
|
|
2244
|
+
shadows,
|
|
2245
|
+
focusRings: focusRings2,
|
|
2246
|
+
fontFamily: '"Aeonik", sans-serif',
|
|
2247
|
+
fontSize,
|
|
2248
|
+
lineHeight,
|
|
2249
|
+
fontWeight,
|
|
2250
|
+
display,
|
|
2251
|
+
container,
|
|
2252
|
+
widths,
|
|
2253
|
+
text: text2,
|
|
2254
|
+
bg: bg2,
|
|
2255
|
+
fg: fg2,
|
|
2256
|
+
border: border2,
|
|
2257
|
+
buttonColors: buttonColors2,
|
|
2258
|
+
avatarColors: avatarColors2,
|
|
2259
|
+
breadcrumbColors: breadcrumbColors2,
|
|
2260
|
+
iconColors: iconColors2,
|
|
2261
|
+
navColors: navColors2,
|
|
2262
|
+
sliderColors: sliderColors2,
|
|
2263
|
+
toggleColors: toggleColors2,
|
|
2264
|
+
chartColors: chartColors2,
|
|
2265
|
+
alpha
|
|
2266
|
+
}
|
|
2267
|
+
}
|
|
2268
|
+
}
|
|
2269
|
+
};
|
|
2270
|
+
|
|
1901
2271
|
// src/theme/presets/index.ts
|
|
1902
2272
|
var presetRegistry = /* @__PURE__ */ new Map();
|
|
1903
2273
|
presetRegistry.set(forestPreset.name, forestPreset);
|
|
2274
|
+
presetRegistry.set(alkemyPlusPreset.name, alkemyPlusPreset);
|
|
1904
2275
|
function getPreset(name) {
|
|
1905
2276
|
return presetRegistry.get(name);
|
|
1906
2277
|
}
|
|
@@ -1994,14 +2365,14 @@ function ToggleButtonGroup(props) {
|
|
|
1994
2365
|
function Badge(props) {
|
|
1995
2366
|
return /* @__PURE__ */ jsxRuntime.jsx(MuiBadge__default.default, { ...props });
|
|
1996
2367
|
}
|
|
1997
|
-
var
|
|
2368
|
+
var CloseOutlined_default = utils.createSvgIcon(/* @__PURE__ */ jsxRuntime.jsx("path", {
|
|
1998
2369
|
d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
|
|
1999
|
-
}), "
|
|
2370
|
+
}), "CloseOutlined");
|
|
2000
2371
|
function Chip(props) {
|
|
2001
2372
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2002
2373
|
MuiChip__default.default,
|
|
2003
2374
|
{
|
|
2004
|
-
deleteIcon: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2375
|
+
deleteIcon: /* @__PURE__ */ jsxRuntime.jsx(CloseOutlined_default, {}),
|
|
2005
2376
|
...props
|
|
2006
2377
|
}
|
|
2007
2378
|
);
|
|
@@ -2187,6 +2558,7 @@ exports.ToggleButtonGroup = ToggleButtonGroup;
|
|
|
2187
2558
|
exports.Toolbar = Toolbar;
|
|
2188
2559
|
exports.Tooltip = Tooltip;
|
|
2189
2560
|
exports.Typography = Typography;
|
|
2561
|
+
exports.alkemyPlusPreset = alkemyPlusPreset;
|
|
2190
2562
|
exports.alpha = alpha;
|
|
2191
2563
|
exports.avatarColors = avatarColors;
|
|
2192
2564
|
exports.bg = bg;
|