@matteoaliano/forest-ui 0.4.4 → 0.5.1
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-IWYN6REP.mjs → chunk-TECEHFAG.mjs} +1023 -238
- package/dist/chunk-TECEHFAG.mjs.map +1 -0
- package/dist/index.d.mts +226 -5
- package/dist/index.d.ts +226 -5
- package/dist/index.js +2606 -721
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1245 -245
- package/dist/index.mjs.map +1 -1
- package/dist/theme.d.mts +3 -1
- package/dist/theme.d.ts +3 -1
- package/dist/theme.js +1093 -283
- package/dist/theme.js.map +1 -1
- package/dist/theme.mjs +96 -2
- package/dist/theme.mjs.map +1 -1
- package/package.json +1 -1
- package/skills/forest-agency/SKILL.md +21 -9
- package/skills/forest-agency/references/components.md +156 -48
- package/skills/forest-agency/references/patterns.md +2 -5
- package/skills/forest-alkemy-plus/SKILL.md +94 -0
- package/skills/forest-alkemy-plus/references/components.md +202 -0
- package/skills/forest-alkemy-plus/references/patterns.md +326 -0
- package/skills/forest-external/SKILL.md +21 -9
- package/skills/forest-external/references/components.md +156 -48
- package/skills/forest-external/references/patterns.md +2 -5
- package/skills/forest-internal/SKILL.md +21 -9
- package/skills/forest-internal/references/components.md +156 -48
- package/skills/forest-internal/references/patterns.md +2 -5
- package/dist/chunk-IWYN6REP.mjs.map +0 -1
package/dist/theme.js
CHANGED
|
@@ -1,8 +1,76 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
2
19
|
|
|
3
|
-
|
|
20
|
+
// src/theme/index.ts
|
|
21
|
+
var theme_exports = {};
|
|
22
|
+
__export(theme_exports, {
|
|
23
|
+
alpha: () => alpha,
|
|
24
|
+
avatarColors: () => avatarColors,
|
|
25
|
+
base: () => base,
|
|
26
|
+
bg: () => bg,
|
|
27
|
+
border: () => border,
|
|
28
|
+
breadcrumbColors: () => breadcrumbColors,
|
|
29
|
+
buildTheme: () => buildTheme,
|
|
30
|
+
buildThemeOptions: () => buildThemeOptions,
|
|
31
|
+
buttonColors: () => buttonColors,
|
|
32
|
+
chartColors: () => chartColors,
|
|
33
|
+
container: () => container,
|
|
34
|
+
display: () => display,
|
|
35
|
+
error: () => error,
|
|
36
|
+
fg: () => fg,
|
|
37
|
+
focusRings: () => focusRings,
|
|
38
|
+
fontFamily: () => fontFamily,
|
|
39
|
+
fontFamilyMono: () => fontFamilyMono,
|
|
40
|
+
fontSize: () => fontSize,
|
|
41
|
+
fontWeight: () => fontWeight,
|
|
42
|
+
forestAgencyPreset: () => forestAgencyPreset,
|
|
43
|
+
forestAlkemyPlusPreset: () => forestAlkemyPlusPreset,
|
|
44
|
+
forestExternalPreset: () => forestExternalPreset,
|
|
45
|
+
forestInternalPreset: () => forestInternalPreset,
|
|
46
|
+
forestTheme: () => forestTheme,
|
|
47
|
+
forestThemeOptions: () => forestThemeOptions,
|
|
48
|
+
getAvailablePresets: () => getAvailablePresets,
|
|
49
|
+
getPreset: () => getPreset,
|
|
50
|
+
gray: () => gray,
|
|
51
|
+
iconColors: () => iconColors,
|
|
52
|
+
info: () => info,
|
|
53
|
+
lineHeight: () => lineHeight,
|
|
54
|
+
magenta: () => magenta,
|
|
55
|
+
misc: () => misc,
|
|
56
|
+
navColors: () => navColors,
|
|
57
|
+
radius: () => radius,
|
|
58
|
+
red: () => red,
|
|
59
|
+
registerPreset: () => registerPreset,
|
|
60
|
+
shadows: () => shadows,
|
|
61
|
+
sliderColors: () => sliderColors,
|
|
62
|
+
spacing: () => spacing,
|
|
63
|
+
success: () => success,
|
|
64
|
+
text: () => text,
|
|
65
|
+
toggleColors: () => toggleColors,
|
|
66
|
+
violet: () => violet,
|
|
67
|
+
warning: () => warning,
|
|
68
|
+
widths: () => widths
|
|
69
|
+
});
|
|
70
|
+
module.exports = __toCommonJS(theme_exports);
|
|
4
71
|
|
|
5
72
|
// src/theme/buildTheme.ts
|
|
73
|
+
var import_styles = require("@mui/material/styles");
|
|
6
74
|
|
|
7
75
|
// src/theme/tokens.ts
|
|
8
76
|
var violet = {
|
|
@@ -628,7 +696,7 @@ var alpha = {
|
|
|
628
696
|
// src/theme/palette.ts
|
|
629
697
|
function buildPalette(tokens) {
|
|
630
698
|
var _a;
|
|
631
|
-
const { base: base2, error: error2, warning: warning2, success: success2, info: info2, text:
|
|
699
|
+
const { base: base2, error: error2, warning: warning2, success: success2, info: info2, text: text6, bg: bg6, fg: fg6, border: border6 } = tokens;
|
|
632
700
|
return {
|
|
633
701
|
primary: {
|
|
634
702
|
main: tokens.bg.brandSolid,
|
|
@@ -667,21 +735,21 @@ function buildPalette(tokens) {
|
|
|
667
735
|
contrastText: tokens.base.white
|
|
668
736
|
},
|
|
669
737
|
background: {
|
|
670
|
-
default:
|
|
671
|
-
paper:
|
|
738
|
+
default: bg6.primary,
|
|
739
|
+
paper: bg6.secondary
|
|
672
740
|
},
|
|
673
741
|
text: {
|
|
674
|
-
primary:
|
|
675
|
-
secondary:
|
|
676
|
-
disabled:
|
|
742
|
+
primary: text6.primary,
|
|
743
|
+
secondary: text6.secondary,
|
|
744
|
+
disabled: text6.disabled
|
|
677
745
|
},
|
|
678
|
-
divider:
|
|
746
|
+
divider: border6.secondary,
|
|
679
747
|
action: {
|
|
680
|
-
active:
|
|
681
|
-
hover:
|
|
682
|
-
selected:
|
|
683
|
-
disabled:
|
|
684
|
-
disabledBackground:
|
|
748
|
+
active: fg6.tertiary,
|
|
749
|
+
hover: bg6.primaryHover,
|
|
750
|
+
selected: bg6.brandPrimary,
|
|
751
|
+
disabled: fg6.disabled,
|
|
752
|
+
disabledBackground: bg6.disabled
|
|
685
753
|
},
|
|
686
754
|
chart: (_a = tokens.chartColors) != null ? _a : chartColors
|
|
687
755
|
};
|
|
@@ -835,15 +903,17 @@ function buildComponents(tokens) {
|
|
|
835
903
|
warning: warning2,
|
|
836
904
|
success: success2,
|
|
837
905
|
info: info2,
|
|
838
|
-
radius:
|
|
839
|
-
focusRings:
|
|
906
|
+
radius: radius6,
|
|
907
|
+
focusRings: focusRings6,
|
|
840
908
|
shadows: tokenShadows,
|
|
841
|
-
text:
|
|
842
|
-
bg:
|
|
843
|
-
fg:
|
|
844
|
-
border:
|
|
845
|
-
buttonColors:
|
|
846
|
-
sliderColors:
|
|
909
|
+
text: text6,
|
|
910
|
+
bg: bg6,
|
|
911
|
+
fg: fg6,
|
|
912
|
+
border: border6,
|
|
913
|
+
buttonColors: buttonColors6,
|
|
914
|
+
sliderColors: sliderColors6,
|
|
915
|
+
avatarColors: avatarColors6,
|
|
916
|
+
breadcrumbColors: breadcrumbColors6
|
|
847
917
|
} = tokens;
|
|
848
918
|
return {
|
|
849
919
|
// ─── Button ─────────────────────────────────────────────────────
|
|
@@ -853,7 +923,7 @@ function buildComponents(tokens) {
|
|
|
853
923
|
},
|
|
854
924
|
styleOverrides: {
|
|
855
925
|
root: {
|
|
856
|
-
borderRadius:
|
|
926
|
+
borderRadius: radius6.md,
|
|
857
927
|
fontWeight: 600,
|
|
858
928
|
boxShadow: tokenShadows.xs,
|
|
859
929
|
height: 32,
|
|
@@ -861,39 +931,39 @@ function buildComponents(tokens) {
|
|
|
861
931
|
fontSize: 14,
|
|
862
932
|
lineHeight: "20px",
|
|
863
933
|
"&:focus-visible": {
|
|
864
|
-
boxShadow:
|
|
934
|
+
boxShadow: focusRings6.brandShadowXs
|
|
865
935
|
}
|
|
866
936
|
},
|
|
867
937
|
containedPrimary: {
|
|
868
|
-
backgroundColor:
|
|
938
|
+
backgroundColor: buttonColors6.primary.bg,
|
|
869
939
|
"&:hover": {
|
|
870
|
-
backgroundColor:
|
|
940
|
+
backgroundColor: buttonColors6.primary.bgHover
|
|
871
941
|
}
|
|
872
942
|
},
|
|
873
943
|
outlinedPrimary: {
|
|
874
|
-
borderColor:
|
|
875
|
-
color:
|
|
944
|
+
borderColor: buttonColors6.secondaryColor.border,
|
|
945
|
+
color: buttonColors6.secondaryColor.fg,
|
|
876
946
|
"&:hover": {
|
|
877
|
-
backgroundColor:
|
|
878
|
-
borderColor:
|
|
947
|
+
backgroundColor: buttonColors6.secondaryColor.bgHover,
|
|
948
|
+
borderColor: buttonColors6.secondaryColor.borderHover
|
|
879
949
|
}
|
|
880
950
|
},
|
|
881
951
|
containedSecondary: {
|
|
882
|
-
backgroundColor:
|
|
883
|
-
color:
|
|
884
|
-
border: `1px solid ${
|
|
952
|
+
backgroundColor: buttonColors6.secondary.bg,
|
|
953
|
+
color: buttonColors6.secondary.fg,
|
|
954
|
+
border: `1px solid ${buttonColors6.secondary.border}`,
|
|
885
955
|
"&:hover": {
|
|
886
|
-
backgroundColor:
|
|
887
|
-
borderColor:
|
|
956
|
+
backgroundColor: buttonColors6.secondary.bgHover,
|
|
957
|
+
borderColor: buttonColors6.secondary.borderHover
|
|
888
958
|
}
|
|
889
959
|
},
|
|
890
960
|
text: {
|
|
891
961
|
boxShadow: "none"
|
|
892
962
|
},
|
|
893
963
|
textPrimary: {
|
|
894
|
-
color:
|
|
964
|
+
color: buttonColors6.tertiaryColor.fg,
|
|
895
965
|
"&:hover": {
|
|
896
|
-
backgroundColor:
|
|
966
|
+
backgroundColor: buttonColors6.tertiaryColor.bgHover
|
|
897
967
|
}
|
|
898
968
|
}
|
|
899
969
|
}
|
|
@@ -905,11 +975,11 @@ function buildComponents(tokens) {
|
|
|
905
975
|
},
|
|
906
976
|
styleOverrides: {
|
|
907
977
|
root: {
|
|
908
|
-
borderRadius:
|
|
978
|
+
borderRadius: radius6.md
|
|
909
979
|
},
|
|
910
980
|
grouped: {
|
|
911
981
|
"&:not(:last-of-type)": {
|
|
912
|
-
borderRight: `1px solid ${
|
|
982
|
+
borderRight: `1px solid ${buttonColors6.primary.borderHover}`
|
|
913
983
|
}
|
|
914
984
|
}
|
|
915
985
|
}
|
|
@@ -918,7 +988,7 @@ function buildComponents(tokens) {
|
|
|
918
988
|
MuiIconButton: {
|
|
919
989
|
styleOverrides: {
|
|
920
990
|
root: {
|
|
921
|
-
borderRadius:
|
|
991
|
+
borderRadius: radius6.md,
|
|
922
992
|
padding: 6,
|
|
923
993
|
"& .MuiSvgIcon-root": {
|
|
924
994
|
fontSize: 20
|
|
@@ -935,13 +1005,13 @@ function buildComponents(tokens) {
|
|
|
935
1005
|
boxShadow: tokenShadows.lg
|
|
936
1006
|
},
|
|
937
1007
|
"&:focus-visible": {
|
|
938
|
-
boxShadow:
|
|
1008
|
+
boxShadow: focusRings6.brandShadowSm
|
|
939
1009
|
}
|
|
940
1010
|
},
|
|
941
1011
|
primary: {
|
|
942
|
-
backgroundColor:
|
|
1012
|
+
backgroundColor: buttonColors6.primary.bg,
|
|
943
1013
|
"&:hover": {
|
|
944
|
-
backgroundColor:
|
|
1014
|
+
backgroundColor: buttonColors6.primary.bgHover
|
|
945
1015
|
}
|
|
946
1016
|
}
|
|
947
1017
|
}
|
|
@@ -965,8 +1035,8 @@ function buildComponents(tokens) {
|
|
|
965
1035
|
styleOverrides: {
|
|
966
1036
|
input: {
|
|
967
1037
|
"&::placeholder": {
|
|
968
|
-
color:
|
|
969
|
-
WebkitTextFillColor:
|
|
1038
|
+
color: text6.placeholder,
|
|
1039
|
+
WebkitTextFillColor: text6.placeholder,
|
|
970
1040
|
fontWeight: 400,
|
|
971
1041
|
opacity: 1
|
|
972
1042
|
}
|
|
@@ -976,33 +1046,33 @@ function buildComponents(tokens) {
|
|
|
976
1046
|
MuiOutlinedInput: {
|
|
977
1047
|
styleOverrides: {
|
|
978
1048
|
root: {
|
|
979
|
-
borderRadius:
|
|
1049
|
+
borderRadius: radius6.md,
|
|
980
1050
|
boxShadow: tokenShadows.xs,
|
|
981
1051
|
"&&:hover:not(.Mui-focused):not(.Mui-disabled) .MuiOutlinedInput-notchedOutline": {
|
|
982
|
-
borderColor:
|
|
1052
|
+
borderColor: border6.brand
|
|
983
1053
|
},
|
|
984
1054
|
"&&.Mui-focused .MuiOutlinedInput-notchedOutline": {
|
|
985
|
-
borderColor:
|
|
1055
|
+
borderColor: border6.brandSolid,
|
|
986
1056
|
borderWidth: 1,
|
|
987
1057
|
boxShadow: "none"
|
|
988
1058
|
},
|
|
989
1059
|
"&&.Mui-error:not(.Mui-focused) .MuiOutlinedInput-notchedOutline": {
|
|
990
|
-
borderColor:
|
|
1060
|
+
borderColor: border6.error
|
|
991
1061
|
},
|
|
992
1062
|
"&&.Mui-error.Mui-focused .MuiOutlinedInput-notchedOutline": {
|
|
993
|
-
borderColor:
|
|
1063
|
+
borderColor: border6.errorSolid,
|
|
994
1064
|
boxShadow: "none"
|
|
995
1065
|
},
|
|
996
1066
|
"& .MuiInputAdornment-root .MuiIconButton-root": {
|
|
997
|
-
color:
|
|
1067
|
+
color: fg6.quaternary,
|
|
998
1068
|
"&:hover": {
|
|
999
|
-
backgroundColor:
|
|
1000
|
-
color:
|
|
1069
|
+
backgroundColor: bg6.primaryHover,
|
|
1070
|
+
color: fg6.brandPrimary
|
|
1001
1071
|
}
|
|
1002
1072
|
}
|
|
1003
1073
|
},
|
|
1004
1074
|
notchedOutline: {
|
|
1005
|
-
borderColor:
|
|
1075
|
+
borderColor: border6.primary
|
|
1006
1076
|
},
|
|
1007
1077
|
input: {
|
|
1008
1078
|
padding: "6px 12px",
|
|
@@ -1014,12 +1084,12 @@ function buildComponents(tokens) {
|
|
|
1014
1084
|
MuiFormLabel: {
|
|
1015
1085
|
styleOverrides: {
|
|
1016
1086
|
root: {
|
|
1017
|
-
color:
|
|
1087
|
+
color: text6.placeholder,
|
|
1018
1088
|
"&.Mui-focused": {
|
|
1019
|
-
color:
|
|
1089
|
+
color: text6.placeholder
|
|
1020
1090
|
},
|
|
1021
1091
|
"&.Mui-error": {
|
|
1022
|
-
color:
|
|
1092
|
+
color: text6.errorPrimary
|
|
1023
1093
|
}
|
|
1024
1094
|
}
|
|
1025
1095
|
}
|
|
@@ -1029,12 +1099,12 @@ function buildComponents(tokens) {
|
|
|
1029
1099
|
root: {
|
|
1030
1100
|
fontSize: 14,
|
|
1031
1101
|
fontWeight: 500,
|
|
1032
|
-
color:
|
|
1102
|
+
color: text6.placeholder,
|
|
1033
1103
|
"&.Mui-focused": {
|
|
1034
|
-
color:
|
|
1104
|
+
color: text6.placeholder
|
|
1035
1105
|
},
|
|
1036
1106
|
"&.Mui-error": {
|
|
1037
|
-
color:
|
|
1107
|
+
color: text6.errorPrimary
|
|
1038
1108
|
}
|
|
1039
1109
|
},
|
|
1040
1110
|
outlined: {
|
|
@@ -1053,7 +1123,7 @@ function buildComponents(tokens) {
|
|
|
1053
1123
|
marginTop: 6,
|
|
1054
1124
|
marginLeft: 0,
|
|
1055
1125
|
"&.Mui-error": {
|
|
1056
|
-
color:
|
|
1126
|
+
color: text6.errorPrimary
|
|
1057
1127
|
}
|
|
1058
1128
|
}
|
|
1059
1129
|
}
|
|
@@ -1083,7 +1153,7 @@ function buildComponents(tokens) {
|
|
|
1083
1153
|
}
|
|
1084
1154
|
},
|
|
1085
1155
|
icon: {
|
|
1086
|
-
color:
|
|
1156
|
+
color: text6.placeholder,
|
|
1087
1157
|
right: 8
|
|
1088
1158
|
}
|
|
1089
1159
|
}
|
|
@@ -1091,11 +1161,11 @@ function buildComponents(tokens) {
|
|
|
1091
1161
|
MuiMenuItem: {
|
|
1092
1162
|
styleOverrides: {
|
|
1093
1163
|
root: {
|
|
1094
|
-
borderRadius:
|
|
1164
|
+
borderRadius: radius6.md,
|
|
1095
1165
|
padding: "6px 8px",
|
|
1096
1166
|
gap: 4,
|
|
1097
1167
|
"&:hover": {
|
|
1098
|
-
backgroundColor:
|
|
1168
|
+
backgroundColor: bg6.primaryHover
|
|
1099
1169
|
}
|
|
1100
1170
|
}
|
|
1101
1171
|
}
|
|
@@ -1104,9 +1174,9 @@ function buildComponents(tokens) {
|
|
|
1104
1174
|
MuiAutocomplete: {
|
|
1105
1175
|
styleOverrides: {
|
|
1106
1176
|
paper: {
|
|
1107
|
-
borderRadius:
|
|
1177
|
+
borderRadius: radius6.md,
|
|
1108
1178
|
boxShadow: tokenShadows.lg,
|
|
1109
|
-
border: `1px solid ${
|
|
1179
|
+
border: `1px solid ${border6.secondary}`,
|
|
1110
1180
|
marginTop: 4
|
|
1111
1181
|
},
|
|
1112
1182
|
inputRoot: {
|
|
@@ -1123,10 +1193,10 @@ function buildComponents(tokens) {
|
|
|
1123
1193
|
lineHeight: "20px",
|
|
1124
1194
|
padding: "6px 12px",
|
|
1125
1195
|
"&.Mui-focused": {
|
|
1126
|
-
backgroundColor:
|
|
1196
|
+
backgroundColor: bg6.primaryHover
|
|
1127
1197
|
},
|
|
1128
1198
|
'&[aria-selected="true"]': {
|
|
1129
|
-
backgroundColor:
|
|
1199
|
+
backgroundColor: bg6.brandPrimary
|
|
1130
1200
|
}
|
|
1131
1201
|
},
|
|
1132
1202
|
listbox: {
|
|
@@ -1141,28 +1211,28 @@ function buildComponents(tokens) {
|
|
|
1141
1211
|
},
|
|
1142
1212
|
styleOverrides: {
|
|
1143
1213
|
root: {
|
|
1144
|
-
color:
|
|
1145
|
-
borderRadius:
|
|
1214
|
+
color: border6.primary,
|
|
1215
|
+
borderRadius: radius6.xs,
|
|
1146
1216
|
padding: 0,
|
|
1147
1217
|
width: 20,
|
|
1148
1218
|
height: 20,
|
|
1149
1219
|
"&:hover": {
|
|
1150
1220
|
backgroundColor: "transparent",
|
|
1151
|
-
color:
|
|
1221
|
+
color: fg6.brandPrimary
|
|
1152
1222
|
},
|
|
1153
1223
|
"&.Mui-checked": {
|
|
1154
|
-
color:
|
|
1224
|
+
color: fg6.brandPrimary
|
|
1155
1225
|
},
|
|
1156
1226
|
"&.Mui-checked:hover": {
|
|
1157
|
-
color:
|
|
1227
|
+
color: buttonColors6.primary.bgHover
|
|
1158
1228
|
},
|
|
1159
1229
|
"&.Mui-focusVisible": {
|
|
1160
1230
|
outline: "none",
|
|
1161
|
-
boxShadow:
|
|
1162
|
-
borderRadius:
|
|
1231
|
+
boxShadow: focusRings6.brand,
|
|
1232
|
+
borderRadius: radius6.xs
|
|
1163
1233
|
},
|
|
1164
1234
|
"&.Mui-disabled": {
|
|
1165
|
-
color:
|
|
1235
|
+
color: border6.primary
|
|
1166
1236
|
}
|
|
1167
1237
|
}
|
|
1168
1238
|
}
|
|
@@ -1174,25 +1244,25 @@ function buildComponents(tokens) {
|
|
|
1174
1244
|
},
|
|
1175
1245
|
styleOverrides: {
|
|
1176
1246
|
root: {
|
|
1177
|
-
color:
|
|
1247
|
+
color: border6.primary,
|
|
1178
1248
|
padding: 0,
|
|
1179
1249
|
"&:hover": {
|
|
1180
1250
|
backgroundColor: "transparent",
|
|
1181
|
-
color:
|
|
1251
|
+
color: fg6.brandPrimary
|
|
1182
1252
|
},
|
|
1183
1253
|
"&.Mui-checked": {
|
|
1184
|
-
color:
|
|
1254
|
+
color: fg6.brandPrimary
|
|
1185
1255
|
},
|
|
1186
1256
|
"&.Mui-checked:hover": {
|
|
1187
|
-
color:
|
|
1257
|
+
color: buttonColors6.primary.bgHover
|
|
1188
1258
|
},
|
|
1189
1259
|
"&.Mui-focusVisible": {
|
|
1190
1260
|
outline: "none",
|
|
1191
|
-
boxShadow:
|
|
1192
|
-
borderRadius:
|
|
1261
|
+
boxShadow: focusRings6.brand,
|
|
1262
|
+
borderRadius: radius6.full
|
|
1193
1263
|
},
|
|
1194
1264
|
"&.Mui-disabled": {
|
|
1195
|
-
color:
|
|
1265
|
+
color: border6.primary
|
|
1196
1266
|
}
|
|
1197
1267
|
}
|
|
1198
1268
|
}
|
|
@@ -1212,20 +1282,20 @@ function buildComponents(tokens) {
|
|
|
1212
1282
|
padding: 2,
|
|
1213
1283
|
"&.Mui-checked": {
|
|
1214
1284
|
transform: "translateX(20px)",
|
|
1215
|
-
color:
|
|
1285
|
+
color: fg6.white,
|
|
1216
1286
|
"& + .MuiSwitch-track": {
|
|
1217
|
-
backgroundColor:
|
|
1287
|
+
backgroundColor: fg6.brandPrimary,
|
|
1218
1288
|
opacity: 1
|
|
1219
1289
|
}
|
|
1220
1290
|
},
|
|
1221
1291
|
"&.Mui-checked:hover + .MuiSwitch-track": {
|
|
1222
|
-
backgroundColor:
|
|
1292
|
+
backgroundColor: buttonColors6.primary.bgHover
|
|
1223
1293
|
},
|
|
1224
1294
|
"&.Mui-focusVisible .MuiSwitch-thumb": {
|
|
1225
|
-
boxShadow:
|
|
1295
|
+
boxShadow: focusRings6.brand
|
|
1226
1296
|
},
|
|
1227
1297
|
"&.Mui-disabled .MuiSwitch-thumb": {
|
|
1228
|
-
color:
|
|
1298
|
+
color: bg6.disabled
|
|
1229
1299
|
},
|
|
1230
1300
|
"&.Mui-disabled + .MuiSwitch-track": {
|
|
1231
1301
|
opacity: 0.5
|
|
@@ -1237,8 +1307,8 @@ function buildComponents(tokens) {
|
|
|
1237
1307
|
boxShadow: "0px 1px 2px 0px #1018280d"
|
|
1238
1308
|
},
|
|
1239
1309
|
track: {
|
|
1240
|
-
borderRadius:
|
|
1241
|
-
backgroundColor:
|
|
1310
|
+
borderRadius: radius6.full,
|
|
1311
|
+
backgroundColor: border6.secondary,
|
|
1242
1312
|
opacity: 1
|
|
1243
1313
|
}
|
|
1244
1314
|
}
|
|
@@ -1247,8 +1317,8 @@ function buildComponents(tokens) {
|
|
|
1247
1317
|
MuiToggleButton: {
|
|
1248
1318
|
styleOverrides: {
|
|
1249
1319
|
root: {
|
|
1250
|
-
borderColor:
|
|
1251
|
-
color:
|
|
1320
|
+
borderColor: border6.primary,
|
|
1321
|
+
color: text6.secondary,
|
|
1252
1322
|
fontSize: 14,
|
|
1253
1323
|
fontWeight: 600,
|
|
1254
1324
|
lineHeight: "20px",
|
|
@@ -1256,19 +1326,19 @@ function buildComponents(tokens) {
|
|
|
1256
1326
|
padding: "6px 12px",
|
|
1257
1327
|
textTransform: "none",
|
|
1258
1328
|
"&:hover": {
|
|
1259
|
-
backgroundColor:
|
|
1260
|
-
borderColor:
|
|
1329
|
+
backgroundColor: bg6.primaryHover,
|
|
1330
|
+
borderColor: border6.primary
|
|
1261
1331
|
},
|
|
1262
1332
|
"&.Mui-selected": {
|
|
1263
|
-
backgroundColor:
|
|
1264
|
-
color:
|
|
1265
|
-
borderColor:
|
|
1333
|
+
backgroundColor: bg6.brandPrimary,
|
|
1334
|
+
color: buttonColors6.secondaryColor.fg,
|
|
1335
|
+
borderColor: border6.brandSolid,
|
|
1266
1336
|
"&:hover": {
|
|
1267
|
-
backgroundColor:
|
|
1337
|
+
backgroundColor: bg6.brandSecondary
|
|
1268
1338
|
}
|
|
1269
1339
|
},
|
|
1270
1340
|
"&:focus-visible": {
|
|
1271
|
-
boxShadow:
|
|
1341
|
+
boxShadow: focusRings6.brandShadowXs
|
|
1272
1342
|
}
|
|
1273
1343
|
}
|
|
1274
1344
|
}
|
|
@@ -1276,7 +1346,7 @@ function buildComponents(tokens) {
|
|
|
1276
1346
|
MuiToggleButtonGroup: {
|
|
1277
1347
|
styleOverrides: {
|
|
1278
1348
|
root: {
|
|
1279
|
-
borderRadius:
|
|
1349
|
+
borderRadius: radius6.md,
|
|
1280
1350
|
overflow: "hidden"
|
|
1281
1351
|
},
|
|
1282
1352
|
grouped: {
|
|
@@ -1285,12 +1355,12 @@ function buildComponents(tokens) {
|
|
|
1285
1355
|
marginLeft: -1
|
|
1286
1356
|
},
|
|
1287
1357
|
"&:first-of-type": {
|
|
1288
|
-
borderTopLeftRadius:
|
|
1289
|
-
borderBottomLeftRadius:
|
|
1358
|
+
borderTopLeftRadius: radius6.md,
|
|
1359
|
+
borderBottomLeftRadius: radius6.md
|
|
1290
1360
|
},
|
|
1291
1361
|
"&:last-of-type": {
|
|
1292
|
-
borderTopRightRadius:
|
|
1293
|
-
borderBottomRightRadius:
|
|
1362
|
+
borderTopRightRadius: radius6.md,
|
|
1363
|
+
borderBottomRightRadius: radius6.md
|
|
1294
1364
|
}
|
|
1295
1365
|
}
|
|
1296
1366
|
}
|
|
@@ -1299,8 +1369,8 @@ function buildComponents(tokens) {
|
|
|
1299
1369
|
MuiDrawer: {
|
|
1300
1370
|
styleOverrides: {
|
|
1301
1371
|
paper: {
|
|
1302
|
-
backgroundColor:
|
|
1303
|
-
borderRight: `1px solid ${
|
|
1372
|
+
backgroundColor: bg6.primary,
|
|
1373
|
+
borderRight: `1px solid ${border6.secondary}`
|
|
1304
1374
|
}
|
|
1305
1375
|
}
|
|
1306
1376
|
},
|
|
@@ -1311,9 +1381,9 @@ function buildComponents(tokens) {
|
|
|
1311
1381
|
},
|
|
1312
1382
|
styleOverrides: {
|
|
1313
1383
|
root: {
|
|
1314
|
-
borderRadius:
|
|
1315
|
-
border: `1px solid ${
|
|
1316
|
-
backgroundColor:
|
|
1384
|
+
borderRadius: radius6.xl,
|
|
1385
|
+
border: `1px solid ${border6.secondary}`,
|
|
1386
|
+
backgroundColor: bg6.primary,
|
|
1317
1387
|
boxShadow: tokenShadows.xs,
|
|
1318
1388
|
overflow: "hidden"
|
|
1319
1389
|
}
|
|
@@ -1360,35 +1430,35 @@ function buildComponents(tokens) {
|
|
|
1360
1430
|
backgroundImage: "none"
|
|
1361
1431
|
},
|
|
1362
1432
|
rounded: {
|
|
1363
|
-
borderRadius:
|
|
1433
|
+
borderRadius: radius6.lg
|
|
1364
1434
|
},
|
|
1365
1435
|
elevation1: {
|
|
1366
1436
|
boxShadow: tokenShadows.xs,
|
|
1367
|
-
border: `1px solid ${
|
|
1437
|
+
border: `1px solid ${border6.secondary}`
|
|
1368
1438
|
},
|
|
1369
1439
|
elevation2: {
|
|
1370
1440
|
boxShadow: tokenShadows.sm,
|
|
1371
|
-
border: `1px solid ${
|
|
1441
|
+
border: `1px solid ${border6.secondary}`
|
|
1372
1442
|
},
|
|
1373
1443
|
elevation3: {
|
|
1374
1444
|
boxShadow: tokenShadows.md,
|
|
1375
|
-
border: `1px solid ${
|
|
1445
|
+
border: `1px solid ${border6.secondary}`
|
|
1376
1446
|
},
|
|
1377
1447
|
elevation4: {
|
|
1378
1448
|
boxShadow: tokenShadows.lg,
|
|
1379
|
-
border: `1px solid ${
|
|
1449
|
+
border: `1px solid ${border6.secondary}`
|
|
1380
1450
|
},
|
|
1381
1451
|
elevation8: {
|
|
1382
1452
|
boxShadow: tokenShadows.xl,
|
|
1383
|
-
border: `1px solid ${
|
|
1453
|
+
border: `1px solid ${border6.secondary}`
|
|
1384
1454
|
},
|
|
1385
1455
|
elevation16: {
|
|
1386
1456
|
boxShadow: tokenShadows["2xl"],
|
|
1387
|
-
border: `1px solid ${
|
|
1457
|
+
border: `1px solid ${border6.secondary}`
|
|
1388
1458
|
},
|
|
1389
1459
|
elevation24: {
|
|
1390
1460
|
boxShadow: tokenShadows["3xl"],
|
|
1391
|
-
border: `1px solid ${
|
|
1461
|
+
border: `1px solid ${border6.secondary}`
|
|
1392
1462
|
}
|
|
1393
1463
|
}
|
|
1394
1464
|
},
|
|
@@ -1400,8 +1470,8 @@ function buildComponents(tokens) {
|
|
|
1400
1470
|
},
|
|
1401
1471
|
styleOverrides: {
|
|
1402
1472
|
root: {
|
|
1403
|
-
border: `1px solid ${
|
|
1404
|
-
borderRadius:
|
|
1473
|
+
border: `1px solid ${border6.secondary}`,
|
|
1474
|
+
borderRadius: radius6.lg,
|
|
1405
1475
|
"&:not(:last-child)": {
|
|
1406
1476
|
marginBottom: 8
|
|
1407
1477
|
},
|
|
@@ -1411,7 +1481,7 @@ function buildComponents(tokens) {
|
|
|
1411
1481
|
"&.Mui-expanded": {
|
|
1412
1482
|
margin: 0,
|
|
1413
1483
|
marginBottom: 8,
|
|
1414
|
-
borderRadius:
|
|
1484
|
+
borderRadius: radius6.lg
|
|
1415
1485
|
}
|
|
1416
1486
|
}
|
|
1417
1487
|
}
|
|
@@ -1423,7 +1493,7 @@ function buildComponents(tokens) {
|
|
|
1423
1493
|
minHeight: 56,
|
|
1424
1494
|
"&.Mui-expanded": {
|
|
1425
1495
|
minHeight: 56,
|
|
1426
|
-
borderBottom: `1px solid ${
|
|
1496
|
+
borderBottom: `1px solid ${border6.secondary}`
|
|
1427
1497
|
}
|
|
1428
1498
|
},
|
|
1429
1499
|
content: {
|
|
@@ -1449,8 +1519,8 @@ function buildComponents(tokens) {
|
|
|
1449
1519
|
},
|
|
1450
1520
|
styleOverrides: {
|
|
1451
1521
|
root: {
|
|
1452
|
-
borderBottom: `1px solid ${
|
|
1453
|
-
backgroundColor:
|
|
1522
|
+
borderBottom: `1px solid ${border6.secondary}`,
|
|
1523
|
+
backgroundColor: bg6.primary
|
|
1454
1524
|
}
|
|
1455
1525
|
}
|
|
1456
1526
|
},
|
|
@@ -1477,7 +1547,7 @@ function buildComponents(tokens) {
|
|
|
1477
1547
|
minHeight: 48
|
|
1478
1548
|
},
|
|
1479
1549
|
indicator: {
|
|
1480
|
-
backgroundColor:
|
|
1550
|
+
backgroundColor: fg6.brandPrimary,
|
|
1481
1551
|
height: 2
|
|
1482
1552
|
}
|
|
1483
1553
|
}
|
|
@@ -1492,14 +1562,14 @@ function buildComponents(tokens) {
|
|
|
1492
1562
|
fontWeight: 600,
|
|
1493
1563
|
lineHeight: "20px",
|
|
1494
1564
|
textTransform: "none",
|
|
1495
|
-
color:
|
|
1496
|
-
borderRadius: `${
|
|
1565
|
+
color: text6.tertiary,
|
|
1566
|
+
borderRadius: `${radius6.md}px ${radius6.md}px 0 0`,
|
|
1497
1567
|
"&:hover": {
|
|
1498
|
-
backgroundColor:
|
|
1568
|
+
backgroundColor: bg6.primaryHover
|
|
1499
1569
|
},
|
|
1500
1570
|
"&.Mui-selected": {
|
|
1501
|
-
color:
|
|
1502
|
-
backgroundColor:
|
|
1571
|
+
color: fg6.brandPrimary,
|
|
1572
|
+
backgroundColor: bg6.brandPrimary
|
|
1503
1573
|
}
|
|
1504
1574
|
}
|
|
1505
1575
|
}
|
|
@@ -1508,7 +1578,7 @@ function buildComponents(tokens) {
|
|
|
1508
1578
|
MuiChip: {
|
|
1509
1579
|
styleOverrides: {
|
|
1510
1580
|
root: {
|
|
1511
|
-
borderRadius:
|
|
1581
|
+
borderRadius: radius6.md
|
|
1512
1582
|
},
|
|
1513
1583
|
label: {
|
|
1514
1584
|
fontWeight: 500
|
|
@@ -1584,7 +1654,7 @@ function buildComponents(tokens) {
|
|
|
1584
1654
|
fontSize: 14,
|
|
1585
1655
|
lineHeight: "20px",
|
|
1586
1656
|
fontWeight: 500,
|
|
1587
|
-
color:
|
|
1657
|
+
color: text6.secondary
|
|
1588
1658
|
}
|
|
1589
1659
|
}
|
|
1590
1660
|
},
|
|
@@ -1600,30 +1670,30 @@ function buildComponents(tokens) {
|
|
|
1600
1670
|
MuiTableCell: {
|
|
1601
1671
|
styleOverrides: {
|
|
1602
1672
|
root: {
|
|
1603
|
-
borderBottom: `1px solid ${
|
|
1673
|
+
borderBottom: `1px solid ${border6.secondary}`,
|
|
1604
1674
|
padding: "16px 24px",
|
|
1605
1675
|
fontSize: 14,
|
|
1606
1676
|
lineHeight: "20px",
|
|
1607
|
-
color:
|
|
1677
|
+
color: fg6.tertiary
|
|
1608
1678
|
},
|
|
1609
1679
|
head: {
|
|
1610
|
-
backgroundColor:
|
|
1611
|
-
color:
|
|
1680
|
+
backgroundColor: bg6.secondary,
|
|
1681
|
+
color: fg6.tertiary,
|
|
1612
1682
|
fontWeight: 500,
|
|
1613
1683
|
fontSize: 12,
|
|
1614
1684
|
lineHeight: "18px"
|
|
1615
1685
|
},
|
|
1616
1686
|
body: {
|
|
1617
|
-
color:
|
|
1687
|
+
color: fg6.tertiary
|
|
1618
1688
|
}
|
|
1619
1689
|
}
|
|
1620
1690
|
},
|
|
1621
1691
|
MuiTableHead: {
|
|
1622
1692
|
styleOverrides: {
|
|
1623
1693
|
root: {
|
|
1624
|
-
backgroundColor:
|
|
1694
|
+
backgroundColor: bg6.secondary,
|
|
1625
1695
|
"& .MuiTableRow-root:last-child .MuiTableCell-root": {
|
|
1626
|
-
borderBottom: `1px solid ${
|
|
1696
|
+
borderBottom: `1px solid ${border6.secondary}`
|
|
1627
1697
|
}
|
|
1628
1698
|
}
|
|
1629
1699
|
}
|
|
@@ -1631,17 +1701,17 @@ function buildComponents(tokens) {
|
|
|
1631
1701
|
MuiTableRow: {
|
|
1632
1702
|
styleOverrides: {
|
|
1633
1703
|
root: {
|
|
1634
|
-
backgroundColor:
|
|
1704
|
+
backgroundColor: bg6.secondary,
|
|
1635
1705
|
"&:last-child td, &:last-child th": {
|
|
1636
1706
|
border: 0
|
|
1637
1707
|
},
|
|
1638
1708
|
"&:hover": {
|
|
1639
|
-
backgroundColor:
|
|
1709
|
+
backgroundColor: bg6.primaryHover
|
|
1640
1710
|
},
|
|
1641
1711
|
"&.Mui-selected": {
|
|
1642
|
-
backgroundColor:
|
|
1712
|
+
backgroundColor: bg6.brandPrimary,
|
|
1643
1713
|
"&:hover": {
|
|
1644
|
-
backgroundColor:
|
|
1714
|
+
backgroundColor: bg6.brandPrimary
|
|
1645
1715
|
}
|
|
1646
1716
|
}
|
|
1647
1717
|
}
|
|
@@ -1650,8 +1720,8 @@ function buildComponents(tokens) {
|
|
|
1650
1720
|
MuiTableContainer: {
|
|
1651
1721
|
styleOverrides: {
|
|
1652
1722
|
root: {
|
|
1653
|
-
borderRadius:
|
|
1654
|
-
border: `1px solid ${
|
|
1723
|
+
borderRadius: radius6.xl,
|
|
1724
|
+
border: `1px solid ${border6.secondary}`,
|
|
1655
1725
|
boxShadow: "none"
|
|
1656
1726
|
}
|
|
1657
1727
|
}
|
|
@@ -1665,24 +1735,24 @@ function buildComponents(tokens) {
|
|
|
1665
1735
|
lineHeight: "18px",
|
|
1666
1736
|
minWidth: 20,
|
|
1667
1737
|
height: 20,
|
|
1668
|
-
borderRadius:
|
|
1738
|
+
borderRadius: radius6.full
|
|
1669
1739
|
},
|
|
1670
1740
|
colorPrimary: {
|
|
1671
|
-
backgroundColor:
|
|
1741
|
+
backgroundColor: bg6.brandSolid
|
|
1672
1742
|
},
|
|
1673
1743
|
colorError: {
|
|
1674
|
-
backgroundColor:
|
|
1744
|
+
backgroundColor: bg6.errorSolid
|
|
1675
1745
|
},
|
|
1676
1746
|
colorSuccess: {
|
|
1677
|
-
backgroundColor:
|
|
1747
|
+
backgroundColor: bg6.successSolid
|
|
1678
1748
|
},
|
|
1679
1749
|
colorWarning: {
|
|
1680
|
-
backgroundColor:
|
|
1750
|
+
backgroundColor: bg6.warningSolid
|
|
1681
1751
|
},
|
|
1682
1752
|
dot: {
|
|
1683
1753
|
minWidth: 8,
|
|
1684
1754
|
height: 8,
|
|
1685
|
-
borderRadius:
|
|
1755
|
+
borderRadius: radius6.full
|
|
1686
1756
|
}
|
|
1687
1757
|
}
|
|
1688
1758
|
},
|
|
@@ -1690,7 +1760,7 @@ function buildComponents(tokens) {
|
|
|
1690
1760
|
MuiDivider: {
|
|
1691
1761
|
styleOverrides: {
|
|
1692
1762
|
root: {
|
|
1693
|
-
borderColor:
|
|
1763
|
+
borderColor: border6.secondary
|
|
1694
1764
|
}
|
|
1695
1765
|
}
|
|
1696
1766
|
},
|
|
@@ -1705,16 +1775,16 @@ function buildComponents(tokens) {
|
|
|
1705
1775
|
MuiListItemButton: {
|
|
1706
1776
|
styleOverrides: {
|
|
1707
1777
|
root: {
|
|
1708
|
-
borderRadius:
|
|
1778
|
+
borderRadius: radius6.sm,
|
|
1709
1779
|
padding: "8px 12px",
|
|
1710
1780
|
"&:hover": {
|
|
1711
|
-
backgroundColor:
|
|
1781
|
+
backgroundColor: bg6.primaryHover
|
|
1712
1782
|
},
|
|
1713
1783
|
"&.Mui-selected": {
|
|
1714
|
-
backgroundColor:
|
|
1715
|
-
color:
|
|
1784
|
+
backgroundColor: bg6.brandPrimary,
|
|
1785
|
+
color: buttonColors6.secondaryColor.fg,
|
|
1716
1786
|
"&:hover": {
|
|
1717
|
-
backgroundColor:
|
|
1787
|
+
backgroundColor: bg6.brandSecondary
|
|
1718
1788
|
}
|
|
1719
1789
|
}
|
|
1720
1790
|
}
|
|
@@ -1724,7 +1794,7 @@ function buildComponents(tokens) {
|
|
|
1724
1794
|
styleOverrides: {
|
|
1725
1795
|
root: {
|
|
1726
1796
|
minWidth: 36,
|
|
1727
|
-
color:
|
|
1797
|
+
color: fg6.quaternary
|
|
1728
1798
|
}
|
|
1729
1799
|
}
|
|
1730
1800
|
},
|
|
@@ -1734,12 +1804,12 @@ function buildComponents(tokens) {
|
|
|
1734
1804
|
fontSize: 14,
|
|
1735
1805
|
lineHeight: "20px",
|
|
1736
1806
|
fontWeight: 500,
|
|
1737
|
-
color:
|
|
1807
|
+
color: text6.secondary
|
|
1738
1808
|
},
|
|
1739
1809
|
secondary: {
|
|
1740
1810
|
fontSize: 14,
|
|
1741
1811
|
lineHeight: "20px",
|
|
1742
|
-
color:
|
|
1812
|
+
color: text6.quaternary
|
|
1743
1813
|
}
|
|
1744
1814
|
}
|
|
1745
1815
|
},
|
|
@@ -1747,17 +1817,17 @@ function buildComponents(tokens) {
|
|
|
1747
1817
|
MuiTooltip: {
|
|
1748
1818
|
styleOverrides: {
|
|
1749
1819
|
tooltip: {
|
|
1750
|
-
backgroundColor:
|
|
1751
|
-
color:
|
|
1820
|
+
backgroundColor: bg6.primarySolid,
|
|
1821
|
+
color: text6.white,
|
|
1752
1822
|
fontSize: 12,
|
|
1753
1823
|
lineHeight: "18px",
|
|
1754
1824
|
fontWeight: 600,
|
|
1755
1825
|
padding: "8px 12px",
|
|
1756
|
-
borderRadius:
|
|
1826
|
+
borderRadius: radius6.md,
|
|
1757
1827
|
boxShadow: tokenShadows.lg
|
|
1758
1828
|
},
|
|
1759
1829
|
arrow: {
|
|
1760
|
-
color:
|
|
1830
|
+
color: bg6.primarySolid
|
|
1761
1831
|
}
|
|
1762
1832
|
}
|
|
1763
1833
|
},
|
|
@@ -1768,34 +1838,34 @@ function buildComponents(tokens) {
|
|
|
1768
1838
|
},
|
|
1769
1839
|
styleOverrides: {
|
|
1770
1840
|
root: {
|
|
1771
|
-
borderRadius:
|
|
1841
|
+
borderRadius: radius6.xl,
|
|
1772
1842
|
fontSize: 14,
|
|
1773
1843
|
lineHeight: "20px",
|
|
1774
1844
|
padding: "12px 16px",
|
|
1775
1845
|
alignItems: "center"
|
|
1776
1846
|
},
|
|
1777
1847
|
standardError: {
|
|
1778
|
-
backgroundColor:
|
|
1848
|
+
backgroundColor: bg6.errorPrimary,
|
|
1779
1849
|
color: error2[700],
|
|
1780
|
-
border: `1px solid ${
|
|
1850
|
+
border: `1px solid ${border6.error}`,
|
|
1781
1851
|
"& .MuiAlert-icon": {
|
|
1782
|
-
color:
|
|
1852
|
+
color: fg6.errorPrimary
|
|
1783
1853
|
}
|
|
1784
1854
|
},
|
|
1785
1855
|
standardWarning: {
|
|
1786
|
-
backgroundColor:
|
|
1856
|
+
backgroundColor: bg6.warningPrimary,
|
|
1787
1857
|
color: warning2[700],
|
|
1788
1858
|
border: `1px solid ${warning2[300]}`,
|
|
1789
1859
|
"& .MuiAlert-icon": {
|
|
1790
|
-
color:
|
|
1860
|
+
color: fg6.warningPrimary
|
|
1791
1861
|
}
|
|
1792
1862
|
},
|
|
1793
1863
|
standardSuccess: {
|
|
1794
|
-
backgroundColor:
|
|
1864
|
+
backgroundColor: bg6.successPrimary,
|
|
1795
1865
|
color: success2[700],
|
|
1796
1866
|
border: `1px solid ${success2[300]}`,
|
|
1797
1867
|
"& .MuiAlert-icon": {
|
|
1798
|
-
color:
|
|
1868
|
+
color: fg6.successPrimary
|
|
1799
1869
|
}
|
|
1800
1870
|
},
|
|
1801
1871
|
standardInfo: {
|
|
@@ -1834,7 +1904,7 @@ function buildComponents(tokens) {
|
|
|
1834
1904
|
MuiDialog: {
|
|
1835
1905
|
styleOverrides: {
|
|
1836
1906
|
paper: {
|
|
1837
|
-
borderRadius:
|
|
1907
|
+
borderRadius: radius6.xl,
|
|
1838
1908
|
boxShadow: tokenShadows.xl,
|
|
1839
1909
|
padding: 0
|
|
1840
1910
|
}
|
|
@@ -1846,7 +1916,7 @@ function buildComponents(tokens) {
|
|
|
1846
1916
|
fontSize: 18,
|
|
1847
1917
|
lineHeight: "28px",
|
|
1848
1918
|
fontWeight: 600,
|
|
1849
|
-
color:
|
|
1919
|
+
color: text6.primary,
|
|
1850
1920
|
padding: "24px 24px 0"
|
|
1851
1921
|
}
|
|
1852
1922
|
}
|
|
@@ -1857,7 +1927,7 @@ function buildComponents(tokens) {
|
|
|
1857
1927
|
padding: "20px 24px",
|
|
1858
1928
|
fontSize: 14,
|
|
1859
1929
|
lineHeight: "20px",
|
|
1860
|
-
color:
|
|
1930
|
+
color: text6.tertiary
|
|
1861
1931
|
}
|
|
1862
1932
|
}
|
|
1863
1933
|
},
|
|
@@ -1873,27 +1943,27 @@ function buildComponents(tokens) {
|
|
|
1873
1943
|
MuiLinearProgress: {
|
|
1874
1944
|
styleOverrides: {
|
|
1875
1945
|
root: {
|
|
1876
|
-
borderRadius:
|
|
1946
|
+
borderRadius: radius6.full,
|
|
1877
1947
|
height: 8,
|
|
1878
|
-
backgroundColor:
|
|
1948
|
+
backgroundColor: border6.secondary
|
|
1879
1949
|
},
|
|
1880
1950
|
barColorPrimary: {
|
|
1881
|
-
backgroundColor:
|
|
1882
|
-
borderRadius:
|
|
1951
|
+
backgroundColor: fg6.brandPrimary,
|
|
1952
|
+
borderRadius: radius6.full
|
|
1883
1953
|
},
|
|
1884
1954
|
barColorSecondary: {
|
|
1885
|
-
backgroundColor:
|
|
1886
|
-
borderRadius:
|
|
1955
|
+
backgroundColor: bg6.secondarySolid,
|
|
1956
|
+
borderRadius: radius6.full
|
|
1887
1957
|
}
|
|
1888
1958
|
}
|
|
1889
1959
|
},
|
|
1890
1960
|
MuiCircularProgress: {
|
|
1891
1961
|
styleOverrides: {
|
|
1892
1962
|
colorPrimary: {
|
|
1893
|
-
color:
|
|
1963
|
+
color: fg6.brandPrimary
|
|
1894
1964
|
},
|
|
1895
1965
|
colorSecondary: {
|
|
1896
|
-
color:
|
|
1966
|
+
color: bg6.secondarySolid
|
|
1897
1967
|
}
|
|
1898
1968
|
}
|
|
1899
1969
|
},
|
|
@@ -1904,13 +1974,13 @@ function buildComponents(tokens) {
|
|
|
1904
1974
|
},
|
|
1905
1975
|
styleOverrides: {
|
|
1906
1976
|
root: {
|
|
1907
|
-
backgroundColor:
|
|
1977
|
+
backgroundColor: bg6.tertiary
|
|
1908
1978
|
},
|
|
1909
1979
|
rounded: {
|
|
1910
|
-
borderRadius:
|
|
1980
|
+
borderRadius: radius6.md
|
|
1911
1981
|
},
|
|
1912
1982
|
circular: {
|
|
1913
|
-
borderRadius:
|
|
1983
|
+
borderRadius: radius6.full
|
|
1914
1984
|
}
|
|
1915
1985
|
}
|
|
1916
1986
|
},
|
|
@@ -1918,9 +1988,9 @@ function buildComponents(tokens) {
|
|
|
1918
1988
|
MuiSnackbarContent: {
|
|
1919
1989
|
styleOverrides: {
|
|
1920
1990
|
root: {
|
|
1921
|
-
backgroundColor:
|
|
1922
|
-
color:
|
|
1923
|
-
borderRadius:
|
|
1991
|
+
backgroundColor: bg6.primarySolid,
|
|
1992
|
+
color: text6.white,
|
|
1993
|
+
borderRadius: radius6.xl,
|
|
1924
1994
|
boxShadow: tokenShadows.lg,
|
|
1925
1995
|
fontSize: 14,
|
|
1926
1996
|
lineHeight: "20px",
|
|
@@ -1948,27 +2018,447 @@ function buildComponents(tokens) {
|
|
|
1948
2018
|
}
|
|
1949
2019
|
}
|
|
1950
2020
|
},
|
|
2021
|
+
// ─── Slider ─────────────────────────────────────────────────────
|
|
2022
|
+
MuiSlider: {
|
|
2023
|
+
styleOverrides: {
|
|
2024
|
+
root: {
|
|
2025
|
+
color: fg6.brandPrimary,
|
|
2026
|
+
height: 8,
|
|
2027
|
+
"&.Mui-disabled": {
|
|
2028
|
+
color: border6.secondary
|
|
2029
|
+
}
|
|
2030
|
+
},
|
|
2031
|
+
thumb: {
|
|
2032
|
+
width: 20,
|
|
2033
|
+
height: 20,
|
|
2034
|
+
backgroundColor: sliderColors6.handleBg,
|
|
2035
|
+
border: `2px solid ${sliderColors6.handleBorder}`,
|
|
2036
|
+
boxShadow: tokenShadows.xs,
|
|
2037
|
+
"&:hover, &.Mui-focusVisible": {
|
|
2038
|
+
boxShadow: focusRings6.brandShadowXs
|
|
2039
|
+
},
|
|
2040
|
+
"&.Mui-active": {
|
|
2041
|
+
boxShadow: focusRings6.brandShadowSm
|
|
2042
|
+
}
|
|
2043
|
+
},
|
|
2044
|
+
track: {
|
|
2045
|
+
borderRadius: radius6.full,
|
|
2046
|
+
border: "none"
|
|
2047
|
+
},
|
|
2048
|
+
rail: {
|
|
2049
|
+
backgroundColor: border6.secondary,
|
|
2050
|
+
borderRadius: radius6.full,
|
|
2051
|
+
opacity: 1
|
|
2052
|
+
},
|
|
2053
|
+
valueLabel: {
|
|
2054
|
+
backgroundColor: bg6.primarySolid,
|
|
2055
|
+
borderRadius: radius6.md,
|
|
2056
|
+
fontSize: 12,
|
|
2057
|
+
fontWeight: 600,
|
|
2058
|
+
padding: "4px 8px"
|
|
2059
|
+
},
|
|
2060
|
+
mark: {
|
|
2061
|
+
backgroundColor: border6.secondary,
|
|
2062
|
+
width: 4,
|
|
2063
|
+
height: 4,
|
|
2064
|
+
borderRadius: radius6.full
|
|
2065
|
+
},
|
|
2066
|
+
markActive: {
|
|
2067
|
+
backgroundColor: fg6.brandPrimary
|
|
2068
|
+
},
|
|
2069
|
+
markLabel: {
|
|
2070
|
+
fontSize: 12,
|
|
2071
|
+
color: text6.tertiary
|
|
2072
|
+
}
|
|
2073
|
+
}
|
|
2074
|
+
},
|
|
2075
|
+
// ─── Rating ─────────────────────────────────────────────────────
|
|
2076
|
+
MuiRating: {
|
|
2077
|
+
styleOverrides: {
|
|
2078
|
+
root: {
|
|
2079
|
+
color: fg6.brandPrimary,
|
|
2080
|
+
gap: 4
|
|
2081
|
+
},
|
|
2082
|
+
iconEmpty: {
|
|
2083
|
+
color: border6.secondary
|
|
2084
|
+
},
|
|
2085
|
+
iconFilled: {
|
|
2086
|
+
color: fg6.brandPrimary
|
|
2087
|
+
},
|
|
2088
|
+
iconHover: {
|
|
2089
|
+
color: buttonColors6.primary.bgHover
|
|
2090
|
+
}
|
|
2091
|
+
}
|
|
2092
|
+
},
|
|
2093
|
+
// ─── Pagination ─────────────────────────────────────────────────
|
|
2094
|
+
MuiPagination: {
|
|
2095
|
+
defaultProps: {
|
|
2096
|
+
shape: "rounded"
|
|
2097
|
+
}
|
|
2098
|
+
},
|
|
2099
|
+
MuiPaginationItem: {
|
|
2100
|
+
styleOverrides: {
|
|
2101
|
+
root: {
|
|
2102
|
+
borderRadius: radius6.md,
|
|
2103
|
+
fontSize: 14,
|
|
2104
|
+
fontWeight: 500,
|
|
2105
|
+
color: text6.secondary,
|
|
2106
|
+
"&:hover": {
|
|
2107
|
+
backgroundColor: bg6.primaryHover
|
|
2108
|
+
},
|
|
2109
|
+
"&.Mui-selected": {
|
|
2110
|
+
backgroundColor: fg6.brandPrimary,
|
|
2111
|
+
color: base2.white,
|
|
2112
|
+
"&:hover": {
|
|
2113
|
+
backgroundColor: buttonColors6.primary.bgHover
|
|
2114
|
+
}
|
|
2115
|
+
},
|
|
2116
|
+
"&.Mui-focusVisible": {
|
|
2117
|
+
boxShadow: focusRings6.brandShadowXs
|
|
2118
|
+
}
|
|
2119
|
+
},
|
|
2120
|
+
outlined: {
|
|
2121
|
+
border: `1px solid ${border6.primary}`,
|
|
2122
|
+
"&.Mui-selected": {
|
|
2123
|
+
backgroundColor: fg6.brandPrimary,
|
|
2124
|
+
color: base2.white,
|
|
2125
|
+
borderColor: fg6.brandPrimary
|
|
2126
|
+
}
|
|
2127
|
+
}
|
|
2128
|
+
}
|
|
2129
|
+
},
|
|
2130
|
+
// ─── Avatar ─────────────────────────────────────────────────────
|
|
2131
|
+
MuiAvatar: {
|
|
2132
|
+
styleOverrides: {
|
|
2133
|
+
root: {
|
|
2134
|
+
backgroundColor: avatarColors6.bg,
|
|
2135
|
+
fontSize: 14,
|
|
2136
|
+
fontWeight: 600,
|
|
2137
|
+
border: `1.5px solid ${avatarColors6.contrastBorder}`
|
|
2138
|
+
},
|
|
2139
|
+
rounded: {
|
|
2140
|
+
borderRadius: radius6.md
|
|
2141
|
+
}
|
|
2142
|
+
}
|
|
2143
|
+
},
|
|
2144
|
+
MuiAvatarGroup: {
|
|
2145
|
+
styleOverrides: {
|
|
2146
|
+
avatar: {
|
|
2147
|
+
border: `2px solid ${avatarColors6.profilePhotoBorder}`,
|
|
2148
|
+
width: 32,
|
|
2149
|
+
height: 32,
|
|
2150
|
+
fontSize: 13,
|
|
2151
|
+
fontWeight: 600
|
|
2152
|
+
}
|
|
2153
|
+
}
|
|
2154
|
+
},
|
|
2155
|
+
// ─── BottomNavigation ───────────────────────────────────────────
|
|
2156
|
+
MuiBottomNavigation: {
|
|
2157
|
+
styleOverrides: {
|
|
2158
|
+
root: {
|
|
2159
|
+
backgroundColor: bg6.primary,
|
|
2160
|
+
borderTop: `1px solid ${border6.secondary}`
|
|
2161
|
+
}
|
|
2162
|
+
}
|
|
2163
|
+
},
|
|
2164
|
+
MuiBottomNavigationAction: {
|
|
2165
|
+
styleOverrides: {
|
|
2166
|
+
root: {
|
|
2167
|
+
color: fg6.quaternary,
|
|
2168
|
+
"&.Mui-selected": {
|
|
2169
|
+
color: fg6.brandPrimary
|
|
2170
|
+
}
|
|
2171
|
+
},
|
|
2172
|
+
label: {
|
|
2173
|
+
fontSize: 12,
|
|
2174
|
+
fontWeight: 500,
|
|
2175
|
+
"&.Mui-selected": {
|
|
2176
|
+
fontSize: 12,
|
|
2177
|
+
fontWeight: 600
|
|
2178
|
+
}
|
|
2179
|
+
}
|
|
2180
|
+
}
|
|
2181
|
+
},
|
|
2182
|
+
// ─── SpeedDial ──────────────────────────────────────────────────
|
|
2183
|
+
MuiSpeedDial: {
|
|
2184
|
+
styleOverrides: {
|
|
2185
|
+
fab: {
|
|
2186
|
+
backgroundColor: fg6.brandPrimary,
|
|
2187
|
+
color: base2.white,
|
|
2188
|
+
boxShadow: tokenShadows.md,
|
|
2189
|
+
"&:hover": {
|
|
2190
|
+
backgroundColor: buttonColors6.primary.bgHover
|
|
2191
|
+
}
|
|
2192
|
+
}
|
|
2193
|
+
}
|
|
2194
|
+
},
|
|
2195
|
+
MuiSpeedDialAction: {
|
|
2196
|
+
styleOverrides: {
|
|
2197
|
+
fab: {
|
|
2198
|
+
backgroundColor: bg6.primary,
|
|
2199
|
+
color: fg6.secondary,
|
|
2200
|
+
boxShadow: tokenShadows.sm,
|
|
2201
|
+
border: `1px solid ${border6.secondary}`,
|
|
2202
|
+
"&:hover": {
|
|
2203
|
+
backgroundColor: bg6.primaryHover
|
|
2204
|
+
}
|
|
2205
|
+
},
|
|
2206
|
+
staticTooltipLabel: {
|
|
2207
|
+
backgroundColor: bg6.primarySolid,
|
|
2208
|
+
color: text6.white,
|
|
2209
|
+
fontSize: 12,
|
|
2210
|
+
fontWeight: 600,
|
|
2211
|
+
borderRadius: radius6.md,
|
|
2212
|
+
whiteSpace: "nowrap"
|
|
2213
|
+
}
|
|
2214
|
+
}
|
|
2215
|
+
},
|
|
2216
|
+
// ─── Stepper ────────────────────────────────────────────────────
|
|
2217
|
+
MuiStepper: {
|
|
2218
|
+
styleOverrides: {
|
|
2219
|
+
root: {
|
|
2220
|
+
padding: 0
|
|
2221
|
+
}
|
|
2222
|
+
}
|
|
2223
|
+
},
|
|
2224
|
+
MuiStepLabel: {
|
|
2225
|
+
styleOverrides: {
|
|
2226
|
+
label: {
|
|
2227
|
+
fontSize: 14,
|
|
2228
|
+
fontWeight: 500,
|
|
2229
|
+
color: text6.tertiary,
|
|
2230
|
+
"&.Mui-active": {
|
|
2231
|
+
color: text6.primary,
|
|
2232
|
+
fontWeight: 600
|
|
2233
|
+
},
|
|
2234
|
+
"&.Mui-completed": {
|
|
2235
|
+
color: text6.primary,
|
|
2236
|
+
fontWeight: 500
|
|
2237
|
+
}
|
|
2238
|
+
}
|
|
2239
|
+
}
|
|
2240
|
+
},
|
|
2241
|
+
MuiStepIcon: {
|
|
2242
|
+
styleOverrides: {
|
|
2243
|
+
root: {
|
|
2244
|
+
color: border6.secondary,
|
|
2245
|
+
"&.Mui-active": {
|
|
2246
|
+
color: fg6.brandPrimary
|
|
2247
|
+
},
|
|
2248
|
+
"&.Mui-completed": {
|
|
2249
|
+
color: fg6.brandPrimary
|
|
2250
|
+
}
|
|
2251
|
+
},
|
|
2252
|
+
text: {
|
|
2253
|
+
fontSize: 12,
|
|
2254
|
+
fontWeight: 600
|
|
2255
|
+
}
|
|
2256
|
+
}
|
|
2257
|
+
},
|
|
2258
|
+
MuiStepConnector: {
|
|
2259
|
+
styleOverrides: {
|
|
2260
|
+
line: {
|
|
2261
|
+
borderColor: border6.secondary
|
|
2262
|
+
},
|
|
2263
|
+
lineHorizontal: {
|
|
2264
|
+
borderTopWidth: 2
|
|
2265
|
+
},
|
|
2266
|
+
lineVertical: {
|
|
2267
|
+
borderLeftWidth: 2
|
|
2268
|
+
}
|
|
2269
|
+
}
|
|
2270
|
+
},
|
|
2271
|
+
// ─── MobileStepper ──────────────────────────────────────────────
|
|
2272
|
+
MuiMobileStepper: {
|
|
2273
|
+
styleOverrides: {
|
|
2274
|
+
root: {
|
|
2275
|
+
backgroundColor: "transparent",
|
|
2276
|
+
padding: "8px 0"
|
|
2277
|
+
},
|
|
2278
|
+
dot: {
|
|
2279
|
+
backgroundColor: border6.secondary,
|
|
2280
|
+
width: 8,
|
|
2281
|
+
height: 8
|
|
2282
|
+
},
|
|
2283
|
+
dotActive: {
|
|
2284
|
+
backgroundColor: fg6.brandPrimary
|
|
2285
|
+
},
|
|
2286
|
+
progress: {
|
|
2287
|
+
width: "100%",
|
|
2288
|
+
backgroundColor: border6.secondary,
|
|
2289
|
+
borderRadius: radius6.full,
|
|
2290
|
+
"& .MuiLinearProgress-bar": {
|
|
2291
|
+
backgroundColor: fg6.brandPrimary,
|
|
2292
|
+
borderRadius: radius6.full
|
|
2293
|
+
}
|
|
2294
|
+
}
|
|
2295
|
+
}
|
|
2296
|
+
},
|
|
2297
|
+
// ─── Breadcrumbs ────────────────────────────────────────────────
|
|
2298
|
+
MuiBreadcrumbs: {
|
|
2299
|
+
styleOverrides: {
|
|
2300
|
+
root: {
|
|
2301
|
+
fontSize: 14,
|
|
2302
|
+
lineHeight: "20px"
|
|
2303
|
+
},
|
|
2304
|
+
separator: {
|
|
2305
|
+
color: breadcrumbColors6.iconFg,
|
|
2306
|
+
marginLeft: 4,
|
|
2307
|
+
marginRight: 4
|
|
2308
|
+
},
|
|
2309
|
+
li: {
|
|
2310
|
+
"& a": {
|
|
2311
|
+
color: breadcrumbColors6.fg,
|
|
2312
|
+
textDecoration: "none",
|
|
2313
|
+
fontWeight: 500,
|
|
2314
|
+
"&:hover": {
|
|
2315
|
+
color: breadcrumbColors6.fgHover
|
|
2316
|
+
}
|
|
2317
|
+
}
|
|
2318
|
+
}
|
|
2319
|
+
}
|
|
2320
|
+
},
|
|
2321
|
+
// ─── Link ───────────────────────────────────────────────────────
|
|
2322
|
+
MuiLink: {
|
|
2323
|
+
styleOverrides: {
|
|
2324
|
+
root: {
|
|
2325
|
+
color: fg6.brandPrimary,
|
|
2326
|
+
fontWeight: 500,
|
|
2327
|
+
"&:hover": {
|
|
2328
|
+
color: buttonColors6.primary.bgHover
|
|
2329
|
+
}
|
|
2330
|
+
}
|
|
2331
|
+
}
|
|
2332
|
+
},
|
|
2333
|
+
// ─── Popover ────────────────────────────────────────────────────
|
|
2334
|
+
MuiPopover: {
|
|
2335
|
+
styleOverrides: {
|
|
2336
|
+
paper: {
|
|
2337
|
+
borderRadius: radius6.lg,
|
|
2338
|
+
boxShadow: tokenShadows.lg,
|
|
2339
|
+
border: `1px solid ${border6.secondary}`
|
|
2340
|
+
}
|
|
2341
|
+
}
|
|
2342
|
+
},
|
|
2343
|
+
// ─── Snackbar ───────────────────────────────────────────────────
|
|
2344
|
+
MuiSnackbar: {
|
|
2345
|
+
defaultProps: {
|
|
2346
|
+
anchorOrigin: { vertical: "bottom", horizontal: "center" }
|
|
2347
|
+
}
|
|
2348
|
+
},
|
|
2349
|
+
// ─── CardActionArea ─────────────────────────────────────────────
|
|
2350
|
+
MuiCardActionArea: {
|
|
2351
|
+
styleOverrides: {
|
|
2352
|
+
root: {
|
|
2353
|
+
"&:hover .MuiCardActionArea-focusHighlight": {
|
|
2354
|
+
opacity: 0.04
|
|
2355
|
+
},
|
|
2356
|
+
"&.Mui-focusVisible .MuiCardActionArea-focusHighlight": {
|
|
2357
|
+
opacity: 0.08
|
|
2358
|
+
}
|
|
2359
|
+
}
|
|
2360
|
+
}
|
|
2361
|
+
},
|
|
2362
|
+
// ─── FilledInput ────────────────────────────────────────────────
|
|
2363
|
+
MuiFilledInput: {
|
|
2364
|
+
styleOverrides: {
|
|
2365
|
+
root: {
|
|
2366
|
+
borderRadius: `${radius6.md}px ${radius6.md}px 0 0`,
|
|
2367
|
+
backgroundColor: bg6.secondary,
|
|
2368
|
+
"&:hover": {
|
|
2369
|
+
backgroundColor: bg6.secondaryHover
|
|
2370
|
+
},
|
|
2371
|
+
"&.Mui-focused": {
|
|
2372
|
+
backgroundColor: bg6.secondary
|
|
2373
|
+
},
|
|
2374
|
+
"&:after": {
|
|
2375
|
+
borderBottomColor: fg6.brandPrimary
|
|
2376
|
+
}
|
|
2377
|
+
},
|
|
2378
|
+
input: {
|
|
2379
|
+
padding: "6px 12px",
|
|
2380
|
+
fontSize: 14,
|
|
2381
|
+
lineHeight: "20px"
|
|
2382
|
+
}
|
|
2383
|
+
}
|
|
2384
|
+
},
|
|
2385
|
+
// ─── TablePagination ────────────────────────────────────────────
|
|
2386
|
+
MuiTablePagination: {
|
|
2387
|
+
styleOverrides: {
|
|
2388
|
+
root: {
|
|
2389
|
+
fontSize: 14,
|
|
2390
|
+
color: text6.tertiary
|
|
2391
|
+
},
|
|
2392
|
+
selectLabel: {
|
|
2393
|
+
fontSize: 14,
|
|
2394
|
+
color: text6.tertiary
|
|
2395
|
+
},
|
|
2396
|
+
displayedRows: {
|
|
2397
|
+
fontSize: 14,
|
|
2398
|
+
color: text6.tertiary
|
|
2399
|
+
},
|
|
2400
|
+
select: {
|
|
2401
|
+
fontSize: 14
|
|
2402
|
+
},
|
|
2403
|
+
actions: {
|
|
2404
|
+
"& .MuiIconButton-root": {
|
|
2405
|
+
color: fg6.quaternary,
|
|
2406
|
+
"&:hover": {
|
|
2407
|
+
backgroundColor: bg6.primaryHover,
|
|
2408
|
+
color: fg6.brandPrimary
|
|
2409
|
+
}
|
|
2410
|
+
}
|
|
2411
|
+
}
|
|
2412
|
+
}
|
|
2413
|
+
},
|
|
2414
|
+
// ─── TableSortLabel ─────────────────────────────────────────────
|
|
2415
|
+
MuiTableSortLabel: {
|
|
2416
|
+
styleOverrides: {
|
|
2417
|
+
root: {
|
|
2418
|
+
"&:hover": {
|
|
2419
|
+
color: fg6.secondary
|
|
2420
|
+
},
|
|
2421
|
+
"&.Mui-active": {
|
|
2422
|
+
color: fg6.secondary,
|
|
2423
|
+
"& .MuiTableSortLabel-icon": {
|
|
2424
|
+
color: fg6.brandPrimary
|
|
2425
|
+
}
|
|
2426
|
+
}
|
|
2427
|
+
}
|
|
2428
|
+
}
|
|
2429
|
+
},
|
|
2430
|
+
// ─── TabScrollButton ────────────────────────────────────────────
|
|
2431
|
+
MuiTabScrollButton: {
|
|
2432
|
+
styleOverrides: {
|
|
2433
|
+
root: {
|
|
2434
|
+
color: fg6.quaternary,
|
|
2435
|
+
"&:hover": {
|
|
2436
|
+
color: fg6.brandPrimary
|
|
2437
|
+
}
|
|
2438
|
+
}
|
|
2439
|
+
}
|
|
2440
|
+
},
|
|
1951
2441
|
// ─── DataGrid (@mui/x-data-grid) ──────────────────────────────
|
|
1952
2442
|
// Not part of MUI core's Components<Theme> type, so we merge via assertion.
|
|
1953
2443
|
...{
|
|
1954
2444
|
MuiDataGrid: {
|
|
1955
2445
|
styleOverrides: {
|
|
1956
2446
|
root: {
|
|
1957
|
-
border: `1px solid ${
|
|
1958
|
-
borderRadius:
|
|
2447
|
+
border: `1px solid ${border6.secondary}`,
|
|
2448
|
+
borderRadius: radius6.xl,
|
|
1959
2449
|
fontFamily: "inherit",
|
|
1960
2450
|
"& .MuiDataGrid-withBorderColor": {
|
|
1961
|
-
borderColor:
|
|
2451
|
+
borderColor: border6.secondary
|
|
1962
2452
|
}
|
|
1963
2453
|
},
|
|
1964
2454
|
columnHeaders: {
|
|
1965
|
-
backgroundColor:
|
|
2455
|
+
backgroundColor: bg6.secondary
|
|
1966
2456
|
},
|
|
1967
2457
|
columnHeader: {
|
|
1968
2458
|
fontSize: 12,
|
|
1969
2459
|
lineHeight: "18px",
|
|
1970
2460
|
fontWeight: 500,
|
|
1971
|
-
color:
|
|
2461
|
+
color: fg6.tertiary,
|
|
1972
2462
|
"&:focus, &:focus-within": {
|
|
1973
2463
|
outline: "none"
|
|
1974
2464
|
}
|
|
@@ -1981,28 +2471,28 @@ function buildComponents(tokens) {
|
|
|
1981
2471
|
alignItems: "center",
|
|
1982
2472
|
fontSize: 14,
|
|
1983
2473
|
lineHeight: "20px",
|
|
1984
|
-
color:
|
|
2474
|
+
color: fg6.tertiary,
|
|
1985
2475
|
"&:focus, &:focus-within": {
|
|
1986
2476
|
outline: "none"
|
|
1987
2477
|
}
|
|
1988
2478
|
},
|
|
1989
2479
|
row: {
|
|
1990
|
-
backgroundColor:
|
|
2480
|
+
backgroundColor: bg6.secondary,
|
|
1991
2481
|
"&:hover": {
|
|
1992
|
-
backgroundColor:
|
|
2482
|
+
backgroundColor: bg6.primaryHover
|
|
1993
2483
|
},
|
|
1994
2484
|
"&.Mui-selected": {
|
|
1995
|
-
backgroundColor:
|
|
2485
|
+
backgroundColor: bg6.brandPrimary,
|
|
1996
2486
|
"&:hover": {
|
|
1997
|
-
backgroundColor:
|
|
2487
|
+
backgroundColor: bg6.brandPrimary
|
|
1998
2488
|
}
|
|
1999
2489
|
}
|
|
2000
2490
|
},
|
|
2001
2491
|
footerContainer: {
|
|
2002
|
-
borderTop: `1px solid ${
|
|
2492
|
+
borderTop: `1px solid ${border6.secondary}`
|
|
2003
2493
|
},
|
|
2004
2494
|
columnSeparator: {
|
|
2005
|
-
color:
|
|
2495
|
+
color: border6.secondary
|
|
2006
2496
|
}
|
|
2007
2497
|
}
|
|
2008
2498
|
}
|
|
@@ -2017,7 +2507,7 @@ function buildComponents(tokens) {
|
|
|
2017
2507
|
root: {
|
|
2018
2508
|
"& .MuiInputBase-root": {
|
|
2019
2509
|
height: 32,
|
|
2020
|
-
borderRadius:
|
|
2510
|
+
borderRadius: radius6.md,
|
|
2021
2511
|
boxShadow: tokenShadows.xs,
|
|
2022
2512
|
fontSize: 14,
|
|
2023
2513
|
lineHeight: "20px"
|
|
@@ -2028,21 +2518,21 @@ function buildComponents(tokens) {
|
|
|
2028
2518
|
lineHeight: "20px"
|
|
2029
2519
|
},
|
|
2030
2520
|
"& .MuiOutlinedInput-notchedOutline": {
|
|
2031
|
-
borderColor:
|
|
2521
|
+
borderColor: border6.primary
|
|
2032
2522
|
},
|
|
2033
2523
|
"&:hover:not(:has(.Mui-disabled)) .MuiOutlinedInput-notchedOutline": {
|
|
2034
|
-
borderColor:
|
|
2524
|
+
borderColor: border6.brand
|
|
2035
2525
|
},
|
|
2036
2526
|
"& .Mui-focused .MuiOutlinedInput-notchedOutline": {
|
|
2037
|
-
borderColor:
|
|
2527
|
+
borderColor: border6.brandSolid,
|
|
2038
2528
|
borderWidth: 1,
|
|
2039
2529
|
boxShadow: "none"
|
|
2040
2530
|
},
|
|
2041
2531
|
"& .MuiInputAdornment-root .MuiIconButton-root": {
|
|
2042
|
-
color:
|
|
2532
|
+
color: fg6.quaternary,
|
|
2043
2533
|
"&:hover": {
|
|
2044
|
-
backgroundColor:
|
|
2045
|
-
color:
|
|
2534
|
+
backgroundColor: bg6.primaryHover,
|
|
2535
|
+
color: fg6.brandPrimary
|
|
2046
2536
|
}
|
|
2047
2537
|
}
|
|
2048
2538
|
}
|
|
@@ -2052,9 +2542,9 @@ function buildComponents(tokens) {
|
|
|
2052
2542
|
MuiPickersPopper: {
|
|
2053
2543
|
styleOverrides: {
|
|
2054
2544
|
paper: {
|
|
2055
|
-
borderRadius:
|
|
2545
|
+
borderRadius: radius6.xl,
|
|
2056
2546
|
boxShadow: tokenShadows.lg,
|
|
2057
|
-
border: `1px solid ${
|
|
2547
|
+
border: `1px solid ${border6.secondary}`,
|
|
2058
2548
|
marginTop: 4
|
|
2059
2549
|
}
|
|
2060
2550
|
}
|
|
@@ -2079,19 +2569,19 @@ function buildComponents(tokens) {
|
|
|
2079
2569
|
label: {
|
|
2080
2570
|
fontSize: 14,
|
|
2081
2571
|
fontWeight: 600,
|
|
2082
|
-
color:
|
|
2572
|
+
color: text6.primary
|
|
2083
2573
|
},
|
|
2084
2574
|
switchViewButton: {
|
|
2085
|
-
color:
|
|
2086
|
-
"&:hover": { backgroundColor:
|
|
2575
|
+
color: fg6.quaternary,
|
|
2576
|
+
"&:hover": { backgroundColor: bg6.primaryHover, color: fg6.brandPrimary }
|
|
2087
2577
|
}
|
|
2088
2578
|
}
|
|
2089
2579
|
},
|
|
2090
2580
|
MuiPickersArrowSwitcher: {
|
|
2091
2581
|
styleOverrides: {
|
|
2092
2582
|
button: {
|
|
2093
|
-
color:
|
|
2094
|
-
"&:hover": { backgroundColor:
|
|
2583
|
+
color: fg6.quaternary,
|
|
2584
|
+
"&:hover": { backgroundColor: bg6.primaryHover, color: fg6.brandPrimary }
|
|
2095
2585
|
}
|
|
2096
2586
|
}
|
|
2097
2587
|
},
|
|
@@ -2101,7 +2591,7 @@ function buildComponents(tokens) {
|
|
|
2101
2591
|
weekDayLabel: {
|
|
2102
2592
|
fontSize: 12,
|
|
2103
2593
|
fontWeight: 500,
|
|
2104
|
-
color:
|
|
2594
|
+
color: text6.tertiary,
|
|
2105
2595
|
width: 32,
|
|
2106
2596
|
height: 32
|
|
2107
2597
|
},
|
|
@@ -2121,39 +2611,39 @@ function buildComponents(tokens) {
|
|
|
2121
2611
|
fontWeight: 400,
|
|
2122
2612
|
width: 32,
|
|
2123
2613
|
height: 32,
|
|
2124
|
-
borderRadius:
|
|
2125
|
-
color:
|
|
2614
|
+
borderRadius: radius6.md,
|
|
2615
|
+
color: text6.primary,
|
|
2126
2616
|
backgroundColor: "transparent",
|
|
2127
2617
|
"&:hover": {
|
|
2128
|
-
backgroundColor:
|
|
2618
|
+
backgroundColor: bg6.primaryHover
|
|
2129
2619
|
},
|
|
2130
2620
|
"&.Mui-selected": {
|
|
2131
|
-
backgroundColor:
|
|
2621
|
+
backgroundColor: fg6.brandPrimary,
|
|
2132
2622
|
color: base2.white,
|
|
2133
2623
|
fontWeight: 600,
|
|
2134
2624
|
"&:hover": {
|
|
2135
|
-
backgroundColor:
|
|
2625
|
+
backgroundColor: buttonColors6.primary.bgHover
|
|
2136
2626
|
},
|
|
2137
2627
|
"&:focus": {
|
|
2138
|
-
backgroundColor:
|
|
2628
|
+
backgroundColor: fg6.brandPrimary
|
|
2139
2629
|
}
|
|
2140
2630
|
},
|
|
2141
2631
|
"&.MuiPickersDay-today": {
|
|
2142
|
-
border: `1px solid ${
|
|
2143
|
-
color:
|
|
2632
|
+
border: `1px solid ${border6.brandSolid}`,
|
|
2633
|
+
color: fg6.brandPrimary,
|
|
2144
2634
|
backgroundColor: "transparent",
|
|
2145
2635
|
fontWeight: 600,
|
|
2146
2636
|
"&.Mui-selected": {
|
|
2147
|
-
backgroundColor:
|
|
2637
|
+
backgroundColor: fg6.brandPrimary,
|
|
2148
2638
|
color: base2.white,
|
|
2149
2639
|
border: "none"
|
|
2150
2640
|
}
|
|
2151
2641
|
},
|
|
2152
2642
|
"&.Mui-focusVisible": {
|
|
2153
|
-
boxShadow:
|
|
2643
|
+
boxShadow: focusRings6.brand
|
|
2154
2644
|
},
|
|
2155
2645
|
"&.Mui-disabled": {
|
|
2156
|
-
color:
|
|
2646
|
+
color: text6.disabled
|
|
2157
2647
|
}
|
|
2158
2648
|
}
|
|
2159
2649
|
}
|
|
@@ -2163,12 +2653,12 @@ function buildComponents(tokens) {
|
|
|
2163
2653
|
styleOverrides: {
|
|
2164
2654
|
yearButton: {
|
|
2165
2655
|
fontSize: 13,
|
|
2166
|
-
borderRadius:
|
|
2167
|
-
"&:hover": { backgroundColor:
|
|
2656
|
+
borderRadius: radius6.md,
|
|
2657
|
+
"&:hover": { backgroundColor: bg6.primaryHover },
|
|
2168
2658
|
"&.Mui-selected": {
|
|
2169
|
-
backgroundColor:
|
|
2659
|
+
backgroundColor: fg6.brandPrimary,
|
|
2170
2660
|
color: base2.white,
|
|
2171
|
-
"&:hover": { backgroundColor:
|
|
2661
|
+
"&:hover": { backgroundColor: buttonColors6.primary.bgHover }
|
|
2172
2662
|
}
|
|
2173
2663
|
}
|
|
2174
2664
|
}
|
|
@@ -2178,12 +2668,12 @@ function buildComponents(tokens) {
|
|
|
2178
2668
|
styleOverrides: {
|
|
2179
2669
|
monthButton: {
|
|
2180
2670
|
fontSize: 13,
|
|
2181
|
-
borderRadius:
|
|
2182
|
-
"&:hover": { backgroundColor:
|
|
2671
|
+
borderRadius: radius6.md,
|
|
2672
|
+
"&:hover": { backgroundColor: bg6.primaryHover },
|
|
2183
2673
|
"&.Mui-selected": {
|
|
2184
|
-
backgroundColor:
|
|
2674
|
+
backgroundColor: fg6.brandPrimary,
|
|
2185
2675
|
color: base2.white,
|
|
2186
|
-
"&:hover": { backgroundColor:
|
|
2676
|
+
"&:hover": { backgroundColor: buttonColors6.primary.bgHover }
|
|
2187
2677
|
}
|
|
2188
2678
|
}
|
|
2189
2679
|
}
|
|
@@ -2205,7 +2695,7 @@ function buildThemeOptions(tokens) {
|
|
|
2205
2695
|
};
|
|
2206
2696
|
}
|
|
2207
2697
|
function buildTheme(tokens) {
|
|
2208
|
-
return
|
|
2698
|
+
return (0, import_styles.createTheme)(buildThemeOptions(tokens));
|
|
2209
2699
|
}
|
|
2210
2700
|
|
|
2211
2701
|
// src/theme/presets/forest-external.ts
|
|
@@ -2494,6 +2984,11 @@ var forestExternalPreset = {
|
|
|
2494
2984
|
|
|
2495
2985
|
// src/theme/presets/forest-agency.ts
|
|
2496
2986
|
var colors = {
|
|
2987
|
+
base,
|
|
2988
|
+
error,
|
|
2989
|
+
warning,
|
|
2990
|
+
success,
|
|
2991
|
+
info,
|
|
2497
2992
|
brand: {
|
|
2498
2993
|
25: gray[25],
|
|
2499
2994
|
50: gray[50],
|
|
@@ -2509,7 +3004,10 @@ var colors = {
|
|
|
2509
3004
|
800: gray[950],
|
|
2510
3005
|
900: gray[950],
|
|
2511
3006
|
950: gray[950]
|
|
2512
|
-
}
|
|
3007
|
+
},
|
|
3008
|
+
accent: red,
|
|
3009
|
+
gray
|
|
3010
|
+
};
|
|
2513
3011
|
var radius3 = {
|
|
2514
3012
|
...radius,
|
|
2515
3013
|
xxs: 1,
|
|
@@ -3077,11 +3575,321 @@ var forestInternalPreset = {
|
|
|
3077
3575
|
}
|
|
3078
3576
|
};
|
|
3079
3577
|
|
|
3578
|
+
// src/theme/presets/forest-alkemy-plus.ts
|
|
3579
|
+
var colors2 = {
|
|
3580
|
+
base,
|
|
3581
|
+
error,
|
|
3582
|
+
warning,
|
|
3583
|
+
success,
|
|
3584
|
+
info,
|
|
3585
|
+
brand: {
|
|
3586
|
+
25: gray[25],
|
|
3587
|
+
50: gray[50],
|
|
3588
|
+
100: gray[100],
|
|
3589
|
+
200: gray[200],
|
|
3590
|
+
300: gray[300],
|
|
3591
|
+
400: gray[400],
|
|
3592
|
+
500: gray[500],
|
|
3593
|
+
600: gray[900],
|
|
3594
|
+
// #18181b - dark brand
|
|
3595
|
+
700: gray[950],
|
|
3596
|
+
// #09090b - primary brand
|
|
3597
|
+
800: gray[950],
|
|
3598
|
+
900: gray[950],
|
|
3599
|
+
950: gray[950]
|
|
3600
|
+
},
|
|
3601
|
+
accent: red,
|
|
3602
|
+
gray
|
|
3603
|
+
};
|
|
3604
|
+
var radius5 = {
|
|
3605
|
+
...radius,
|
|
3606
|
+
xxs: 1,
|
|
3607
|
+
xs: 2,
|
|
3608
|
+
sm: 3,
|
|
3609
|
+
md: 4,
|
|
3610
|
+
lg: 5,
|
|
3611
|
+
xl: 6,
|
|
3612
|
+
"2xl": 8,
|
|
3613
|
+
"3xl": 10,
|
|
3614
|
+
"4xl": 12
|
|
3615
|
+
};
|
|
3616
|
+
var text5 = {
|
|
3617
|
+
primary: gray[900],
|
|
3618
|
+
secondary: gray[700],
|
|
3619
|
+
secondaryHover: gray[800],
|
|
3620
|
+
tertiary: gray[600],
|
|
3621
|
+
tertiaryHover: gray[700],
|
|
3622
|
+
quaternary: gray[500],
|
|
3623
|
+
disabled: gray[500],
|
|
3624
|
+
placeholder: gray[500],
|
|
3625
|
+
placeholderSubtle: gray[300],
|
|
3626
|
+
white: base.white,
|
|
3627
|
+
brandPrimary: colors2.brand[900],
|
|
3628
|
+
brandSecondary: colors2.brand[700],
|
|
3629
|
+
brandTertiary: colors2.brand[600],
|
|
3630
|
+
brandTertiaryAlt: colors2.brand[600],
|
|
3631
|
+
primaryOnBrand: base.white,
|
|
3632
|
+
secondaryOnBrand: colors2.brand[200],
|
|
3633
|
+
tertiaryOnBrand: colors2.brand[200],
|
|
3634
|
+
quaternaryOnBrand: colors2.brand[300],
|
|
3635
|
+
errorPrimary: error[600],
|
|
3636
|
+
warningPrimary: warning[600],
|
|
3637
|
+
successPrimary: success[600]
|
|
3638
|
+
};
|
|
3639
|
+
var bg5 = {
|
|
3640
|
+
primary: gray[50],
|
|
3641
|
+
primaryAlt: gray[50],
|
|
3642
|
+
primaryHover: gray[100],
|
|
3643
|
+
primarySolid: gray[950],
|
|
3644
|
+
secondary: base.white,
|
|
3645
|
+
secondaryAlt: base.white,
|
|
3646
|
+
secondarySubtle: gray[25],
|
|
3647
|
+
secondaryHover: gray[50],
|
|
3648
|
+
secondarySolid: gray[600],
|
|
3649
|
+
tertiary: gray[100],
|
|
3650
|
+
quaternary: gray[200],
|
|
3651
|
+
active: gray[200],
|
|
3652
|
+
disabled: gray[100],
|
|
3653
|
+
disabledSubtle: gray[50],
|
|
3654
|
+
overlay: gray[950],
|
|
3655
|
+
brandPrimary: colors2.brand[50],
|
|
3656
|
+
brandPrimaryAlt: colors2.brand[50],
|
|
3657
|
+
brandSecondary: colors2.brand[100],
|
|
3658
|
+
brandSolid: colors2.brand[600],
|
|
3659
|
+
brandSolidHover: colors2.brand[700],
|
|
3660
|
+
brandSection: colors2.brand[800],
|
|
3661
|
+
brandSectionSubtle: colors2.brand[700],
|
|
3662
|
+
errorPrimary: error[50],
|
|
3663
|
+
errorSecondary: error[100],
|
|
3664
|
+
errorSolid: error[600],
|
|
3665
|
+
warningPrimary: warning[50],
|
|
3666
|
+
warningSecondary: warning[100],
|
|
3667
|
+
warningSolid: warning[600],
|
|
3668
|
+
successPrimary: success[50],
|
|
3669
|
+
successSecondary: success[100],
|
|
3670
|
+
successSolid: success[600]
|
|
3671
|
+
};
|
|
3672
|
+
var fg5 = {
|
|
3673
|
+
primary: gray[900],
|
|
3674
|
+
secondary: gray[700],
|
|
3675
|
+
secondaryHover: gray[800],
|
|
3676
|
+
tertiary: gray[600],
|
|
3677
|
+
tertiaryHover: gray[700],
|
|
3678
|
+
quaternary: gray[500],
|
|
3679
|
+
quaternaryHover: gray[600],
|
|
3680
|
+
quinary: gray[400],
|
|
3681
|
+
quinaryHover: gray[500],
|
|
3682
|
+
senary: gray[300],
|
|
3683
|
+
white: base.white,
|
|
3684
|
+
disabled: gray[400],
|
|
3685
|
+
disabledSubtle: gray[300],
|
|
3686
|
+
brandPrimary: colors2.brand[600],
|
|
3687
|
+
brandPrimaryAlt: colors2.brand[600],
|
|
3688
|
+
brandSecondary: colors2.brand[500],
|
|
3689
|
+
errorPrimary: error[600],
|
|
3690
|
+
errorSecondary: error[500],
|
|
3691
|
+
warningPrimary: warning[600],
|
|
3692
|
+
warningSecondary: warning[500],
|
|
3693
|
+
successPrimary: success[600],
|
|
3694
|
+
successSecondary: success[500]
|
|
3695
|
+
};
|
|
3696
|
+
var border5 = {
|
|
3697
|
+
primary: gray[300],
|
|
3698
|
+
secondary: gray[200],
|
|
3699
|
+
tertiary: gray[100],
|
|
3700
|
+
disabled: gray[300],
|
|
3701
|
+
disabledSubtle: gray[200],
|
|
3702
|
+
brand: gray[400],
|
|
3703
|
+
brandSolid: colors2.brand[600],
|
|
3704
|
+
brandSolidAlt: colors2.brand[600],
|
|
3705
|
+
error: error[300],
|
|
3706
|
+
errorSolid: error[600]
|
|
3707
|
+
};
|
|
3708
|
+
var buttonColors5 = {
|
|
3709
|
+
primary: {
|
|
3710
|
+
bg: colors2.brand[700],
|
|
3711
|
+
bgHover: colors2.brand[800],
|
|
3712
|
+
fg: base.white,
|
|
3713
|
+
fgHover: base.white,
|
|
3714
|
+
border: colors2.brand[700],
|
|
3715
|
+
borderHover: colors2.brand[800]
|
|
3716
|
+
},
|
|
3717
|
+
secondary: {
|
|
3718
|
+
bg: gray[900],
|
|
3719
|
+
bgHover: gray[950],
|
|
3720
|
+
fg: base.white,
|
|
3721
|
+
fgHover: base.white,
|
|
3722
|
+
border: gray[900],
|
|
3723
|
+
borderHover: gray[950]
|
|
3724
|
+
},
|
|
3725
|
+
secondaryColor: {
|
|
3726
|
+
bg: base.white,
|
|
3727
|
+
bgHover: colors2.brand[50],
|
|
3728
|
+
fg: colors2.brand[700],
|
|
3729
|
+
fgHover: colors2.brand[800],
|
|
3730
|
+
border: colors2.brand[300],
|
|
3731
|
+
borderHover: colors2.brand[300]
|
|
3732
|
+
},
|
|
3733
|
+
tertiary: {
|
|
3734
|
+
fg: gray[600],
|
|
3735
|
+
fgHover: gray[700],
|
|
3736
|
+
bgHover: gray[50]
|
|
3737
|
+
},
|
|
3738
|
+
tertiaryColor: {
|
|
3739
|
+
fg: colors2.brand[700],
|
|
3740
|
+
fgHover: colors2.brand[800],
|
|
3741
|
+
bgHover: colors2.brand[50]
|
|
3742
|
+
},
|
|
3743
|
+
primaryError: {
|
|
3744
|
+
bg: error[600],
|
|
3745
|
+
bgHover: error[700],
|
|
3746
|
+
fg: base.white,
|
|
3747
|
+
fgHover: base.white,
|
|
3748
|
+
border: error[600],
|
|
3749
|
+
borderHover: error[700]
|
|
3750
|
+
},
|
|
3751
|
+
secondaryError: {
|
|
3752
|
+
bg: base.white,
|
|
3753
|
+
bgHover: error[50],
|
|
3754
|
+
fg: error[700],
|
|
3755
|
+
fgHover: error[800],
|
|
3756
|
+
border: error[300],
|
|
3757
|
+
borderHover: error[300]
|
|
3758
|
+
},
|
|
3759
|
+
tertiaryError: {
|
|
3760
|
+
fg: error[700],
|
|
3761
|
+
fgHover: error[800],
|
|
3762
|
+
bgHover: error[50]
|
|
3763
|
+
}
|
|
3764
|
+
};
|
|
3765
|
+
var avatarColors5 = {
|
|
3766
|
+
bg: gray[100],
|
|
3767
|
+
contrastBorder: "#00000014",
|
|
3768
|
+
profilePhotoBorder: base.white,
|
|
3769
|
+
focusBorder: "#a0a0a624"
|
|
3770
|
+
// gray[400] + 14% alpha
|
|
3771
|
+
};
|
|
3772
|
+
var breadcrumbColors5 = {
|
|
3773
|
+
fg: gray[600],
|
|
3774
|
+
fgHover: gray[700],
|
|
3775
|
+
bgHover: gray[50],
|
|
3776
|
+
brandBgHover: colors2.brand[50],
|
|
3777
|
+
brandFgHover: colors2.brand[700],
|
|
3778
|
+
iconFg: gray[500],
|
|
3779
|
+
iconFgHover: gray[700],
|
|
3780
|
+
brandIconFgHover: colors2.brand[700]
|
|
3781
|
+
};
|
|
3782
|
+
var iconColors5 = {
|
|
3783
|
+
fgBrand: colors2.brand[600],
|
|
3784
|
+
fgBrandOnBrand: colors2.brand[200],
|
|
3785
|
+
featuredModernBorder: gray[200],
|
|
3786
|
+
featuredLightFgBrand: colors2.brand[600],
|
|
3787
|
+
featuredLightFgGray: gray[500],
|
|
3788
|
+
featuredLightFgError: error[600],
|
|
3789
|
+
featuredLightFgWarning: warning[600],
|
|
3790
|
+
featuredLightFgSuccess: success[600],
|
|
3791
|
+
featuredDarkFgBrand: base.white,
|
|
3792
|
+
featuredDarkFgGray: base.white,
|
|
3793
|
+
featuredDarkFgError: base.white,
|
|
3794
|
+
featuredDarkFgWarning: base.white,
|
|
3795
|
+
featuredDarkFgSuccess: base.white
|
|
3796
|
+
};
|
|
3797
|
+
var navColors5 = {
|
|
3798
|
+
itemIconFg: gray[500],
|
|
3799
|
+
itemIconFgActive: gray[700],
|
|
3800
|
+
itemButtonIconFg: gray[500],
|
|
3801
|
+
itemButtonIconFgActive: gray[700]
|
|
3802
|
+
};
|
|
3803
|
+
var sliderColors5 = {
|
|
3804
|
+
handleBorder: colors2.brand[600],
|
|
3805
|
+
handleBg: base.white
|
|
3806
|
+
};
|
|
3807
|
+
var toggleColors5 = {
|
|
3808
|
+
buttonFgDisabled: gray[50]
|
|
3809
|
+
};
|
|
3810
|
+
var chartColors5 = {
|
|
3811
|
+
axisFg: gray[100],
|
|
3812
|
+
gridlineFg: gray[100],
|
|
3813
|
+
labelFg: gray[600],
|
|
3814
|
+
labelFgEmphasis: gray[700],
|
|
3815
|
+
bg: base.white,
|
|
3816
|
+
bgAlt: gray[50],
|
|
3817
|
+
tooltipBg: gray[950],
|
|
3818
|
+
tooltipFg: base.white,
|
|
3819
|
+
crosshairFg: gray[500],
|
|
3820
|
+
legendFg: text5.tertiary,
|
|
3821
|
+
series: [
|
|
3822
|
+
{ fg: misc.purple[500], fgHover: misc.purple[600], bg: misc.purple[100], bgHover: misc.purple[200] },
|
|
3823
|
+
{ fg: misc.orangeDark[400], fgHover: misc.orangeDark[500], bg: misc.orangeDark[100], bgHover: misc.orangeDark[200] },
|
|
3824
|
+
{ fg: misc.teal[300], fgHover: misc.teal[400], bg: misc.teal[50], bgHover: misc.teal[100] },
|
|
3825
|
+
{ fg: warning[400], fgHover: warning[500], bg: warning[100], bgHover: warning[200] },
|
|
3826
|
+
{ fg: misc.rose[400], fgHover: misc.rose[500], bg: misc.rose[100], bgHover: misc.rose[200] },
|
|
3827
|
+
{ fg: misc.blueLight[400], fgHover: misc.blueLight[500], bg: misc.blueLight[100], bgHover: misc.blueLight[200] },
|
|
3828
|
+
{ fg: misc.orange[300], fgHover: misc.orange[400], bg: misc.orange[100], bgHover: misc.orange[200] },
|
|
3829
|
+
{ fg: misc.cyan[600], fgHover: misc.cyan[700], bg: misc.cyan[100], bgHover: misc.cyan[200] },
|
|
3830
|
+
{ fg: misc.green[500], fgHover: misc.green[600], bg: misc.green[100], bgHover: misc.green[200] },
|
|
3831
|
+
{ fg: misc.pink[400], fgHover: misc.pink[500], bg: misc.pink[100], bgHover: misc.pink[200] },
|
|
3832
|
+
{ fg: misc.fuchsia[400], fgHover: misc.fuchsia[500], bg: misc.fuchsia[100], bgHover: misc.fuchsia[200] },
|
|
3833
|
+
{ fg: misc.teal[600], fgHover: misc.teal[700], bg: misc.teal[100], bgHover: misc.teal[200] }
|
|
3834
|
+
]
|
|
3835
|
+
};
|
|
3836
|
+
var focusRings5 = {
|
|
3837
|
+
brand: "0px 0px 0px 4px #4040403d",
|
|
3838
|
+
brandShadowXs: "0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #4040403d",
|
|
3839
|
+
brandShadowSm: "0px 1px 3px 0px #1018281a, 0px 1px 2px 0px #1018280f, 0px 0px 0px 4px #4040403d",
|
|
3840
|
+
gray: "0px 0px 0px 4px #a0a0a624",
|
|
3841
|
+
grayShadowXs: "0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #a0a0a624",
|
|
3842
|
+
grayShadowSm: "0px 1px 3px 0px #1018281a, 0px 1px 2px 0px #1018280f, 0px 0px 0px 4px #a0a0a624",
|
|
3843
|
+
error: "0px 0px 0px 4px #f044383d",
|
|
3844
|
+
errorShadowXs: "0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #f044383d"
|
|
3845
|
+
};
|
|
3846
|
+
var forestAlkemyPlusPreset = {
|
|
3847
|
+
name: "forest-alkemy+",
|
|
3848
|
+
defaultVariant: "light",
|
|
3849
|
+
variants: {
|
|
3850
|
+
light: {
|
|
3851
|
+
tokens: {
|
|
3852
|
+
base,
|
|
3853
|
+
error,
|
|
3854
|
+
warning,
|
|
3855
|
+
success,
|
|
3856
|
+
info,
|
|
3857
|
+
spacing,
|
|
3858
|
+
radius: radius5,
|
|
3859
|
+
shadows,
|
|
3860
|
+
focusRings: focusRings5,
|
|
3861
|
+
fontFamily: '"Aeonik", sans-serif',
|
|
3862
|
+
fontFamilyMono: '"Aeonik Mono", monospace',
|
|
3863
|
+
fontSize,
|
|
3864
|
+
lineHeight,
|
|
3865
|
+
fontWeight,
|
|
3866
|
+
display,
|
|
3867
|
+
container,
|
|
3868
|
+
widths,
|
|
3869
|
+
text: text5,
|
|
3870
|
+
bg: bg5,
|
|
3871
|
+
fg: fg5,
|
|
3872
|
+
border: border5,
|
|
3873
|
+
buttonColors: buttonColors5,
|
|
3874
|
+
avatarColors: avatarColors5,
|
|
3875
|
+
breadcrumbColors: breadcrumbColors5,
|
|
3876
|
+
iconColors: iconColors5,
|
|
3877
|
+
navColors: navColors5,
|
|
3878
|
+
sliderColors: sliderColors5,
|
|
3879
|
+
toggleColors: toggleColors5,
|
|
3880
|
+
chartColors: chartColors5,
|
|
3881
|
+
alpha
|
|
3882
|
+
}
|
|
3883
|
+
}
|
|
3884
|
+
}
|
|
3885
|
+
};
|
|
3886
|
+
|
|
3080
3887
|
// src/theme/presets/index.ts
|
|
3081
3888
|
var presetRegistry = /* @__PURE__ */ new Map();
|
|
3082
3889
|
presetRegistry.set(forestExternalPreset.name, forestExternalPreset);
|
|
3083
3890
|
presetRegistry.set(forestAgencyPreset.name, forestAgencyPreset);
|
|
3084
3891
|
presetRegistry.set(forestInternalPreset.name, forestInternalPreset);
|
|
3892
|
+
presetRegistry.set(forestAlkemyPlusPreset.name, forestAlkemyPlusPreset);
|
|
3085
3893
|
function getPreset(name) {
|
|
3086
3894
|
return presetRegistry.get(name);
|
|
3087
3895
|
}
|
|
@@ -3096,51 +3904,53 @@ function getAvailablePresets() {
|
|
|
3096
3904
|
var agencyTokens = forestAgencyPreset.variants.light.tokens;
|
|
3097
3905
|
var forestTheme = buildTheme(agencyTokens);
|
|
3098
3906
|
var forestThemeOptions = buildThemeOptions(agencyTokens);
|
|
3099
|
-
|
|
3100
|
-
exports
|
|
3101
|
-
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
|
|
3105
|
-
|
|
3106
|
-
|
|
3107
|
-
|
|
3108
|
-
|
|
3109
|
-
|
|
3110
|
-
|
|
3111
|
-
|
|
3112
|
-
|
|
3113
|
-
|
|
3114
|
-
|
|
3115
|
-
|
|
3116
|
-
|
|
3117
|
-
|
|
3118
|
-
|
|
3119
|
-
|
|
3120
|
-
|
|
3121
|
-
|
|
3122
|
-
|
|
3123
|
-
|
|
3124
|
-
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
|
|
3132
|
-
|
|
3133
|
-
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
|
|
3143
|
-
|
|
3144
|
-
|
|
3145
|
-
|
|
3907
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
3908
|
+
0 && (module.exports = {
|
|
3909
|
+
alpha,
|
|
3910
|
+
avatarColors,
|
|
3911
|
+
base,
|
|
3912
|
+
bg,
|
|
3913
|
+
border,
|
|
3914
|
+
breadcrumbColors,
|
|
3915
|
+
buildTheme,
|
|
3916
|
+
buildThemeOptions,
|
|
3917
|
+
buttonColors,
|
|
3918
|
+
chartColors,
|
|
3919
|
+
container,
|
|
3920
|
+
display,
|
|
3921
|
+
error,
|
|
3922
|
+
fg,
|
|
3923
|
+
focusRings,
|
|
3924
|
+
fontFamily,
|
|
3925
|
+
fontFamilyMono,
|
|
3926
|
+
fontSize,
|
|
3927
|
+
fontWeight,
|
|
3928
|
+
forestAgencyPreset,
|
|
3929
|
+
forestAlkemyPlusPreset,
|
|
3930
|
+
forestExternalPreset,
|
|
3931
|
+
forestInternalPreset,
|
|
3932
|
+
forestTheme,
|
|
3933
|
+
forestThemeOptions,
|
|
3934
|
+
getAvailablePresets,
|
|
3935
|
+
getPreset,
|
|
3936
|
+
gray,
|
|
3937
|
+
iconColors,
|
|
3938
|
+
info,
|
|
3939
|
+
lineHeight,
|
|
3940
|
+
magenta,
|
|
3941
|
+
misc,
|
|
3942
|
+
navColors,
|
|
3943
|
+
radius,
|
|
3944
|
+
red,
|
|
3945
|
+
registerPreset,
|
|
3946
|
+
shadows,
|
|
3947
|
+
sliderColors,
|
|
3948
|
+
spacing,
|
|
3949
|
+
success,
|
|
3950
|
+
text,
|
|
3951
|
+
toggleColors,
|
|
3952
|
+
violet,
|
|
3953
|
+
warning,
|
|
3954
|
+
widths
|
|
3955
|
+
});
|
|
3146
3956
|
//# sourceMappingURL=theme.js.map
|