@matteoaliano/forest-ui 0.2.7 → 0.2.9
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-3FSKMCSC.mjs → chunk-QF5T6J4D.mjs} +214 -74
- package/dist/chunk-QF5T6J4D.mjs.map +1 -0
- package/dist/{index-DoEC7Q1q.d.mts → index-BxpOMmf6.d.mts} +97 -9
- package/dist/{index-DoEC7Q1q.d.ts → index-BxpOMmf6.d.ts} +97 -9
- package/dist/index.d.mts +44 -2
- package/dist/index.d.ts +44 -2
- package/dist/index.js +389 -81
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +173 -11
- 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 +212 -72
- package/dist/theme.js.map +1 -1
- package/dist/theme.mjs +1 -1
- package/guidelines/FOREST_AI_GUIDELINES.md +8 -1
- package/guidelines/FOREST_DEV_GUIDELINES.md +1 -1
- package/guidelines/themes/FOREST_THEME_ALKEMY_PLUS.md +1 -1
- package/guidelines/themes/FOREST_THEME_DEFAULT.md +1 -1
- package/package.json +1 -1
- package/dist/chunk-3FSKMCSC.mjs.map +0 -1
package/dist/theme.js
CHANGED
|
@@ -94,6 +94,54 @@ var colors = {
|
|
|
94
94
|
800: "#1849a9",
|
|
95
95
|
900: "#194185",
|
|
96
96
|
950: "#102a56"
|
|
97
|
+
},
|
|
98
|
+
teal: {
|
|
99
|
+
100: "#ccfbef",
|
|
100
|
+
200: "#99f6e0",
|
|
101
|
+
600: "#0e9384",
|
|
102
|
+
700: "#107569"
|
|
103
|
+
},
|
|
104
|
+
orange: {
|
|
105
|
+
100: "#fdead7",
|
|
106
|
+
200: "#f9dbaf",
|
|
107
|
+
600: "#e04f16",
|
|
108
|
+
700: "#b93815"
|
|
109
|
+
},
|
|
110
|
+
purple: {
|
|
111
|
+
100: "#ebe9fe",
|
|
112
|
+
200: "#d9d6fe",
|
|
113
|
+
600: "#6938ef",
|
|
114
|
+
700: "#5925dc"
|
|
115
|
+
},
|
|
116
|
+
pink: {
|
|
117
|
+
100: "#fce7f6",
|
|
118
|
+
200: "#fcceee",
|
|
119
|
+
600: "#dd2590",
|
|
120
|
+
700: "#c11574"
|
|
121
|
+
},
|
|
122
|
+
fuchsia: {
|
|
123
|
+
100: "#fbe8ff",
|
|
124
|
+
200: "#f6d0fe",
|
|
125
|
+
600: "#ba24d5",
|
|
126
|
+
700: "#9f1ab1"
|
|
127
|
+
},
|
|
128
|
+
orangeDark: {
|
|
129
|
+
100: "#ffe6d5",
|
|
130
|
+
200: "#ffd6ae",
|
|
131
|
+
600: "#e62e05",
|
|
132
|
+
700: "#bc1b06"
|
|
133
|
+
},
|
|
134
|
+
green: {
|
|
135
|
+
100: "#d3f8df",
|
|
136
|
+
200: "#aaf0c4",
|
|
137
|
+
600: "#099250",
|
|
138
|
+
700: "#087443"
|
|
139
|
+
},
|
|
140
|
+
indigo: {
|
|
141
|
+
100: "#e0eaff",
|
|
142
|
+
200: "#c7d7fe",
|
|
143
|
+
600: "#444ce7",
|
|
144
|
+
700: "#3538cd"
|
|
97
145
|
}
|
|
98
146
|
};
|
|
99
147
|
var spacing = {
|
|
@@ -231,7 +279,7 @@ var bg = {
|
|
|
231
279
|
secondarySolid: colors.gray[600],
|
|
232
280
|
tertiary: colors.gray[100],
|
|
233
281
|
quaternary: colors.gray[200],
|
|
234
|
-
active: colors.gray[
|
|
282
|
+
active: colors.gray[200],
|
|
235
283
|
disabled: colors.gray[100],
|
|
236
284
|
disabledSubtle: colors.gray[50],
|
|
237
285
|
overlay: colors.gray[950],
|
|
@@ -378,7 +426,7 @@ var iconColors = {
|
|
|
378
426
|
};
|
|
379
427
|
var navColors = {
|
|
380
428
|
itemIconFg: colors.gray[500],
|
|
381
|
-
itemIconFgActive: colors.gray[
|
|
429
|
+
itemIconFgActive: colors.gray[700],
|
|
382
430
|
itemButtonIconFg: colors.gray[500],
|
|
383
431
|
itemButtonIconFgActive: colors.gray[700]
|
|
384
432
|
};
|
|
@@ -407,7 +455,39 @@ var chartColors = {
|
|
|
407
455
|
series2Fg: colors.brand[600],
|
|
408
456
|
series2FgHover: colors.brand[700],
|
|
409
457
|
series2Bg: colors.brand[100],
|
|
410
|
-
series2BgHover: colors.brand[200]
|
|
458
|
+
series2BgHover: colors.brand[200],
|
|
459
|
+
series3Fg: colors.teal[600],
|
|
460
|
+
series3FgHover: colors.teal[700],
|
|
461
|
+
series3Bg: colors.teal[100],
|
|
462
|
+
series3BgHover: colors.teal[200],
|
|
463
|
+
series4Fg: colors.orange[600],
|
|
464
|
+
series4FgHover: colors.orange[700],
|
|
465
|
+
series4Bg: colors.orange[100],
|
|
466
|
+
series4BgHover: colors.orange[200],
|
|
467
|
+
series5Fg: colors.purple[600],
|
|
468
|
+
series5FgHover: colors.purple[700],
|
|
469
|
+
series5Bg: colors.purple[100],
|
|
470
|
+
series5BgHover: colors.purple[200],
|
|
471
|
+
series6Fg: colors.pink[600],
|
|
472
|
+
series6FgHover: colors.pink[700],
|
|
473
|
+
series6Bg: colors.pink[100],
|
|
474
|
+
series6BgHover: colors.pink[200],
|
|
475
|
+
series7Fg: colors.fuchsia[600],
|
|
476
|
+
series7FgHover: colors.fuchsia[700],
|
|
477
|
+
series7Bg: colors.fuchsia[100],
|
|
478
|
+
series7BgHover: colors.fuchsia[200],
|
|
479
|
+
series8Fg: colors.orangeDark[600],
|
|
480
|
+
series8FgHover: colors.orangeDark[700],
|
|
481
|
+
series8Bg: colors.orangeDark[100],
|
|
482
|
+
series8BgHover: colors.orangeDark[200],
|
|
483
|
+
series9Fg: colors.green[600],
|
|
484
|
+
series9FgHover: colors.green[700],
|
|
485
|
+
series9Bg: colors.green[100],
|
|
486
|
+
series9BgHover: colors.green[200],
|
|
487
|
+
series10Fg: colors.indigo[600],
|
|
488
|
+
series10FgHover: colors.indigo[700],
|
|
489
|
+
series10Bg: colors.indigo[100],
|
|
490
|
+
series10BgHover: colors.indigo[200]
|
|
411
491
|
};
|
|
412
492
|
var alpha = {
|
|
413
493
|
white: {
|
|
@@ -438,6 +518,7 @@ var alpha = {
|
|
|
438
518
|
|
|
439
519
|
// src/theme/palette.ts
|
|
440
520
|
function buildPalette(tokens) {
|
|
521
|
+
var _a;
|
|
441
522
|
const { colors: colors3, text: text3, bg: bg3, fg: fg3, border: border3 } = tokens;
|
|
442
523
|
return {
|
|
443
524
|
primary: {
|
|
@@ -492,7 +573,8 @@ function buildPalette(tokens) {
|
|
|
492
573
|
selected: bg3.brandPrimary,
|
|
493
574
|
disabled: fg3.disabled,
|
|
494
575
|
disabledBackground: bg3.disabled
|
|
495
|
-
}
|
|
576
|
+
},
|
|
577
|
+
chart: (_a = tokens.chartColors) != null ? _a : chartColors
|
|
496
578
|
};
|
|
497
579
|
}
|
|
498
580
|
var palette = buildPalette({
|
|
@@ -500,7 +582,8 @@ var palette = buildPalette({
|
|
|
500
582
|
text,
|
|
501
583
|
bg,
|
|
502
584
|
fg,
|
|
503
|
-
border
|
|
585
|
+
border,
|
|
586
|
+
chartColors
|
|
504
587
|
});
|
|
505
588
|
|
|
506
589
|
// src/theme/typography.ts
|
|
@@ -597,7 +680,7 @@ var typography = buildTypography({
|
|
|
597
680
|
function buildComponents(tokens) {
|
|
598
681
|
const {
|
|
599
682
|
colors: colors3,
|
|
600
|
-
radius:
|
|
683
|
+
radius: radius3,
|
|
601
684
|
focusRings: focusRings3,
|
|
602
685
|
shadows: tokenShadows,
|
|
603
686
|
text: text3,
|
|
@@ -614,7 +697,7 @@ function buildComponents(tokens) {
|
|
|
614
697
|
},
|
|
615
698
|
styleOverrides: {
|
|
616
699
|
root: {
|
|
617
|
-
borderRadius:
|
|
700
|
+
borderRadius: radius3.md,
|
|
618
701
|
fontWeight: 600,
|
|
619
702
|
boxShadow: tokenShadows.xs,
|
|
620
703
|
height: 32,
|
|
@@ -663,7 +746,7 @@ function buildComponents(tokens) {
|
|
|
663
746
|
},
|
|
664
747
|
styleOverrides: {
|
|
665
748
|
root: {
|
|
666
|
-
borderRadius:
|
|
749
|
+
borderRadius: radius3.md
|
|
667
750
|
},
|
|
668
751
|
grouped: {
|
|
669
752
|
"&:not(:last-of-type)": {
|
|
@@ -695,8 +778,7 @@ function buildComponents(tokens) {
|
|
|
695
778
|
// ─── TextField / Input ──────────────────────────────────────────
|
|
696
779
|
MuiTextField: {
|
|
697
780
|
defaultProps: {
|
|
698
|
-
variant: "outlined"
|
|
699
|
-
size: "small"
|
|
781
|
+
variant: "outlined"
|
|
700
782
|
}
|
|
701
783
|
},
|
|
702
784
|
MuiInputBase: {
|
|
@@ -714,7 +796,7 @@ function buildComponents(tokens) {
|
|
|
714
796
|
MuiOutlinedInput: {
|
|
715
797
|
styleOverrides: {
|
|
716
798
|
root: {
|
|
717
|
-
borderRadius:
|
|
799
|
+
borderRadius: radius3.md,
|
|
718
800
|
boxShadow: tokenShadows.xs,
|
|
719
801
|
"&:hover .MuiOutlinedInput-notchedOutline": {
|
|
720
802
|
borderColor: border3.brand
|
|
@@ -736,12 +818,7 @@ function buildComponents(tokens) {
|
|
|
736
818
|
borderColor: border3.primary
|
|
737
819
|
},
|
|
738
820
|
input: {
|
|
739
|
-
padding: "
|
|
740
|
-
fontSize: 16,
|
|
741
|
-
lineHeight: "24px"
|
|
742
|
-
},
|
|
743
|
-
inputSizeSmall: {
|
|
744
|
-
padding: "8px 12px",
|
|
821
|
+
padding: "6px 12px",
|
|
745
822
|
fontSize: 14,
|
|
746
823
|
lineHeight: "20px"
|
|
747
824
|
}
|
|
@@ -774,12 +851,7 @@ function buildComponents(tokens) {
|
|
|
774
851
|
}
|
|
775
852
|
},
|
|
776
853
|
outlined: {
|
|
777
|
-
|
|
778
|
-
transform: "translate(14px, 10px) scale(1)",
|
|
779
|
-
"&.MuiInputLabel-sizeSmall": {
|
|
780
|
-
// Align label with custom inputSizeSmall padding (8px 12px)
|
|
781
|
-
transform: "translate(12px, 8px) scale(1)"
|
|
782
|
-
},
|
|
854
|
+
transform: "translate(12px, 6px) scale(1)",
|
|
783
855
|
"&.MuiInputLabel-shrink": {
|
|
784
856
|
transform: "translate(14px, -9px) scale(0.75)"
|
|
785
857
|
}
|
|
@@ -802,20 +874,22 @@ function buildComponents(tokens) {
|
|
|
802
874
|
// ─── Select ─────────────────────────────────────────────────────
|
|
803
875
|
MuiSelect: {
|
|
804
876
|
defaultProps: {
|
|
805
|
-
size: "small",
|
|
806
877
|
MenuProps: {
|
|
807
|
-
autoFocus: false
|
|
878
|
+
autoFocus: false,
|
|
879
|
+
slotProps: {
|
|
880
|
+
backdrop: {
|
|
881
|
+
sx: { backgroundColor: "transparent" }
|
|
882
|
+
}
|
|
883
|
+
}
|
|
808
884
|
}
|
|
809
885
|
},
|
|
810
886
|
styleOverrides: {
|
|
811
887
|
select: {
|
|
812
|
-
display: "flex",
|
|
813
|
-
alignItems: "center",
|
|
814
888
|
"&.MuiSelect-select": {
|
|
815
|
-
minHeight: "
|
|
816
|
-
"
|
|
817
|
-
|
|
818
|
-
|
|
889
|
+
minHeight: "auto",
|
|
890
|
+
padding: "6px 12px",
|
|
891
|
+
fontSize: 14,
|
|
892
|
+
lineHeight: "20px"
|
|
819
893
|
}
|
|
820
894
|
},
|
|
821
895
|
icon: {
|
|
@@ -826,7 +900,7 @@ function buildComponents(tokens) {
|
|
|
826
900
|
MuiMenuItem: {
|
|
827
901
|
styleOverrides: {
|
|
828
902
|
root: {
|
|
829
|
-
borderRadius:
|
|
903
|
+
borderRadius: radius3.md,
|
|
830
904
|
padding: "6px 8px",
|
|
831
905
|
gap: 4,
|
|
832
906
|
"&:hover": {
|
|
@@ -839,15 +913,24 @@ function buildComponents(tokens) {
|
|
|
839
913
|
MuiAutocomplete: {
|
|
840
914
|
styleOverrides: {
|
|
841
915
|
paper: {
|
|
842
|
-
borderRadius:
|
|
916
|
+
borderRadius: radius3.md,
|
|
843
917
|
boxShadow: tokenShadows.lg,
|
|
844
918
|
border: `1px solid ${border3.secondary}`,
|
|
845
919
|
marginTop: 4
|
|
846
920
|
},
|
|
921
|
+
inputRoot: {
|
|
922
|
+
// Override Autocomplete's default padding so the input height stays 32px
|
|
923
|
+
padding: "0 12px",
|
|
924
|
+
"&.MuiOutlinedInput-root .MuiAutocomplete-input": {
|
|
925
|
+
padding: "6px 0",
|
|
926
|
+
fontSize: 14,
|
|
927
|
+
lineHeight: "20px"
|
|
928
|
+
}
|
|
929
|
+
},
|
|
847
930
|
option: {
|
|
848
|
-
fontSize:
|
|
849
|
-
lineHeight: "
|
|
850
|
-
padding: "
|
|
931
|
+
fontSize: 14,
|
|
932
|
+
lineHeight: "20px",
|
|
933
|
+
padding: "6px 12px",
|
|
851
934
|
"&.Mui-focused": {
|
|
852
935
|
backgroundColor: bg3.primaryHover
|
|
853
936
|
},
|
|
@@ -868,7 +951,7 @@ function buildComponents(tokens) {
|
|
|
868
951
|
styleOverrides: {
|
|
869
952
|
root: {
|
|
870
953
|
color: border3.primary,
|
|
871
|
-
borderRadius:
|
|
954
|
+
borderRadius: radius3.xs,
|
|
872
955
|
padding: 0,
|
|
873
956
|
width: 20,
|
|
874
957
|
height: 20,
|
|
@@ -885,7 +968,7 @@ function buildComponents(tokens) {
|
|
|
885
968
|
"&.Mui-focusVisible": {
|
|
886
969
|
outline: "none",
|
|
887
970
|
boxShadow: focusRings3.brand,
|
|
888
|
-
borderRadius:
|
|
971
|
+
borderRadius: radius3.xs
|
|
889
972
|
},
|
|
890
973
|
"&.Mui-disabled": {
|
|
891
974
|
color: border3.primary
|
|
@@ -915,7 +998,7 @@ function buildComponents(tokens) {
|
|
|
915
998
|
"&.Mui-focusVisible": {
|
|
916
999
|
outline: "none",
|
|
917
1000
|
boxShadow: focusRings3.brand,
|
|
918
|
-
borderRadius:
|
|
1001
|
+
borderRadius: radius3.full
|
|
919
1002
|
},
|
|
920
1003
|
"&.Mui-disabled": {
|
|
921
1004
|
color: border3.primary
|
|
@@ -963,7 +1046,7 @@ function buildComponents(tokens) {
|
|
|
963
1046
|
boxShadow: "0px 1px 2px 0px #1018280d"
|
|
964
1047
|
},
|
|
965
1048
|
track: {
|
|
966
|
-
borderRadius:
|
|
1049
|
+
borderRadius: radius3.full,
|
|
967
1050
|
backgroundColor: border3.secondary,
|
|
968
1051
|
opacity: 1
|
|
969
1052
|
}
|
|
@@ -988,8 +1071,7 @@ function buildComponents(tokens) {
|
|
|
988
1071
|
"&.Mui-selected": {
|
|
989
1072
|
backgroundColor: bg3.brandPrimary,
|
|
990
1073
|
color: buttonColors3.secondaryColor.fg,
|
|
991
|
-
borderColor: border3.
|
|
992
|
-
boxShadow: `inset 0 0 0 1px ${border3.brandSolid}`,
|
|
1074
|
+
borderColor: border3.brandSolid,
|
|
993
1075
|
"&:hover": {
|
|
994
1076
|
backgroundColor: bg3.brandSecondary
|
|
995
1077
|
}
|
|
@@ -1003,7 +1085,7 @@ function buildComponents(tokens) {
|
|
|
1003
1085
|
MuiToggleButtonGroup: {
|
|
1004
1086
|
styleOverrides: {
|
|
1005
1087
|
root: {
|
|
1006
|
-
borderRadius:
|
|
1088
|
+
borderRadius: radius3.md,
|
|
1007
1089
|
overflow: "hidden"
|
|
1008
1090
|
},
|
|
1009
1091
|
grouped: {
|
|
@@ -1011,20 +1093,26 @@ function buildComponents(tokens) {
|
|
|
1011
1093
|
"&:not(:first-of-type)": {
|
|
1012
1094
|
marginLeft: -1
|
|
1013
1095
|
},
|
|
1014
|
-
"&.Mui-selected + &.Mui-selected": {
|
|
1015
|
-
boxShadow: `inset -1px 0 0 0 ${border3.brandSolid}, inset 0 1px 0 0 ${border3.brandSolid}, inset 0 -1px 0 0 ${border3.brandSolid}`
|
|
1016
|
-
},
|
|
1017
1096
|
"&:first-of-type": {
|
|
1018
|
-
borderTopLeftRadius:
|
|
1019
|
-
borderBottomLeftRadius:
|
|
1097
|
+
borderTopLeftRadius: radius3.md,
|
|
1098
|
+
borderBottomLeftRadius: radius3.md
|
|
1020
1099
|
},
|
|
1021
1100
|
"&:last-of-type": {
|
|
1022
|
-
borderTopRightRadius:
|
|
1023
|
-
borderBottomRightRadius:
|
|
1101
|
+
borderTopRightRadius: radius3.md,
|
|
1102
|
+
borderBottomRightRadius: radius3.md
|
|
1024
1103
|
}
|
|
1025
1104
|
}
|
|
1026
1105
|
}
|
|
1027
1106
|
},
|
|
1107
|
+
// ─── Drawer (used by Sidebar) ─────────────────────────────────
|
|
1108
|
+
MuiDrawer: {
|
|
1109
|
+
styleOverrides: {
|
|
1110
|
+
paper: {
|
|
1111
|
+
backgroundColor: bg3.primary,
|
|
1112
|
+
borderRight: `1px solid ${border3.secondary}`
|
|
1113
|
+
}
|
|
1114
|
+
}
|
|
1115
|
+
},
|
|
1028
1116
|
// ─── Card ───────────────────────────────────────────────────────
|
|
1029
1117
|
MuiCard: {
|
|
1030
1118
|
defaultProps: {
|
|
@@ -1032,7 +1120,7 @@ function buildComponents(tokens) {
|
|
|
1032
1120
|
},
|
|
1033
1121
|
styleOverrides: {
|
|
1034
1122
|
root: {
|
|
1035
|
-
borderRadius:
|
|
1123
|
+
borderRadius: radius3.xl,
|
|
1036
1124
|
border: `1px solid ${border3.secondary}`,
|
|
1037
1125
|
backgroundColor: bg3.primary,
|
|
1038
1126
|
boxShadow: tokenShadows.xs,
|
|
@@ -1081,7 +1169,7 @@ function buildComponents(tokens) {
|
|
|
1081
1169
|
backgroundImage: "none"
|
|
1082
1170
|
},
|
|
1083
1171
|
rounded: {
|
|
1084
|
-
borderRadius:
|
|
1172
|
+
borderRadius: radius3.lg
|
|
1085
1173
|
},
|
|
1086
1174
|
elevation1: {
|
|
1087
1175
|
boxShadow: tokenShadows.xs,
|
|
@@ -1122,7 +1210,7 @@ function buildComponents(tokens) {
|
|
|
1122
1210
|
styleOverrides: {
|
|
1123
1211
|
root: {
|
|
1124
1212
|
border: `1px solid ${border3.secondary}`,
|
|
1125
|
-
borderRadius:
|
|
1213
|
+
borderRadius: radius3.lg,
|
|
1126
1214
|
"&:not(:last-child)": {
|
|
1127
1215
|
marginBottom: 8
|
|
1128
1216
|
},
|
|
@@ -1132,7 +1220,7 @@ function buildComponents(tokens) {
|
|
|
1132
1220
|
"&.Mui-expanded": {
|
|
1133
1221
|
margin: 0,
|
|
1134
1222
|
marginBottom: 8,
|
|
1135
|
-
borderRadius:
|
|
1223
|
+
borderRadius: radius3.lg
|
|
1136
1224
|
}
|
|
1137
1225
|
}
|
|
1138
1226
|
}
|
|
@@ -1195,7 +1283,7 @@ function buildComponents(tokens) {
|
|
|
1195
1283
|
MuiChip: {
|
|
1196
1284
|
styleOverrides: {
|
|
1197
1285
|
root: {
|
|
1198
|
-
borderRadius:
|
|
1286
|
+
borderRadius: radius3.md
|
|
1199
1287
|
},
|
|
1200
1288
|
label: {
|
|
1201
1289
|
fontWeight: 500
|
|
@@ -1334,7 +1422,7 @@ function buildComponents(tokens) {
|
|
|
1334
1422
|
MuiTableContainer: {
|
|
1335
1423
|
styleOverrides: {
|
|
1336
1424
|
root: {
|
|
1337
|
-
borderRadius:
|
|
1425
|
+
borderRadius: radius3.xl,
|
|
1338
1426
|
border: `1px solid ${border3.secondary}`,
|
|
1339
1427
|
boxShadow: "none"
|
|
1340
1428
|
}
|
|
@@ -1349,7 +1437,7 @@ function buildComponents(tokens) {
|
|
|
1349
1437
|
lineHeight: "18px",
|
|
1350
1438
|
minWidth: 20,
|
|
1351
1439
|
height: 20,
|
|
1352
|
-
borderRadius:
|
|
1440
|
+
borderRadius: radius3.full
|
|
1353
1441
|
},
|
|
1354
1442
|
colorPrimary: {
|
|
1355
1443
|
backgroundColor: bg3.brandSolid
|
|
@@ -1366,7 +1454,7 @@ function buildComponents(tokens) {
|
|
|
1366
1454
|
dot: {
|
|
1367
1455
|
minWidth: 8,
|
|
1368
1456
|
height: 8,
|
|
1369
|
-
borderRadius:
|
|
1457
|
+
borderRadius: radius3.full
|
|
1370
1458
|
}
|
|
1371
1459
|
}
|
|
1372
1460
|
},
|
|
@@ -1389,7 +1477,7 @@ function buildComponents(tokens) {
|
|
|
1389
1477
|
MuiListItemButton: {
|
|
1390
1478
|
styleOverrides: {
|
|
1391
1479
|
root: {
|
|
1392
|
-
borderRadius:
|
|
1480
|
+
borderRadius: radius3.sm,
|
|
1393
1481
|
padding: "8px 12px",
|
|
1394
1482
|
"&:hover": {
|
|
1395
1483
|
backgroundColor: bg3.primaryHover
|
|
@@ -1437,7 +1525,7 @@ function buildComponents(tokens) {
|
|
|
1437
1525
|
lineHeight: "18px",
|
|
1438
1526
|
fontWeight: 600,
|
|
1439
1527
|
padding: "8px 12px",
|
|
1440
|
-
borderRadius:
|
|
1528
|
+
borderRadius: radius3.md,
|
|
1441
1529
|
boxShadow: tokenShadows.lg
|
|
1442
1530
|
},
|
|
1443
1531
|
arrow: {
|
|
@@ -1452,7 +1540,7 @@ function buildComponents(tokens) {
|
|
|
1452
1540
|
},
|
|
1453
1541
|
styleOverrides: {
|
|
1454
1542
|
root: {
|
|
1455
|
-
borderRadius:
|
|
1543
|
+
borderRadius: radius3.xl,
|
|
1456
1544
|
fontSize: 14,
|
|
1457
1545
|
lineHeight: "20px",
|
|
1458
1546
|
padding: "12px 16px",
|
|
@@ -1518,7 +1606,7 @@ function buildComponents(tokens) {
|
|
|
1518
1606
|
MuiDialog: {
|
|
1519
1607
|
styleOverrides: {
|
|
1520
1608
|
paper: {
|
|
1521
|
-
borderRadius:
|
|
1609
|
+
borderRadius: radius3.xl,
|
|
1522
1610
|
boxShadow: tokenShadows.xl,
|
|
1523
1611
|
padding: 0
|
|
1524
1612
|
}
|
|
@@ -1557,17 +1645,17 @@ function buildComponents(tokens) {
|
|
|
1557
1645
|
MuiLinearProgress: {
|
|
1558
1646
|
styleOverrides: {
|
|
1559
1647
|
root: {
|
|
1560
|
-
borderRadius:
|
|
1648
|
+
borderRadius: radius3.full,
|
|
1561
1649
|
height: 8,
|
|
1562
1650
|
backgroundColor: border3.secondary
|
|
1563
1651
|
},
|
|
1564
1652
|
barColorPrimary: {
|
|
1565
1653
|
backgroundColor: fg3.brandPrimary,
|
|
1566
|
-
borderRadius:
|
|
1654
|
+
borderRadius: radius3.full
|
|
1567
1655
|
},
|
|
1568
1656
|
barColorSecondary: {
|
|
1569
1657
|
backgroundColor: bg3.secondarySolid,
|
|
1570
|
-
borderRadius:
|
|
1658
|
+
borderRadius: radius3.full
|
|
1571
1659
|
}
|
|
1572
1660
|
}
|
|
1573
1661
|
},
|
|
@@ -1591,10 +1679,10 @@ function buildComponents(tokens) {
|
|
|
1591
1679
|
backgroundColor: bg3.tertiary
|
|
1592
1680
|
},
|
|
1593
1681
|
rounded: {
|
|
1594
|
-
borderRadius:
|
|
1682
|
+
borderRadius: radius3.md
|
|
1595
1683
|
},
|
|
1596
1684
|
circular: {
|
|
1597
|
-
borderRadius:
|
|
1685
|
+
borderRadius: radius3.full
|
|
1598
1686
|
}
|
|
1599
1687
|
}
|
|
1600
1688
|
},
|
|
@@ -1604,7 +1692,7 @@ function buildComponents(tokens) {
|
|
|
1604
1692
|
root: {
|
|
1605
1693
|
backgroundColor: bg3.primarySolid,
|
|
1606
1694
|
color: text3.white,
|
|
1607
|
-
borderRadius:
|
|
1695
|
+
borderRadius: radius3.xl,
|
|
1608
1696
|
boxShadow: tokenShadows.lg,
|
|
1609
1697
|
fontSize: 14,
|
|
1610
1698
|
lineHeight: "20px",
|
|
@@ -1639,7 +1727,7 @@ function buildComponents(tokens) {
|
|
|
1639
1727
|
styleOverrides: {
|
|
1640
1728
|
root: {
|
|
1641
1729
|
border: `1px solid ${border3.secondary}`,
|
|
1642
|
-
borderRadius:
|
|
1730
|
+
borderRadius: radius3.xl,
|
|
1643
1731
|
fontFamily: "inherit",
|
|
1644
1732
|
"& .MuiDataGrid-withBorderColor": {
|
|
1645
1733
|
borderColor: border3.secondary
|
|
@@ -1877,7 +1965,27 @@ var colors2 = {
|
|
|
1877
1965
|
/** Success — forest defaults (standard UX green) */
|
|
1878
1966
|
success: colors.success,
|
|
1879
1967
|
/** Blue (info) — forest defaults (standard UX) */
|
|
1880
|
-
blue: colors.blue
|
|
1968
|
+
blue: colors.blue,
|
|
1969
|
+
teal: colors.teal,
|
|
1970
|
+
orange: colors.orange,
|
|
1971
|
+
purple: colors.purple,
|
|
1972
|
+
pink: colors.pink,
|
|
1973
|
+
fuchsia: colors.fuchsia,
|
|
1974
|
+
orangeDark: colors.orangeDark,
|
|
1975
|
+
green: colors.green,
|
|
1976
|
+
indigo: colors.indigo
|
|
1977
|
+
};
|
|
1978
|
+
var radius2 = {
|
|
1979
|
+
...radius,
|
|
1980
|
+
xxs: 1,
|
|
1981
|
+
xs: 2,
|
|
1982
|
+
sm: 3,
|
|
1983
|
+
md: 4,
|
|
1984
|
+
lg: 5,
|
|
1985
|
+
xl: 6,
|
|
1986
|
+
"2xl": 8,
|
|
1987
|
+
"3xl": 10,
|
|
1988
|
+
"4xl": 12
|
|
1881
1989
|
};
|
|
1882
1990
|
var text2 = {
|
|
1883
1991
|
primary: colors2.gray[900],
|
|
@@ -2093,7 +2201,39 @@ var chartColors2 = {
|
|
|
2093
2201
|
series2Fg: red[600],
|
|
2094
2202
|
series2FgHover: red[700],
|
|
2095
2203
|
series2Bg: red[100],
|
|
2096
|
-
series2BgHover: red[200]
|
|
2204
|
+
series2BgHover: red[200],
|
|
2205
|
+
series3Fg: colors2.teal[600],
|
|
2206
|
+
series3FgHover: colors2.teal[700],
|
|
2207
|
+
series3Bg: colors2.teal[100],
|
|
2208
|
+
series3BgHover: colors2.teal[200],
|
|
2209
|
+
series4Fg: colors2.orange[600],
|
|
2210
|
+
series4FgHover: colors2.orange[700],
|
|
2211
|
+
series4Bg: colors2.orange[100],
|
|
2212
|
+
series4BgHover: colors2.orange[200],
|
|
2213
|
+
series5Fg: colors2.purple[600],
|
|
2214
|
+
series5FgHover: colors2.purple[700],
|
|
2215
|
+
series5Bg: colors2.purple[100],
|
|
2216
|
+
series5BgHover: colors2.purple[200],
|
|
2217
|
+
series6Fg: colors2.pink[600],
|
|
2218
|
+
series6FgHover: colors2.pink[700],
|
|
2219
|
+
series6Bg: colors2.pink[100],
|
|
2220
|
+
series6BgHover: colors2.pink[200],
|
|
2221
|
+
series7Fg: colors2.fuchsia[600],
|
|
2222
|
+
series7FgHover: colors2.fuchsia[700],
|
|
2223
|
+
series7Bg: colors2.fuchsia[100],
|
|
2224
|
+
series7BgHover: colors2.fuchsia[200],
|
|
2225
|
+
series8Fg: colors2.orangeDark[600],
|
|
2226
|
+
series8FgHover: colors2.orangeDark[700],
|
|
2227
|
+
series8Bg: colors2.orangeDark[100],
|
|
2228
|
+
series8BgHover: colors2.orangeDark[200],
|
|
2229
|
+
series9Fg: colors2.green[600],
|
|
2230
|
+
series9FgHover: colors2.green[700],
|
|
2231
|
+
series9Bg: colors2.green[100],
|
|
2232
|
+
series9BgHover: colors2.green[200],
|
|
2233
|
+
series10Fg: colors2.indigo[600],
|
|
2234
|
+
series10FgHover: colors2.indigo[700],
|
|
2235
|
+
series10Bg: colors2.indigo[100],
|
|
2236
|
+
series10BgHover: colors2.indigo[200]
|
|
2097
2237
|
};
|
|
2098
2238
|
var focusRings2 = {
|
|
2099
2239
|
brand: "0px 0px 0px 4px #f040403d",
|
|
@@ -2113,7 +2253,7 @@ var alkemyPlusPreset = {
|
|
|
2113
2253
|
tokens: {
|
|
2114
2254
|
colors: colors2,
|
|
2115
2255
|
spacing,
|
|
2116
|
-
radius,
|
|
2256
|
+
radius: radius2,
|
|
2117
2257
|
shadows,
|
|
2118
2258
|
focusRings: focusRings2,
|
|
2119
2259
|
fontFamily: '"Aeonik", sans-serif',
|