bluconndesign 1.0.0
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/README.md +95 -0
- package/dist/index.d.mts +2178 -0
- package/dist/index.d.ts +2178 -0
- package/dist/index.js +12390 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +12277 -0
- package/dist/index.mjs.map +1 -0
- package/dist/theme/index.d.mts +102 -0
- package/dist/theme/index.d.ts +102 -0
- package/dist/theme/index.js +2262 -0
- package/dist/theme/index.js.map +1 -0
- package/dist/theme/index.mjs +2139 -0
- package/dist/theme/index.mjs.map +1 -0
- package/dist/theme-BTyiMh3f.d.mts +310 -0
- package/dist/theme-BTyiMh3f.d.ts +310 -0
- package/package.json +64 -0
|
@@ -0,0 +1,2139 @@
|
|
|
1
|
+
// src/theme/theme.ts
|
|
2
|
+
import { createTheme } from "@mui/material/styles";
|
|
3
|
+
|
|
4
|
+
// src/theme/types.ts
|
|
5
|
+
import "@mui/material/styles";
|
|
6
|
+
|
|
7
|
+
// src/tokens/tokens.json
|
|
8
|
+
var tokens_default = {
|
|
9
|
+
color: {
|
|
10
|
+
primary: {
|
|
11
|
+
"25": "#F2FDF6",
|
|
12
|
+
"50": "#D4F7E1",
|
|
13
|
+
"100": "#B5F2CC",
|
|
14
|
+
"200": "#97EDB8",
|
|
15
|
+
"300": "#78E8A1",
|
|
16
|
+
"400": "#5AE28C",
|
|
17
|
+
"500": "#3BDD77",
|
|
18
|
+
"600": "#1EAB52",
|
|
19
|
+
"700": "#1A9849",
|
|
20
|
+
"800": "#176B34",
|
|
21
|
+
"900": "#134C25",
|
|
22
|
+
"950": "#102D16"
|
|
23
|
+
},
|
|
24
|
+
base: {
|
|
25
|
+
white: "#FFFFFF",
|
|
26
|
+
black: "#000000",
|
|
27
|
+
transparent: "#FFFFFF 10%"
|
|
28
|
+
},
|
|
29
|
+
gray: {
|
|
30
|
+
"25": "#FDFDFD",
|
|
31
|
+
"50": "#FAFAFA",
|
|
32
|
+
"100": "#F5F5F5",
|
|
33
|
+
"200": "#E9EAEB",
|
|
34
|
+
"300": "#D5D7DA",
|
|
35
|
+
"400": "#A4A7AE",
|
|
36
|
+
"500": "#717680",
|
|
37
|
+
"600": "#535862",
|
|
38
|
+
"700": "#414651",
|
|
39
|
+
"800": "#252B37",
|
|
40
|
+
"900": "#181D27",
|
|
41
|
+
"950": "#0A0D12"
|
|
42
|
+
},
|
|
43
|
+
"gray-dark": {
|
|
44
|
+
"25": "#FAFAFA",
|
|
45
|
+
"50": "#F7F7F7",
|
|
46
|
+
"100": "#F0F0F1",
|
|
47
|
+
"200": "#ECECED",
|
|
48
|
+
"300": "#CECFD2",
|
|
49
|
+
"400": "#94979C",
|
|
50
|
+
"500": "#85888E",
|
|
51
|
+
"600": "#61656C",
|
|
52
|
+
"700": "#52565D",
|
|
53
|
+
"800": "#3E4248",
|
|
54
|
+
"900": "#24272C",
|
|
55
|
+
"950": "#1A1C1F"
|
|
56
|
+
},
|
|
57
|
+
error: {
|
|
58
|
+
"25": "#FFFBFA",
|
|
59
|
+
"50": "#FEF3F2",
|
|
60
|
+
"100": "#FEE4E2",
|
|
61
|
+
"200": "#FECDCA",
|
|
62
|
+
"300": "#FDA29B",
|
|
63
|
+
"400": "#F97066",
|
|
64
|
+
"500": "#F04438",
|
|
65
|
+
"600": "#D92D20",
|
|
66
|
+
"700": "#B42318",
|
|
67
|
+
"800": "#912018",
|
|
68
|
+
"900": "#7A271A",
|
|
69
|
+
"950": "#55160C"
|
|
70
|
+
},
|
|
71
|
+
success: {
|
|
72
|
+
"25": "#F6FEF9",
|
|
73
|
+
"50": "#ECFDF3",
|
|
74
|
+
"100": "#DCFAE6",
|
|
75
|
+
"200": "#ABEFC6",
|
|
76
|
+
"300": "#75E0A7",
|
|
77
|
+
"400": "#47CD89",
|
|
78
|
+
"500": "#17B26A",
|
|
79
|
+
"600": "#079455",
|
|
80
|
+
"700": "#067647",
|
|
81
|
+
"800": "#085D3A",
|
|
82
|
+
"900": "#074D31",
|
|
83
|
+
"950": "#053321"
|
|
84
|
+
},
|
|
85
|
+
warning: {
|
|
86
|
+
"25": "#FFFCF5",
|
|
87
|
+
"50": "#FFFAEB",
|
|
88
|
+
"100": "#FEF0C7",
|
|
89
|
+
"200": "#FEDF89",
|
|
90
|
+
"300": "#FEC84B",
|
|
91
|
+
"400": "#FDB022",
|
|
92
|
+
"500": "#F79009",
|
|
93
|
+
"600": "#DC6803",
|
|
94
|
+
"700": "#B54708",
|
|
95
|
+
"800": "#93370D",
|
|
96
|
+
"900": "#7A2E0E",
|
|
97
|
+
"950": "#4E1D09"
|
|
98
|
+
},
|
|
99
|
+
secondary: {
|
|
100
|
+
"25": "#FDFDFD",
|
|
101
|
+
"50": "#F4F4F4",
|
|
102
|
+
"100": "#F1F1F1",
|
|
103
|
+
"200": "#E9EAEE",
|
|
104
|
+
"300": "#D5D7DA",
|
|
105
|
+
"400": "#A4A7AE",
|
|
106
|
+
"500": "#717680",
|
|
107
|
+
"600": "#535862",
|
|
108
|
+
"700": "#414651",
|
|
109
|
+
"800": "#252B37",
|
|
110
|
+
"900": "#181D27",
|
|
111
|
+
"950": "#0A0D12"
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
spacing: {
|
|
115
|
+
xxs: "2px",
|
|
116
|
+
xs: "4px",
|
|
117
|
+
sm: "6px",
|
|
118
|
+
md: "8px",
|
|
119
|
+
lg: "12px",
|
|
120
|
+
xl: "16px",
|
|
121
|
+
"2xl": "20px",
|
|
122
|
+
"3xl": "24px",
|
|
123
|
+
"4xl": "32px",
|
|
124
|
+
"5xl": "40px",
|
|
125
|
+
"6xl": "48px",
|
|
126
|
+
"7xl": "64px",
|
|
127
|
+
"8xl": "80px",
|
|
128
|
+
"9xl": "96px"
|
|
129
|
+
},
|
|
130
|
+
typography: {
|
|
131
|
+
fontFamily: {
|
|
132
|
+
display: "DM Sans, sans-serif",
|
|
133
|
+
body: "DM Sans, sans-serif"
|
|
134
|
+
},
|
|
135
|
+
fontWeight: {
|
|
136
|
+
regular: "400",
|
|
137
|
+
medium: "500",
|
|
138
|
+
semibold: "600",
|
|
139
|
+
bold: "700"
|
|
140
|
+
},
|
|
141
|
+
fontSize: {
|
|
142
|
+
"display-2xl": "72px",
|
|
143
|
+
"display-xl": "60px",
|
|
144
|
+
"display-lg": "48px",
|
|
145
|
+
"display-md": "36px",
|
|
146
|
+
"display-sm": "30px",
|
|
147
|
+
"display-xs": "24px",
|
|
148
|
+
"text-xl": "20px",
|
|
149
|
+
"text-lg": "18px",
|
|
150
|
+
"text-md": "16px",
|
|
151
|
+
"text-sm": "14px",
|
|
152
|
+
"text-xs": "12px"
|
|
153
|
+
},
|
|
154
|
+
lineHeight: {
|
|
155
|
+
"display-2xl": "90px",
|
|
156
|
+
"display-xl": "72px",
|
|
157
|
+
"display-lg": "60px",
|
|
158
|
+
"display-md": "44px",
|
|
159
|
+
"display-sm": "38px",
|
|
160
|
+
"display-xs": "32px",
|
|
161
|
+
"text-xl": "30px",
|
|
162
|
+
"text-lg": "28px",
|
|
163
|
+
"text-md": "24px",
|
|
164
|
+
"text-sm": "20px",
|
|
165
|
+
"text-xs": "18px"
|
|
166
|
+
},
|
|
167
|
+
letterSpacing: {
|
|
168
|
+
"display-2xl": "-2%",
|
|
169
|
+
"display-xl": "-2%",
|
|
170
|
+
"display-lg": "-2%",
|
|
171
|
+
"display-md": "-2%",
|
|
172
|
+
"display-sm": "0",
|
|
173
|
+
"display-xs": "0",
|
|
174
|
+
"text-xl": "0",
|
|
175
|
+
"text-lg": "0",
|
|
176
|
+
"text-md": "0",
|
|
177
|
+
"text-sm": "0",
|
|
178
|
+
"text-xs": "0"
|
|
179
|
+
}
|
|
180
|
+
},
|
|
181
|
+
borderRadius: {
|
|
182
|
+
sm: 6,
|
|
183
|
+
md: 8,
|
|
184
|
+
lg: 10,
|
|
185
|
+
xl: 12,
|
|
186
|
+
full: 9999
|
|
187
|
+
},
|
|
188
|
+
shadows: {
|
|
189
|
+
xs: "0px 1px 2px 0px rgba(10, 13, 18, 0.05)",
|
|
190
|
+
sm: "0px 1px 2px 0px rgba(10, 13, 18, 0.06), 0px 1px 3px 0px rgba(10, 13, 18, 0.1)",
|
|
191
|
+
md: "0px 2px 4px -2px rgba(10, 13, 18, 0.06), 0px 4px 8px -2px rgba(10, 13, 18, 0.1)",
|
|
192
|
+
lg: "0px 4px 6px -2px rgba(10, 13, 18, 0.03), 0px 12px 16px -4px rgba(10, 13, 18, 0.08)",
|
|
193
|
+
xl: "0px 8px 8px -4px rgba(10, 13, 18, 0.03), 0px 20px 24px -4px rgba(10, 13, 18, 0.08)",
|
|
194
|
+
"2xl": "0px 24px 48px -12px rgba(10, 13, 18, 0.18)",
|
|
195
|
+
"3xl": "0px 32px 64px -12px rgba(10, 13, 18, 0.14)",
|
|
196
|
+
"skeumorphic-inner": "inset 0px -2px 0px 0px rgba(10, 13, 18, 0.05)",
|
|
197
|
+
"skeumorphic-inner-border": "inset 0px 0px 0px 1px rgba(10, 13, 18, 0.06)"
|
|
198
|
+
},
|
|
199
|
+
effects: {
|
|
200
|
+
focusRings: {
|
|
201
|
+
"focus-ring": "#3BDD77",
|
|
202
|
+
"focus-ring-error": "#F04438"
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
};
|
|
206
|
+
|
|
207
|
+
// src/theme/colour.ts
|
|
208
|
+
var colorTokens = tokens_default.color;
|
|
209
|
+
var palette = {
|
|
210
|
+
primary: {
|
|
211
|
+
main: colorTokens.primary["500"],
|
|
212
|
+
light: colorTokens.primary["100"],
|
|
213
|
+
dark: colorTokens.primary["900"]
|
|
214
|
+
},
|
|
215
|
+
secondary: {
|
|
216
|
+
main: colorTokens.secondary["500"],
|
|
217
|
+
light: colorTokens.secondary["100"],
|
|
218
|
+
dark: colorTokens.secondary["900"]
|
|
219
|
+
},
|
|
220
|
+
error: {
|
|
221
|
+
main: colorTokens.error["500"],
|
|
222
|
+
light: colorTokens.error["100"],
|
|
223
|
+
dark: colorTokens.error["900"]
|
|
224
|
+
},
|
|
225
|
+
success: {
|
|
226
|
+
main: colorTokens.success["500"],
|
|
227
|
+
light: colorTokens.success["100"],
|
|
228
|
+
dark: colorTokens.success["900"]
|
|
229
|
+
},
|
|
230
|
+
warning: {
|
|
231
|
+
main: colorTokens.warning["500"],
|
|
232
|
+
light: colorTokens.warning["100"],
|
|
233
|
+
dark: colorTokens.warning["900"]
|
|
234
|
+
}
|
|
235
|
+
};
|
|
236
|
+
|
|
237
|
+
// src/theme/typography.ts
|
|
238
|
+
var { fontFamily, fontWeight, fontSize, lineHeight, letterSpacing } = tokens_default.typography;
|
|
239
|
+
var typography = {
|
|
240
|
+
fontFamily: fontFamily.body,
|
|
241
|
+
h1: {
|
|
242
|
+
fontFamily: fontFamily.display,
|
|
243
|
+
fontSize: fontSize["display-2xl"],
|
|
244
|
+
fontWeight: parseInt(fontWeight.bold),
|
|
245
|
+
lineHeight: lineHeight["display-2xl"],
|
|
246
|
+
letterSpacing: letterSpacing["display-2xl"]
|
|
247
|
+
},
|
|
248
|
+
h2: {
|
|
249
|
+
fontFamily: fontFamily.display,
|
|
250
|
+
fontSize: fontSize["display-xl"],
|
|
251
|
+
fontWeight: parseInt(fontWeight.bold),
|
|
252
|
+
lineHeight: lineHeight["display-xl"],
|
|
253
|
+
letterSpacing: letterSpacing["display-xl"]
|
|
254
|
+
},
|
|
255
|
+
h3: {
|
|
256
|
+
fontFamily: fontFamily.display,
|
|
257
|
+
fontSize: fontSize["display-lg"],
|
|
258
|
+
fontWeight: parseInt(fontWeight.semibold),
|
|
259
|
+
lineHeight: lineHeight["display-lg"],
|
|
260
|
+
letterSpacing: letterSpacing["display-lg"]
|
|
261
|
+
},
|
|
262
|
+
h4: {
|
|
263
|
+
fontFamily: fontFamily.display,
|
|
264
|
+
fontSize: fontSize["display-md"],
|
|
265
|
+
fontWeight: parseInt(fontWeight.semibold),
|
|
266
|
+
lineHeight: lineHeight["display-md"],
|
|
267
|
+
letterSpacing: letterSpacing["display-md"]
|
|
268
|
+
},
|
|
269
|
+
h5: {
|
|
270
|
+
fontFamily: fontFamily.display,
|
|
271
|
+
fontSize: fontSize["display-sm"],
|
|
272
|
+
fontWeight: parseInt(fontWeight.medium),
|
|
273
|
+
lineHeight: lineHeight["display-sm"],
|
|
274
|
+
letterSpacing: letterSpacing["display-sm"]
|
|
275
|
+
},
|
|
276
|
+
h6: {
|
|
277
|
+
fontFamily: fontFamily.display,
|
|
278
|
+
fontSize: fontSize["display-xs"],
|
|
279
|
+
fontWeight: parseInt(fontWeight.medium),
|
|
280
|
+
lineHeight: lineHeight["display-xs"],
|
|
281
|
+
letterSpacing: letterSpacing["display-xs"]
|
|
282
|
+
},
|
|
283
|
+
subtitle1: {
|
|
284
|
+
fontFamily: fontFamily.body,
|
|
285
|
+
fontSize: fontSize["text-lg"],
|
|
286
|
+
fontWeight: parseInt(fontWeight.medium),
|
|
287
|
+
lineHeight: lineHeight["text-lg"],
|
|
288
|
+
letterSpacing: letterSpacing["text-lg"]
|
|
289
|
+
},
|
|
290
|
+
subtitle2: {
|
|
291
|
+
fontFamily: fontFamily.body,
|
|
292
|
+
fontSize: fontSize["text-md"],
|
|
293
|
+
fontWeight: parseInt(fontWeight.medium),
|
|
294
|
+
lineHeight: lineHeight["text-md"],
|
|
295
|
+
letterSpacing: letterSpacing["text-md"]
|
|
296
|
+
},
|
|
297
|
+
body1: {
|
|
298
|
+
fontFamily: fontFamily.body,
|
|
299
|
+
fontSize: fontSize["text-md"],
|
|
300
|
+
fontWeight: parseInt(fontWeight.regular),
|
|
301
|
+
lineHeight: lineHeight["text-md"],
|
|
302
|
+
letterSpacing: letterSpacing["text-md"]
|
|
303
|
+
},
|
|
304
|
+
body2: {
|
|
305
|
+
fontFamily: fontFamily.body,
|
|
306
|
+
fontSize: fontSize["text-sm"],
|
|
307
|
+
fontWeight: parseInt(fontWeight.regular),
|
|
308
|
+
lineHeight: lineHeight["text-sm"],
|
|
309
|
+
letterSpacing: letterSpacing["text-sm"]
|
|
310
|
+
},
|
|
311
|
+
caption: {
|
|
312
|
+
fontFamily: fontFamily.body,
|
|
313
|
+
fontSize: fontSize["text-xs"],
|
|
314
|
+
fontWeight: parseInt(fontWeight.regular),
|
|
315
|
+
lineHeight: lineHeight["text-xs"],
|
|
316
|
+
letterSpacing: letterSpacing["text-xs"]
|
|
317
|
+
},
|
|
318
|
+
overline: {
|
|
319
|
+
fontFamily: fontFamily.body,
|
|
320
|
+
fontSize: fontSize["text-xs"],
|
|
321
|
+
fontWeight: parseInt(fontWeight.medium),
|
|
322
|
+
lineHeight: lineHeight["text-xs"],
|
|
323
|
+
letterSpacing: letterSpacing["text-xs"],
|
|
324
|
+
textTransform: "uppercase"
|
|
325
|
+
}
|
|
326
|
+
};
|
|
327
|
+
|
|
328
|
+
// src/theme/components/button.ts
|
|
329
|
+
var borderRadiusTokens = tokens_default.borderRadius;
|
|
330
|
+
var buttonOverrides = {
|
|
331
|
+
styleOverrides: {
|
|
332
|
+
root: {
|
|
333
|
+
textTransform: "none",
|
|
334
|
+
borderRadius: borderRadiusTokens.md,
|
|
335
|
+
fontWeight: tokens_default.typography.fontWeight.semibold,
|
|
336
|
+
boxShadow: "none",
|
|
337
|
+
transition: "all 0.2s ease-in-out",
|
|
338
|
+
"&:hover": {
|
|
339
|
+
boxShadow: "none"
|
|
340
|
+
}
|
|
341
|
+
},
|
|
342
|
+
// Size variants
|
|
343
|
+
sizeSmall: {
|
|
344
|
+
padding: "8px 14px",
|
|
345
|
+
fontSize: tokens_default.typography.fontSize["text-sm"],
|
|
346
|
+
lineHeight: tokens_default.typography.lineHeight["text-sm"],
|
|
347
|
+
height: "36px"
|
|
348
|
+
},
|
|
349
|
+
sizeMedium: {
|
|
350
|
+
padding: "10px 16px",
|
|
351
|
+
fontSize: tokens_default.typography.fontSize["text-sm"],
|
|
352
|
+
lineHeight: tokens_default.typography.lineHeight["text-sm"],
|
|
353
|
+
height: "40px"
|
|
354
|
+
},
|
|
355
|
+
sizeLarge: {
|
|
356
|
+
padding: "10px 18px",
|
|
357
|
+
fontSize: tokens_default.typography.fontSize["text-md"],
|
|
358
|
+
lineHeight: tokens_default.typography.lineHeight["text-md"],
|
|
359
|
+
height: "44px"
|
|
360
|
+
},
|
|
361
|
+
// Contained variant styles
|
|
362
|
+
containedPrimary: {
|
|
363
|
+
backgroundColor: tokens_default.color.primary[600],
|
|
364
|
+
color: tokens_default.color.base.white,
|
|
365
|
+
"&:hover": {
|
|
366
|
+
backgroundColor: tokens_default.color.primary[700]
|
|
367
|
+
},
|
|
368
|
+
"&:active": {
|
|
369
|
+
backgroundColor: tokens_default.color.primary[700]
|
|
370
|
+
},
|
|
371
|
+
"&.Mui-disabled": {
|
|
372
|
+
backgroundColor: tokens_default.color.secondary[100],
|
|
373
|
+
color: tokens_default.color.secondary[400]
|
|
374
|
+
}
|
|
375
|
+
},
|
|
376
|
+
containedSecondary: {
|
|
377
|
+
backgroundColor: tokens_default.color.secondary[600],
|
|
378
|
+
color: tokens_default.color.base.white,
|
|
379
|
+
"&:hover": {
|
|
380
|
+
backgroundColor: tokens_default.color.secondary[700]
|
|
381
|
+
},
|
|
382
|
+
"&:active": {
|
|
383
|
+
backgroundColor: tokens_default.color.secondary[700]
|
|
384
|
+
},
|
|
385
|
+
"&.Mui-disabled": {
|
|
386
|
+
backgroundColor: tokens_default.color.secondary[100],
|
|
387
|
+
color: tokens_default.color.secondary[400]
|
|
388
|
+
}
|
|
389
|
+
},
|
|
390
|
+
containedError: {
|
|
391
|
+
backgroundColor: tokens_default.color.error[600],
|
|
392
|
+
color: tokens_default.color.base.white,
|
|
393
|
+
"&:hover": {
|
|
394
|
+
backgroundColor: tokens_default.color.error[700]
|
|
395
|
+
},
|
|
396
|
+
"&:active": {
|
|
397
|
+
backgroundColor: tokens_default.color.error[700]
|
|
398
|
+
},
|
|
399
|
+
"&.Mui-disabled": {
|
|
400
|
+
backgroundColor: tokens_default.color.secondary[100],
|
|
401
|
+
color: tokens_default.color.secondary[400]
|
|
402
|
+
}
|
|
403
|
+
},
|
|
404
|
+
containedWarning: {
|
|
405
|
+
backgroundColor: tokens_default.color.warning[600],
|
|
406
|
+
color: tokens_default.color.base.white,
|
|
407
|
+
"&:hover": {
|
|
408
|
+
backgroundColor: tokens_default.color.warning[700]
|
|
409
|
+
},
|
|
410
|
+
"&:active": {
|
|
411
|
+
backgroundColor: tokens_default.color.warning[700]
|
|
412
|
+
},
|
|
413
|
+
"&.Mui-disabled": {
|
|
414
|
+
backgroundColor: tokens_default.color.secondary[100],
|
|
415
|
+
color: tokens_default.color.secondary[400]
|
|
416
|
+
}
|
|
417
|
+
},
|
|
418
|
+
containedSuccess: {
|
|
419
|
+
backgroundColor: tokens_default.color.success[600],
|
|
420
|
+
color: tokens_default.color.base.white,
|
|
421
|
+
"&:hover": {
|
|
422
|
+
backgroundColor: tokens_default.color.success[700]
|
|
423
|
+
},
|
|
424
|
+
"&:active": {
|
|
425
|
+
backgroundColor: tokens_default.color.success[700]
|
|
426
|
+
},
|
|
427
|
+
"&.Mui-disabled": {
|
|
428
|
+
backgroundColor: tokens_default.color.secondary[100],
|
|
429
|
+
color: tokens_default.color.secondary[400]
|
|
430
|
+
}
|
|
431
|
+
},
|
|
432
|
+
// Outlined variant styles
|
|
433
|
+
outlinedPrimary: {
|
|
434
|
+
backgroundColor: tokens_default.color.base.white,
|
|
435
|
+
color: tokens_default.color.primary[700],
|
|
436
|
+
borderColor: tokens_default.color.primary[300],
|
|
437
|
+
"&:hover": {
|
|
438
|
+
backgroundColor: tokens_default.color.primary[50],
|
|
439
|
+
borderColor: tokens_default.color.primary[300]
|
|
440
|
+
},
|
|
441
|
+
"&:active": {
|
|
442
|
+
backgroundColor: tokens_default.color.primary[50]
|
|
443
|
+
},
|
|
444
|
+
"&.Mui-disabled": {
|
|
445
|
+
backgroundColor: tokens_default.color.base.white,
|
|
446
|
+
color: tokens_default.color.secondary[300],
|
|
447
|
+
borderColor: tokens_default.color.secondary[200]
|
|
448
|
+
}
|
|
449
|
+
},
|
|
450
|
+
outlinedSecondary: {
|
|
451
|
+
backgroundColor: tokens_default.color.base.white,
|
|
452
|
+
color: tokens_default.color.secondary[700],
|
|
453
|
+
borderColor: tokens_default.color.secondary[300],
|
|
454
|
+
"&:hover": {
|
|
455
|
+
backgroundColor: tokens_default.color.secondary[50],
|
|
456
|
+
borderColor: tokens_default.color.secondary[300]
|
|
457
|
+
},
|
|
458
|
+
"&:active": {
|
|
459
|
+
backgroundColor: tokens_default.color.secondary[50]
|
|
460
|
+
},
|
|
461
|
+
"&.Mui-disabled": {
|
|
462
|
+
backgroundColor: tokens_default.color.base.white,
|
|
463
|
+
color: tokens_default.color.secondary[300],
|
|
464
|
+
borderColor: tokens_default.color.secondary[200]
|
|
465
|
+
}
|
|
466
|
+
},
|
|
467
|
+
outlinedError: {
|
|
468
|
+
backgroundColor: tokens_default.color.base.white,
|
|
469
|
+
color: tokens_default.color.error[700],
|
|
470
|
+
borderColor: tokens_default.color.error[300],
|
|
471
|
+
"&:hover": {
|
|
472
|
+
backgroundColor: tokens_default.color.error[50],
|
|
473
|
+
borderColor: tokens_default.color.error[300]
|
|
474
|
+
},
|
|
475
|
+
"&:active": {
|
|
476
|
+
backgroundColor: tokens_default.color.error[50]
|
|
477
|
+
},
|
|
478
|
+
"&.Mui-disabled": {
|
|
479
|
+
backgroundColor: tokens_default.color.base.white,
|
|
480
|
+
color: tokens_default.color.secondary[300],
|
|
481
|
+
borderColor: tokens_default.color.secondary[200]
|
|
482
|
+
}
|
|
483
|
+
},
|
|
484
|
+
outlinedWarning: {
|
|
485
|
+
backgroundColor: tokens_default.color.base.white,
|
|
486
|
+
color: tokens_default.color.warning[700],
|
|
487
|
+
borderColor: tokens_default.color.warning[300],
|
|
488
|
+
"&:hover": {
|
|
489
|
+
backgroundColor: tokens_default.color.warning[50],
|
|
490
|
+
borderColor: tokens_default.color.warning[300]
|
|
491
|
+
},
|
|
492
|
+
"&:active": {
|
|
493
|
+
backgroundColor: tokens_default.color.warning[50]
|
|
494
|
+
},
|
|
495
|
+
"&.Mui-disabled": {
|
|
496
|
+
backgroundColor: tokens_default.color.base.white,
|
|
497
|
+
color: tokens_default.color.secondary[300],
|
|
498
|
+
borderColor: tokens_default.color.secondary[200]
|
|
499
|
+
}
|
|
500
|
+
},
|
|
501
|
+
outlinedSuccess: {
|
|
502
|
+
backgroundColor: tokens_default.color.base.white,
|
|
503
|
+
color: tokens_default.color.success[700],
|
|
504
|
+
borderColor: tokens_default.color.success[300],
|
|
505
|
+
"&:hover": {
|
|
506
|
+
backgroundColor: tokens_default.color.success[50],
|
|
507
|
+
borderColor: tokens_default.color.success[300]
|
|
508
|
+
},
|
|
509
|
+
"&:active": {
|
|
510
|
+
backgroundColor: tokens_default.color.success[50]
|
|
511
|
+
},
|
|
512
|
+
"&.Mui-disabled": {
|
|
513
|
+
backgroundColor: tokens_default.color.base.white,
|
|
514
|
+
color: tokens_default.color.secondary[300],
|
|
515
|
+
borderColor: tokens_default.color.secondary[200]
|
|
516
|
+
}
|
|
517
|
+
},
|
|
518
|
+
// Text variant styles
|
|
519
|
+
textPrimary: {
|
|
520
|
+
color: tokens_default.color.primary[700],
|
|
521
|
+
"&:hover": {
|
|
522
|
+
backgroundColor: tokens_default.color.primary[50]
|
|
523
|
+
},
|
|
524
|
+
"&:active": {
|
|
525
|
+
backgroundColor: tokens_default.color.primary[50]
|
|
526
|
+
},
|
|
527
|
+
"&.Mui-disabled": {
|
|
528
|
+
color: tokens_default.color.secondary[300]
|
|
529
|
+
}
|
|
530
|
+
},
|
|
531
|
+
textSecondary: {
|
|
532
|
+
color: tokens_default.color.secondary[700],
|
|
533
|
+
"&:hover": {
|
|
534
|
+
backgroundColor: tokens_default.color.secondary[50]
|
|
535
|
+
},
|
|
536
|
+
"&:active": {
|
|
537
|
+
backgroundColor: tokens_default.color.secondary[50]
|
|
538
|
+
},
|
|
539
|
+
"&.Mui-disabled": {
|
|
540
|
+
color: tokens_default.color.secondary[300]
|
|
541
|
+
}
|
|
542
|
+
},
|
|
543
|
+
textError: {
|
|
544
|
+
color: tokens_default.color.error[700],
|
|
545
|
+
"&:hover": {
|
|
546
|
+
backgroundColor: tokens_default.color.error[50]
|
|
547
|
+
},
|
|
548
|
+
"&:active": {
|
|
549
|
+
backgroundColor: tokens_default.color.error[50]
|
|
550
|
+
},
|
|
551
|
+
"&.Mui-disabled": {
|
|
552
|
+
color: tokens_default.color.secondary[300]
|
|
553
|
+
}
|
|
554
|
+
},
|
|
555
|
+
textWarning: {
|
|
556
|
+
color: tokens_default.color.warning[700],
|
|
557
|
+
"&:hover": {
|
|
558
|
+
backgroundColor: tokens_default.color.warning[50]
|
|
559
|
+
},
|
|
560
|
+
"&:active": {
|
|
561
|
+
backgroundColor: tokens_default.color.warning[50]
|
|
562
|
+
},
|
|
563
|
+
"&.Mui-disabled": {
|
|
564
|
+
color: tokens_default.color.secondary[300]
|
|
565
|
+
}
|
|
566
|
+
},
|
|
567
|
+
textSuccess: {
|
|
568
|
+
color: tokens_default.color.success[700],
|
|
569
|
+
"&:hover": {
|
|
570
|
+
backgroundColor: tokens_default.color.success[50]
|
|
571
|
+
},
|
|
572
|
+
"&:active": {
|
|
573
|
+
backgroundColor: tokens_default.color.success[50]
|
|
574
|
+
},
|
|
575
|
+
"&.Mui-disabled": {
|
|
576
|
+
color: tokens_default.color.secondary[300]
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
}
|
|
580
|
+
};
|
|
581
|
+
|
|
582
|
+
// src/theme/components/buttonGroup.ts
|
|
583
|
+
var borderRadiusTokens2 = tokens_default.borderRadius;
|
|
584
|
+
var buttonGroupOverrides = {
|
|
585
|
+
styleOverrides: {
|
|
586
|
+
root: {
|
|
587
|
+
boxShadow: "none",
|
|
588
|
+
borderRadius: borderRadiusTokens2.md
|
|
589
|
+
},
|
|
590
|
+
grouped: {
|
|
591
|
+
"&:not(:last-of-type)": {
|
|
592
|
+
borderRight: `1px solid ${tokens_default.color.secondary[300]}`
|
|
593
|
+
},
|
|
594
|
+
"&:hover": {
|
|
595
|
+
backgroundColor: tokens_default.color.secondary[50]
|
|
596
|
+
}
|
|
597
|
+
},
|
|
598
|
+
// Outlined variant
|
|
599
|
+
groupedOutlined: {
|
|
600
|
+
borderColor: tokens_default.color.secondary[300],
|
|
601
|
+
"&:not(:last-of-type)": {
|
|
602
|
+
borderRightColor: tokens_default.color.secondary[300]
|
|
603
|
+
}
|
|
604
|
+
},
|
|
605
|
+
groupedOutlinedPrimary: {
|
|
606
|
+
borderColor: tokens_default.color.primary[300],
|
|
607
|
+
"&:not(:last-of-type)": {
|
|
608
|
+
borderRightColor: tokens_default.color.primary[300]
|
|
609
|
+
}
|
|
610
|
+
},
|
|
611
|
+
groupedOutlinedSecondary: {
|
|
612
|
+
borderColor: tokens_default.color.secondary[300],
|
|
613
|
+
"&:not(:last-of-type)": {
|
|
614
|
+
borderRightColor: tokens_default.color.secondary[300]
|
|
615
|
+
}
|
|
616
|
+
},
|
|
617
|
+
// Contained variant
|
|
618
|
+
groupedContained: {
|
|
619
|
+
"&:not(:last-of-type)": {
|
|
620
|
+
borderRight: `1px solid ${tokens_default.color.secondary[400]}`
|
|
621
|
+
}
|
|
622
|
+
},
|
|
623
|
+
groupedContainedPrimary: {
|
|
624
|
+
"&:not(:last-of-type)": {
|
|
625
|
+
borderRight: `1px solid ${tokens_default.color.primary[700]}`
|
|
626
|
+
}
|
|
627
|
+
},
|
|
628
|
+
// Text variant
|
|
629
|
+
groupedText: {
|
|
630
|
+
"&:not(:last-of-type)": {
|
|
631
|
+
borderRight: `1px solid ${tokens_default.color.secondary[300]}`
|
|
632
|
+
}
|
|
633
|
+
}
|
|
634
|
+
}
|
|
635
|
+
};
|
|
636
|
+
|
|
637
|
+
// src/theme/components/card.ts
|
|
638
|
+
var borderRadiusTokens3 = tokens_default.borderRadius;
|
|
639
|
+
var cardOverrides = {
|
|
640
|
+
styleOverrides: {
|
|
641
|
+
root: {
|
|
642
|
+
borderRadius: borderRadiusTokens3.lg,
|
|
643
|
+
boxShadow: tokens_default.shadows.md,
|
|
644
|
+
border: "1px solid rgba(0, 0, 0, 0.05)"
|
|
645
|
+
}
|
|
646
|
+
}
|
|
647
|
+
};
|
|
648
|
+
|
|
649
|
+
// src/theme/components/progress.ts
|
|
650
|
+
var colorTokens2 = tokens_default.color;
|
|
651
|
+
var progressOverrides = {
|
|
652
|
+
MuiCircularProgress: {
|
|
653
|
+
styleOverrides: {
|
|
654
|
+
root: {
|
|
655
|
+
color: colorTokens2.primary["500"]
|
|
656
|
+
}
|
|
657
|
+
}
|
|
658
|
+
},
|
|
659
|
+
MuiLinearProgress: {
|
|
660
|
+
styleOverrides: {
|
|
661
|
+
root: {
|
|
662
|
+
"& .MuiLinearProgress-bar": {
|
|
663
|
+
backgroundColor: colorTokens2.primary["500"]
|
|
664
|
+
}
|
|
665
|
+
}
|
|
666
|
+
}
|
|
667
|
+
}
|
|
668
|
+
};
|
|
669
|
+
|
|
670
|
+
// src/theme/components/chip.ts
|
|
671
|
+
var borderRadiusTokens4 = tokens_default.borderRadius;
|
|
672
|
+
var chipOverrides = {
|
|
673
|
+
styleOverrides: {
|
|
674
|
+
root: {
|
|
675
|
+
fontWeight: tokens_default.typography.fontWeight.medium,
|
|
676
|
+
fontSize: tokens_default.typography.fontSize["text-sm"],
|
|
677
|
+
lineHeight: tokens_default.typography.lineHeight["text-sm"],
|
|
678
|
+
borderRadius: borderRadiusTokens4.md,
|
|
679
|
+
height: "28px",
|
|
680
|
+
// Adjusted to match design
|
|
681
|
+
transition: "all 0.2s ease-in-out",
|
|
682
|
+
border: "1px solid transparent"
|
|
683
|
+
},
|
|
684
|
+
// Size variants
|
|
685
|
+
sizeSmall: {
|
|
686
|
+
height: "24px",
|
|
687
|
+
fontSize: tokens_default.typography.fontSize["text-xs"],
|
|
688
|
+
lineHeight: tokens_default.typography.lineHeight["text-xs"],
|
|
689
|
+
"& .MuiChip-label": {
|
|
690
|
+
paddingLeft: "8px",
|
|
691
|
+
paddingRight: "8px"
|
|
692
|
+
},
|
|
693
|
+
"& .MuiChip-icon": {
|
|
694
|
+
fontSize: "12px",
|
|
695
|
+
marginLeft: "6px",
|
|
696
|
+
marginRight: "-4px"
|
|
697
|
+
},
|
|
698
|
+
"& .MuiChip-avatar": {
|
|
699
|
+
width: "16px",
|
|
700
|
+
height: "16px",
|
|
701
|
+
marginLeft: "4px",
|
|
702
|
+
marginRight: "-4px"
|
|
703
|
+
},
|
|
704
|
+
"& .MuiChip-deleteIcon": {
|
|
705
|
+
fontSize: "12px",
|
|
706
|
+
marginRight: "4px",
|
|
707
|
+
marginLeft: "-4px"
|
|
708
|
+
}
|
|
709
|
+
},
|
|
710
|
+
sizeMedium: {
|
|
711
|
+
height: "28px",
|
|
712
|
+
fontSize: tokens_default.typography.fontSize["text-sm"],
|
|
713
|
+
lineHeight: tokens_default.typography.lineHeight["text-sm"],
|
|
714
|
+
"& .MuiChip-label": {
|
|
715
|
+
paddingLeft: "10px",
|
|
716
|
+
paddingRight: "10px"
|
|
717
|
+
},
|
|
718
|
+
"& .MuiChip-icon": {
|
|
719
|
+
fontSize: "14px",
|
|
720
|
+
marginLeft: "8px",
|
|
721
|
+
marginRight: "-6px"
|
|
722
|
+
},
|
|
723
|
+
"& .MuiChip-avatar": {
|
|
724
|
+
width: "20px",
|
|
725
|
+
height: "20px",
|
|
726
|
+
marginLeft: "6px",
|
|
727
|
+
marginRight: "-6px"
|
|
728
|
+
},
|
|
729
|
+
"& .MuiChip-deleteIcon": {
|
|
730
|
+
fontSize: "14px",
|
|
731
|
+
marginRight: "6px",
|
|
732
|
+
marginLeft: "-6px"
|
|
733
|
+
}
|
|
734
|
+
},
|
|
735
|
+
deleteIcon: {
|
|
736
|
+
transition: "all 0.2s ease-in-out",
|
|
737
|
+
"&:hover": {
|
|
738
|
+
opacity: 0.8
|
|
739
|
+
}
|
|
740
|
+
},
|
|
741
|
+
clickable: {
|
|
742
|
+
cursor: "pointer",
|
|
743
|
+
"&:hover": {
|
|
744
|
+
opacity: 0.9
|
|
745
|
+
},
|
|
746
|
+
"&:active": {
|
|
747
|
+
boxShadow: "none"
|
|
748
|
+
}
|
|
749
|
+
}
|
|
750
|
+
},
|
|
751
|
+
variants: [
|
|
752
|
+
{
|
|
753
|
+
props: { size: "large" },
|
|
754
|
+
style: {
|
|
755
|
+
height: "32px",
|
|
756
|
+
fontSize: tokens_default.typography.fontSize["text-sm"],
|
|
757
|
+
lineHeight: tokens_default.typography.lineHeight["text-sm"],
|
|
758
|
+
"& .MuiChip-label": {
|
|
759
|
+
paddingLeft: "12px",
|
|
760
|
+
paddingRight: "12px"
|
|
761
|
+
},
|
|
762
|
+
"& .MuiChip-icon": {
|
|
763
|
+
fontSize: "16px",
|
|
764
|
+
marginLeft: "10px",
|
|
765
|
+
marginRight: "-8px"
|
|
766
|
+
},
|
|
767
|
+
"& .MuiChip-avatar": {
|
|
768
|
+
width: "24px",
|
|
769
|
+
height: "24px",
|
|
770
|
+
marginLeft: "8px",
|
|
771
|
+
marginRight: "-8px"
|
|
772
|
+
},
|
|
773
|
+
"& .MuiChip-deleteIcon": {
|
|
774
|
+
fontSize: "16px",
|
|
775
|
+
marginRight: "8px",
|
|
776
|
+
marginLeft: "-8px"
|
|
777
|
+
}
|
|
778
|
+
}
|
|
779
|
+
},
|
|
780
|
+
{
|
|
781
|
+
props: { variant: "filled", color: "primary" },
|
|
782
|
+
style: {
|
|
783
|
+
backgroundColor: tokens_default.color.primary[50],
|
|
784
|
+
color: tokens_default.color.secondary[700],
|
|
785
|
+
borderColor: tokens_default.color.primary[200],
|
|
786
|
+
"&:hover": {
|
|
787
|
+
backgroundColor: tokens_default.color.primary[100]
|
|
788
|
+
},
|
|
789
|
+
"& .MuiChip-icon": { color: tokens_default.color.primary[700] },
|
|
790
|
+
"& .MuiChip-deleteIcon": { color: tokens_default.color.primary[700] }
|
|
791
|
+
}
|
|
792
|
+
},
|
|
793
|
+
{
|
|
794
|
+
props: { variant: "filled", color: "secondary" },
|
|
795
|
+
style: {
|
|
796
|
+
backgroundColor: tokens_default.color.secondary[50],
|
|
797
|
+
color: tokens_default.color.secondary[700],
|
|
798
|
+
borderColor: tokens_default.color.secondary[200],
|
|
799
|
+
"&:hover": {
|
|
800
|
+
backgroundColor: tokens_default.color.secondary[100]
|
|
801
|
+
},
|
|
802
|
+
"& .MuiChip-icon": { color: tokens_default.color.secondary[700] },
|
|
803
|
+
"& .MuiChip-deleteIcon": { color: tokens_default.color.secondary[700] }
|
|
804
|
+
}
|
|
805
|
+
},
|
|
806
|
+
{
|
|
807
|
+
props: { variant: "filled", color: "error" },
|
|
808
|
+
style: {
|
|
809
|
+
backgroundColor: tokens_default.color.error[50],
|
|
810
|
+
color: tokens_default.color.secondary[700],
|
|
811
|
+
borderColor: tokens_default.color.error[200],
|
|
812
|
+
"&:hover": {
|
|
813
|
+
backgroundColor: tokens_default.color.error[100]
|
|
814
|
+
},
|
|
815
|
+
"& .MuiChip-icon": { color: tokens_default.color.error[700] },
|
|
816
|
+
"& .MuiChip-deleteIcon": { color: tokens_default.color.error[700] }
|
|
817
|
+
}
|
|
818
|
+
},
|
|
819
|
+
{
|
|
820
|
+
props: { variant: "filled", color: "success" },
|
|
821
|
+
style: {
|
|
822
|
+
backgroundColor: tokens_default.color.success[50],
|
|
823
|
+
color: tokens_default.color.secondary[700],
|
|
824
|
+
borderColor: tokens_default.color.success[200],
|
|
825
|
+
"&:hover": {
|
|
826
|
+
backgroundColor: tokens_default.color.success[100]
|
|
827
|
+
},
|
|
828
|
+
"& .MuiChip-icon": { color: tokens_default.color.success[700] },
|
|
829
|
+
"& .MuiChip-deleteIcon": { color: tokens_default.color.success[700] }
|
|
830
|
+
}
|
|
831
|
+
},
|
|
832
|
+
{
|
|
833
|
+
props: { variant: "outlined", color: "primary" },
|
|
834
|
+
style: {
|
|
835
|
+
backgroundColor: "transparent",
|
|
836
|
+
color: tokens_default.color.secondary[700],
|
|
837
|
+
borderColor: tokens_default.color.primary[300],
|
|
838
|
+
"&:hover": {
|
|
839
|
+
backgroundColor: tokens_default.color.primary[25]
|
|
840
|
+
}
|
|
841
|
+
}
|
|
842
|
+
},
|
|
843
|
+
{
|
|
844
|
+
props: { variant: "outlined", color: "secondary" },
|
|
845
|
+
style: {
|
|
846
|
+
backgroundColor: "transparent",
|
|
847
|
+
color: tokens_default.color.secondary[700],
|
|
848
|
+
borderColor: tokens_default.color.secondary[300],
|
|
849
|
+
"&:hover": {
|
|
850
|
+
backgroundColor: tokens_default.color.secondary[25]
|
|
851
|
+
}
|
|
852
|
+
}
|
|
853
|
+
},
|
|
854
|
+
{
|
|
855
|
+
props: { variant: "outlined", color: "error" },
|
|
856
|
+
style: {
|
|
857
|
+
backgroundColor: "transparent",
|
|
858
|
+
color: tokens_default.color.error[700],
|
|
859
|
+
borderColor: tokens_default.color.error[300],
|
|
860
|
+
"&:hover": {
|
|
861
|
+
backgroundColor: tokens_default.color.error[25]
|
|
862
|
+
}
|
|
863
|
+
}
|
|
864
|
+
},
|
|
865
|
+
{
|
|
866
|
+
props: { variant: "outlined", color: "success" },
|
|
867
|
+
style: {
|
|
868
|
+
backgroundColor: "transparent",
|
|
869
|
+
color: tokens_default.color.success[700],
|
|
870
|
+
borderColor: tokens_default.color.success[300],
|
|
871
|
+
"&:hover": {
|
|
872
|
+
backgroundColor: tokens_default.color.success[25]
|
|
873
|
+
}
|
|
874
|
+
}
|
|
875
|
+
}
|
|
876
|
+
]
|
|
877
|
+
};
|
|
878
|
+
|
|
879
|
+
// src/theme/components/textField.ts
|
|
880
|
+
var borderRadiusTokens5 = tokens_default.borderRadius;
|
|
881
|
+
var textFieldOverrides = {
|
|
882
|
+
MuiTextField: {
|
|
883
|
+
defaultProps: {
|
|
884
|
+
variant: "outlined",
|
|
885
|
+
size: "medium",
|
|
886
|
+
fullWidth: true
|
|
887
|
+
}
|
|
888
|
+
},
|
|
889
|
+
MuiFormLabel: {
|
|
890
|
+
styleOverrides: {
|
|
891
|
+
asterisk: {
|
|
892
|
+
color: tokens_default.color.primary[600],
|
|
893
|
+
"&.Mui-error": {
|
|
894
|
+
color: tokens_default.color.error[600]
|
|
895
|
+
}
|
|
896
|
+
}
|
|
897
|
+
}
|
|
898
|
+
},
|
|
899
|
+
MuiInputLabel: {
|
|
900
|
+
styleOverrides: {
|
|
901
|
+
root: {
|
|
902
|
+
position: "relative",
|
|
903
|
+
transform: "none",
|
|
904
|
+
marginBottom: "6px",
|
|
905
|
+
fontSize: tokens_default.typography.fontSize["text-sm"],
|
|
906
|
+
lineHeight: tokens_default.typography.lineHeight["text-sm"],
|
|
907
|
+
fontWeight: 500,
|
|
908
|
+
color: tokens_default.color.secondary[700],
|
|
909
|
+
"&.Mui-focused": {
|
|
910
|
+
color: tokens_default.color.secondary[700]
|
|
911
|
+
},
|
|
912
|
+
"&.Mui-error": {
|
|
913
|
+
color: tokens_default.color.secondary[700]
|
|
914
|
+
},
|
|
915
|
+
"&.Mui-disabled": {
|
|
916
|
+
color: tokens_default.color.secondary[500]
|
|
917
|
+
}
|
|
918
|
+
},
|
|
919
|
+
shrink: {
|
|
920
|
+
transform: "none"
|
|
921
|
+
}
|
|
922
|
+
}
|
|
923
|
+
},
|
|
924
|
+
MuiOutlinedInput: {
|
|
925
|
+
styleOverrides: {
|
|
926
|
+
root: {
|
|
927
|
+
borderRadius: borderRadiusTokens5.md,
|
|
928
|
+
backgroundColor: tokens_default.color.base.white,
|
|
929
|
+
boxShadow: tokens_default.shadows.xs,
|
|
930
|
+
transition: "box-shadow 0.2s ease-in-out, border-color 0.2s ease-in-out",
|
|
931
|
+
"& .MuiOutlinedInput-notchedOutline": {
|
|
932
|
+
borderColor: tokens_default.color.secondary[300],
|
|
933
|
+
borderWidth: "2px",
|
|
934
|
+
transition: "border-color 0.2s ease-in-out",
|
|
935
|
+
top: 0,
|
|
936
|
+
"& legend": {
|
|
937
|
+
display: "none"
|
|
938
|
+
}
|
|
939
|
+
},
|
|
940
|
+
"&:hover:not(.Mui-focused):not(.Mui-disabled):not(.Mui-error)": {
|
|
941
|
+
"& .MuiOutlinedInput-notchedOutline": {
|
|
942
|
+
borderColor: tokens_default.color.gray[400]
|
|
943
|
+
}
|
|
944
|
+
},
|
|
945
|
+
"&.Mui-focused": {
|
|
946
|
+
boxShadow: tokens_default.shadows.xs,
|
|
947
|
+
"& .MuiOutlinedInput-notchedOutline": {
|
|
948
|
+
borderColor: tokens_default.color.primary[300],
|
|
949
|
+
borderWidth: "3px"
|
|
950
|
+
}
|
|
951
|
+
},
|
|
952
|
+
"&.Mui-error": {
|
|
953
|
+
"& .MuiOutlinedInput-notchedOutline": {
|
|
954
|
+
borderColor: tokens_default.color.error[300],
|
|
955
|
+
borderWidth: "2px"
|
|
956
|
+
},
|
|
957
|
+
"&:hover:not(.Mui-focused)": {
|
|
958
|
+
"& .MuiOutlinedInput-notchedOutline": {
|
|
959
|
+
borderColor: tokens_default.color.error[400]
|
|
960
|
+
}
|
|
961
|
+
},
|
|
962
|
+
"&.Mui-focused": {
|
|
963
|
+
boxShadow: tokens_default.shadows.xs,
|
|
964
|
+
"& .MuiOutlinedInput-notchedOutline": {
|
|
965
|
+
borderColor: tokens_default.color.error[300],
|
|
966
|
+
borderWidth: "3px"
|
|
967
|
+
}
|
|
968
|
+
}
|
|
969
|
+
},
|
|
970
|
+
"&.Mui-disabled": {
|
|
971
|
+
backgroundColor: tokens_default.color.secondary[50],
|
|
972
|
+
boxShadow: "none",
|
|
973
|
+
"& .MuiOutlinedInput-notchedOutline": {
|
|
974
|
+
borderColor: tokens_default.color.secondary[200],
|
|
975
|
+
borderWidth: "2px"
|
|
976
|
+
}
|
|
977
|
+
},
|
|
978
|
+
"&.MuiInputBase-multiline": {
|
|
979
|
+
padding: 0
|
|
980
|
+
}
|
|
981
|
+
},
|
|
982
|
+
input: {
|
|
983
|
+
padding: "10px 14px",
|
|
984
|
+
height: "24px",
|
|
985
|
+
fontSize: tokens_default.typography.fontSize["text-md"],
|
|
986
|
+
lineHeight: tokens_default.typography.lineHeight["text-md"],
|
|
987
|
+
fontWeight: 400,
|
|
988
|
+
color: tokens_default.color.secondary[900],
|
|
989
|
+
"&::placeholder": {
|
|
990
|
+
color: tokens_default.color.secondary[500],
|
|
991
|
+
opacity: 1
|
|
992
|
+
},
|
|
993
|
+
"&.Mui-disabled": {
|
|
994
|
+
color: tokens_default.color.secondary[500],
|
|
995
|
+
WebkitTextFillColor: tokens_default.color.secondary[500]
|
|
996
|
+
}
|
|
997
|
+
},
|
|
998
|
+
inputSizeSmall: {
|
|
999
|
+
padding: "8px 12px",
|
|
1000
|
+
height: "20px"
|
|
1001
|
+
},
|
|
1002
|
+
multiline: {
|
|
1003
|
+
padding: 0,
|
|
1004
|
+
alignItems: "flex-start"
|
|
1005
|
+
},
|
|
1006
|
+
inputMultiline: {
|
|
1007
|
+
padding: "12px 14px",
|
|
1008
|
+
height: "auto",
|
|
1009
|
+
minHeight: "80px",
|
|
1010
|
+
resize: "vertical",
|
|
1011
|
+
lineHeight: tokens_default.typography.lineHeight["text-md"]
|
|
1012
|
+
},
|
|
1013
|
+
adornedStart: {
|
|
1014
|
+
paddingLeft: "14px",
|
|
1015
|
+
"& .MuiOutlinedInput-input": {
|
|
1016
|
+
paddingLeft: "8px"
|
|
1017
|
+
}
|
|
1018
|
+
},
|
|
1019
|
+
adornedEnd: {
|
|
1020
|
+
paddingRight: "14px",
|
|
1021
|
+
"& .MuiOutlinedInput-input": {
|
|
1022
|
+
paddingRight: "8px"
|
|
1023
|
+
}
|
|
1024
|
+
}
|
|
1025
|
+
}
|
|
1026
|
+
},
|
|
1027
|
+
MuiInputAdornment: {
|
|
1028
|
+
styleOverrides: {
|
|
1029
|
+
root: {
|
|
1030
|
+
color: tokens_default.color.secondary[400],
|
|
1031
|
+
"& .MuiTypography-root": {
|
|
1032
|
+
color: "inherit",
|
|
1033
|
+
fontSize: tokens_default.typography.fontSize["text-md"]
|
|
1034
|
+
},
|
|
1035
|
+
"& .MuiSvgIcon-root": {
|
|
1036
|
+
fontSize: "20px",
|
|
1037
|
+
color: tokens_default.color.secondary[400]
|
|
1038
|
+
}
|
|
1039
|
+
},
|
|
1040
|
+
positionStart: {
|
|
1041
|
+
marginRight: "0px"
|
|
1042
|
+
},
|
|
1043
|
+
positionEnd: {
|
|
1044
|
+
marginLeft: "0px"
|
|
1045
|
+
}
|
|
1046
|
+
}
|
|
1047
|
+
},
|
|
1048
|
+
MuiFormHelperText: {
|
|
1049
|
+
styleOverrides: {
|
|
1050
|
+
root: {
|
|
1051
|
+
marginLeft: 0,
|
|
1052
|
+
marginTop: "6px",
|
|
1053
|
+
fontSize: tokens_default.typography.fontSize["text-sm"],
|
|
1054
|
+
lineHeight: tokens_default.typography.lineHeight["text-sm"],
|
|
1055
|
+
fontWeight: 400,
|
|
1056
|
+
color: tokens_default.color.secondary[600],
|
|
1057
|
+
"&.Mui-error": {
|
|
1058
|
+
color: tokens_default.color.error[600]
|
|
1059
|
+
}
|
|
1060
|
+
}
|
|
1061
|
+
}
|
|
1062
|
+
}
|
|
1063
|
+
};
|
|
1064
|
+
|
|
1065
|
+
// src/theme/components/select.ts
|
|
1066
|
+
var selectOverrides = {
|
|
1067
|
+
defaultProps: {
|
|
1068
|
+
variant: "outlined",
|
|
1069
|
+
size: "medium",
|
|
1070
|
+
fullWidth: true
|
|
1071
|
+
},
|
|
1072
|
+
styleOverrides: {
|
|
1073
|
+
select: {
|
|
1074
|
+
padding: "10px 14px",
|
|
1075
|
+
"&:focus": {
|
|
1076
|
+
backgroundColor: "transparent"
|
|
1077
|
+
},
|
|
1078
|
+
display: "flex",
|
|
1079
|
+
alignItems: "center",
|
|
1080
|
+
gap: "8px"
|
|
1081
|
+
},
|
|
1082
|
+
icon: {
|
|
1083
|
+
color: tokens_default.color.secondary[500],
|
|
1084
|
+
right: "12px"
|
|
1085
|
+
}
|
|
1086
|
+
}
|
|
1087
|
+
};
|
|
1088
|
+
|
|
1089
|
+
// src/theme/components/menu.ts
|
|
1090
|
+
var menuOverrides = {
|
|
1091
|
+
MuiMenu: {
|
|
1092
|
+
defaultProps: {
|
|
1093
|
+
elevation: 0,
|
|
1094
|
+
anchorOrigin: {
|
|
1095
|
+
vertical: "bottom",
|
|
1096
|
+
horizontal: "right"
|
|
1097
|
+
},
|
|
1098
|
+
transformOrigin: {
|
|
1099
|
+
vertical: "top",
|
|
1100
|
+
horizontal: "right"
|
|
1101
|
+
}
|
|
1102
|
+
},
|
|
1103
|
+
styleOverrides: {
|
|
1104
|
+
paper: {
|
|
1105
|
+
borderRadius: tokens_default.borderRadius.lg,
|
|
1106
|
+
marginTop: "8px",
|
|
1107
|
+
minWidth: 180,
|
|
1108
|
+
border: `1px solid ${tokens_default.color.secondary[200]}`,
|
|
1109
|
+
boxShadow: tokens_default.shadows.lg
|
|
1110
|
+
},
|
|
1111
|
+
list: {
|
|
1112
|
+
padding: "4px"
|
|
1113
|
+
}
|
|
1114
|
+
}
|
|
1115
|
+
},
|
|
1116
|
+
MuiMenuItem: {
|
|
1117
|
+
styleOverrides: {
|
|
1118
|
+
root: {
|
|
1119
|
+
borderRadius: tokens_default.borderRadius.sm,
|
|
1120
|
+
margin: "2px 4px",
|
|
1121
|
+
padding: "10px 12px",
|
|
1122
|
+
fontSize: tokens_default.typography.fontSize["text-sm"],
|
|
1123
|
+
fontWeight: tokens_default.typography.fontWeight.medium,
|
|
1124
|
+
color: tokens_default.color.secondary[700],
|
|
1125
|
+
transition: "all 0.2s ease-in-out",
|
|
1126
|
+
"&:hover": {
|
|
1127
|
+
backgroundColor: tokens_default.color.secondary[50],
|
|
1128
|
+
color: tokens_default.color.secondary[900]
|
|
1129
|
+
},
|
|
1130
|
+
"&.Mui-selected": {
|
|
1131
|
+
backgroundColor: tokens_default.color.primary[50],
|
|
1132
|
+
color: tokens_default.color.primary[700],
|
|
1133
|
+
"&:hover": {
|
|
1134
|
+
backgroundColor: tokens_default.color.primary[100]
|
|
1135
|
+
}
|
|
1136
|
+
},
|
|
1137
|
+
"& .MuiListItemIcon-root": {
|
|
1138
|
+
minWidth: "auto",
|
|
1139
|
+
marginRight: "12px",
|
|
1140
|
+
color: tokens_default.color.secondary[500],
|
|
1141
|
+
fontSize: "18px"
|
|
1142
|
+
}
|
|
1143
|
+
}
|
|
1144
|
+
}
|
|
1145
|
+
},
|
|
1146
|
+
MuiDivider: {
|
|
1147
|
+
styleOverrides: {
|
|
1148
|
+
root: {
|
|
1149
|
+
margin: "4px 0",
|
|
1150
|
+
borderColor: tokens_default.color.secondary[100]
|
|
1151
|
+
}
|
|
1152
|
+
}
|
|
1153
|
+
}
|
|
1154
|
+
};
|
|
1155
|
+
|
|
1156
|
+
// src/theme/components/autocomplete.ts
|
|
1157
|
+
var autocompleteOverrides = {
|
|
1158
|
+
styleOverrides: {
|
|
1159
|
+
root: {
|
|
1160
|
+
"& .MuiOutlinedInput-root": {
|
|
1161
|
+
backgroundColor: tokens_default.color.base.white,
|
|
1162
|
+
borderRadius: tokens_default.borderRadius.md,
|
|
1163
|
+
boxShadow: tokens_default.shadows.xs,
|
|
1164
|
+
"& fieldset": {
|
|
1165
|
+
borderColor: tokens_default.color.secondary[300],
|
|
1166
|
+
borderWidth: "1px"
|
|
1167
|
+
},
|
|
1168
|
+
"&:hover fieldset": {
|
|
1169
|
+
borderColor: tokens_default.color.secondary[400]
|
|
1170
|
+
},
|
|
1171
|
+
"&.Mui-focused fieldset": {
|
|
1172
|
+
borderColor: tokens_default.color.primary[500],
|
|
1173
|
+
borderWidth: "2px"
|
|
1174
|
+
},
|
|
1175
|
+
"&.Mui-disabled": {
|
|
1176
|
+
backgroundColor: tokens_default.color.secondary[50],
|
|
1177
|
+
"& fieldset": {
|
|
1178
|
+
borderColor: tokens_default.color.secondary[200]
|
|
1179
|
+
}
|
|
1180
|
+
}
|
|
1181
|
+
},
|
|
1182
|
+
// Size variants
|
|
1183
|
+
"&.MuiAutocomplete-sizeSmall .MuiOutlinedInput-root": {
|
|
1184
|
+
padding: "4px 12px",
|
|
1185
|
+
"& .MuiAutocomplete-input": {
|
|
1186
|
+
padding: "4px 0",
|
|
1187
|
+
fontSize: tokens_default.typography.fontSize["text-md"],
|
|
1188
|
+
lineHeight: tokens_default.typography.lineHeight["text-md"]
|
|
1189
|
+
}
|
|
1190
|
+
},
|
|
1191
|
+
"& .MuiOutlinedInput-root.MuiInputBase-sizeSmall": {
|
|
1192
|
+
padding: "4px 12px"
|
|
1193
|
+
}
|
|
1194
|
+
},
|
|
1195
|
+
input: {
|
|
1196
|
+
fontSize: tokens_default.typography.fontSize["text-md"],
|
|
1197
|
+
lineHeight: tokens_default.typography.lineHeight["text-md"],
|
|
1198
|
+
fontWeight: tokens_default.typography.fontWeight.regular,
|
|
1199
|
+
color: tokens_default.color.secondary[900],
|
|
1200
|
+
"&::placeholder": {
|
|
1201
|
+
color: tokens_default.color.secondary[500],
|
|
1202
|
+
opacity: 1
|
|
1203
|
+
}
|
|
1204
|
+
},
|
|
1205
|
+
inputRoot: {
|
|
1206
|
+
padding: "6px 14px !important",
|
|
1207
|
+
gap: "8px",
|
|
1208
|
+
"&.MuiInputBase-sizeSmall": {
|
|
1209
|
+
padding: "4px 12px !important"
|
|
1210
|
+
}
|
|
1211
|
+
},
|
|
1212
|
+
paper: {
|
|
1213
|
+
borderRadius: tokens_default.borderRadius.md,
|
|
1214
|
+
border: `1px solid ${tokens_default.color.secondary[200]}`,
|
|
1215
|
+
marginTop: "4px",
|
|
1216
|
+
boxShadow: tokens_default.shadows.lg
|
|
1217
|
+
},
|
|
1218
|
+
listbox: {
|
|
1219
|
+
padding: "4px",
|
|
1220
|
+
"& .MuiAutocomplete-option": {
|
|
1221
|
+
borderRadius: tokens_default.borderRadius.sm,
|
|
1222
|
+
margin: "2px 0",
|
|
1223
|
+
padding: "10px 12px",
|
|
1224
|
+
fontSize: tokens_default.typography.fontSize["text-sm"],
|
|
1225
|
+
fontWeight: tokens_default.typography.fontWeight.medium,
|
|
1226
|
+
color: tokens_default.color.secondary[700],
|
|
1227
|
+
minHeight: "auto",
|
|
1228
|
+
'&[aria-selected="true"]': {
|
|
1229
|
+
backgroundColor: tokens_default.color.primary[50],
|
|
1230
|
+
color: tokens_default.color.primary[700],
|
|
1231
|
+
"&.Mui-focused": {
|
|
1232
|
+
backgroundColor: tokens_default.color.primary[100]
|
|
1233
|
+
}
|
|
1234
|
+
},
|
|
1235
|
+
"&.Mui-focused": {
|
|
1236
|
+
backgroundColor: tokens_default.color.secondary[50]
|
|
1237
|
+
},
|
|
1238
|
+
"&:hover": {
|
|
1239
|
+
backgroundColor: tokens_default.color.secondary[50]
|
|
1240
|
+
}
|
|
1241
|
+
}
|
|
1242
|
+
},
|
|
1243
|
+
tag: {
|
|
1244
|
+
margin: "2px",
|
|
1245
|
+
height: "24px",
|
|
1246
|
+
backgroundColor: "#FFFFFF",
|
|
1247
|
+
border: `1px solid ${tokens_default.color.secondary[300]}`,
|
|
1248
|
+
borderRadius: tokens_default.borderRadius.sm,
|
|
1249
|
+
fontSize: tokens_default.typography.fontSize["text-sm"],
|
|
1250
|
+
fontWeight: tokens_default.typography.fontWeight.medium,
|
|
1251
|
+
color: tokens_default.color.secondary[700],
|
|
1252
|
+
"& .MuiChip-deleteIcon": {
|
|
1253
|
+
color: tokens_default.color.secondary[400],
|
|
1254
|
+
fontSize: "12px",
|
|
1255
|
+
"&:hover": {
|
|
1256
|
+
color: tokens_default.color.secondary[600]
|
|
1257
|
+
}
|
|
1258
|
+
}
|
|
1259
|
+
},
|
|
1260
|
+
endAdornment: {
|
|
1261
|
+
right: "12px",
|
|
1262
|
+
"& .MuiIconButton-root": {
|
|
1263
|
+
padding: "4px"
|
|
1264
|
+
},
|
|
1265
|
+
"& .MuiSvgIcon-root": {
|
|
1266
|
+
fontSize: "20px",
|
|
1267
|
+
color: tokens_default.color.secondary[400]
|
|
1268
|
+
}
|
|
1269
|
+
},
|
|
1270
|
+
clearIndicator: {
|
|
1271
|
+
padding: "4px",
|
|
1272
|
+
"& .MuiSvgIcon-root": {
|
|
1273
|
+
fontSize: "16px",
|
|
1274
|
+
color: tokens_default.color.secondary[400]
|
|
1275
|
+
}
|
|
1276
|
+
},
|
|
1277
|
+
popupIndicator: {
|
|
1278
|
+
padding: "4px",
|
|
1279
|
+
"& .MuiSvgIcon-root": {
|
|
1280
|
+
fontSize: "20px",
|
|
1281
|
+
color: tokens_default.color.secondary[400]
|
|
1282
|
+
}
|
|
1283
|
+
},
|
|
1284
|
+
noOptions: {
|
|
1285
|
+
fontSize: tokens_default.typography.fontSize["text-sm"],
|
|
1286
|
+
color: tokens_default.color.secondary[500],
|
|
1287
|
+
padding: "10px 12px"
|
|
1288
|
+
},
|
|
1289
|
+
loading: {
|
|
1290
|
+
fontSize: tokens_default.typography.fontSize["text-sm"],
|
|
1291
|
+
color: tokens_default.color.secondary[500],
|
|
1292
|
+
padding: "10px 12px"
|
|
1293
|
+
}
|
|
1294
|
+
}
|
|
1295
|
+
};
|
|
1296
|
+
|
|
1297
|
+
// src/theme/components/avatar.ts
|
|
1298
|
+
var avatarOverrides = {
|
|
1299
|
+
styleOverrides: {
|
|
1300
|
+
root: {
|
|
1301
|
+
fontSize: "14px",
|
|
1302
|
+
fontWeight: 500
|
|
1303
|
+
}
|
|
1304
|
+
}
|
|
1305
|
+
};
|
|
1306
|
+
|
|
1307
|
+
// src/theme/components/switch.ts
|
|
1308
|
+
var switchOverrides = {
|
|
1309
|
+
defaultProps: {
|
|
1310
|
+
disableRipple: true
|
|
1311
|
+
},
|
|
1312
|
+
styleOverrides: {
|
|
1313
|
+
root: {
|
|
1314
|
+
width: 44,
|
|
1315
|
+
height: 24,
|
|
1316
|
+
padding: 0,
|
|
1317
|
+
"& .MuiSwitch-switchBase": {
|
|
1318
|
+
padding: 2,
|
|
1319
|
+
transitionDuration: "200ms",
|
|
1320
|
+
"&.Mui-checked": {
|
|
1321
|
+
transform: "translateX(20px)",
|
|
1322
|
+
"& + .MuiSwitch-track": {
|
|
1323
|
+
backgroundColor: tokens_default.color.primary[600],
|
|
1324
|
+
opacity: 1,
|
|
1325
|
+
border: 0
|
|
1326
|
+
},
|
|
1327
|
+
"& .MuiSwitch-thumb": {
|
|
1328
|
+
backgroundColor: tokens_default.color.base.white
|
|
1329
|
+
},
|
|
1330
|
+
"&:hover + .MuiSwitch-track": {
|
|
1331
|
+
backgroundColor: tokens_default.color.primary[700]
|
|
1332
|
+
},
|
|
1333
|
+
"&.Mui-disabled + .MuiSwitch-track": {
|
|
1334
|
+
backgroundColor: tokens_default.color.secondary[50],
|
|
1335
|
+
opacity: 1
|
|
1336
|
+
},
|
|
1337
|
+
"&.Mui-disabled .MuiSwitch-thumb": {
|
|
1338
|
+
backgroundColor: tokens_default.color.gray[50]
|
|
1339
|
+
}
|
|
1340
|
+
},
|
|
1341
|
+
"&.Mui-focusVisible + .MuiSwitch-track": {
|
|
1342
|
+
boxShadow: `0px 0px 0px 2px ${tokens_default.color.base.white}, 0px 0px 0px 4px ${tokens_default.effects.focusRings["focus-ring"]}`
|
|
1343
|
+
},
|
|
1344
|
+
"&.Mui-disabled": {
|
|
1345
|
+
"& + .MuiSwitch-track": {
|
|
1346
|
+
backgroundColor: tokens_default.color.secondary[50],
|
|
1347
|
+
opacity: 1
|
|
1348
|
+
},
|
|
1349
|
+
"& .MuiSwitch-thumb": {
|
|
1350
|
+
backgroundColor: tokens_default.color.gray[50]
|
|
1351
|
+
}
|
|
1352
|
+
}
|
|
1353
|
+
}
|
|
1354
|
+
},
|
|
1355
|
+
switchBase: {
|
|
1356
|
+
padding: 2,
|
|
1357
|
+
"&.Mui-checked": {
|
|
1358
|
+
transform: "translateX(20px)"
|
|
1359
|
+
}
|
|
1360
|
+
},
|
|
1361
|
+
thumb: {
|
|
1362
|
+
boxSizing: "border-box",
|
|
1363
|
+
width: 20,
|
|
1364
|
+
height: 20,
|
|
1365
|
+
backgroundColor: tokens_default.color.base.white,
|
|
1366
|
+
boxShadow: tokens_default.shadows.sm
|
|
1367
|
+
},
|
|
1368
|
+
track: {
|
|
1369
|
+
borderRadius: 9999,
|
|
1370
|
+
backgroundColor: tokens_default.color.secondary[50],
|
|
1371
|
+
opacity: 1,
|
|
1372
|
+
transition: "background-color 200ms, box-shadow 200ms"
|
|
1373
|
+
},
|
|
1374
|
+
sizeSmall: {
|
|
1375
|
+
width: 36,
|
|
1376
|
+
height: 20,
|
|
1377
|
+
"& .MuiSwitch-switchBase": {
|
|
1378
|
+
padding: 2,
|
|
1379
|
+
"&.Mui-checked": {
|
|
1380
|
+
transform: "translateX(16px)"
|
|
1381
|
+
}
|
|
1382
|
+
},
|
|
1383
|
+
"& .MuiSwitch-thumb": {
|
|
1384
|
+
width: 16,
|
|
1385
|
+
height: 16
|
|
1386
|
+
}
|
|
1387
|
+
}
|
|
1388
|
+
}
|
|
1389
|
+
};
|
|
1390
|
+
|
|
1391
|
+
// src/theme/components/checkbox.ts
|
|
1392
|
+
var checkboxOverrides = {
|
|
1393
|
+
defaultProps: {
|
|
1394
|
+
disableRipple: true
|
|
1395
|
+
},
|
|
1396
|
+
styleOverrides: {
|
|
1397
|
+
root: {
|
|
1398
|
+
padding: 0,
|
|
1399
|
+
transition: "all 200ms ease-in-out",
|
|
1400
|
+
"&:hover": {
|
|
1401
|
+
backgroundColor: "transparent",
|
|
1402
|
+
"& rect[stroke]": {
|
|
1403
|
+
stroke: tokens_default.color.primary[600],
|
|
1404
|
+
fill: tokens_default.color.primary[50]
|
|
1405
|
+
}
|
|
1406
|
+
},
|
|
1407
|
+
"&.Mui-checked:hover, &.MuiCheckbox-indeterminate:hover": {
|
|
1408
|
+
"& rect:first-of-type": {
|
|
1409
|
+
fill: tokens_default.color.primary[700]
|
|
1410
|
+
}
|
|
1411
|
+
},
|
|
1412
|
+
"&.Mui-focusVisible": {
|
|
1413
|
+
"& .MuiSvgIcon-root": {
|
|
1414
|
+
boxShadow: `0px 0px 0px 2px ${tokens_default.color.base.white}, 0px 0px 0px 4px ${tokens_default.effects.focusRings["focus-ring"]}`,
|
|
1415
|
+
borderRadius: tokens_default.borderRadius.md
|
|
1416
|
+
}
|
|
1417
|
+
},
|
|
1418
|
+
"&.Mui-disabled": {
|
|
1419
|
+
"& rect[stroke]": {
|
|
1420
|
+
fill: tokens_default.color.secondary[50],
|
|
1421
|
+
stroke: tokens_default.color.secondary[300]
|
|
1422
|
+
},
|
|
1423
|
+
"& rect:first-of-type": {
|
|
1424
|
+
fill: tokens_default.color.secondary[50]
|
|
1425
|
+
},
|
|
1426
|
+
"& path, & rect:not(:first-of-type)": {
|
|
1427
|
+
fill: tokens_default.color.secondary[300]
|
|
1428
|
+
}
|
|
1429
|
+
}
|
|
1430
|
+
},
|
|
1431
|
+
sizeSmall: {
|
|
1432
|
+
"&.Mui-focusVisible": {
|
|
1433
|
+
"& .MuiSvgIcon-root": {
|
|
1434
|
+
borderRadius: tokens_default.borderRadius.sm
|
|
1435
|
+
}
|
|
1436
|
+
}
|
|
1437
|
+
}
|
|
1438
|
+
}
|
|
1439
|
+
};
|
|
1440
|
+
|
|
1441
|
+
// src/theme/components/radio.ts
|
|
1442
|
+
var radioOverrides = {
|
|
1443
|
+
defaultProps: {
|
|
1444
|
+
disableRipple: true
|
|
1445
|
+
},
|
|
1446
|
+
styleOverrides: {
|
|
1447
|
+
root: {
|
|
1448
|
+
padding: 0,
|
|
1449
|
+
transition: "all 200ms ease-in-out",
|
|
1450
|
+
"& svg": {
|
|
1451
|
+
transition: "all 200ms ease-in-out"
|
|
1452
|
+
},
|
|
1453
|
+
"& svg circle": {
|
|
1454
|
+
transition: "all 200ms ease-in-out"
|
|
1455
|
+
},
|
|
1456
|
+
"&:hover:not(.Mui-checked):not(.Mui-disabled)": {
|
|
1457
|
+
"& svg circle": {
|
|
1458
|
+
stroke: tokens_default.color.primary[600]
|
|
1459
|
+
}
|
|
1460
|
+
},
|
|
1461
|
+
"&.Mui-checked:hover:not(.Mui-disabled)": {
|
|
1462
|
+
"& svg circle:first-of-type": {
|
|
1463
|
+
stroke: " tokens.color.primary[700]"
|
|
1464
|
+
},
|
|
1465
|
+
"& svg circle:last-of-type": {
|
|
1466
|
+
fill: " tokens.color.primary[700]"
|
|
1467
|
+
}
|
|
1468
|
+
},
|
|
1469
|
+
"&.Mui-focusVisible": {
|
|
1470
|
+
"& > span": {
|
|
1471
|
+
boxShadow: `0px 0px 0px 2px ${tokens_default.color.base.white}, 0px 0px 0px 4px ${tokens_default.effects.focusRings["focus-ring"]}`,
|
|
1472
|
+
borderRadius: "50%"
|
|
1473
|
+
}
|
|
1474
|
+
},
|
|
1475
|
+
// Disabled state unchecked
|
|
1476
|
+
"&.Mui-disabled:not(.Mui-checked)": {
|
|
1477
|
+
"& svg circle": {
|
|
1478
|
+
fill: tokens_default.color.secondary[50],
|
|
1479
|
+
stroke: tokens_default.color.secondary[300]
|
|
1480
|
+
}
|
|
1481
|
+
},
|
|
1482
|
+
// Disabled state checked
|
|
1483
|
+
"&.Mui-disabled.Mui-checked": {
|
|
1484
|
+
"& svg circle:first-of-type": {
|
|
1485
|
+
fill: tokens_default.color.secondary[50],
|
|
1486
|
+
stroke: tokens_default.color.secondary[300]
|
|
1487
|
+
},
|
|
1488
|
+
"& svg circle:last-of-type": {
|
|
1489
|
+
fill: tokens_default.color.secondary[300]
|
|
1490
|
+
}
|
|
1491
|
+
}
|
|
1492
|
+
}
|
|
1493
|
+
}
|
|
1494
|
+
};
|
|
1495
|
+
|
|
1496
|
+
// src/theme/components/datePicker.ts
|
|
1497
|
+
var datePickerOverrides = {
|
|
1498
|
+
MuiPickersDay: {
|
|
1499
|
+
styleOverrides: {
|
|
1500
|
+
root: {
|
|
1501
|
+
width: "40px",
|
|
1502
|
+
height: "40px",
|
|
1503
|
+
margin: 0,
|
|
1504
|
+
borderRadius: tokens_default.borderRadius.full,
|
|
1505
|
+
fontSize: tokens_default.typography.fontSize["text-sm"],
|
|
1506
|
+
fontWeight: tokens_default.typography.fontWeight.regular,
|
|
1507
|
+
fontFamily: tokens_default.typography.fontFamily.body,
|
|
1508
|
+
color: tokens_default.color.gray[900],
|
|
1509
|
+
"&:hover": {
|
|
1510
|
+
backgroundColor: tokens_default.color.gray[50]
|
|
1511
|
+
},
|
|
1512
|
+
"&.Mui-selected": {
|
|
1513
|
+
backgroundColor: `${tokens_default.color.primary[600]} !important`,
|
|
1514
|
+
color: `${tokens_default.color.base.white} !important`,
|
|
1515
|
+
fontWeight: tokens_default.typography.fontWeight.medium,
|
|
1516
|
+
"&:hover": {
|
|
1517
|
+
backgroundColor: `${tokens_default.color.primary[700]} !important`
|
|
1518
|
+
}
|
|
1519
|
+
},
|
|
1520
|
+
"&.MuiPickersDay-today": {
|
|
1521
|
+
border: `1px solid ${tokens_default.color.primary[600]}`,
|
|
1522
|
+
backgroundColor: "transparent",
|
|
1523
|
+
"&:not(.Mui-selected)": {
|
|
1524
|
+
color: tokens_default.color.gray[900],
|
|
1525
|
+
borderColor: tokens_default.color.gray[300]
|
|
1526
|
+
}
|
|
1527
|
+
},
|
|
1528
|
+
"&.Mui-disabled": {
|
|
1529
|
+
color: tokens_default.color.gray[400]
|
|
1530
|
+
}
|
|
1531
|
+
}
|
|
1532
|
+
}
|
|
1533
|
+
},
|
|
1534
|
+
MuiDateCalendar: {
|
|
1535
|
+
styleOverrides: {
|
|
1536
|
+
root: {
|
|
1537
|
+
width: "100%",
|
|
1538
|
+
maxWidth: "328px",
|
|
1539
|
+
maxHeight: "none",
|
|
1540
|
+
fontFamily: tokens_default.typography.fontFamily.body
|
|
1541
|
+
}
|
|
1542
|
+
}
|
|
1543
|
+
},
|
|
1544
|
+
MuiPickersCalendarHeader: {
|
|
1545
|
+
styleOverrides: {
|
|
1546
|
+
root: {
|
|
1547
|
+
paddingLeft: 0,
|
|
1548
|
+
paddingRight: 0,
|
|
1549
|
+
marginTop: 0,
|
|
1550
|
+
marginBottom: `${tokens_default.borderRadius.md}px`,
|
|
1551
|
+
display: "flex",
|
|
1552
|
+
alignItems: "center",
|
|
1553
|
+
justifyContent: "space-between"
|
|
1554
|
+
},
|
|
1555
|
+
label: {
|
|
1556
|
+
fontSize: tokens_default.typography.fontSize["text-md"],
|
|
1557
|
+
fontWeight: tokens_default.typography.fontWeight.semibold,
|
|
1558
|
+
fontFamily: tokens_default.typography.fontFamily.body,
|
|
1559
|
+
color: tokens_default.color.gray[900]
|
|
1560
|
+
}
|
|
1561
|
+
}
|
|
1562
|
+
},
|
|
1563
|
+
MuiPickersArrowSwitcher: {
|
|
1564
|
+
styleOverrides: {
|
|
1565
|
+
root: {
|
|
1566
|
+
display: "inline-flex",
|
|
1567
|
+
gap: `${tokens_default.borderRadius.sm}px`
|
|
1568
|
+
},
|
|
1569
|
+
button: {
|
|
1570
|
+
padding: `${tokens_default.borderRadius.sm}px`,
|
|
1571
|
+
width: "32px",
|
|
1572
|
+
height: "32px",
|
|
1573
|
+
borderRadius: `${tokens_default.borderRadius.sm}px`,
|
|
1574
|
+
color: tokens_default.color.gray[500],
|
|
1575
|
+
"&:hover": {
|
|
1576
|
+
backgroundColor: tokens_default.color.gray[50]
|
|
1577
|
+
}
|
|
1578
|
+
}
|
|
1579
|
+
}
|
|
1580
|
+
},
|
|
1581
|
+
MuiDayCalendar: {
|
|
1582
|
+
styleOverrides: {
|
|
1583
|
+
header: {
|
|
1584
|
+
gap: 0,
|
|
1585
|
+
justifyContent: "space-between",
|
|
1586
|
+
paddingLeft: 0,
|
|
1587
|
+
paddingRight: 0
|
|
1588
|
+
},
|
|
1589
|
+
weekContainer: {
|
|
1590
|
+
margin: 0,
|
|
1591
|
+
justifyContent: "space-between"
|
|
1592
|
+
},
|
|
1593
|
+
weekDayLabel: {
|
|
1594
|
+
width: "40px",
|
|
1595
|
+
height: "40px",
|
|
1596
|
+
fontSize: tokens_default.typography.fontSize["text-xs"],
|
|
1597
|
+
fontWeight: tokens_default.typography.fontWeight.medium,
|
|
1598
|
+
fontFamily: tokens_default.typography.fontFamily.body,
|
|
1599
|
+
color: tokens_default.color.gray[600],
|
|
1600
|
+
margin: 0
|
|
1601
|
+
}
|
|
1602
|
+
}
|
|
1603
|
+
},
|
|
1604
|
+
MuiPickersLayout: {
|
|
1605
|
+
styleOverrides: {
|
|
1606
|
+
root: {
|
|
1607
|
+
backgroundColor: tokens_default.color.base.white,
|
|
1608
|
+
borderRadius: `${tokens_default.borderRadius.xl}px`,
|
|
1609
|
+
boxShadow: tokens_default.shadows.lg,
|
|
1610
|
+
overflow: "hidden"
|
|
1611
|
+
},
|
|
1612
|
+
contentWrapper: {
|
|
1613
|
+
padding: `${tokens_default.borderRadius.xl * 1.5}px ${tokens_default.borderRadius.xl * 2}px`
|
|
1614
|
+
}
|
|
1615
|
+
}
|
|
1616
|
+
},
|
|
1617
|
+
MuiPickerPopper: {
|
|
1618
|
+
styleOverrides: {
|
|
1619
|
+
paper: {
|
|
1620
|
+
borderRadius: `${tokens_default.borderRadius.xl}px`,
|
|
1621
|
+
boxShadow: tokens_default.shadows.lg,
|
|
1622
|
+
overflow: "hidden"
|
|
1623
|
+
}
|
|
1624
|
+
}
|
|
1625
|
+
},
|
|
1626
|
+
MuiDialogActions: {
|
|
1627
|
+
styleOverrides: {
|
|
1628
|
+
root: {
|
|
1629
|
+
padding: `${tokens_default.borderRadius.md * 2}px`,
|
|
1630
|
+
borderTop: `1px solid ${tokens_default.color.gray[200]}`,
|
|
1631
|
+
gap: `${tokens_default.borderRadius.lg}px`,
|
|
1632
|
+
"& .MuiButton-root": {
|
|
1633
|
+
flex: 1,
|
|
1634
|
+
minWidth: "auto",
|
|
1635
|
+
fontFamily: tokens_default.typography.fontFamily.body
|
|
1636
|
+
}
|
|
1637
|
+
}
|
|
1638
|
+
}
|
|
1639
|
+
},
|
|
1640
|
+
MuiPickersToolbar: {
|
|
1641
|
+
styleOverrides: {
|
|
1642
|
+
root: {
|
|
1643
|
+
padding: `${tokens_default.borderRadius.md * 2}px`,
|
|
1644
|
+
borderTop: `1px solid ${tokens_default.color.gray[200]}`,
|
|
1645
|
+
gap: `${tokens_default.borderRadius.lg}px`,
|
|
1646
|
+
display: "flex",
|
|
1647
|
+
"& .MuiButton-root": {
|
|
1648
|
+
flex: 1,
|
|
1649
|
+
minWidth: "auto",
|
|
1650
|
+
textTransform: "none",
|
|
1651
|
+
fontSize: tokens_default.typography.fontSize["text-md"],
|
|
1652
|
+
fontWeight: tokens_default.typography.fontWeight.semibold,
|
|
1653
|
+
fontFamily: tokens_default.typography.fontFamily.body,
|
|
1654
|
+
padding: "10px 16px",
|
|
1655
|
+
borderRadius: `${tokens_default.borderRadius.md}px`,
|
|
1656
|
+
lineHeight: tokens_default.typography.lineHeight["text-md"],
|
|
1657
|
+
boxShadow: "none",
|
|
1658
|
+
"&:hover": {
|
|
1659
|
+
boxShadow: "none"
|
|
1660
|
+
}
|
|
1661
|
+
},
|
|
1662
|
+
"& .MuiButton-root:first-of-type": {
|
|
1663
|
+
backgroundColor: tokens_default.color.base.white,
|
|
1664
|
+
border: `1px solid ${tokens_default.color.gray[300]}`,
|
|
1665
|
+
color: tokens_default.color.gray[700],
|
|
1666
|
+
"&:hover": {
|
|
1667
|
+
backgroundColor: tokens_default.color.gray[50],
|
|
1668
|
+
border: `1px solid ${tokens_default.color.gray[300]}`
|
|
1669
|
+
}
|
|
1670
|
+
},
|
|
1671
|
+
"& .MuiButton-root:last-of-type": {
|
|
1672
|
+
backgroundColor: `${tokens_default.color.primary[600]} !important`,
|
|
1673
|
+
color: `${tokens_default.color.base.white} !important`,
|
|
1674
|
+
border: "none !important",
|
|
1675
|
+
"&:hover": {
|
|
1676
|
+
backgroundColor: `${tokens_default.color.primary[700]} !important`
|
|
1677
|
+
}
|
|
1678
|
+
}
|
|
1679
|
+
}
|
|
1680
|
+
}
|
|
1681
|
+
}
|
|
1682
|
+
};
|
|
1683
|
+
|
|
1684
|
+
// src/theme/components/table.ts
|
|
1685
|
+
var tableOverrides = {
|
|
1686
|
+
MuiTable: {
|
|
1687
|
+
styleOverrides: {
|
|
1688
|
+
root: {
|
|
1689
|
+
borderCollapse: "separate",
|
|
1690
|
+
borderSpacing: 0
|
|
1691
|
+
}
|
|
1692
|
+
}
|
|
1693
|
+
},
|
|
1694
|
+
MuiTableHead: {
|
|
1695
|
+
styleOverrides: {
|
|
1696
|
+
root: {
|
|
1697
|
+
"& .MuiTableCell-root": {
|
|
1698
|
+
backgroundColor: tokens_default.color.gray[50],
|
|
1699
|
+
borderBottom: `1px solid ${tokens_default.color.gray[200]}`,
|
|
1700
|
+
fontFamily: tokens_default.typography.fontFamily.body,
|
|
1701
|
+
fontSize: tokens_default.typography.fontSize["text-xs"],
|
|
1702
|
+
fontWeight: tokens_default.typography.fontWeight.medium,
|
|
1703
|
+
lineHeight: tokens_default.typography.lineHeight["text-xs"],
|
|
1704
|
+
color: tokens_default.color.gray[600],
|
|
1705
|
+
textTransform: "uppercase",
|
|
1706
|
+
padding: "12px 24px"
|
|
1707
|
+
}
|
|
1708
|
+
}
|
|
1709
|
+
}
|
|
1710
|
+
},
|
|
1711
|
+
MuiTableBody: {
|
|
1712
|
+
styleOverrides: {
|
|
1713
|
+
root: {
|
|
1714
|
+
"& .MuiTableRow-root": {
|
|
1715
|
+
"&:hover": {
|
|
1716
|
+
backgroundColor: tokens_default.color.gray[25]
|
|
1717
|
+
},
|
|
1718
|
+
"&:last-child .MuiTableCell-root": {
|
|
1719
|
+
borderBottom: 0
|
|
1720
|
+
}
|
|
1721
|
+
}
|
|
1722
|
+
}
|
|
1723
|
+
}
|
|
1724
|
+
},
|
|
1725
|
+
MuiTableCell: {
|
|
1726
|
+
styleOverrides: {
|
|
1727
|
+
root: {
|
|
1728
|
+
fontFamily: tokens_default.typography.fontFamily.body,
|
|
1729
|
+
fontSize: tokens_default.typography.fontSize["text-sm"],
|
|
1730
|
+
fontWeight: tokens_default.typography.fontWeight.regular,
|
|
1731
|
+
lineHeight: tokens_default.typography.lineHeight["text-sm"],
|
|
1732
|
+
color: tokens_default.color.gray[900],
|
|
1733
|
+
padding: "16px 24px",
|
|
1734
|
+
borderBottom: `1px solid ${tokens_default.color.gray[200]}`
|
|
1735
|
+
},
|
|
1736
|
+
head: {
|
|
1737
|
+
backgroundColor: tokens_default.color.gray[50],
|
|
1738
|
+
fontWeight: tokens_default.typography.fontWeight.medium,
|
|
1739
|
+
color: tokens_default.color.gray[600],
|
|
1740
|
+
fontSize: tokens_default.typography.fontSize["text-xs"],
|
|
1741
|
+
lineHeight: tokens_default.typography.lineHeight["text-xs"],
|
|
1742
|
+
textTransform: "uppercase",
|
|
1743
|
+
padding: "12px 24px"
|
|
1744
|
+
}
|
|
1745
|
+
}
|
|
1746
|
+
},
|
|
1747
|
+
MuiTablePagination: {
|
|
1748
|
+
styleOverrides: {
|
|
1749
|
+
root: {
|
|
1750
|
+
borderTop: `1px solid ${tokens_default.color.gray[200]}`,
|
|
1751
|
+
padding: "12px 24px 16px",
|
|
1752
|
+
display: "flex",
|
|
1753
|
+
alignItems: "center",
|
|
1754
|
+
justifyContent: "center",
|
|
1755
|
+
gap: "12px",
|
|
1756
|
+
color: tokens_default.color.gray[700],
|
|
1757
|
+
fontFamily: tokens_default.typography.fontFamily.body
|
|
1758
|
+
},
|
|
1759
|
+
toolbar: {
|
|
1760
|
+
padding: 0,
|
|
1761
|
+
minHeight: "unset",
|
|
1762
|
+
gap: "12px",
|
|
1763
|
+
justifyContent: "center",
|
|
1764
|
+
width: "100%"
|
|
1765
|
+
},
|
|
1766
|
+
spacer: {
|
|
1767
|
+
display: "none"
|
|
1768
|
+
},
|
|
1769
|
+
selectLabel: {
|
|
1770
|
+
display: "none"
|
|
1771
|
+
},
|
|
1772
|
+
select: {
|
|
1773
|
+
display: "none"
|
|
1774
|
+
},
|
|
1775
|
+
displayedRows: {
|
|
1776
|
+
margin: 0,
|
|
1777
|
+
fontFamily: tokens_default.typography.fontFamily.body,
|
|
1778
|
+
fontSize: tokens_default.typography.fontSize["text-sm"],
|
|
1779
|
+
fontWeight: tokens_default.typography.fontWeight.medium,
|
|
1780
|
+
color: tokens_default.color.gray[700],
|
|
1781
|
+
order: 1
|
|
1782
|
+
},
|
|
1783
|
+
actions: {
|
|
1784
|
+
display: "flex",
|
|
1785
|
+
gap: "2px",
|
|
1786
|
+
alignItems: "center",
|
|
1787
|
+
order: 2,
|
|
1788
|
+
marginLeft: 0,
|
|
1789
|
+
"& .MuiIconButton-root": {
|
|
1790
|
+
backgroundColor: tokens_default.color.base.white,
|
|
1791
|
+
border: `1px solid ${tokens_default.color.gray[300]}`,
|
|
1792
|
+
borderRadius: tokens_default.borderRadius.md,
|
|
1793
|
+
padding: "8px 12px",
|
|
1794
|
+
margin: 0,
|
|
1795
|
+
boxShadow: tokens_default.shadows.xs,
|
|
1796
|
+
fontFamily: tokens_default.typography.fontFamily.body,
|
|
1797
|
+
fontSize: tokens_default.typography.fontSize["text-sm"],
|
|
1798
|
+
fontWeight: tokens_default.typography.fontWeight.semibold,
|
|
1799
|
+
color: tokens_default.color.gray[700],
|
|
1800
|
+
gap: "4px",
|
|
1801
|
+
minWidth: "40px",
|
|
1802
|
+
height: "36px",
|
|
1803
|
+
"&:hover": {
|
|
1804
|
+
backgroundColor: tokens_default.color.gray[50],
|
|
1805
|
+
borderColor: tokens_default.color.gray[300]
|
|
1806
|
+
},
|
|
1807
|
+
"&.Mui-disabled": {
|
|
1808
|
+
backgroundColor: tokens_default.color.base.white,
|
|
1809
|
+
borderColor: tokens_default.color.gray[200],
|
|
1810
|
+
color: tokens_default.color.gray[400],
|
|
1811
|
+
opacity: 0.6
|
|
1812
|
+
},
|
|
1813
|
+
"&:first-of-type": {
|
|
1814
|
+
"&::after": {
|
|
1815
|
+
content: '"Previous"',
|
|
1816
|
+
marginLeft: "4px"
|
|
1817
|
+
}
|
|
1818
|
+
},
|
|
1819
|
+
"&:last-of-type": {
|
|
1820
|
+
"&::before": {
|
|
1821
|
+
content: '"Next"',
|
|
1822
|
+
marginRight: "4px"
|
|
1823
|
+
}
|
|
1824
|
+
}
|
|
1825
|
+
}
|
|
1826
|
+
}
|
|
1827
|
+
}
|
|
1828
|
+
}
|
|
1829
|
+
};
|
|
1830
|
+
|
|
1831
|
+
// src/theme/components/sectionHeader.ts
|
|
1832
|
+
var sectionHeaderOverrides = {
|
|
1833
|
+
// Future: Add any SectionHeader-specific MUI component overrides here if needed
|
|
1834
|
+
};
|
|
1835
|
+
|
|
1836
|
+
// src/theme/components/modal.ts
|
|
1837
|
+
var modalOverrides = {
|
|
1838
|
+
MuiModal: {
|
|
1839
|
+
styleOverrides: {
|
|
1840
|
+
root: {
|
|
1841
|
+
display: "flex",
|
|
1842
|
+
alignItems: "center",
|
|
1843
|
+
justifyContent: "center"
|
|
1844
|
+
},
|
|
1845
|
+
backdrop: {
|
|
1846
|
+
backgroundColor: tokens_default.color.gray[950],
|
|
1847
|
+
opacity: "0.5 !important",
|
|
1848
|
+
backdropFilter: "blur(8px)"
|
|
1849
|
+
}
|
|
1850
|
+
}
|
|
1851
|
+
},
|
|
1852
|
+
MuiDialog: {
|
|
1853
|
+
styleOverrides: {
|
|
1854
|
+
root: {
|
|
1855
|
+
"& .MuiBackdrop-root": {
|
|
1856
|
+
backgroundColor: tokens_default.color.gray[950],
|
|
1857
|
+
opacity: "0.5 !important",
|
|
1858
|
+
backdropFilter: "blur(8px)"
|
|
1859
|
+
}
|
|
1860
|
+
},
|
|
1861
|
+
paper: {
|
|
1862
|
+
backgroundColor: tokens_default.color.base.white,
|
|
1863
|
+
borderRadius: tokens_default.borderRadius["2xl"],
|
|
1864
|
+
boxShadow: `0px 20px 24px -4px rgba(10,13,18,0.08), 0px 8px 8px -4px rgba(10,13,18,0.03), 0px 3px 3px -1.5px rgba(10,13,18,0.02)`,
|
|
1865
|
+
overflow: "hidden"
|
|
1866
|
+
}
|
|
1867
|
+
}
|
|
1868
|
+
},
|
|
1869
|
+
MuiDialogTitle: {
|
|
1870
|
+
styleOverrides: {
|
|
1871
|
+
root: {
|
|
1872
|
+
fontFamily: tokens_default.typography.fontFamily.body,
|
|
1873
|
+
fontSize: tokens_default.typography.fontSize["text-lg"],
|
|
1874
|
+
fontWeight: tokens_default.typography.fontWeight.semibold,
|
|
1875
|
+
lineHeight: tokens_default.typography.lineHeight["text-lg"],
|
|
1876
|
+
color: tokens_default.color.gray[900],
|
|
1877
|
+
padding: `${tokens_default.spacing["3xl"]} ${tokens_default.spacing["3xl"]} ${tokens_default.spacing.lg}`
|
|
1878
|
+
}
|
|
1879
|
+
}
|
|
1880
|
+
},
|
|
1881
|
+
MuiDialogContent: {
|
|
1882
|
+
styleOverrides: {
|
|
1883
|
+
root: {
|
|
1884
|
+
fontFamily: tokens_default.typography.fontFamily.body,
|
|
1885
|
+
fontSize: tokens_default.typography.fontSize["text-sm"],
|
|
1886
|
+
fontWeight: tokens_default.typography.fontWeight.regular,
|
|
1887
|
+
lineHeight: tokens_default.typography.lineHeight["text-sm"],
|
|
1888
|
+
color: tokens_default.color.gray[600],
|
|
1889
|
+
padding: `0 ${tokens_default.spacing["3xl"]}`
|
|
1890
|
+
}
|
|
1891
|
+
}
|
|
1892
|
+
},
|
|
1893
|
+
MuiDialogContentText: {
|
|
1894
|
+
styleOverrides: {
|
|
1895
|
+
root: {
|
|
1896
|
+
fontFamily: tokens_default.typography.fontFamily.body,
|
|
1897
|
+
fontSize: tokens_default.typography.fontSize["text-sm"],
|
|
1898
|
+
fontWeight: tokens_default.typography.fontWeight.regular,
|
|
1899
|
+
lineHeight: tokens_default.typography.lineHeight["text-sm"],
|
|
1900
|
+
color: tokens_default.color.gray[600]
|
|
1901
|
+
}
|
|
1902
|
+
}
|
|
1903
|
+
},
|
|
1904
|
+
MuiDialogActions: {
|
|
1905
|
+
styleOverrides: {
|
|
1906
|
+
root: {
|
|
1907
|
+
padding: `${tokens_default.spacing["4xl"]} ${tokens_default.spacing["3xl"]} ${tokens_default.spacing["3xl"]}`,
|
|
1908
|
+
gap: tokens_default.spacing.lg,
|
|
1909
|
+
"& > :not(:first-of-type)": {
|
|
1910
|
+
marginLeft: 0
|
|
1911
|
+
}
|
|
1912
|
+
}
|
|
1913
|
+
}
|
|
1914
|
+
}
|
|
1915
|
+
};
|
|
1916
|
+
|
|
1917
|
+
// src/theme/components/index.ts
|
|
1918
|
+
var components = {
|
|
1919
|
+
MuiButton: buttonOverrides,
|
|
1920
|
+
MuiButtonGroup: buttonGroupOverrides,
|
|
1921
|
+
MuiCard: cardOverrides,
|
|
1922
|
+
MuiChip: chipOverrides,
|
|
1923
|
+
MuiSelect: selectOverrides,
|
|
1924
|
+
MuiAutocomplete: autocompleteOverrides,
|
|
1925
|
+
MuiAvatar: avatarOverrides,
|
|
1926
|
+
MuiSwitch: switchOverrides,
|
|
1927
|
+
MuiCheckbox: checkboxOverrides,
|
|
1928
|
+
MuiRadio: radioOverrides,
|
|
1929
|
+
...datePickerOverrides,
|
|
1930
|
+
...textFieldOverrides,
|
|
1931
|
+
...menuOverrides,
|
|
1932
|
+
...progressOverrides,
|
|
1933
|
+
...tableOverrides,
|
|
1934
|
+
...sectionHeaderOverrides,
|
|
1935
|
+
...modalOverrides
|
|
1936
|
+
};
|
|
1937
|
+
|
|
1938
|
+
// src/theme/theme.ts
|
|
1939
|
+
var colorTokens3 = tokens_default.color;
|
|
1940
|
+
var typographyTokens = tokens_default.typography;
|
|
1941
|
+
var borderRadiusTokens6 = tokens_default.borderRadius;
|
|
1942
|
+
var shadowTokens = tokens_default.shadows;
|
|
1943
|
+
var themeOptions = {
|
|
1944
|
+
palette,
|
|
1945
|
+
typography,
|
|
1946
|
+
spacing: 8,
|
|
1947
|
+
// Base unit for theme.spacing() function
|
|
1948
|
+
shape: {
|
|
1949
|
+
borderRadiusSm: borderRadiusTokens6.sm,
|
|
1950
|
+
borderRadiusMd: borderRadiusTokens6.md,
|
|
1951
|
+
borderRadiusLg: borderRadiusTokens6.lg,
|
|
1952
|
+
borderRadiusXl: borderRadiusTokens6.xl
|
|
1953
|
+
},
|
|
1954
|
+
components
|
|
1955
|
+
};
|
|
1956
|
+
var theme = createTheme(themeOptions);
|
|
1957
|
+
var tokens = {
|
|
1958
|
+
color: colorTokens3,
|
|
1959
|
+
typography: typographyTokens,
|
|
1960
|
+
borderRadius: borderRadiusTokens6,
|
|
1961
|
+
shadows: shadowTokens
|
|
1962
|
+
};
|
|
1963
|
+
|
|
1964
|
+
// src/theme/icons.ts
|
|
1965
|
+
import { default as default2 } from "@mui/icons-material/Close";
|
|
1966
|
+
import { default as default3 } from "@mui/icons-material/Menu";
|
|
1967
|
+
import { default as default4 } from "@mui/icons-material/ChevronLeft";
|
|
1968
|
+
import { default as default5 } from "@mui/icons-material/ChevronRight";
|
|
1969
|
+
import { default as default6 } from "@mui/icons-material/KeyboardArrowDown";
|
|
1970
|
+
import { default as default7 } from "@mui/icons-material/KeyboardArrowUp";
|
|
1971
|
+
import { default as default8 } from "@mui/icons-material/KeyboardArrowRight";
|
|
1972
|
+
import { default as default9 } from "@mui/icons-material/OpenInNew";
|
|
1973
|
+
import { default as default10 } from "@mui/icons-material/LogoutOutlined";
|
|
1974
|
+
import { default as default11 } from "@mui/icons-material/Add";
|
|
1975
|
+
import { default as default12 } from "@mui/icons-material/Edit";
|
|
1976
|
+
import { default as default13 } from "@mui/icons-material/Delete";
|
|
1977
|
+
import { default as default14 } from "@mui/icons-material/DeleteOutline";
|
|
1978
|
+
import { default as default15 } from "@mui/icons-material/ContentCopy";
|
|
1979
|
+
import { default as default16 } from "@mui/icons-material/Send";
|
|
1980
|
+
import { default as default17 } from "@mui/icons-material/Search";
|
|
1981
|
+
import { default as default18 } from "@mui/icons-material/CloudUpload";
|
|
1982
|
+
import { default as default19 } from "@mui/icons-material/CloudUploadOutlined";
|
|
1983
|
+
import { default as default20 } from "@mui/icons-material/CloudDownload";
|
|
1984
|
+
import { default as default21 } from "@mui/icons-material/Download";
|
|
1985
|
+
import { default as default22 } from "@mui/icons-material/AttachFile";
|
|
1986
|
+
import { default as default23 } from "@mui/icons-material/Create";
|
|
1987
|
+
import { default as default24 } from "@mui/icons-material/PlayArrow";
|
|
1988
|
+
import { default as default25 } from "@mui/icons-material/UploadFile";
|
|
1989
|
+
import { default as default26 } from "@mui/icons-material/Pause";
|
|
1990
|
+
import { default as default27 } from "@mui/icons-material/VolumeUp";
|
|
1991
|
+
import { default as default28 } from "@mui/icons-material/Fullscreen";
|
|
1992
|
+
import { default as default29 } from "@mui/icons-material/Check";
|
|
1993
|
+
import { default as default30 } from "@mui/icons-material/CheckCircle";
|
|
1994
|
+
import { default as default31 } from "@mui/icons-material/CheckCircleOutline";
|
|
1995
|
+
import { default as default32 } from "@mui/icons-material/CheckCircleOutlined";
|
|
1996
|
+
import { default as default33 } from "@mui/icons-material/ErrorOutline";
|
|
1997
|
+
import { default as default34 } from "@mui/icons-material/ErrorOutlined";
|
|
1998
|
+
import { default as default35 } from "@mui/icons-material/WarningAmber";
|
|
1999
|
+
import { default as default36 } from "@mui/icons-material/WarningAmberOutlined";
|
|
2000
|
+
import { default as default37 } from "@mui/icons-material/InfoOutlined";
|
|
2001
|
+
import { default as default38 } from "@mui/icons-material/Verified";
|
|
2002
|
+
import { default as default39 } from "@mui/icons-material/CancelOutlined";
|
|
2003
|
+
import { default as default40 } from "@mui/icons-material/GitHub";
|
|
2004
|
+
import { default as default41 } from "@mui/icons-material/Twitter";
|
|
2005
|
+
import { default as default42 } from "@mui/icons-material/LinkedIn";
|
|
2006
|
+
import { default as default43 } from "@mui/icons-material/Public";
|
|
2007
|
+
import { default as default44 } from "@mui/icons-material/Email";
|
|
2008
|
+
import { default as default45 } from "@mui/icons-material/Mail";
|
|
2009
|
+
import { default as default46 } from "@mui/icons-material/FolderOutlined";
|
|
2010
|
+
import { default as default47 } from "@mui/icons-material/FolderOutlined";
|
|
2011
|
+
import { default as default48 } from "@mui/icons-material/DescriptionOutlined";
|
|
2012
|
+
import { default as default49 } from "@mui/icons-material/DescriptionOutlined";
|
|
2013
|
+
import { default as default50 } from "@mui/icons-material/ArticleOutlined";
|
|
2014
|
+
import { default as default51 } from "@mui/icons-material/InsertDriveFileOutlined";
|
|
2015
|
+
import { default as default52 } from "@mui/icons-material/Image";
|
|
2016
|
+
import { default as default53 } from "@mui/icons-material/Person";
|
|
2017
|
+
import { default as default54 } from "@mui/icons-material/PersonOutline";
|
|
2018
|
+
import { default as default55 } from "@mui/icons-material/PeopleOutlined";
|
|
2019
|
+
import { default as default56 } from "@mui/icons-material/GroupAddOutlined";
|
|
2020
|
+
import { default as default57 } from "@mui/icons-material/Settings";
|
|
2021
|
+
import { default as default58 } from "@mui/icons-material/SettingsOutlined";
|
|
2022
|
+
import { default as default59 } from "@mui/icons-material/Notifications";
|
|
2023
|
+
import { default as default60 } from "@mui/icons-material/NotificationsOutlined";
|
|
2024
|
+
import { default as default61 } from "@mui/icons-material/HelpOutline";
|
|
2025
|
+
import { default as default62 } from "@mui/icons-material/MoreVert";
|
|
2026
|
+
import { default as default63 } from "@mui/icons-material/DashboardOutlined";
|
|
2027
|
+
import { default as default64 } from "@mui/icons-material/BarChart";
|
|
2028
|
+
import { default as default65 } from "@mui/icons-material/BarChartOutlined";
|
|
2029
|
+
import { default as default66 } from "@mui/icons-material/AssessmentOutlined";
|
|
2030
|
+
import { default as default67 } from "@mui/icons-material/Circle";
|
|
2031
|
+
import { default as default68 } from "@mui/icons-material/HomeOutlined";
|
|
2032
|
+
import { default as default69 } from "@mui/icons-material/AssignmentOutlined";
|
|
2033
|
+
import { default as default70 } from "@mui/icons-material/AccessTime";
|
|
2034
|
+
import { default as default71 } from "@mui/icons-material/CalendarToday";
|
|
2035
|
+
import { default as default72 } from "@mui/icons-material/CalendarTodayOutlined";
|
|
2036
|
+
import { default as default73 } from "@mui/icons-material/Alarm";
|
|
2037
|
+
import { default as default74 } from "@mui/icons-material/FlashOn";
|
|
2038
|
+
import { default as default75 } from "@mui/icons-material/Bolt";
|
|
2039
|
+
import { default as default76 } from "@mui/icons-material/AutoAwesome";
|
|
2040
|
+
import { default as default77 } from "@mui/icons-material/Mic";
|
|
2041
|
+
import { default as default78 } from "@mui/icons-material/Link";
|
|
2042
|
+
import { default as default79 } from "@mui/icons-material/BookmarkBorder";
|
|
2043
|
+
import { default as default80 } from "@mui/icons-material/CreditCard";
|
|
2044
|
+
import { default as default81 } from "@mui/icons-material/IntegrationInstructions";
|
|
2045
|
+
import { default as default82 } from "@mui/icons-material/ChatBubbleOutline";
|
|
2046
|
+
import { default as default83 } from "@mui/icons-material/MailOutline";
|
|
2047
|
+
import { default as default84 } from "@mui/icons-material/StarOutline";
|
|
2048
|
+
import { default as default85 } from "@mui/icons-material/Refresh";
|
|
2049
|
+
import { default as default86 } from "@mui/icons-material/DoneAll";
|
|
2050
|
+
export {
|
|
2051
|
+
default70 as AccessTimeIcon,
|
|
2052
|
+
default11 as AddIcon,
|
|
2053
|
+
default73 as AlarmIcon,
|
|
2054
|
+
default50 as ArticleOutlinedIcon,
|
|
2055
|
+
default66 as AssessmentOutlinedIcon,
|
|
2056
|
+
default69 as AssignmentOutlinedIcon,
|
|
2057
|
+
default22 as AttachFileIcon,
|
|
2058
|
+
default76 as AutoAwesomeIcon,
|
|
2059
|
+
default64 as BarChartIcon,
|
|
2060
|
+
default65 as BarChartOutlinedIcon,
|
|
2061
|
+
default75 as BoltIcon,
|
|
2062
|
+
default79 as BookmarkBorderIcon,
|
|
2063
|
+
default71 as CalendarTodayIcon,
|
|
2064
|
+
default72 as CalendarTodayOutlinedIcon,
|
|
2065
|
+
default39 as CancelOutlinedIcon,
|
|
2066
|
+
default82 as ChatBubbleOutlineIcon,
|
|
2067
|
+
default30 as CheckCircleIcon,
|
|
2068
|
+
default31 as CheckCircleOutlineIcon,
|
|
2069
|
+
default32 as CheckCircleOutlinedIcon,
|
|
2070
|
+
default29 as CheckIcon,
|
|
2071
|
+
default4 as ChevronLeftIcon,
|
|
2072
|
+
default5 as ChevronRightIcon,
|
|
2073
|
+
default67 as CircleIcon,
|
|
2074
|
+
default2 as CloseIcon,
|
|
2075
|
+
default20 as CloudDownloadIcon,
|
|
2076
|
+
default18 as CloudUploadIcon,
|
|
2077
|
+
default19 as CloudUploadOutlinedIcon,
|
|
2078
|
+
default15 as ContentCopyIcon,
|
|
2079
|
+
default23 as CreateIcon,
|
|
2080
|
+
default80 as CreditCardIcon,
|
|
2081
|
+
default63 as DashboardOutlinedIcon,
|
|
2082
|
+
default13 as DeleteIcon,
|
|
2083
|
+
default14 as DeleteOutlineIcon,
|
|
2084
|
+
default48 as DescriptionIcon,
|
|
2085
|
+
default49 as DescriptionOutlinedIcon,
|
|
2086
|
+
default86 as DoneAllIcon,
|
|
2087
|
+
default21 as DownloadIcon,
|
|
2088
|
+
default12 as EditIcon,
|
|
2089
|
+
default44 as EmailIcon,
|
|
2090
|
+
default33 as ErrorOutlineIcon,
|
|
2091
|
+
default34 as ErrorOutlinedIcon,
|
|
2092
|
+
default74 as FlashOnIcon,
|
|
2093
|
+
default46 as FolderIcon,
|
|
2094
|
+
default47 as FolderOutlinedIcon,
|
|
2095
|
+
default28 as FullscreenIcon,
|
|
2096
|
+
default40 as GitHubIcon,
|
|
2097
|
+
default56 as GroupAddOutlinedIcon,
|
|
2098
|
+
default61 as HelpOutlineIcon,
|
|
2099
|
+
default68 as HomeOutlinedIcon,
|
|
2100
|
+
default52 as ImageIcon,
|
|
2101
|
+
default37 as InfoOutlinedIcon,
|
|
2102
|
+
default51 as InsertDriveFileOutlinedIcon,
|
|
2103
|
+
default81 as IntegrationInstructionsIcon,
|
|
2104
|
+
default6 as KeyboardArrowDownIcon,
|
|
2105
|
+
default8 as KeyboardArrowRightIcon,
|
|
2106
|
+
default7 as KeyboardArrowUpIcon,
|
|
2107
|
+
default78 as LinkIcon,
|
|
2108
|
+
default42 as LinkedInIcon,
|
|
2109
|
+
default10 as LogoutOutlinedIcon,
|
|
2110
|
+
default45 as MailIcon,
|
|
2111
|
+
default83 as MailOutlineIcon,
|
|
2112
|
+
default3 as MenuIcon,
|
|
2113
|
+
default77 as MicIcon,
|
|
2114
|
+
default62 as MoreVertIcon,
|
|
2115
|
+
default59 as NotificationsIcon,
|
|
2116
|
+
default60 as NotificationsOutlinedIcon,
|
|
2117
|
+
default9 as OpenInNewIcon,
|
|
2118
|
+
default26 as PauseIcon,
|
|
2119
|
+
default55 as PeopleOutlinedIcon,
|
|
2120
|
+
default53 as PersonIcon,
|
|
2121
|
+
default54 as PersonOutlineIcon,
|
|
2122
|
+
default24 as PlayArrowIcon,
|
|
2123
|
+
default43 as PublicIcon,
|
|
2124
|
+
default85 as RefreshIcon,
|
|
2125
|
+
default17 as SearchIcon,
|
|
2126
|
+
default16 as SendIcon,
|
|
2127
|
+
default57 as SettingsIcon,
|
|
2128
|
+
default58 as SettingsOutlinedIcon,
|
|
2129
|
+
default84 as StarOutlineIcon,
|
|
2130
|
+
default41 as TwitterIcon,
|
|
2131
|
+
default25 as UploadFileIcon,
|
|
2132
|
+
default38 as VerifiedIcon,
|
|
2133
|
+
default27 as VolumeUpIcon,
|
|
2134
|
+
default35 as WarningAmberIcon,
|
|
2135
|
+
default36 as WarningAmberOutlinedIcon,
|
|
2136
|
+
theme,
|
|
2137
|
+
tokens
|
|
2138
|
+
};
|
|
2139
|
+
//# sourceMappingURL=index.mjs.map
|