@matteoaliano/forest-ui 0.2.11 → 0.3.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/README.md +123 -0
- package/dist/{chunk-6W3RIXXY.mjs → chunk-GZ6FQWHG.mjs} +1317 -607
- package/dist/chunk-GZ6FQWHG.mjs.map +1 -0
- package/dist/{index-DJDmMb_c.d.mts → index-CSpNzZHg.d.mts} +350 -223
- package/dist/{index-DJDmMb_c.d.ts → index-CSpNzZHg.d.ts} +350 -223
- package/dist/index.d.mts +36 -11
- package/dist/index.d.ts +36 -11
- package/dist/index.js +1286 -644
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +87 -16
- package/dist/index.mjs.map +1 -1
- package/dist/theme.d.mts +1 -1
- package/dist/theme.d.ts +1 -1
- package/dist/theme.js +1324 -606
- package/dist/theme.js.map +1 -1
- package/dist/theme.mjs +1 -1
- package/fonts/alkemy-beta/AlkemyBETA-Medium.otf +0 -0
- package/fonts/alkemy-beta/alkemy-beta.css +10 -0
- package/guidelines/FOREST_BE_GUIDELINES.md +1 -1
- package/guidelines/FOREST_FE_GUIDELINES.md +1 -1
- package/guidelines/FOREST_UI_GUIDELINES.md +1 -1
- package/package.json +20 -6
- package/dist/chunk-6W3RIXXY.mjs.map +0 -1
package/dist/index.js
CHANGED
|
@@ -21,6 +21,8 @@ var MuiTextField = require('@mui/material/TextField');
|
|
|
21
21
|
var InputAdornment = require('@mui/material/InputAdornment');
|
|
22
22
|
var IconButton = require('@mui/material/IconButton');
|
|
23
23
|
var utils = require('@mui/material/utils');
|
|
24
|
+
var MuiInputBase = require('@mui/material/InputBase');
|
|
25
|
+
var material = require('@mui/material');
|
|
24
26
|
var MuiToggleButton = require('@mui/material/ToggleButton');
|
|
25
27
|
var MuiToggleButtonGroup = require('@mui/material/ToggleButtonGroup');
|
|
26
28
|
var DatePicker$1 = require('@mui/x-date-pickers/DatePicker');
|
|
@@ -81,9 +83,8 @@ var MuiStepLabel = require('@mui/material/StepLabel');
|
|
|
81
83
|
var MuiTabs = require('@mui/material/Tabs');
|
|
82
84
|
var MuiTab = require('@mui/material/Tab');
|
|
83
85
|
var MuiDrawer = require('@mui/material/Drawer');
|
|
84
|
-
var
|
|
86
|
+
var Box2 = require('@mui/material/Box');
|
|
85
87
|
var LineChart$1 = require('@mui/x-charts/LineChart');
|
|
86
|
-
var material = require('@mui/material');
|
|
87
88
|
var BarChart$1 = require('@mui/x-charts/BarChart');
|
|
88
89
|
var PieChart$1 = require('@mui/x-charts/PieChart');
|
|
89
90
|
|
|
@@ -107,6 +108,7 @@ var MuiSwitch__default = /*#__PURE__*/_interopDefault(MuiSwitch);
|
|
|
107
108
|
var MuiTextField__default = /*#__PURE__*/_interopDefault(MuiTextField);
|
|
108
109
|
var InputAdornment__default = /*#__PURE__*/_interopDefault(InputAdornment);
|
|
109
110
|
var IconButton__default = /*#__PURE__*/_interopDefault(IconButton);
|
|
111
|
+
var MuiInputBase__default = /*#__PURE__*/_interopDefault(MuiInputBase);
|
|
110
112
|
var MuiToggleButton__default = /*#__PURE__*/_interopDefault(MuiToggleButton);
|
|
111
113
|
var MuiToggleButtonGroup__default = /*#__PURE__*/_interopDefault(MuiToggleButtonGroup);
|
|
112
114
|
var MuiBadge__default = /*#__PURE__*/_interopDefault(MuiBadge);
|
|
@@ -163,45 +165,111 @@ var MuiStepLabel__default = /*#__PURE__*/_interopDefault(MuiStepLabel);
|
|
|
163
165
|
var MuiTabs__default = /*#__PURE__*/_interopDefault(MuiTabs);
|
|
164
166
|
var MuiTab__default = /*#__PURE__*/_interopDefault(MuiTab);
|
|
165
167
|
var MuiDrawer__default = /*#__PURE__*/_interopDefault(MuiDrawer);
|
|
166
|
-
var
|
|
168
|
+
var Box2__default = /*#__PURE__*/_interopDefault(Box2);
|
|
167
169
|
|
|
168
170
|
// src/provider/ForestProvider.tsx
|
|
169
171
|
|
|
170
172
|
// src/theme/tokens.ts
|
|
173
|
+
var violet = {
|
|
174
|
+
50: "#f5f0ff",
|
|
175
|
+
100: "#ebe0ff",
|
|
176
|
+
200: "#d6c0ff",
|
|
177
|
+
300: "#b090ff",
|
|
178
|
+
400: "#9D5FFF",
|
|
179
|
+
500: "#7c4de6",
|
|
180
|
+
600: "#5b3acc",
|
|
181
|
+
700: "#3a1aad",
|
|
182
|
+
800: "#190a8a",
|
|
183
|
+
900: "#000066"};
|
|
184
|
+
var gray = {
|
|
185
|
+
25: "#fdfcfc",
|
|
186
|
+
50: "#faf9f8",
|
|
187
|
+
100: "#f5f3f1",
|
|
188
|
+
200: "#e8e5e3",
|
|
189
|
+
300: "#d8d8dc",
|
|
190
|
+
400: "#a0a0a6",
|
|
191
|
+
500: "#71717a",
|
|
192
|
+
600: "#52525b",
|
|
193
|
+
700: "#3f3f46",
|
|
194
|
+
800: "#27272a",
|
|
195
|
+
900: "#18181b",
|
|
196
|
+
950: "#09090b"
|
|
197
|
+
};
|
|
198
|
+
var info = {
|
|
199
|
+
25: "#f5faff",
|
|
200
|
+
50: "#eff8ff",
|
|
201
|
+
100: "#d1e9ff",
|
|
202
|
+
200: "#b2ddff",
|
|
203
|
+
300: "#84caff",
|
|
204
|
+
400: "#53b1fd",
|
|
205
|
+
500: "#2e90fa",
|
|
206
|
+
600: "#1570ef",
|
|
207
|
+
700: "#175cd3",
|
|
208
|
+
800: "#1849a9",
|
|
209
|
+
900: "#194185",
|
|
210
|
+
950: "#102a56"
|
|
211
|
+
};
|
|
212
|
+
var misc = {
|
|
213
|
+
teal: {
|
|
214
|
+
50: "#f0fdf9",
|
|
215
|
+
100: "#ccfbef",
|
|
216
|
+
200: "#99f6e0",
|
|
217
|
+
300: "#5fe9d0",
|
|
218
|
+
400: "#2ed3b7",
|
|
219
|
+
600: "#0e9384",
|
|
220
|
+
700: "#107569"},
|
|
221
|
+
orange: {
|
|
222
|
+
100: "#fdead7",
|
|
223
|
+
200: "#f9dbaf",
|
|
224
|
+
300: "#f7b27a",
|
|
225
|
+
400: "#f38744"},
|
|
226
|
+
purple: {
|
|
227
|
+
100: "#ebe9fe",
|
|
228
|
+
200: "#d9d6fe",
|
|
229
|
+
500: "#7a5af8",
|
|
230
|
+
600: "#6938ef"},
|
|
231
|
+
pink: {
|
|
232
|
+
100: "#fce7f6",
|
|
233
|
+
200: "#fcceee",
|
|
234
|
+
400: "#f670c7",
|
|
235
|
+
500: "#ee46bc"},
|
|
236
|
+
fuchsia: {
|
|
237
|
+
100: "#fbe8ff",
|
|
238
|
+
200: "#f6d0fe",
|
|
239
|
+
400: "#e478fa",
|
|
240
|
+
500: "#d444f1"},
|
|
241
|
+
orangeDark: {
|
|
242
|
+
100: "#ffe6d5",
|
|
243
|
+
200: "#ffd6ae",
|
|
244
|
+
400: "#ff692e",
|
|
245
|
+
500: "#ff4405"},
|
|
246
|
+
green: {
|
|
247
|
+
100: "#d3f8df",
|
|
248
|
+
200: "#aaf0c4",
|
|
249
|
+
500: "#16b364",
|
|
250
|
+
600: "#099250"},
|
|
251
|
+
rose: {
|
|
252
|
+
100: "#ffe4e8",
|
|
253
|
+
200: "#fecdd6",
|
|
254
|
+
400: "#fd6f8e",
|
|
255
|
+
500: "#f63d68"},
|
|
256
|
+
blueLight: {
|
|
257
|
+
100: "#e0f2fe",
|
|
258
|
+
200: "#b9e6fe",
|
|
259
|
+
400: "#36bffa",
|
|
260
|
+
500: "#0ba5ec"},
|
|
261
|
+
cyan: {
|
|
262
|
+
100: "#cff9fe",
|
|
263
|
+
200: "#a5f0fc",
|
|
264
|
+
600: "#088ab2",
|
|
265
|
+
700: "#0e7090"}
|
|
266
|
+
};
|
|
171
267
|
var colors = {
|
|
172
268
|
base: {
|
|
173
269
|
white: "#ffffff",
|
|
174
270
|
black: "#000000",
|
|
175
271
|
transparent: "#ffffff00"
|
|
176
272
|
},
|
|
177
|
-
brand: {
|
|
178
|
-
25: "#fcfaff",
|
|
179
|
-
50: "#f9f5ff",
|
|
180
|
-
100: "#f4ebff",
|
|
181
|
-
200: "#e9d7fe",
|
|
182
|
-
300: "#d6bbfb",
|
|
183
|
-
400: "#b692f6",
|
|
184
|
-
500: "#9e77ed",
|
|
185
|
-
600: "#7f56d9",
|
|
186
|
-
700: "#6941c6",
|
|
187
|
-
800: "#53389e",
|
|
188
|
-
900: "#42307d",
|
|
189
|
-
950: "#2c1c5f"
|
|
190
|
-
},
|
|
191
|
-
gray: {
|
|
192
|
-
25: "#fcfcfd",
|
|
193
|
-
50: "#f9fafb",
|
|
194
|
-
100: "#f2f4f7",
|
|
195
|
-
200: "#eaecf0",
|
|
196
|
-
300: "#d0d5dd",
|
|
197
|
-
400: "#98a2b3",
|
|
198
|
-
500: "#667085",
|
|
199
|
-
600: "#475467",
|
|
200
|
-
700: "#344054",
|
|
201
|
-
800: "#182230",
|
|
202
|
-
900: "#101828",
|
|
203
|
-
950: "#0c111d"
|
|
204
|
-
},
|
|
205
273
|
error: {
|
|
206
274
|
25: "#fffbfa",
|
|
207
275
|
50: "#fef3f2",
|
|
@@ -244,104 +312,7 @@ var colors = {
|
|
|
244
312
|
900: "#074d31",
|
|
245
313
|
950: "#053321"
|
|
246
314
|
},
|
|
247
|
-
|
|
248
|
-
25: "#f5faff",
|
|
249
|
-
50: "#eff8ff",
|
|
250
|
-
100: "#d1e9ff",
|
|
251
|
-
200: "#b2ddff",
|
|
252
|
-
300: "#84caff",
|
|
253
|
-
400: "#53b1fd",
|
|
254
|
-
500: "#2e90fa",
|
|
255
|
-
600: "#1570ef",
|
|
256
|
-
700: "#175cd3",
|
|
257
|
-
800: "#1849a9",
|
|
258
|
-
900: "#194185",
|
|
259
|
-
950: "#102a56"
|
|
260
|
-
},
|
|
261
|
-
teal: {
|
|
262
|
-
50: "#f0fdf9",
|
|
263
|
-
100: "#ccfbef",
|
|
264
|
-
200: "#99f6e0",
|
|
265
|
-
300: "#5fe9d0",
|
|
266
|
-
400: "#2ed3b7",
|
|
267
|
-
600: "#0e9384",
|
|
268
|
-
700: "#107569"
|
|
269
|
-
},
|
|
270
|
-
orange: {
|
|
271
|
-
100: "#fdead7",
|
|
272
|
-
200: "#f9dbaf",
|
|
273
|
-
300: "#f7b27a",
|
|
274
|
-
400: "#f38744",
|
|
275
|
-
600: "#e04f16",
|
|
276
|
-
700: "#b93815"
|
|
277
|
-
},
|
|
278
|
-
purple: {
|
|
279
|
-
100: "#ebe9fe",
|
|
280
|
-
200: "#d9d6fe",
|
|
281
|
-
600: "#6938ef",
|
|
282
|
-
700: "#5925dc"
|
|
283
|
-
},
|
|
284
|
-
pink: {
|
|
285
|
-
100: "#fce7f6",
|
|
286
|
-
200: "#fcceee",
|
|
287
|
-
400: "#f670c7",
|
|
288
|
-
500: "#ee46bc",
|
|
289
|
-
600: "#dd2590",
|
|
290
|
-
700: "#c11574"
|
|
291
|
-
},
|
|
292
|
-
fuchsia: {
|
|
293
|
-
100: "#fbe8ff",
|
|
294
|
-
200: "#f6d0fe",
|
|
295
|
-
400: "#e478fa",
|
|
296
|
-
500: "#d444f1",
|
|
297
|
-
600: "#ba24d5",
|
|
298
|
-
700: "#9f1ab1"
|
|
299
|
-
},
|
|
300
|
-
orangeDark: {
|
|
301
|
-
100: "#ffe6d5",
|
|
302
|
-
200: "#ffd6ae",
|
|
303
|
-
400: "#ff692e",
|
|
304
|
-
500: "#ff4405",
|
|
305
|
-
600: "#e62e05",
|
|
306
|
-
700: "#bc1b06"
|
|
307
|
-
},
|
|
308
|
-
green: {
|
|
309
|
-
100: "#d3f8df",
|
|
310
|
-
200: "#aaf0c4",
|
|
311
|
-
500: "#16b364",
|
|
312
|
-
600: "#099250",
|
|
313
|
-
700: "#087443"
|
|
314
|
-
},
|
|
315
|
-
indigo: {
|
|
316
|
-
100: "#e0eaff",
|
|
317
|
-
200: "#c7d7fe",
|
|
318
|
-
600: "#444ce7",
|
|
319
|
-
700: "#3538cd"
|
|
320
|
-
},
|
|
321
|
-
violet: {
|
|
322
|
-
100: "#ece9fe",
|
|
323
|
-
200: "#ddd6fe",
|
|
324
|
-
500: "#875bf7",
|
|
325
|
-
600: "#7839ee"
|
|
326
|
-
},
|
|
327
|
-
rose: {
|
|
328
|
-
100: "#ffe4e8",
|
|
329
|
-
200: "#fecdd6",
|
|
330
|
-
400: "#fd6f8e",
|
|
331
|
-
500: "#f63d68"
|
|
332
|
-
},
|
|
333
|
-
blueLight: {
|
|
334
|
-
100: "#e0f2fe",
|
|
335
|
-
200: "#b9e6fe",
|
|
336
|
-
400: "#36bffa",
|
|
337
|
-
500: "#0ba5ec"
|
|
338
|
-
},
|
|
339
|
-
cyan: {
|
|
340
|
-
100: "#cff9fe",
|
|
341
|
-
200: "#a5f0fc",
|
|
342
|
-
600: "#088ab2",
|
|
343
|
-
700: "#0e7090"
|
|
344
|
-
}
|
|
315
|
+
info
|
|
345
316
|
};
|
|
346
317
|
var spacing = {
|
|
347
318
|
none: 0,
|
|
@@ -385,12 +356,12 @@ var shadows = {
|
|
|
385
356
|
"3xl": "0px 32px 64px -12px #10182824"
|
|
386
357
|
};
|
|
387
358
|
var focusRings = {
|
|
388
|
-
brand: "0px 0px 0px 4px #
|
|
389
|
-
brandShadowXs: "0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #
|
|
390
|
-
brandShadowSm: "0px 1px 3px 0px #1018281a, 0px 1px 2px 0px #1018280f, 0px 0px 0px 4px #
|
|
391
|
-
gray: "0px 0px 0px 4px #
|
|
392
|
-
grayShadowXs: "0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #
|
|
393
|
-
grayShadowSm: "0px 1px 3px 0px #1018281a, 0px 1px 2px 0px #1018280f, 0px 0px 0px 4px #
|
|
359
|
+
brand: "0px 0px 0px 4px #7c4de63d",
|
|
360
|
+
brandShadowXs: "0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #7c4de63d",
|
|
361
|
+
brandShadowSm: "0px 1px 3px 0px #1018281a, 0px 1px 2px 0px #1018280f, 0px 0px 0px 4px #7c4de63d",
|
|
362
|
+
gray: "0px 0px 0px 4px #a0a0a624",
|
|
363
|
+
grayShadowXs: "0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #a0a0a624",
|
|
364
|
+
grayShadowSm: "0px 1px 3px 0px #1018281a, 0px 1px 2px 0px #1018280f, 0px 0px 0px 4px #a0a0a624",
|
|
394
365
|
error: "0px 0px 0px 4px #f044383d",
|
|
395
366
|
errorShadowXs: "0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #f044383d"
|
|
396
367
|
};
|
|
@@ -444,51 +415,51 @@ var widths = {
|
|
|
444
415
|
"6xl": 1920
|
|
445
416
|
};
|
|
446
417
|
var text = {
|
|
447
|
-
primary:
|
|
448
|
-
secondary:
|
|
449
|
-
secondaryHover:
|
|
450
|
-
tertiary:
|
|
451
|
-
tertiaryHover:
|
|
452
|
-
quaternary:
|
|
453
|
-
disabled:
|
|
454
|
-
placeholder:
|
|
455
|
-
placeholderSubtle:
|
|
418
|
+
primary: gray[900],
|
|
419
|
+
secondary: gray[700],
|
|
420
|
+
secondaryHover: gray[800],
|
|
421
|
+
tertiary: gray[600],
|
|
422
|
+
tertiaryHover: gray[700],
|
|
423
|
+
quaternary: gray[500],
|
|
424
|
+
disabled: gray[500],
|
|
425
|
+
placeholder: gray[500],
|
|
426
|
+
placeholderSubtle: gray[300],
|
|
456
427
|
white: colors.base.white,
|
|
457
|
-
brandPrimary:
|
|
458
|
-
brandSecondary:
|
|
459
|
-
brandTertiary:
|
|
460
|
-
brandTertiaryAlt:
|
|
428
|
+
brandPrimary: violet[900],
|
|
429
|
+
brandSecondary: violet[700],
|
|
430
|
+
brandTertiary: violet[600],
|
|
431
|
+
brandTertiaryAlt: violet[600],
|
|
461
432
|
primaryOnBrand: colors.base.white,
|
|
462
|
-
secondaryOnBrand:
|
|
463
|
-
tertiaryOnBrand:
|
|
464
|
-
quaternaryOnBrand:
|
|
433
|
+
secondaryOnBrand: violet[200],
|
|
434
|
+
tertiaryOnBrand: violet[200],
|
|
435
|
+
quaternaryOnBrand: violet[300],
|
|
465
436
|
errorPrimary: colors.error[600],
|
|
466
437
|
warningPrimary: colors.warning[600],
|
|
467
438
|
successPrimary: colors.success[600]
|
|
468
439
|
};
|
|
469
440
|
var bg = {
|
|
470
|
-
primary:
|
|
471
|
-
primaryAlt:
|
|
472
|
-
primaryHover:
|
|
473
|
-
primarySolid:
|
|
441
|
+
primary: gray[50],
|
|
442
|
+
primaryAlt: gray[50],
|
|
443
|
+
primaryHover: gray[100],
|
|
444
|
+
primarySolid: gray[950],
|
|
474
445
|
secondary: colors.base.white,
|
|
475
446
|
secondaryAlt: colors.base.white,
|
|
476
|
-
secondarySubtle:
|
|
477
|
-
secondaryHover:
|
|
478
|
-
secondarySolid:
|
|
479
|
-
tertiary:
|
|
480
|
-
quaternary:
|
|
481
|
-
active:
|
|
482
|
-
disabled:
|
|
483
|
-
disabledSubtle:
|
|
484
|
-
overlay:
|
|
485
|
-
brandPrimary:
|
|
486
|
-
brandPrimaryAlt:
|
|
487
|
-
brandSecondary:
|
|
488
|
-
brandSolid:
|
|
489
|
-
brandSolidHover:
|
|
490
|
-
brandSection:
|
|
491
|
-
brandSectionSubtle:
|
|
447
|
+
secondarySubtle: gray[25],
|
|
448
|
+
secondaryHover: gray[50],
|
|
449
|
+
secondarySolid: gray[600],
|
|
450
|
+
tertiary: gray[100],
|
|
451
|
+
quaternary: gray[200],
|
|
452
|
+
active: gray[200],
|
|
453
|
+
disabled: gray[100],
|
|
454
|
+
disabledSubtle: gray[50],
|
|
455
|
+
overlay: gray[950],
|
|
456
|
+
brandPrimary: violet[50],
|
|
457
|
+
brandPrimaryAlt: violet[50],
|
|
458
|
+
brandSecondary: violet[100],
|
|
459
|
+
brandSolid: violet[600],
|
|
460
|
+
brandSolidHover: violet[700],
|
|
461
|
+
brandSection: violet[800],
|
|
462
|
+
brandSectionSubtle: violet[700],
|
|
492
463
|
errorPrimary: colors.error[50],
|
|
493
464
|
errorSecondary: colors.error[100],
|
|
494
465
|
errorSolid: colors.error[600],
|
|
@@ -500,22 +471,22 @@ var bg = {
|
|
|
500
471
|
successSolid: colors.success[600]
|
|
501
472
|
};
|
|
502
473
|
var fg = {
|
|
503
|
-
primary:
|
|
504
|
-
secondary:
|
|
505
|
-
secondaryHover:
|
|
506
|
-
tertiary:
|
|
507
|
-
tertiaryHover:
|
|
508
|
-
quaternary:
|
|
509
|
-
quaternaryHover:
|
|
510
|
-
quinary:
|
|
511
|
-
quinaryHover:
|
|
512
|
-
senary:
|
|
474
|
+
primary: gray[900],
|
|
475
|
+
secondary: gray[700],
|
|
476
|
+
secondaryHover: gray[800],
|
|
477
|
+
tertiary: gray[600],
|
|
478
|
+
tertiaryHover: gray[700],
|
|
479
|
+
quaternary: gray[500],
|
|
480
|
+
quaternaryHover: gray[600],
|
|
481
|
+
quinary: gray[400],
|
|
482
|
+
quinaryHover: gray[500],
|
|
483
|
+
senary: gray[300],
|
|
513
484
|
white: colors.base.white,
|
|
514
|
-
disabled:
|
|
515
|
-
disabledSubtle:
|
|
516
|
-
brandPrimary:
|
|
517
|
-
brandPrimaryAlt:
|
|
518
|
-
brandSecondary:
|
|
485
|
+
disabled: gray[400],
|
|
486
|
+
disabledSubtle: gray[300],
|
|
487
|
+
brandPrimary: violet[600],
|
|
488
|
+
brandPrimaryAlt: violet[600],
|
|
489
|
+
brandSecondary: violet[500],
|
|
519
490
|
errorPrimary: colors.error[600],
|
|
520
491
|
errorSecondary: colors.error[500],
|
|
521
492
|
warningPrimary: colors.warning[600],
|
|
@@ -524,51 +495,51 @@ var fg = {
|
|
|
524
495
|
successSecondary: colors.success[500]
|
|
525
496
|
};
|
|
526
497
|
var border = {
|
|
527
|
-
primary:
|
|
528
|
-
secondary:
|
|
529
|
-
tertiary:
|
|
530
|
-
disabled:
|
|
531
|
-
disabledSubtle:
|
|
532
|
-
brand:
|
|
533
|
-
brandSolid:
|
|
534
|
-
brandSolidAlt:
|
|
498
|
+
primary: gray[300],
|
|
499
|
+
secondary: gray[200],
|
|
500
|
+
tertiary: gray[100],
|
|
501
|
+
disabled: gray[300],
|
|
502
|
+
disabledSubtle: gray[200],
|
|
503
|
+
brand: violet[300],
|
|
504
|
+
brandSolid: violet[600],
|
|
505
|
+
brandSolidAlt: violet[600],
|
|
535
506
|
error: colors.error[300],
|
|
536
507
|
errorSolid: colors.error[600]
|
|
537
508
|
};
|
|
538
509
|
var buttonColors = {
|
|
539
510
|
primary: {
|
|
540
|
-
bg:
|
|
541
|
-
bgHover:
|
|
511
|
+
bg: violet[600],
|
|
512
|
+
bgHover: violet[700],
|
|
542
513
|
fg: colors.base.white,
|
|
543
514
|
fgHover: colors.base.white,
|
|
544
|
-
border:
|
|
545
|
-
borderHover:
|
|
515
|
+
border: violet[600],
|
|
516
|
+
borderHover: violet[700]
|
|
546
517
|
},
|
|
547
518
|
secondary: {
|
|
548
519
|
bg: colors.base.white,
|
|
549
|
-
bgHover:
|
|
550
|
-
fg:
|
|
551
|
-
fgHover:
|
|
552
|
-
border:
|
|
553
|
-
borderHover:
|
|
520
|
+
bgHover: gray[50],
|
|
521
|
+
fg: gray[700],
|
|
522
|
+
fgHover: gray[800],
|
|
523
|
+
border: gray[300],
|
|
524
|
+
borderHover: gray[300]
|
|
554
525
|
},
|
|
555
526
|
secondaryColor: {
|
|
556
527
|
bg: colors.base.white,
|
|
557
|
-
bgHover:
|
|
558
|
-
fg:
|
|
559
|
-
fgHover:
|
|
560
|
-
border:
|
|
561
|
-
borderHover:
|
|
528
|
+
bgHover: violet[50],
|
|
529
|
+
fg: violet[700],
|
|
530
|
+
fgHover: violet[800],
|
|
531
|
+
border: violet[300],
|
|
532
|
+
borderHover: violet[300]
|
|
562
533
|
},
|
|
563
534
|
tertiary: {
|
|
564
|
-
fg:
|
|
565
|
-
fgHover:
|
|
566
|
-
bgHover:
|
|
535
|
+
fg: gray[600],
|
|
536
|
+
fgHover: gray[700],
|
|
537
|
+
bgHover: gray[50]
|
|
567
538
|
},
|
|
568
539
|
tertiaryColor: {
|
|
569
|
-
fg:
|
|
570
|
-
fgHover:
|
|
571
|
-
bgHover:
|
|
540
|
+
fg: violet[700],
|
|
541
|
+
fgHover: violet[800],
|
|
542
|
+
bgHover: violet[50]
|
|
572
543
|
},
|
|
573
544
|
primaryError: {
|
|
574
545
|
bg: colors.error[600],
|
|
@@ -593,27 +564,27 @@ var buttonColors = {
|
|
|
593
564
|
}
|
|
594
565
|
};
|
|
595
566
|
var avatarColors = {
|
|
596
|
-
bg:
|
|
567
|
+
bg: gray[100],
|
|
597
568
|
contrastBorder: "#00000014",
|
|
598
569
|
profilePhotoBorder: colors.base.white,
|
|
599
|
-
focusBorder: "#
|
|
570
|
+
focusBorder: "#a0a0a624"
|
|
600
571
|
};
|
|
601
572
|
var breadcrumbColors = {
|
|
602
|
-
fg:
|
|
603
|
-
fgHover:
|
|
604
|
-
bgHover:
|
|
605
|
-
brandBgHover:
|
|
606
|
-
brandFgHover:
|
|
607
|
-
iconFg:
|
|
608
|
-
iconFgHover:
|
|
609
|
-
brandIconFgHover:
|
|
573
|
+
fg: gray[600],
|
|
574
|
+
fgHover: gray[700],
|
|
575
|
+
bgHover: gray[50],
|
|
576
|
+
brandBgHover: violet[50],
|
|
577
|
+
brandFgHover: violet[700],
|
|
578
|
+
iconFg: gray[500],
|
|
579
|
+
iconFgHover: gray[700],
|
|
580
|
+
brandIconFgHover: violet[700]
|
|
610
581
|
};
|
|
611
582
|
var iconColors = {
|
|
612
|
-
fgBrand:
|
|
613
|
-
fgBrandOnBrand:
|
|
614
|
-
featuredModernBorder:
|
|
615
|
-
featuredLightFgBrand:
|
|
616
|
-
featuredLightFgGray:
|
|
583
|
+
fgBrand: violet[600],
|
|
584
|
+
fgBrandOnBrand: violet[200],
|
|
585
|
+
featuredModernBorder: gray[200],
|
|
586
|
+
featuredLightFgBrand: violet[600],
|
|
587
|
+
featuredLightFgGray: gray[500],
|
|
617
588
|
featuredLightFgError: colors.error[600],
|
|
618
589
|
featuredLightFgWarning: colors.warning[600],
|
|
619
590
|
featuredLightFgSuccess: colors.success[600],
|
|
@@ -624,42 +595,42 @@ var iconColors = {
|
|
|
624
595
|
featuredDarkFgSuccess: colors.base.white
|
|
625
596
|
};
|
|
626
597
|
var navColors = {
|
|
627
|
-
itemIconFg:
|
|
628
|
-
itemIconFgActive:
|
|
629
|
-
itemButtonIconFg:
|
|
630
|
-
itemButtonIconFgActive:
|
|
598
|
+
itemIconFg: gray[500],
|
|
599
|
+
itemIconFgActive: gray[700],
|
|
600
|
+
itemButtonIconFg: gray[500],
|
|
601
|
+
itemButtonIconFgActive: gray[700]
|
|
631
602
|
};
|
|
632
603
|
var sliderColors = {
|
|
633
|
-
handleBorder:
|
|
604
|
+
handleBorder: violet[600],
|
|
634
605
|
handleBg: colors.base.white
|
|
635
606
|
};
|
|
636
607
|
var toggleColors = {
|
|
637
|
-
buttonFgDisabled:
|
|
608
|
+
buttonFgDisabled: gray[50]
|
|
638
609
|
};
|
|
639
610
|
var chartColors = {
|
|
640
|
-
axisFg:
|
|
641
|
-
gridlineFg:
|
|
642
|
-
labelFg:
|
|
643
|
-
labelFgEmphasis:
|
|
611
|
+
axisFg: gray[100],
|
|
612
|
+
gridlineFg: gray[100],
|
|
613
|
+
labelFg: gray[600],
|
|
614
|
+
labelFgEmphasis: gray[700],
|
|
644
615
|
bg: colors.base.white,
|
|
645
|
-
bgAlt:
|
|
646
|
-
tooltipBg:
|
|
616
|
+
bgAlt: gray[50],
|
|
617
|
+
tooltipBg: gray[950],
|
|
647
618
|
tooltipFg: colors.base.white,
|
|
648
|
-
crosshairFg:
|
|
619
|
+
crosshairFg: gray[500],
|
|
649
620
|
legendFg: text.tertiary,
|
|
650
621
|
series: [
|
|
651
|
-
{ fg:
|
|
652
|
-
{ fg:
|
|
653
|
-
{ fg:
|
|
622
|
+
{ fg: misc.purple[500], fgHover: misc.purple[600], bg: misc.purple[100], bgHover: misc.purple[200] },
|
|
623
|
+
{ fg: misc.orangeDark[400], fgHover: misc.orangeDark[500], bg: misc.orangeDark[100], bgHover: misc.orangeDark[200] },
|
|
624
|
+
{ fg: misc.teal[300], fgHover: misc.teal[400], bg: misc.teal[50], bgHover: misc.teal[100] },
|
|
654
625
|
{ fg: colors.warning[400], fgHover: colors.warning[500], bg: colors.warning[100], bgHover: colors.warning[200] },
|
|
655
|
-
{ fg:
|
|
656
|
-
{ fg:
|
|
657
|
-
{ fg:
|
|
658
|
-
{ fg:
|
|
659
|
-
{ fg:
|
|
660
|
-
{ fg:
|
|
661
|
-
{ fg:
|
|
662
|
-
{ fg:
|
|
626
|
+
{ fg: misc.rose[400], fgHover: misc.rose[500], bg: misc.rose[100], bgHover: misc.rose[200] },
|
|
627
|
+
{ fg: misc.blueLight[400], fgHover: misc.blueLight[500], bg: misc.blueLight[100], bgHover: misc.blueLight[200] },
|
|
628
|
+
{ fg: misc.orange[300], fgHover: misc.orange[400], bg: misc.orange[100], bgHover: misc.orange[200] },
|
|
629
|
+
{ fg: misc.cyan[600], fgHover: misc.cyan[700], bg: misc.cyan[100], bgHover: misc.cyan[200] },
|
|
630
|
+
{ fg: misc.green[500], fgHover: misc.green[600], bg: misc.green[100], bgHover: misc.green[200] },
|
|
631
|
+
{ fg: misc.pink[400], fgHover: misc.pink[500], bg: misc.pink[100], bgHover: misc.pink[200] },
|
|
632
|
+
{ fg: misc.fuchsia[400], fgHover: misc.fuchsia[500], bg: misc.fuchsia[100], bgHover: misc.fuchsia[200] },
|
|
633
|
+
{ fg: misc.teal[600], fgHover: misc.teal[700], bg: misc.teal[100], bgHover: misc.teal[200] }
|
|
663
634
|
]
|
|
664
635
|
};
|
|
665
636
|
var alpha = {
|
|
@@ -692,65 +663,65 @@ var alpha = {
|
|
|
692
663
|
// src/theme/palette.ts
|
|
693
664
|
function buildPalette(tokens) {
|
|
694
665
|
var _a;
|
|
695
|
-
const { colors:
|
|
666
|
+
const { colors: colors5, text: text5, bg: bg5, fg: fg5, border: border5 } = tokens;
|
|
696
667
|
return {
|
|
697
668
|
primary: {
|
|
698
|
-
main:
|
|
699
|
-
light:
|
|
700
|
-
dark:
|
|
701
|
-
contrastText:
|
|
669
|
+
main: violet[600],
|
|
670
|
+
light: violet[400],
|
|
671
|
+
dark: violet[700],
|
|
672
|
+
contrastText: tokens.colors.base.white
|
|
702
673
|
},
|
|
703
674
|
secondary: {
|
|
704
|
-
main:
|
|
705
|
-
light:
|
|
706
|
-
dark:
|
|
707
|
-
contrastText:
|
|
675
|
+
main: gray[600],
|
|
676
|
+
light: gray[400],
|
|
677
|
+
dark: gray[700],
|
|
678
|
+
contrastText: tokens.colors.base.white
|
|
708
679
|
},
|
|
709
680
|
error: {
|
|
710
|
-
main:
|
|
711
|
-
light:
|
|
712
|
-
dark:
|
|
713
|
-
contrastText:
|
|
681
|
+
main: colors5.error[600],
|
|
682
|
+
light: colors5.error[300],
|
|
683
|
+
dark: colors5.error[700],
|
|
684
|
+
contrastText: colors5.base.white
|
|
714
685
|
},
|
|
715
686
|
warning: {
|
|
716
|
-
main:
|
|
717
|
-
light:
|
|
718
|
-
dark:
|
|
719
|
-
contrastText:
|
|
687
|
+
main: colors5.warning[600],
|
|
688
|
+
light: colors5.warning[300],
|
|
689
|
+
dark: colors5.warning[700],
|
|
690
|
+
contrastText: colors5.base.white
|
|
720
691
|
},
|
|
721
692
|
success: {
|
|
722
|
-
main:
|
|
723
|
-
light:
|
|
724
|
-
dark:
|
|
725
|
-
contrastText:
|
|
693
|
+
main: colors5.success[600],
|
|
694
|
+
light: colors5.success[300],
|
|
695
|
+
dark: colors5.success[700],
|
|
696
|
+
contrastText: colors5.base.white
|
|
726
697
|
},
|
|
727
698
|
info: {
|
|
728
|
-
main:
|
|
729
|
-
light:
|
|
730
|
-
dark:
|
|
731
|
-
contrastText:
|
|
699
|
+
main: tokens.colors.info[600],
|
|
700
|
+
light: tokens.colors.info[300],
|
|
701
|
+
dark: tokens.colors.info[700],
|
|
702
|
+
contrastText: tokens.colors.base.white
|
|
732
703
|
},
|
|
733
704
|
background: {
|
|
734
|
-
default:
|
|
735
|
-
paper:
|
|
705
|
+
default: bg5.primary,
|
|
706
|
+
paper: bg5.secondary
|
|
736
707
|
},
|
|
737
708
|
text: {
|
|
738
|
-
primary:
|
|
739
|
-
secondary:
|
|
740
|
-
disabled:
|
|
709
|
+
primary: text5.primary,
|
|
710
|
+
secondary: text5.secondary,
|
|
711
|
+
disabled: text5.disabled
|
|
741
712
|
},
|
|
742
|
-
divider:
|
|
713
|
+
divider: border5.secondary,
|
|
743
714
|
action: {
|
|
744
|
-
active:
|
|
745
|
-
hover:
|
|
746
|
-
selected:
|
|
747
|
-
disabled:
|
|
748
|
-
disabledBackground:
|
|
715
|
+
active: fg5.tertiary,
|
|
716
|
+
hover: bg5.primaryHover,
|
|
717
|
+
selected: bg5.brandPrimary,
|
|
718
|
+
disabled: fg5.disabled,
|
|
719
|
+
disabledBackground: bg5.disabled
|
|
749
720
|
},
|
|
750
721
|
chart: (_a = tokens.chartColors) != null ? _a : chartColors
|
|
751
722
|
};
|
|
752
723
|
}
|
|
753
|
-
|
|
724
|
+
buildPalette({
|
|
754
725
|
colors,
|
|
755
726
|
text,
|
|
756
727
|
bg,
|
|
@@ -841,7 +812,7 @@ function buildTypography(tokens) {
|
|
|
841
812
|
}
|
|
842
813
|
};
|
|
843
814
|
}
|
|
844
|
-
|
|
815
|
+
buildTypography({
|
|
845
816
|
fontFamily,
|
|
846
817
|
display,
|
|
847
818
|
fontSize,
|
|
@@ -849,18 +820,78 @@ var typography = buildTypography({
|
|
|
849
820
|
fontWeight
|
|
850
821
|
});
|
|
851
822
|
|
|
823
|
+
// src/theme/shadows.ts
|
|
824
|
+
function buildShadows(tokens) {
|
|
825
|
+
const tokenShadows = tokens.shadows;
|
|
826
|
+
return [
|
|
827
|
+
"none",
|
|
828
|
+
// 0
|
|
829
|
+
tokenShadows.xs,
|
|
830
|
+
// 1
|
|
831
|
+
tokenShadows.sm,
|
|
832
|
+
// 2
|
|
833
|
+
tokenShadows.sm,
|
|
834
|
+
// 3
|
|
835
|
+
tokenShadows.md,
|
|
836
|
+
// 4
|
|
837
|
+
tokenShadows.md,
|
|
838
|
+
// 5
|
|
839
|
+
tokenShadows.md,
|
|
840
|
+
// 6
|
|
841
|
+
tokenShadows.lg,
|
|
842
|
+
// 7
|
|
843
|
+
tokenShadows.lg,
|
|
844
|
+
// 8
|
|
845
|
+
tokenShadows.lg,
|
|
846
|
+
// 9
|
|
847
|
+
tokenShadows.xl,
|
|
848
|
+
// 10
|
|
849
|
+
tokenShadows.xl,
|
|
850
|
+
// 11
|
|
851
|
+
tokenShadows.xl,
|
|
852
|
+
// 12
|
|
853
|
+
tokenShadows["2xl"],
|
|
854
|
+
// 13
|
|
855
|
+
tokenShadows["2xl"],
|
|
856
|
+
// 14
|
|
857
|
+
tokenShadows["2xl"],
|
|
858
|
+
// 15
|
|
859
|
+
tokenShadows["3xl"],
|
|
860
|
+
// 16
|
|
861
|
+
tokenShadows["3xl"],
|
|
862
|
+
// 17
|
|
863
|
+
tokenShadows["3xl"],
|
|
864
|
+
// 18
|
|
865
|
+
tokenShadows["3xl"],
|
|
866
|
+
// 19
|
|
867
|
+
tokenShadows["3xl"],
|
|
868
|
+
// 20
|
|
869
|
+
tokenShadows["3xl"],
|
|
870
|
+
// 21
|
|
871
|
+
tokenShadows["3xl"],
|
|
872
|
+
// 22
|
|
873
|
+
tokenShadows["3xl"],
|
|
874
|
+
// 23
|
|
875
|
+
tokenShadows["3xl"]
|
|
876
|
+
// 24
|
|
877
|
+
];
|
|
878
|
+
}
|
|
879
|
+
buildShadows({
|
|
880
|
+
shadows
|
|
881
|
+
});
|
|
882
|
+
|
|
852
883
|
// src/theme/components.ts
|
|
853
884
|
function buildComponents(tokens) {
|
|
854
885
|
const {
|
|
855
|
-
colors:
|
|
856
|
-
radius:
|
|
857
|
-
focusRings:
|
|
886
|
+
colors: colors5,
|
|
887
|
+
radius: radius5,
|
|
888
|
+
focusRings: focusRings5,
|
|
858
889
|
shadows: tokenShadows,
|
|
859
|
-
text:
|
|
860
|
-
bg:
|
|
861
|
-
fg:
|
|
862
|
-
border:
|
|
863
|
-
buttonColors:
|
|
890
|
+
text: text5,
|
|
891
|
+
bg: bg5,
|
|
892
|
+
fg: fg5,
|
|
893
|
+
border: border5,
|
|
894
|
+
buttonColors: buttonColors5
|
|
864
895
|
} = tokens;
|
|
865
896
|
return {
|
|
866
897
|
// ─── Button ─────────────────────────────────────────────────────
|
|
@@ -870,7 +901,7 @@ function buildComponents(tokens) {
|
|
|
870
901
|
},
|
|
871
902
|
styleOverrides: {
|
|
872
903
|
root: {
|
|
873
|
-
borderRadius:
|
|
904
|
+
borderRadius: radius5.md,
|
|
874
905
|
fontWeight: 600,
|
|
875
906
|
boxShadow: tokenShadows.xs,
|
|
876
907
|
height: 32,
|
|
@@ -878,36 +909,36 @@ function buildComponents(tokens) {
|
|
|
878
909
|
fontSize: 14,
|
|
879
910
|
lineHeight: "20px",
|
|
880
911
|
"&:focus-visible": {
|
|
881
|
-
boxShadow:
|
|
912
|
+
boxShadow: focusRings5.brandShadowXs
|
|
882
913
|
}
|
|
883
914
|
},
|
|
884
915
|
containedPrimary: {
|
|
885
|
-
backgroundColor:
|
|
916
|
+
backgroundColor: buttonColors5.primary.bg,
|
|
886
917
|
"&:hover": {
|
|
887
|
-
backgroundColor:
|
|
918
|
+
backgroundColor: buttonColors5.primary.bgHover
|
|
888
919
|
}
|
|
889
920
|
},
|
|
890
921
|
outlinedPrimary: {
|
|
891
|
-
borderColor:
|
|
892
|
-
color:
|
|
922
|
+
borderColor: buttonColors5.secondaryColor.border,
|
|
923
|
+
color: buttonColors5.secondaryColor.fg,
|
|
893
924
|
"&:hover": {
|
|
894
|
-
backgroundColor:
|
|
895
|
-
borderColor:
|
|
925
|
+
backgroundColor: buttonColors5.secondaryColor.bgHover,
|
|
926
|
+
borderColor: buttonColors5.secondaryColor.borderHover
|
|
896
927
|
}
|
|
897
928
|
},
|
|
898
929
|
outlinedSecondary: {
|
|
899
|
-
borderColor:
|
|
930
|
+
borderColor: buttonColors5.secondary.border,
|
|
900
931
|
"&:hover": {
|
|
901
|
-
borderColor:
|
|
932
|
+
borderColor: buttonColors5.secondary.borderHover
|
|
902
933
|
}
|
|
903
934
|
},
|
|
904
935
|
text: {
|
|
905
936
|
boxShadow: "none"
|
|
906
937
|
},
|
|
907
938
|
textPrimary: {
|
|
908
|
-
color:
|
|
939
|
+
color: buttonColors5.tertiaryColor.fg,
|
|
909
940
|
"&:hover": {
|
|
910
|
-
backgroundColor:
|
|
941
|
+
backgroundColor: buttonColors5.tertiaryColor.bgHover
|
|
911
942
|
}
|
|
912
943
|
}
|
|
913
944
|
}
|
|
@@ -919,11 +950,11 @@ function buildComponents(tokens) {
|
|
|
919
950
|
},
|
|
920
951
|
styleOverrides: {
|
|
921
952
|
root: {
|
|
922
|
-
borderRadius:
|
|
953
|
+
borderRadius: radius5.md
|
|
923
954
|
},
|
|
924
955
|
grouped: {
|
|
925
956
|
"&:not(:last-of-type)": {
|
|
926
|
-
borderRight: `1px solid ${
|
|
957
|
+
borderRight: `1px solid ${buttonColors5.primary.borderHover}`
|
|
927
958
|
}
|
|
928
959
|
}
|
|
929
960
|
}
|
|
@@ -937,13 +968,13 @@ function buildComponents(tokens) {
|
|
|
937
968
|
boxShadow: tokenShadows.lg
|
|
938
969
|
},
|
|
939
970
|
"&:focus-visible": {
|
|
940
|
-
boxShadow:
|
|
971
|
+
boxShadow: focusRings5.brandShadowSm
|
|
941
972
|
}
|
|
942
973
|
},
|
|
943
974
|
primary: {
|
|
944
|
-
backgroundColor:
|
|
975
|
+
backgroundColor: buttonColors5.primary.bg,
|
|
945
976
|
"&:hover": {
|
|
946
|
-
backgroundColor:
|
|
977
|
+
backgroundColor: buttonColors5.primary.bgHover
|
|
947
978
|
}
|
|
948
979
|
}
|
|
949
980
|
}
|
|
@@ -958,8 +989,8 @@ function buildComponents(tokens) {
|
|
|
958
989
|
styleOverrides: {
|
|
959
990
|
input: {
|
|
960
991
|
"&::placeholder": {
|
|
961
|
-
color:
|
|
962
|
-
WebkitTextFillColor:
|
|
992
|
+
color: text5.placeholder,
|
|
993
|
+
WebkitTextFillColor: text5.placeholder,
|
|
963
994
|
fontWeight: 400,
|
|
964
995
|
opacity: 1
|
|
965
996
|
}
|
|
@@ -969,26 +1000,26 @@ function buildComponents(tokens) {
|
|
|
969
1000
|
MuiOutlinedInput: {
|
|
970
1001
|
styleOverrides: {
|
|
971
1002
|
root: {
|
|
972
|
-
borderRadius:
|
|
1003
|
+
borderRadius: radius5.md,
|
|
973
1004
|
boxShadow: tokenShadows.xs,
|
|
974
1005
|
"&:hover .MuiOutlinedInput-notchedOutline": {
|
|
975
|
-
borderColor:
|
|
1006
|
+
borderColor: border5.brand
|
|
976
1007
|
},
|
|
977
1008
|
"&.Mui-focused .MuiOutlinedInput-notchedOutline": {
|
|
978
|
-
borderColor:
|
|
1009
|
+
borderColor: border5.brandSolid,
|
|
979
1010
|
borderWidth: 1,
|
|
980
1011
|
boxShadow: "none"
|
|
981
1012
|
},
|
|
982
1013
|
"&.Mui-error .MuiOutlinedInput-notchedOutline": {
|
|
983
|
-
borderColor:
|
|
1014
|
+
borderColor: border5.error
|
|
984
1015
|
},
|
|
985
1016
|
"&.Mui-error.Mui-focused .MuiOutlinedInput-notchedOutline": {
|
|
986
|
-
borderColor:
|
|
1017
|
+
borderColor: border5.errorSolid,
|
|
987
1018
|
boxShadow: "none"
|
|
988
1019
|
}
|
|
989
1020
|
},
|
|
990
1021
|
notchedOutline: {
|
|
991
|
-
borderColor:
|
|
1022
|
+
borderColor: border5.primary
|
|
992
1023
|
},
|
|
993
1024
|
input: {
|
|
994
1025
|
padding: "6px 12px",
|
|
@@ -1000,12 +1031,12 @@ function buildComponents(tokens) {
|
|
|
1000
1031
|
MuiFormLabel: {
|
|
1001
1032
|
styleOverrides: {
|
|
1002
1033
|
root: {
|
|
1003
|
-
color:
|
|
1034
|
+
color: text5.placeholder,
|
|
1004
1035
|
"&.Mui-focused": {
|
|
1005
|
-
color:
|
|
1036
|
+
color: text5.placeholder
|
|
1006
1037
|
},
|
|
1007
1038
|
"&.Mui-error": {
|
|
1008
|
-
color:
|
|
1039
|
+
color: text5.errorPrimary
|
|
1009
1040
|
}
|
|
1010
1041
|
}
|
|
1011
1042
|
}
|
|
@@ -1015,12 +1046,12 @@ function buildComponents(tokens) {
|
|
|
1015
1046
|
root: {
|
|
1016
1047
|
fontSize: 14,
|
|
1017
1048
|
fontWeight: 500,
|
|
1018
|
-
color:
|
|
1049
|
+
color: text5.placeholder,
|
|
1019
1050
|
"&.Mui-focused": {
|
|
1020
|
-
color:
|
|
1051
|
+
color: text5.placeholder
|
|
1021
1052
|
},
|
|
1022
1053
|
"&.Mui-error": {
|
|
1023
|
-
color:
|
|
1054
|
+
color: text5.errorPrimary
|
|
1024
1055
|
}
|
|
1025
1056
|
},
|
|
1026
1057
|
outlined: {
|
|
@@ -1039,7 +1070,7 @@ function buildComponents(tokens) {
|
|
|
1039
1070
|
marginTop: 6,
|
|
1040
1071
|
marginLeft: 0,
|
|
1041
1072
|
"&.Mui-error": {
|
|
1042
|
-
color:
|
|
1073
|
+
color: text5.errorPrimary
|
|
1043
1074
|
}
|
|
1044
1075
|
}
|
|
1045
1076
|
}
|
|
@@ -1069,18 +1100,18 @@ function buildComponents(tokens) {
|
|
|
1069
1100
|
}
|
|
1070
1101
|
},
|
|
1071
1102
|
icon: {
|
|
1072
|
-
color:
|
|
1103
|
+
color: text5.placeholder
|
|
1073
1104
|
}
|
|
1074
1105
|
}
|
|
1075
1106
|
},
|
|
1076
1107
|
MuiMenuItem: {
|
|
1077
1108
|
styleOverrides: {
|
|
1078
1109
|
root: {
|
|
1079
|
-
borderRadius:
|
|
1110
|
+
borderRadius: radius5.md,
|
|
1080
1111
|
padding: "6px 8px",
|
|
1081
1112
|
gap: 4,
|
|
1082
1113
|
"&:hover": {
|
|
1083
|
-
backgroundColor:
|
|
1114
|
+
backgroundColor: bg5.primaryHover
|
|
1084
1115
|
}
|
|
1085
1116
|
}
|
|
1086
1117
|
}
|
|
@@ -1089,9 +1120,9 @@ function buildComponents(tokens) {
|
|
|
1089
1120
|
MuiAutocomplete: {
|
|
1090
1121
|
styleOverrides: {
|
|
1091
1122
|
paper: {
|
|
1092
|
-
borderRadius:
|
|
1123
|
+
borderRadius: radius5.md,
|
|
1093
1124
|
boxShadow: tokenShadows.lg,
|
|
1094
|
-
border: `1px solid ${
|
|
1125
|
+
border: `1px solid ${border5.secondary}`,
|
|
1095
1126
|
marginTop: 4
|
|
1096
1127
|
},
|
|
1097
1128
|
inputRoot: {
|
|
@@ -1108,10 +1139,10 @@ function buildComponents(tokens) {
|
|
|
1108
1139
|
lineHeight: "20px",
|
|
1109
1140
|
padding: "6px 12px",
|
|
1110
1141
|
"&.Mui-focused": {
|
|
1111
|
-
backgroundColor:
|
|
1142
|
+
backgroundColor: bg5.primaryHover
|
|
1112
1143
|
},
|
|
1113
1144
|
'&[aria-selected="true"]': {
|
|
1114
|
-
backgroundColor:
|
|
1145
|
+
backgroundColor: bg5.brandPrimary
|
|
1115
1146
|
}
|
|
1116
1147
|
},
|
|
1117
1148
|
listbox: {
|
|
@@ -1126,28 +1157,28 @@ function buildComponents(tokens) {
|
|
|
1126
1157
|
},
|
|
1127
1158
|
styleOverrides: {
|
|
1128
1159
|
root: {
|
|
1129
|
-
color:
|
|
1130
|
-
borderRadius:
|
|
1160
|
+
color: border5.primary,
|
|
1161
|
+
borderRadius: radius5.xs,
|
|
1131
1162
|
padding: 0,
|
|
1132
1163
|
width: 20,
|
|
1133
1164
|
height: 20,
|
|
1134
1165
|
"&:hover": {
|
|
1135
1166
|
backgroundColor: "transparent",
|
|
1136
|
-
color:
|
|
1167
|
+
color: fg5.brandPrimary
|
|
1137
1168
|
},
|
|
1138
1169
|
"&.Mui-checked": {
|
|
1139
|
-
color:
|
|
1170
|
+
color: fg5.brandPrimary
|
|
1140
1171
|
},
|
|
1141
1172
|
"&.Mui-checked:hover": {
|
|
1142
|
-
color:
|
|
1173
|
+
color: violet[700]
|
|
1143
1174
|
},
|
|
1144
1175
|
"&.Mui-focusVisible": {
|
|
1145
1176
|
outline: "none",
|
|
1146
|
-
boxShadow:
|
|
1147
|
-
borderRadius:
|
|
1177
|
+
boxShadow: focusRings5.brand,
|
|
1178
|
+
borderRadius: radius5.xs
|
|
1148
1179
|
},
|
|
1149
1180
|
"&.Mui-disabled": {
|
|
1150
|
-
color:
|
|
1181
|
+
color: border5.primary
|
|
1151
1182
|
}
|
|
1152
1183
|
}
|
|
1153
1184
|
}
|
|
@@ -1159,25 +1190,25 @@ function buildComponents(tokens) {
|
|
|
1159
1190
|
},
|
|
1160
1191
|
styleOverrides: {
|
|
1161
1192
|
root: {
|
|
1162
|
-
color:
|
|
1193
|
+
color: border5.primary,
|
|
1163
1194
|
padding: 0,
|
|
1164
1195
|
"&:hover": {
|
|
1165
1196
|
backgroundColor: "transparent",
|
|
1166
|
-
color:
|
|
1197
|
+
color: fg5.brandPrimary
|
|
1167
1198
|
},
|
|
1168
1199
|
"&.Mui-checked": {
|
|
1169
|
-
color:
|
|
1200
|
+
color: fg5.brandPrimary
|
|
1170
1201
|
},
|
|
1171
1202
|
"&.Mui-checked:hover": {
|
|
1172
|
-
color:
|
|
1203
|
+
color: violet[700]
|
|
1173
1204
|
},
|
|
1174
1205
|
"&.Mui-focusVisible": {
|
|
1175
1206
|
outline: "none",
|
|
1176
|
-
boxShadow:
|
|
1177
|
-
borderRadius:
|
|
1207
|
+
boxShadow: focusRings5.brand,
|
|
1208
|
+
borderRadius: radius5.full
|
|
1178
1209
|
},
|
|
1179
1210
|
"&.Mui-disabled": {
|
|
1180
|
-
color:
|
|
1211
|
+
color: border5.primary
|
|
1181
1212
|
}
|
|
1182
1213
|
}
|
|
1183
1214
|
}
|
|
@@ -1197,20 +1228,20 @@ function buildComponents(tokens) {
|
|
|
1197
1228
|
padding: 2,
|
|
1198
1229
|
"&.Mui-checked": {
|
|
1199
1230
|
transform: "translateX(20px)",
|
|
1200
|
-
color:
|
|
1231
|
+
color: fg5.white,
|
|
1201
1232
|
"& + .MuiSwitch-track": {
|
|
1202
|
-
backgroundColor:
|
|
1233
|
+
backgroundColor: fg5.brandPrimary,
|
|
1203
1234
|
opacity: 1
|
|
1204
1235
|
}
|
|
1205
1236
|
},
|
|
1206
1237
|
"&.Mui-checked:hover + .MuiSwitch-track": {
|
|
1207
|
-
backgroundColor:
|
|
1238
|
+
backgroundColor: violet[700]
|
|
1208
1239
|
},
|
|
1209
1240
|
"&.Mui-focusVisible .MuiSwitch-thumb": {
|
|
1210
|
-
boxShadow:
|
|
1241
|
+
boxShadow: focusRings5.brand
|
|
1211
1242
|
},
|
|
1212
1243
|
"&.Mui-disabled .MuiSwitch-thumb": {
|
|
1213
|
-
color:
|
|
1244
|
+
color: bg5.disabled
|
|
1214
1245
|
},
|
|
1215
1246
|
"&.Mui-disabled + .MuiSwitch-track": {
|
|
1216
1247
|
opacity: 0.5
|
|
@@ -1222,8 +1253,8 @@ function buildComponents(tokens) {
|
|
|
1222
1253
|
boxShadow: "0px 1px 2px 0px #1018280d"
|
|
1223
1254
|
},
|
|
1224
1255
|
track: {
|
|
1225
|
-
borderRadius:
|
|
1226
|
-
backgroundColor:
|
|
1256
|
+
borderRadius: radius5.full,
|
|
1257
|
+
backgroundColor: border5.secondary,
|
|
1227
1258
|
opacity: 1
|
|
1228
1259
|
}
|
|
1229
1260
|
}
|
|
@@ -1232,8 +1263,8 @@ function buildComponents(tokens) {
|
|
|
1232
1263
|
MuiToggleButton: {
|
|
1233
1264
|
styleOverrides: {
|
|
1234
1265
|
root: {
|
|
1235
|
-
borderColor:
|
|
1236
|
-
color:
|
|
1266
|
+
borderColor: border5.primary,
|
|
1267
|
+
color: text5.secondary,
|
|
1237
1268
|
fontSize: 14,
|
|
1238
1269
|
fontWeight: 600,
|
|
1239
1270
|
lineHeight: "20px",
|
|
@@ -1241,19 +1272,19 @@ function buildComponents(tokens) {
|
|
|
1241
1272
|
padding: "6px 12px",
|
|
1242
1273
|
textTransform: "none",
|
|
1243
1274
|
"&:hover": {
|
|
1244
|
-
backgroundColor:
|
|
1245
|
-
borderColor:
|
|
1275
|
+
backgroundColor: bg5.primaryHover,
|
|
1276
|
+
borderColor: border5.primary
|
|
1246
1277
|
},
|
|
1247
1278
|
"&.Mui-selected": {
|
|
1248
|
-
backgroundColor:
|
|
1249
|
-
color:
|
|
1250
|
-
borderColor:
|
|
1279
|
+
backgroundColor: bg5.brandPrimary,
|
|
1280
|
+
color: buttonColors5.secondaryColor.fg,
|
|
1281
|
+
borderColor: border5.brandSolid,
|
|
1251
1282
|
"&:hover": {
|
|
1252
|
-
backgroundColor:
|
|
1283
|
+
backgroundColor: bg5.brandSecondary
|
|
1253
1284
|
}
|
|
1254
1285
|
},
|
|
1255
1286
|
"&:focus-visible": {
|
|
1256
|
-
boxShadow:
|
|
1287
|
+
boxShadow: focusRings5.brandShadowXs
|
|
1257
1288
|
}
|
|
1258
1289
|
}
|
|
1259
1290
|
}
|
|
@@ -1261,7 +1292,7 @@ function buildComponents(tokens) {
|
|
|
1261
1292
|
MuiToggleButtonGroup: {
|
|
1262
1293
|
styleOverrides: {
|
|
1263
1294
|
root: {
|
|
1264
|
-
borderRadius:
|
|
1295
|
+
borderRadius: radius5.md,
|
|
1265
1296
|
overflow: "hidden"
|
|
1266
1297
|
},
|
|
1267
1298
|
grouped: {
|
|
@@ -1270,12 +1301,12 @@ function buildComponents(tokens) {
|
|
|
1270
1301
|
marginLeft: -1
|
|
1271
1302
|
},
|
|
1272
1303
|
"&:first-of-type": {
|
|
1273
|
-
borderTopLeftRadius:
|
|
1274
|
-
borderBottomLeftRadius:
|
|
1304
|
+
borderTopLeftRadius: radius5.md,
|
|
1305
|
+
borderBottomLeftRadius: radius5.md
|
|
1275
1306
|
},
|
|
1276
1307
|
"&:last-of-type": {
|
|
1277
|
-
borderTopRightRadius:
|
|
1278
|
-
borderBottomRightRadius:
|
|
1308
|
+
borderTopRightRadius: radius5.md,
|
|
1309
|
+
borderBottomRightRadius: radius5.md
|
|
1279
1310
|
}
|
|
1280
1311
|
}
|
|
1281
1312
|
}
|
|
@@ -1284,8 +1315,8 @@ function buildComponents(tokens) {
|
|
|
1284
1315
|
MuiDrawer: {
|
|
1285
1316
|
styleOverrides: {
|
|
1286
1317
|
paper: {
|
|
1287
|
-
backgroundColor:
|
|
1288
|
-
borderRight: `1px solid ${
|
|
1318
|
+
backgroundColor: bg5.primary,
|
|
1319
|
+
borderRight: `1px solid ${border5.secondary}`
|
|
1289
1320
|
}
|
|
1290
1321
|
}
|
|
1291
1322
|
},
|
|
@@ -1296,9 +1327,9 @@ function buildComponents(tokens) {
|
|
|
1296
1327
|
},
|
|
1297
1328
|
styleOverrides: {
|
|
1298
1329
|
root: {
|
|
1299
|
-
borderRadius:
|
|
1300
|
-
border: `1px solid ${
|
|
1301
|
-
backgroundColor:
|
|
1330
|
+
borderRadius: radius5.xl,
|
|
1331
|
+
border: `1px solid ${border5.secondary}`,
|
|
1332
|
+
backgroundColor: bg5.primary,
|
|
1302
1333
|
boxShadow: tokenShadows.xs,
|
|
1303
1334
|
overflow: "hidden"
|
|
1304
1335
|
}
|
|
@@ -1345,35 +1376,35 @@ function buildComponents(tokens) {
|
|
|
1345
1376
|
backgroundImage: "none"
|
|
1346
1377
|
},
|
|
1347
1378
|
rounded: {
|
|
1348
|
-
borderRadius:
|
|
1379
|
+
borderRadius: radius5.lg
|
|
1349
1380
|
},
|
|
1350
1381
|
elevation1: {
|
|
1351
1382
|
boxShadow: tokenShadows.xs,
|
|
1352
|
-
border: `1px solid ${
|
|
1383
|
+
border: `1px solid ${border5.secondary}`
|
|
1353
1384
|
},
|
|
1354
1385
|
elevation2: {
|
|
1355
1386
|
boxShadow: tokenShadows.sm,
|
|
1356
|
-
border: `1px solid ${
|
|
1387
|
+
border: `1px solid ${border5.secondary}`
|
|
1357
1388
|
},
|
|
1358
1389
|
elevation3: {
|
|
1359
1390
|
boxShadow: tokenShadows.md,
|
|
1360
|
-
border: `1px solid ${
|
|
1391
|
+
border: `1px solid ${border5.secondary}`
|
|
1361
1392
|
},
|
|
1362
1393
|
elevation4: {
|
|
1363
1394
|
boxShadow: tokenShadows.lg,
|
|
1364
|
-
border: `1px solid ${
|
|
1395
|
+
border: `1px solid ${border5.secondary}`
|
|
1365
1396
|
},
|
|
1366
1397
|
elevation8: {
|
|
1367
1398
|
boxShadow: tokenShadows.xl,
|
|
1368
|
-
border: `1px solid ${
|
|
1399
|
+
border: `1px solid ${border5.secondary}`
|
|
1369
1400
|
},
|
|
1370
1401
|
elevation16: {
|
|
1371
1402
|
boxShadow: tokenShadows["2xl"],
|
|
1372
|
-
border: `1px solid ${
|
|
1403
|
+
border: `1px solid ${border5.secondary}`
|
|
1373
1404
|
},
|
|
1374
1405
|
elevation24: {
|
|
1375
1406
|
boxShadow: tokenShadows["3xl"],
|
|
1376
|
-
border: `1px solid ${
|
|
1407
|
+
border: `1px solid ${border5.secondary}`
|
|
1377
1408
|
}
|
|
1378
1409
|
}
|
|
1379
1410
|
},
|
|
@@ -1385,8 +1416,8 @@ function buildComponents(tokens) {
|
|
|
1385
1416
|
},
|
|
1386
1417
|
styleOverrides: {
|
|
1387
1418
|
root: {
|
|
1388
|
-
border: `1px solid ${
|
|
1389
|
-
borderRadius:
|
|
1419
|
+
border: `1px solid ${border5.secondary}`,
|
|
1420
|
+
borderRadius: radius5.lg,
|
|
1390
1421
|
"&:not(:last-child)": {
|
|
1391
1422
|
marginBottom: 8
|
|
1392
1423
|
},
|
|
@@ -1396,7 +1427,7 @@ function buildComponents(tokens) {
|
|
|
1396
1427
|
"&.Mui-expanded": {
|
|
1397
1428
|
margin: 0,
|
|
1398
1429
|
marginBottom: 8,
|
|
1399
|
-
borderRadius:
|
|
1430
|
+
borderRadius: radius5.lg
|
|
1400
1431
|
}
|
|
1401
1432
|
}
|
|
1402
1433
|
}
|
|
@@ -1408,7 +1439,7 @@ function buildComponents(tokens) {
|
|
|
1408
1439
|
minHeight: 56,
|
|
1409
1440
|
"&.Mui-expanded": {
|
|
1410
1441
|
minHeight: 56,
|
|
1411
|
-
borderBottom: `1px solid ${
|
|
1442
|
+
borderBottom: `1px solid ${border5.secondary}`
|
|
1412
1443
|
}
|
|
1413
1444
|
},
|
|
1414
1445
|
content: {
|
|
@@ -1434,8 +1465,8 @@ function buildComponents(tokens) {
|
|
|
1434
1465
|
},
|
|
1435
1466
|
styleOverrides: {
|
|
1436
1467
|
root: {
|
|
1437
|
-
borderBottom: `1px solid ${
|
|
1438
|
-
backgroundColor:
|
|
1468
|
+
borderBottom: `1px solid ${border5.secondary}`,
|
|
1469
|
+
backgroundColor: bg5.primary
|
|
1439
1470
|
}
|
|
1440
1471
|
}
|
|
1441
1472
|
},
|
|
@@ -1459,7 +1490,7 @@ function buildComponents(tokens) {
|
|
|
1459
1490
|
MuiChip: {
|
|
1460
1491
|
styleOverrides: {
|
|
1461
1492
|
root: {
|
|
1462
|
-
borderRadius:
|
|
1493
|
+
borderRadius: radius5.md
|
|
1463
1494
|
},
|
|
1464
1495
|
label: {
|
|
1465
1496
|
fontWeight: 500
|
|
@@ -1475,51 +1506,51 @@ function buildComponents(tokens) {
|
|
|
1475
1506
|
},
|
|
1476
1507
|
colorDefault: {
|
|
1477
1508
|
"&.MuiChip-filled": {
|
|
1478
|
-
backgroundColor:
|
|
1479
|
-
color:
|
|
1480
|
-
"& .MuiChip-deleteIcon": { color:
|
|
1509
|
+
backgroundColor: gray[50],
|
|
1510
|
+
color: gray[700],
|
|
1511
|
+
"& .MuiChip-deleteIcon": { color: gray[400] }
|
|
1481
1512
|
}
|
|
1482
1513
|
},
|
|
1483
1514
|
colorPrimary: {
|
|
1484
1515
|
"&.MuiChip-filled": {
|
|
1485
|
-
backgroundColor:
|
|
1486
|
-
color:
|
|
1487
|
-
"& .MuiChip-deleteIcon": { color:
|
|
1516
|
+
backgroundColor: violet[50],
|
|
1517
|
+
color: violet[700],
|
|
1518
|
+
"& .MuiChip-deleteIcon": { color: violet[400] }
|
|
1488
1519
|
}
|
|
1489
1520
|
},
|
|
1490
1521
|
colorSecondary: {
|
|
1491
1522
|
"&.MuiChip-filled": {
|
|
1492
|
-
backgroundColor:
|
|
1493
|
-
color:
|
|
1494
|
-
"& .MuiChip-deleteIcon": { color:
|
|
1523
|
+
backgroundColor: gray[50],
|
|
1524
|
+
color: gray[700],
|
|
1525
|
+
"& .MuiChip-deleteIcon": { color: gray[400] }
|
|
1495
1526
|
}
|
|
1496
1527
|
},
|
|
1497
1528
|
colorError: {
|
|
1498
1529
|
"&.MuiChip-filled": {
|
|
1499
|
-
backgroundColor:
|
|
1500
|
-
color:
|
|
1501
|
-
"& .MuiChip-deleteIcon": { color:
|
|
1530
|
+
backgroundColor: colors5.error[50],
|
|
1531
|
+
color: colors5.error[700],
|
|
1532
|
+
"& .MuiChip-deleteIcon": { color: colors5.error[400] }
|
|
1502
1533
|
}
|
|
1503
1534
|
},
|
|
1504
1535
|
colorWarning: {
|
|
1505
1536
|
"&.MuiChip-filled": {
|
|
1506
|
-
backgroundColor:
|
|
1507
|
-
color:
|
|
1508
|
-
"& .MuiChip-deleteIcon": { color:
|
|
1537
|
+
backgroundColor: colors5.warning[50],
|
|
1538
|
+
color: colors5.warning[700],
|
|
1539
|
+
"& .MuiChip-deleteIcon": { color: colors5.warning[400] }
|
|
1509
1540
|
}
|
|
1510
1541
|
},
|
|
1511
1542
|
colorSuccess: {
|
|
1512
1543
|
"&.MuiChip-filled": {
|
|
1513
|
-
backgroundColor:
|
|
1514
|
-
color:
|
|
1515
|
-
"& .MuiChip-deleteIcon": { color:
|
|
1544
|
+
backgroundColor: colors5.success[50],
|
|
1545
|
+
color: colors5.success[700],
|
|
1546
|
+
"& .MuiChip-deleteIcon": { color: colors5.success[400] }
|
|
1516
1547
|
}
|
|
1517
1548
|
},
|
|
1518
1549
|
colorInfo: {
|
|
1519
1550
|
"&.MuiChip-filled": {
|
|
1520
|
-
backgroundColor:
|
|
1521
|
-
color:
|
|
1522
|
-
"& .MuiChip-deleteIcon": { color:
|
|
1551
|
+
backgroundColor: info[50],
|
|
1552
|
+
color: info[700],
|
|
1553
|
+
"& .MuiChip-deleteIcon": { color: info[400] }
|
|
1523
1554
|
}
|
|
1524
1555
|
}
|
|
1525
1556
|
}
|
|
@@ -1535,7 +1566,7 @@ function buildComponents(tokens) {
|
|
|
1535
1566
|
fontSize: 14,
|
|
1536
1567
|
lineHeight: "20px",
|
|
1537
1568
|
fontWeight: 500,
|
|
1538
|
-
color:
|
|
1569
|
+
color: text5.secondary
|
|
1539
1570
|
}
|
|
1540
1571
|
}
|
|
1541
1572
|
},
|
|
@@ -1551,29 +1582,29 @@ function buildComponents(tokens) {
|
|
|
1551
1582
|
MuiTableCell: {
|
|
1552
1583
|
styleOverrides: {
|
|
1553
1584
|
root: {
|
|
1554
|
-
borderBottom: `1px solid ${
|
|
1585
|
+
borderBottom: `1px solid ${border5.secondary}`,
|
|
1555
1586
|
padding: "16px 24px",
|
|
1556
1587
|
fontSize: 14,
|
|
1557
1588
|
lineHeight: "20px",
|
|
1558
|
-
color:
|
|
1589
|
+
color: fg5.tertiary
|
|
1559
1590
|
},
|
|
1560
1591
|
head: {
|
|
1561
|
-
backgroundColor:
|
|
1562
|
-
color:
|
|
1592
|
+
backgroundColor: bg5.secondary,
|
|
1593
|
+
color: fg5.tertiary,
|
|
1563
1594
|
fontWeight: 500,
|
|
1564
1595
|
fontSize: 12,
|
|
1565
1596
|
lineHeight: "18px"
|
|
1566
1597
|
},
|
|
1567
1598
|
body: {
|
|
1568
|
-
color:
|
|
1599
|
+
color: fg5.tertiary
|
|
1569
1600
|
}
|
|
1570
1601
|
}
|
|
1571
1602
|
},
|
|
1572
1603
|
MuiTableHead: {
|
|
1573
1604
|
styleOverrides: {
|
|
1574
1605
|
root: {
|
|
1575
|
-
backgroundColor:
|
|
1576
|
-
borderBottom: `1px solid ${
|
|
1606
|
+
backgroundColor: bg5.secondary,
|
|
1607
|
+
borderBottom: `1px solid ${border5.secondary}`
|
|
1577
1608
|
}
|
|
1578
1609
|
}
|
|
1579
1610
|
},
|
|
@@ -1584,12 +1615,12 @@ function buildComponents(tokens) {
|
|
|
1584
1615
|
border: 0
|
|
1585
1616
|
},
|
|
1586
1617
|
"&:hover": {
|
|
1587
|
-
backgroundColor:
|
|
1618
|
+
backgroundColor: bg5.primaryHover
|
|
1588
1619
|
},
|
|
1589
1620
|
"&.Mui-selected": {
|
|
1590
|
-
backgroundColor:
|
|
1621
|
+
backgroundColor: bg5.brandPrimary,
|
|
1591
1622
|
"&:hover": {
|
|
1592
|
-
backgroundColor:
|
|
1623
|
+
backgroundColor: bg5.brandPrimary
|
|
1593
1624
|
}
|
|
1594
1625
|
}
|
|
1595
1626
|
}
|
|
@@ -1598,8 +1629,8 @@ function buildComponents(tokens) {
|
|
|
1598
1629
|
MuiTableContainer: {
|
|
1599
1630
|
styleOverrides: {
|
|
1600
1631
|
root: {
|
|
1601
|
-
borderRadius:
|
|
1602
|
-
border: `1px solid ${
|
|
1632
|
+
borderRadius: radius5.xl,
|
|
1633
|
+
border: `1px solid ${border5.secondary}`,
|
|
1603
1634
|
boxShadow: "none"
|
|
1604
1635
|
}
|
|
1605
1636
|
}
|
|
@@ -1613,24 +1644,24 @@ function buildComponents(tokens) {
|
|
|
1613
1644
|
lineHeight: "18px",
|
|
1614
1645
|
minWidth: 20,
|
|
1615
1646
|
height: 20,
|
|
1616
|
-
borderRadius:
|
|
1647
|
+
borderRadius: radius5.full
|
|
1617
1648
|
},
|
|
1618
1649
|
colorPrimary: {
|
|
1619
|
-
backgroundColor:
|
|
1650
|
+
backgroundColor: bg5.brandSolid
|
|
1620
1651
|
},
|
|
1621
1652
|
colorError: {
|
|
1622
|
-
backgroundColor:
|
|
1653
|
+
backgroundColor: bg5.errorSolid
|
|
1623
1654
|
},
|
|
1624
1655
|
colorSuccess: {
|
|
1625
|
-
backgroundColor:
|
|
1656
|
+
backgroundColor: bg5.successSolid
|
|
1626
1657
|
},
|
|
1627
1658
|
colorWarning: {
|
|
1628
|
-
backgroundColor:
|
|
1659
|
+
backgroundColor: bg5.warningSolid
|
|
1629
1660
|
},
|
|
1630
1661
|
dot: {
|
|
1631
1662
|
minWidth: 8,
|
|
1632
1663
|
height: 8,
|
|
1633
|
-
borderRadius:
|
|
1664
|
+
borderRadius: radius5.full
|
|
1634
1665
|
}
|
|
1635
1666
|
}
|
|
1636
1667
|
},
|
|
@@ -1638,7 +1669,7 @@ function buildComponents(tokens) {
|
|
|
1638
1669
|
MuiDivider: {
|
|
1639
1670
|
styleOverrides: {
|
|
1640
1671
|
root: {
|
|
1641
|
-
borderColor:
|
|
1672
|
+
borderColor: border5.secondary
|
|
1642
1673
|
}
|
|
1643
1674
|
}
|
|
1644
1675
|
},
|
|
@@ -1653,16 +1684,16 @@ function buildComponents(tokens) {
|
|
|
1653
1684
|
MuiListItemButton: {
|
|
1654
1685
|
styleOverrides: {
|
|
1655
1686
|
root: {
|
|
1656
|
-
borderRadius:
|
|
1687
|
+
borderRadius: radius5.sm,
|
|
1657
1688
|
padding: "8px 12px",
|
|
1658
1689
|
"&:hover": {
|
|
1659
|
-
backgroundColor:
|
|
1690
|
+
backgroundColor: bg5.primaryHover
|
|
1660
1691
|
},
|
|
1661
1692
|
"&.Mui-selected": {
|
|
1662
|
-
backgroundColor:
|
|
1663
|
-
color:
|
|
1693
|
+
backgroundColor: bg5.brandPrimary,
|
|
1694
|
+
color: buttonColors5.secondaryColor.fg,
|
|
1664
1695
|
"&:hover": {
|
|
1665
|
-
backgroundColor:
|
|
1696
|
+
backgroundColor: bg5.brandSecondary
|
|
1666
1697
|
}
|
|
1667
1698
|
}
|
|
1668
1699
|
}
|
|
@@ -1672,7 +1703,7 @@ function buildComponents(tokens) {
|
|
|
1672
1703
|
styleOverrides: {
|
|
1673
1704
|
root: {
|
|
1674
1705
|
minWidth: 36,
|
|
1675
|
-
color:
|
|
1706
|
+
color: fg5.quaternary
|
|
1676
1707
|
}
|
|
1677
1708
|
}
|
|
1678
1709
|
},
|
|
@@ -1682,12 +1713,12 @@ function buildComponents(tokens) {
|
|
|
1682
1713
|
fontSize: 14,
|
|
1683
1714
|
lineHeight: "20px",
|
|
1684
1715
|
fontWeight: 500,
|
|
1685
|
-
color:
|
|
1716
|
+
color: text5.secondary
|
|
1686
1717
|
},
|
|
1687
1718
|
secondary: {
|
|
1688
1719
|
fontSize: 14,
|
|
1689
1720
|
lineHeight: "20px",
|
|
1690
|
-
color:
|
|
1721
|
+
color: text5.quaternary
|
|
1691
1722
|
}
|
|
1692
1723
|
}
|
|
1693
1724
|
},
|
|
@@ -1695,17 +1726,17 @@ function buildComponents(tokens) {
|
|
|
1695
1726
|
MuiTooltip: {
|
|
1696
1727
|
styleOverrides: {
|
|
1697
1728
|
tooltip: {
|
|
1698
|
-
backgroundColor:
|
|
1699
|
-
color:
|
|
1729
|
+
backgroundColor: bg5.primarySolid,
|
|
1730
|
+
color: text5.white,
|
|
1700
1731
|
fontSize: 12,
|
|
1701
1732
|
lineHeight: "18px",
|
|
1702
1733
|
fontWeight: 600,
|
|
1703
1734
|
padding: "8px 12px",
|
|
1704
|
-
borderRadius:
|
|
1735
|
+
borderRadius: radius5.md,
|
|
1705
1736
|
boxShadow: tokenShadows.lg
|
|
1706
1737
|
},
|
|
1707
1738
|
arrow: {
|
|
1708
|
-
color:
|
|
1739
|
+
color: bg5.primarySolid
|
|
1709
1740
|
}
|
|
1710
1741
|
}
|
|
1711
1742
|
},
|
|
@@ -1716,42 +1747,42 @@ function buildComponents(tokens) {
|
|
|
1716
1747
|
},
|
|
1717
1748
|
styleOverrides: {
|
|
1718
1749
|
root: {
|
|
1719
|
-
borderRadius:
|
|
1750
|
+
borderRadius: radius5.xl,
|
|
1720
1751
|
fontSize: 14,
|
|
1721
1752
|
lineHeight: "20px",
|
|
1722
1753
|
padding: "12px 16px",
|
|
1723
1754
|
alignItems: "center"
|
|
1724
1755
|
},
|
|
1725
1756
|
standardError: {
|
|
1726
|
-
backgroundColor:
|
|
1727
|
-
color:
|
|
1728
|
-
border: `1px solid ${
|
|
1757
|
+
backgroundColor: bg5.errorPrimary,
|
|
1758
|
+
color: colors5.error[700],
|
|
1759
|
+
border: `1px solid ${border5.error}`,
|
|
1729
1760
|
"& .MuiAlert-icon": {
|
|
1730
|
-
color:
|
|
1761
|
+
color: fg5.errorPrimary
|
|
1731
1762
|
}
|
|
1732
1763
|
},
|
|
1733
1764
|
standardWarning: {
|
|
1734
|
-
backgroundColor:
|
|
1735
|
-
color:
|
|
1736
|
-
border: `1px solid ${
|
|
1765
|
+
backgroundColor: bg5.warningPrimary,
|
|
1766
|
+
color: colors5.warning[700],
|
|
1767
|
+
border: `1px solid ${colors5.warning[300]}`,
|
|
1737
1768
|
"& .MuiAlert-icon": {
|
|
1738
|
-
color:
|
|
1769
|
+
color: fg5.warningPrimary
|
|
1739
1770
|
}
|
|
1740
1771
|
},
|
|
1741
1772
|
standardSuccess: {
|
|
1742
|
-
backgroundColor:
|
|
1743
|
-
color:
|
|
1744
|
-
border: `1px solid ${
|
|
1773
|
+
backgroundColor: bg5.successPrimary,
|
|
1774
|
+
color: colors5.success[700],
|
|
1775
|
+
border: `1px solid ${colors5.success[300]}`,
|
|
1745
1776
|
"& .MuiAlert-icon": {
|
|
1746
|
-
color:
|
|
1777
|
+
color: fg5.successPrimary
|
|
1747
1778
|
}
|
|
1748
1779
|
},
|
|
1749
1780
|
standardInfo: {
|
|
1750
|
-
backgroundColor:
|
|
1751
|
-
color:
|
|
1752
|
-
border: `1px solid ${
|
|
1781
|
+
backgroundColor: info[50],
|
|
1782
|
+
color: info[700],
|
|
1783
|
+
border: `1px solid ${info[300]}`,
|
|
1753
1784
|
"& .MuiAlert-icon": {
|
|
1754
|
-
color:
|
|
1785
|
+
color: info[600]
|
|
1755
1786
|
}
|
|
1756
1787
|
},
|
|
1757
1788
|
icon: {
|
|
@@ -1782,7 +1813,7 @@ function buildComponents(tokens) {
|
|
|
1782
1813
|
MuiDialog: {
|
|
1783
1814
|
styleOverrides: {
|
|
1784
1815
|
paper: {
|
|
1785
|
-
borderRadius:
|
|
1816
|
+
borderRadius: radius5.xl,
|
|
1786
1817
|
boxShadow: tokenShadows.xl,
|
|
1787
1818
|
padding: 0
|
|
1788
1819
|
}
|
|
@@ -1794,7 +1825,7 @@ function buildComponents(tokens) {
|
|
|
1794
1825
|
fontSize: 18,
|
|
1795
1826
|
lineHeight: "28px",
|
|
1796
1827
|
fontWeight: 600,
|
|
1797
|
-
color:
|
|
1828
|
+
color: text5.primary,
|
|
1798
1829
|
padding: "24px 24px 0"
|
|
1799
1830
|
}
|
|
1800
1831
|
}
|
|
@@ -1805,7 +1836,7 @@ function buildComponents(tokens) {
|
|
|
1805
1836
|
padding: "20px 24px",
|
|
1806
1837
|
fontSize: 14,
|
|
1807
1838
|
lineHeight: "20px",
|
|
1808
|
-
color:
|
|
1839
|
+
color: text5.tertiary
|
|
1809
1840
|
}
|
|
1810
1841
|
}
|
|
1811
1842
|
},
|
|
@@ -1821,27 +1852,27 @@ function buildComponents(tokens) {
|
|
|
1821
1852
|
MuiLinearProgress: {
|
|
1822
1853
|
styleOverrides: {
|
|
1823
1854
|
root: {
|
|
1824
|
-
borderRadius:
|
|
1855
|
+
borderRadius: radius5.full,
|
|
1825
1856
|
height: 8,
|
|
1826
|
-
backgroundColor:
|
|
1857
|
+
backgroundColor: border5.secondary
|
|
1827
1858
|
},
|
|
1828
1859
|
barColorPrimary: {
|
|
1829
|
-
backgroundColor:
|
|
1830
|
-
borderRadius:
|
|
1860
|
+
backgroundColor: fg5.brandPrimary,
|
|
1861
|
+
borderRadius: radius5.full
|
|
1831
1862
|
},
|
|
1832
1863
|
barColorSecondary: {
|
|
1833
|
-
backgroundColor:
|
|
1834
|
-
borderRadius:
|
|
1864
|
+
backgroundColor: bg5.secondarySolid,
|
|
1865
|
+
borderRadius: radius5.full
|
|
1835
1866
|
}
|
|
1836
1867
|
}
|
|
1837
1868
|
},
|
|
1838
1869
|
MuiCircularProgress: {
|
|
1839
1870
|
styleOverrides: {
|
|
1840
1871
|
colorPrimary: {
|
|
1841
|
-
color:
|
|
1872
|
+
color: fg5.brandPrimary
|
|
1842
1873
|
},
|
|
1843
1874
|
colorSecondary: {
|
|
1844
|
-
color:
|
|
1875
|
+
color: bg5.secondarySolid
|
|
1845
1876
|
}
|
|
1846
1877
|
}
|
|
1847
1878
|
},
|
|
@@ -1852,13 +1883,13 @@ function buildComponents(tokens) {
|
|
|
1852
1883
|
},
|
|
1853
1884
|
styleOverrides: {
|
|
1854
1885
|
root: {
|
|
1855
|
-
backgroundColor:
|
|
1886
|
+
backgroundColor: bg5.tertiary
|
|
1856
1887
|
},
|
|
1857
1888
|
rounded: {
|
|
1858
|
-
borderRadius:
|
|
1889
|
+
borderRadius: radius5.md
|
|
1859
1890
|
},
|
|
1860
1891
|
circular: {
|
|
1861
|
-
borderRadius:
|
|
1892
|
+
borderRadius: radius5.full
|
|
1862
1893
|
}
|
|
1863
1894
|
}
|
|
1864
1895
|
},
|
|
@@ -1866,9 +1897,9 @@ function buildComponents(tokens) {
|
|
|
1866
1897
|
MuiSnackbarContent: {
|
|
1867
1898
|
styleOverrides: {
|
|
1868
1899
|
root: {
|
|
1869
|
-
backgroundColor:
|
|
1870
|
-
color:
|
|
1871
|
-
borderRadius:
|
|
1900
|
+
backgroundColor: bg5.primarySolid,
|
|
1901
|
+
color: text5.white,
|
|
1902
|
+
borderRadius: radius5.xl,
|
|
1872
1903
|
boxShadow: tokenShadows.lg,
|
|
1873
1904
|
fontSize: 14,
|
|
1874
1905
|
lineHeight: "20px",
|
|
@@ -1902,21 +1933,21 @@ function buildComponents(tokens) {
|
|
|
1902
1933
|
MuiDataGrid: {
|
|
1903
1934
|
styleOverrides: {
|
|
1904
1935
|
root: {
|
|
1905
|
-
border: `1px solid ${
|
|
1906
|
-
borderRadius:
|
|
1936
|
+
border: `1px solid ${border5.secondary}`,
|
|
1937
|
+
borderRadius: radius5.xl,
|
|
1907
1938
|
fontFamily: "inherit",
|
|
1908
1939
|
"& .MuiDataGrid-withBorderColor": {
|
|
1909
|
-
borderColor:
|
|
1940
|
+
borderColor: border5.secondary
|
|
1910
1941
|
}
|
|
1911
1942
|
},
|
|
1912
1943
|
columnHeaders: {
|
|
1913
|
-
backgroundColor:
|
|
1944
|
+
backgroundColor: bg5.secondary
|
|
1914
1945
|
},
|
|
1915
1946
|
columnHeader: {
|
|
1916
1947
|
fontSize: 12,
|
|
1917
1948
|
lineHeight: "18px",
|
|
1918
1949
|
fontWeight: 500,
|
|
1919
|
-
color:
|
|
1950
|
+
color: fg5.tertiary,
|
|
1920
1951
|
"&:focus, &:focus-within": {
|
|
1921
1952
|
outline: "none"
|
|
1922
1953
|
}
|
|
@@ -1927,34 +1958,34 @@ function buildComponents(tokens) {
|
|
|
1927
1958
|
cell: {
|
|
1928
1959
|
fontSize: 14,
|
|
1929
1960
|
lineHeight: "20px",
|
|
1930
|
-
color:
|
|
1961
|
+
color: fg5.tertiary,
|
|
1931
1962
|
"&:focus, &:focus-within": {
|
|
1932
1963
|
outline: "none"
|
|
1933
1964
|
}
|
|
1934
1965
|
},
|
|
1935
1966
|
row: {
|
|
1936
1967
|
"&:hover": {
|
|
1937
|
-
backgroundColor:
|
|
1968
|
+
backgroundColor: bg5.primaryHover
|
|
1938
1969
|
},
|
|
1939
1970
|
"&.Mui-selected": {
|
|
1940
|
-
backgroundColor:
|
|
1971
|
+
backgroundColor: bg5.brandPrimary,
|
|
1941
1972
|
"&:hover": {
|
|
1942
|
-
backgroundColor:
|
|
1973
|
+
backgroundColor: bg5.brandPrimary
|
|
1943
1974
|
}
|
|
1944
1975
|
}
|
|
1945
1976
|
},
|
|
1946
1977
|
footerContainer: {
|
|
1947
|
-
borderTop: `1px solid ${
|
|
1978
|
+
borderTop: `1px solid ${border5.secondary}`
|
|
1948
1979
|
},
|
|
1949
1980
|
columnSeparator: {
|
|
1950
|
-
color:
|
|
1981
|
+
color: border5.secondary
|
|
1951
1982
|
}
|
|
1952
1983
|
}
|
|
1953
1984
|
}
|
|
1954
1985
|
}
|
|
1955
1986
|
};
|
|
1956
1987
|
}
|
|
1957
|
-
|
|
1988
|
+
buildComponents({
|
|
1958
1989
|
colors,
|
|
1959
1990
|
radius,
|
|
1960
1991
|
focusRings,
|
|
@@ -1965,65 +1996,7 @@ var components = buildComponents({
|
|
|
1965
1996
|
border,
|
|
1966
1997
|
buttonColors});
|
|
1967
1998
|
|
|
1968
|
-
// src/theme/
|
|
1969
|
-
function buildShadows(tokens) {
|
|
1970
|
-
const tokenShadows = tokens.shadows;
|
|
1971
|
-
return [
|
|
1972
|
-
"none",
|
|
1973
|
-
// 0
|
|
1974
|
-
tokenShadows.xs,
|
|
1975
|
-
// 1
|
|
1976
|
-
tokenShadows.sm,
|
|
1977
|
-
// 2
|
|
1978
|
-
tokenShadows.sm,
|
|
1979
|
-
// 3
|
|
1980
|
-
tokenShadows.md,
|
|
1981
|
-
// 4
|
|
1982
|
-
tokenShadows.md,
|
|
1983
|
-
// 5
|
|
1984
|
-
tokenShadows.md,
|
|
1985
|
-
// 6
|
|
1986
|
-
tokenShadows.lg,
|
|
1987
|
-
// 7
|
|
1988
|
-
tokenShadows.lg,
|
|
1989
|
-
// 8
|
|
1990
|
-
tokenShadows.lg,
|
|
1991
|
-
// 9
|
|
1992
|
-
tokenShadows.xl,
|
|
1993
|
-
// 10
|
|
1994
|
-
tokenShadows.xl,
|
|
1995
|
-
// 11
|
|
1996
|
-
tokenShadows.xl,
|
|
1997
|
-
// 12
|
|
1998
|
-
tokenShadows["2xl"],
|
|
1999
|
-
// 13
|
|
2000
|
-
tokenShadows["2xl"],
|
|
2001
|
-
// 14
|
|
2002
|
-
tokenShadows["2xl"],
|
|
2003
|
-
// 15
|
|
2004
|
-
tokenShadows["3xl"],
|
|
2005
|
-
// 16
|
|
2006
|
-
tokenShadows["3xl"],
|
|
2007
|
-
// 17
|
|
2008
|
-
tokenShadows["3xl"],
|
|
2009
|
-
// 18
|
|
2010
|
-
tokenShadows["3xl"],
|
|
2011
|
-
// 19
|
|
2012
|
-
tokenShadows["3xl"],
|
|
2013
|
-
// 20
|
|
2014
|
-
tokenShadows["3xl"],
|
|
2015
|
-
// 21
|
|
2016
|
-
tokenShadows["3xl"],
|
|
2017
|
-
// 22
|
|
2018
|
-
tokenShadows["3xl"],
|
|
2019
|
-
// 23
|
|
2020
|
-
tokenShadows["3xl"]
|
|
2021
|
-
// 24
|
|
2022
|
-
];
|
|
2023
|
-
}
|
|
2024
|
-
var shadows2 = buildShadows({
|
|
2025
|
-
shadows
|
|
2026
|
-
});
|
|
1999
|
+
// src/theme/buildTheme.ts
|
|
2027
2000
|
function buildThemeOptions(tokens) {
|
|
2028
2001
|
return {
|
|
2029
2002
|
palette: buildPalette(tokens),
|
|
@@ -2039,60 +2012,23 @@ function buildTheme(tokens) {
|
|
|
2039
2012
|
return styles.createTheme(buildThemeOptions(tokens));
|
|
2040
2013
|
}
|
|
2041
2014
|
|
|
2042
|
-
// src/theme/presets/forest.ts
|
|
2043
|
-
var forestPreset = {
|
|
2044
|
-
name: "forest",
|
|
2045
|
-
defaultVariant: "light",
|
|
2046
|
-
variants: {
|
|
2047
|
-
light: {
|
|
2048
|
-
tokens: {
|
|
2049
|
-
colors,
|
|
2050
|
-
spacing,
|
|
2051
|
-
radius,
|
|
2052
|
-
shadows,
|
|
2053
|
-
focusRings,
|
|
2054
|
-
fontFamily,
|
|
2055
|
-
fontSize,
|
|
2056
|
-
lineHeight,
|
|
2057
|
-
fontWeight,
|
|
2058
|
-
display,
|
|
2059
|
-
container,
|
|
2060
|
-
widths,
|
|
2061
|
-
text,
|
|
2062
|
-
bg,
|
|
2063
|
-
fg,
|
|
2064
|
-
border,
|
|
2065
|
-
buttonColors,
|
|
2066
|
-
avatarColors,
|
|
2067
|
-
breadcrumbColors,
|
|
2068
|
-
iconColors,
|
|
2069
|
-
navColors,
|
|
2070
|
-
sliderColors,
|
|
2071
|
-
toggleColors,
|
|
2072
|
-
chartColors,
|
|
2073
|
-
alpha
|
|
2074
|
-
}
|
|
2075
|
-
}
|
|
2076
|
-
}
|
|
2077
|
-
};
|
|
2078
|
-
|
|
2079
|
-
// src/theme/presets/alkemy-plus.ts
|
|
2015
|
+
// src/theme/presets/forest-external.ts
|
|
2080
2016
|
var colors2 = {
|
|
2081
2017
|
...colors,
|
|
2082
|
-
/** Brand scale —
|
|
2018
|
+
/** Brand scale — purple for client-facing products (#9D5FFF) */
|
|
2083
2019
|
brand: {
|
|
2084
|
-
25: "#
|
|
2085
|
-
50: "#
|
|
2086
|
-
100: "#
|
|
2087
|
-
200: "#
|
|
2088
|
-
300: "#
|
|
2089
|
-
400: "#
|
|
2090
|
-
500: "#
|
|
2091
|
-
600: "#
|
|
2092
|
-
700: "#
|
|
2093
|
-
800: "#
|
|
2094
|
-
900: "#
|
|
2095
|
-
950: "#
|
|
2020
|
+
25: "#faf8ff",
|
|
2021
|
+
50: "#f5f0ff",
|
|
2022
|
+
100: "#ebe0ff",
|
|
2023
|
+
200: "#d6c0ff",
|
|
2024
|
+
300: "#b090ff",
|
|
2025
|
+
400: "#9D5FFF",
|
|
2026
|
+
500: "#7c4de6",
|
|
2027
|
+
600: "#5b3acc",
|
|
2028
|
+
700: "#3a1aad",
|
|
2029
|
+
800: "#190a8a",
|
|
2030
|
+
900: "#000066",
|
|
2031
|
+
950: "#000033"
|
|
2096
2032
|
},
|
|
2097
2033
|
/** Warm-neutral gray scale */
|
|
2098
2034
|
gray: {
|
|
@@ -2328,18 +2264,18 @@ var chartColors2 = {
|
|
|
2328
2264
|
crosshairFg: colors2.gray[500],
|
|
2329
2265
|
legendFg: text2.tertiary,
|
|
2330
2266
|
series: [
|
|
2331
|
-
{ fg:
|
|
2332
|
-
{ fg:
|
|
2333
|
-
{ fg:
|
|
2267
|
+
{ fg: misc.purple[500], fgHover: misc.purple[600], bg: misc.purple[100], bgHover: misc.purple[200] },
|
|
2268
|
+
{ fg: misc.orangeDark[400], fgHover: misc.orangeDark[500], bg: misc.orangeDark[100], bgHover: misc.orangeDark[200] },
|
|
2269
|
+
{ fg: misc.teal[300], fgHover: misc.teal[400], bg: misc.teal[50], bgHover: misc.teal[100] },
|
|
2334
2270
|
{ fg: colors2.warning[400], fgHover: colors2.warning[500], bg: colors2.warning[100], bgHover: colors2.warning[200] },
|
|
2335
|
-
{ fg:
|
|
2336
|
-
{ fg:
|
|
2337
|
-
{ fg:
|
|
2338
|
-
{ fg:
|
|
2339
|
-
{ fg:
|
|
2340
|
-
{ fg:
|
|
2341
|
-
{ fg:
|
|
2342
|
-
{ fg:
|
|
2271
|
+
{ fg: misc.rose[400], fgHover: misc.rose[500], bg: misc.rose[100], bgHover: misc.rose[200] },
|
|
2272
|
+
{ fg: misc.blueLight[400], fgHover: misc.blueLight[500], bg: misc.blueLight[100], bgHover: misc.blueLight[200] },
|
|
2273
|
+
{ fg: misc.orange[300], fgHover: misc.orange[400], bg: misc.orange[100], bgHover: misc.orange[200] },
|
|
2274
|
+
{ fg: misc.cyan[600], fgHover: misc.cyan[700], bg: misc.cyan[100], bgHover: misc.cyan[200] },
|
|
2275
|
+
{ fg: misc.green[500], fgHover: misc.green[600], bg: misc.green[100], bgHover: misc.green[200] },
|
|
2276
|
+
{ fg: misc.pink[400], fgHover: misc.pink[500], bg: misc.pink[100], bgHover: misc.pink[200] },
|
|
2277
|
+
{ fg: misc.fuchsia[400], fgHover: misc.fuchsia[500], bg: misc.fuchsia[100], bgHover: misc.fuchsia[200] },
|
|
2278
|
+
{ fg: misc.teal[600], fgHover: misc.teal[700], bg: misc.teal[100], bgHover: misc.teal[200] }
|
|
2343
2279
|
]
|
|
2344
2280
|
};
|
|
2345
2281
|
var focusRings2 = {
|
|
@@ -2352,8 +2288,8 @@ var focusRings2 = {
|
|
|
2352
2288
|
error: "0px 0px 0px 4px #f044383d",
|
|
2353
2289
|
errorShadowXs: "0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #f044383d"
|
|
2354
2290
|
};
|
|
2355
|
-
var
|
|
2356
|
-
name: "
|
|
2291
|
+
var forestExternalPreset = {
|
|
2292
|
+
name: "forest-external",
|
|
2357
2293
|
defaultVariant: "light",
|
|
2358
2294
|
variants: {
|
|
2359
2295
|
light: {
|
|
@@ -2388,10 +2324,650 @@ var alkemyPlusPreset = {
|
|
|
2388
2324
|
}
|
|
2389
2325
|
};
|
|
2390
2326
|
|
|
2327
|
+
// src/theme/presets/forest-agency.ts
|
|
2328
|
+
var colors3 = {
|
|
2329
|
+
...colors,
|
|
2330
|
+
/** Brand scale — black-based for primary actions */
|
|
2331
|
+
brand: {
|
|
2332
|
+
25: "#fafafa",
|
|
2333
|
+
50: "#f5f5f5",
|
|
2334
|
+
100: "#ebebeb",
|
|
2335
|
+
200: "#d6d6d6",
|
|
2336
|
+
300: "#b0b0b0",
|
|
2337
|
+
400: "#737373",
|
|
2338
|
+
500: "#404040",
|
|
2339
|
+
600: "#1a1a1a",
|
|
2340
|
+
700: "#0d0d0d",
|
|
2341
|
+
800: "#050505",
|
|
2342
|
+
900: "#000000",
|
|
2343
|
+
950: "#000000"
|
|
2344
|
+
},
|
|
2345
|
+
/** Accent color — red/orange sparingly used (#FF2821) */
|
|
2346
|
+
accent: {
|
|
2347
|
+
25: "#fff8f7",
|
|
2348
|
+
50: "#fff0ee",
|
|
2349
|
+
100: "#ffe0dd",
|
|
2350
|
+
200: "#ffc0bb",
|
|
2351
|
+
300: "#ff9090",
|
|
2352
|
+
400: "#FF2821",
|
|
2353
|
+
500: "#e61a1a",
|
|
2354
|
+
600: "#cc1010",
|
|
2355
|
+
700: "#a30808",
|
|
2356
|
+
800: "#7a0000",
|
|
2357
|
+
900: "#520000",
|
|
2358
|
+
950: "#290000"
|
|
2359
|
+
},
|
|
2360
|
+
/** Warm-neutral gray scale */
|
|
2361
|
+
gray: {
|
|
2362
|
+
25: "#fdfcfc",
|
|
2363
|
+
50: "#faf9f8",
|
|
2364
|
+
100: "#f5f3f1",
|
|
2365
|
+
200: "#e8e5e3",
|
|
2366
|
+
300: "#d8d8dc",
|
|
2367
|
+
400: "#a0a0a6",
|
|
2368
|
+
500: "#71717a",
|
|
2369
|
+
600: "#52525b",
|
|
2370
|
+
700: "#3f3f46",
|
|
2371
|
+
800: "#27272a",
|
|
2372
|
+
900: "#18181b",
|
|
2373
|
+
950: "#09090b"
|
|
2374
|
+
}
|
|
2375
|
+
};
|
|
2376
|
+
var radius3 = {
|
|
2377
|
+
...radius,
|
|
2378
|
+
xxs: 1,
|
|
2379
|
+
xs: 2,
|
|
2380
|
+
sm: 3,
|
|
2381
|
+
md: 4,
|
|
2382
|
+
lg: 5,
|
|
2383
|
+
xl: 6,
|
|
2384
|
+
"2xl": 8,
|
|
2385
|
+
"3xl": 10,
|
|
2386
|
+
"4xl": 12
|
|
2387
|
+
};
|
|
2388
|
+
var text3 = {
|
|
2389
|
+
primary: colors3.gray[900],
|
|
2390
|
+
secondary: colors3.gray[700],
|
|
2391
|
+
secondaryHover: colors3.gray[800],
|
|
2392
|
+
tertiary: colors3.gray[600],
|
|
2393
|
+
tertiaryHover: colors3.gray[700],
|
|
2394
|
+
quaternary: colors3.gray[500],
|
|
2395
|
+
disabled: colors3.gray[500],
|
|
2396
|
+
placeholder: colors3.gray[500],
|
|
2397
|
+
placeholderSubtle: colors3.gray[300],
|
|
2398
|
+
white: colors3.base.white,
|
|
2399
|
+
brandPrimary: colors3.brand[900],
|
|
2400
|
+
brandSecondary: colors3.brand[700],
|
|
2401
|
+
brandTertiary: colors3.brand[600],
|
|
2402
|
+
brandTertiaryAlt: colors3.brand[600],
|
|
2403
|
+
primaryOnBrand: colors3.base.white,
|
|
2404
|
+
secondaryOnBrand: colors3.brand[200],
|
|
2405
|
+
tertiaryOnBrand: colors3.brand[200],
|
|
2406
|
+
quaternaryOnBrand: colors3.brand[300],
|
|
2407
|
+
errorPrimary: colors3.error[600],
|
|
2408
|
+
warningPrimary: colors3.warning[600],
|
|
2409
|
+
successPrimary: colors3.success[600]
|
|
2410
|
+
};
|
|
2411
|
+
var bg3 = {
|
|
2412
|
+
primary: colors3.gray[50],
|
|
2413
|
+
primaryAlt: colors3.gray[50],
|
|
2414
|
+
primaryHover: colors3.gray[100],
|
|
2415
|
+
primarySolid: colors3.gray[950],
|
|
2416
|
+
secondary: colors3.base.white,
|
|
2417
|
+
secondaryAlt: colors3.base.white,
|
|
2418
|
+
secondarySubtle: colors3.gray[25],
|
|
2419
|
+
secondaryHover: colors3.gray[50],
|
|
2420
|
+
secondarySolid: colors3.gray[600],
|
|
2421
|
+
tertiary: colors3.gray[100],
|
|
2422
|
+
quaternary: colors3.gray[200],
|
|
2423
|
+
active: colors3.gray[200],
|
|
2424
|
+
disabled: colors3.gray[100],
|
|
2425
|
+
disabledSubtle: colors3.gray[50],
|
|
2426
|
+
overlay: colors3.gray[950],
|
|
2427
|
+
brandPrimary: colors3.brand[50],
|
|
2428
|
+
brandPrimaryAlt: colors3.brand[50],
|
|
2429
|
+
brandSecondary: colors3.brand[100],
|
|
2430
|
+
brandSolid: colors3.brand[600],
|
|
2431
|
+
brandSolidHover: colors3.brand[700],
|
|
2432
|
+
brandSection: colors3.brand[800],
|
|
2433
|
+
brandSectionSubtle: colors3.brand[700],
|
|
2434
|
+
errorPrimary: colors3.error[50],
|
|
2435
|
+
errorSecondary: colors3.error[100],
|
|
2436
|
+
errorSolid: colors3.error[600],
|
|
2437
|
+
warningPrimary: colors3.warning[50],
|
|
2438
|
+
warningSecondary: colors3.warning[100],
|
|
2439
|
+
warningSolid: colors3.warning[600],
|
|
2440
|
+
successPrimary: colors3.success[50],
|
|
2441
|
+
successSecondary: colors3.success[100],
|
|
2442
|
+
successSolid: colors3.success[600]
|
|
2443
|
+
};
|
|
2444
|
+
var fg3 = {
|
|
2445
|
+
primary: colors3.gray[900],
|
|
2446
|
+
secondary: colors3.gray[700],
|
|
2447
|
+
secondaryHover: colors3.gray[800],
|
|
2448
|
+
tertiary: colors3.gray[600],
|
|
2449
|
+
tertiaryHover: colors3.gray[700],
|
|
2450
|
+
quaternary: colors3.gray[500],
|
|
2451
|
+
quaternaryHover: colors3.gray[600],
|
|
2452
|
+
quinary: colors3.gray[400],
|
|
2453
|
+
quinaryHover: colors3.gray[500],
|
|
2454
|
+
senary: colors3.gray[300],
|
|
2455
|
+
white: colors3.base.white,
|
|
2456
|
+
disabled: colors3.gray[400],
|
|
2457
|
+
disabledSubtle: colors3.gray[300],
|
|
2458
|
+
brandPrimary: colors3.brand[600],
|
|
2459
|
+
brandPrimaryAlt: colors3.brand[600],
|
|
2460
|
+
brandSecondary: colors3.brand[500],
|
|
2461
|
+
errorPrimary: colors3.error[600],
|
|
2462
|
+
errorSecondary: colors3.error[500],
|
|
2463
|
+
warningPrimary: colors3.warning[600],
|
|
2464
|
+
warningSecondary: colors3.warning[500],
|
|
2465
|
+
successPrimary: colors3.success[600],
|
|
2466
|
+
successSecondary: colors3.success[500]
|
|
2467
|
+
};
|
|
2468
|
+
var border3 = {
|
|
2469
|
+
primary: colors3.gray[300],
|
|
2470
|
+
secondary: colors3.gray[200],
|
|
2471
|
+
tertiary: colors3.gray[100],
|
|
2472
|
+
disabled: colors3.gray[300],
|
|
2473
|
+
disabledSubtle: colors3.gray[200],
|
|
2474
|
+
brand: colors3.brand[300],
|
|
2475
|
+
brandSolid: colors3.brand[600],
|
|
2476
|
+
brandSolidAlt: colors3.brand[600],
|
|
2477
|
+
error: colors3.error[300],
|
|
2478
|
+
errorSolid: colors3.error[600]
|
|
2479
|
+
};
|
|
2480
|
+
var buttonColors3 = {
|
|
2481
|
+
primary: {
|
|
2482
|
+
bg: colors3.brand[600],
|
|
2483
|
+
bgHover: colors3.brand[700],
|
|
2484
|
+
fg: colors3.base.white,
|
|
2485
|
+
fgHover: colors3.base.white,
|
|
2486
|
+
border: colors3.brand[600],
|
|
2487
|
+
borderHover: colors3.brand[700]
|
|
2488
|
+
},
|
|
2489
|
+
secondary: {
|
|
2490
|
+
bg: colors3.base.white,
|
|
2491
|
+
bgHover: colors3.gray[50],
|
|
2492
|
+
fg: colors3.gray[700],
|
|
2493
|
+
fgHover: colors3.gray[800],
|
|
2494
|
+
border: colors3.gray[300],
|
|
2495
|
+
borderHover: colors3.gray[300]
|
|
2496
|
+
},
|
|
2497
|
+
secondaryColor: {
|
|
2498
|
+
bg: colors3.base.white,
|
|
2499
|
+
bgHover: colors3.brand[50],
|
|
2500
|
+
fg: colors3.brand[700],
|
|
2501
|
+
fgHover: colors3.brand[800],
|
|
2502
|
+
border: colors3.brand[300],
|
|
2503
|
+
borderHover: colors3.brand[300]
|
|
2504
|
+
},
|
|
2505
|
+
tertiary: {
|
|
2506
|
+
fg: colors3.gray[600],
|
|
2507
|
+
fgHover: colors3.gray[700],
|
|
2508
|
+
bgHover: colors3.gray[50]
|
|
2509
|
+
},
|
|
2510
|
+
tertiaryColor: {
|
|
2511
|
+
fg: colors3.brand[700],
|
|
2512
|
+
fgHover: colors3.brand[800],
|
|
2513
|
+
bgHover: colors3.brand[50]
|
|
2514
|
+
},
|
|
2515
|
+
primaryError: {
|
|
2516
|
+
bg: colors3.error[600],
|
|
2517
|
+
bgHover: colors3.error[700],
|
|
2518
|
+
fg: colors3.base.white,
|
|
2519
|
+
fgHover: colors3.base.white,
|
|
2520
|
+
border: colors3.error[600],
|
|
2521
|
+
borderHover: colors3.error[700]
|
|
2522
|
+
},
|
|
2523
|
+
secondaryError: {
|
|
2524
|
+
bg: colors3.base.white,
|
|
2525
|
+
bgHover: colors3.error[50],
|
|
2526
|
+
fg: colors3.error[700],
|
|
2527
|
+
fgHover: colors3.error[800],
|
|
2528
|
+
border: colors3.error[300],
|
|
2529
|
+
borderHover: colors3.error[300]
|
|
2530
|
+
},
|
|
2531
|
+
tertiaryError: {
|
|
2532
|
+
fg: colors3.error[700],
|
|
2533
|
+
fgHover: colors3.error[800],
|
|
2534
|
+
bgHover: colors3.error[50]
|
|
2535
|
+
}
|
|
2536
|
+
};
|
|
2537
|
+
var avatarColors3 = {
|
|
2538
|
+
bg: colors3.gray[100],
|
|
2539
|
+
contrastBorder: "#00000014",
|
|
2540
|
+
profilePhotoBorder: colors3.base.white,
|
|
2541
|
+
focusBorder: "#a0a0a624"
|
|
2542
|
+
// gray[400] + 14% alpha
|
|
2543
|
+
};
|
|
2544
|
+
var breadcrumbColors3 = {
|
|
2545
|
+
fg: colors3.gray[600],
|
|
2546
|
+
fgHover: colors3.gray[700],
|
|
2547
|
+
bgHover: colors3.gray[50],
|
|
2548
|
+
brandBgHover: colors3.brand[50],
|
|
2549
|
+
brandFgHover: colors3.brand[700],
|
|
2550
|
+
iconFg: colors3.gray[500],
|
|
2551
|
+
iconFgHover: colors3.gray[700],
|
|
2552
|
+
brandIconFgHover: colors3.brand[700]
|
|
2553
|
+
};
|
|
2554
|
+
var iconColors3 = {
|
|
2555
|
+
fgBrand: colors3.brand[600],
|
|
2556
|
+
fgBrandOnBrand: colors3.brand[200],
|
|
2557
|
+
featuredModernBorder: colors3.gray[200],
|
|
2558
|
+
featuredLightFgBrand: colors3.brand[600],
|
|
2559
|
+
featuredLightFgGray: colors3.gray[500],
|
|
2560
|
+
featuredLightFgError: colors3.error[600],
|
|
2561
|
+
featuredLightFgWarning: colors3.warning[600],
|
|
2562
|
+
featuredLightFgSuccess: colors3.success[600],
|
|
2563
|
+
featuredDarkFgBrand: colors3.base.white,
|
|
2564
|
+
featuredDarkFgGray: colors3.base.white,
|
|
2565
|
+
featuredDarkFgError: colors3.base.white,
|
|
2566
|
+
featuredDarkFgWarning: colors3.base.white,
|
|
2567
|
+
featuredDarkFgSuccess: colors3.base.white
|
|
2568
|
+
};
|
|
2569
|
+
var navColors3 = {
|
|
2570
|
+
itemIconFg: colors3.gray[500],
|
|
2571
|
+
itemIconFgActive: colors3.gray[700],
|
|
2572
|
+
itemButtonIconFg: colors3.gray[500],
|
|
2573
|
+
itemButtonIconFgActive: colors3.gray[700]
|
|
2574
|
+
};
|
|
2575
|
+
var sliderColors3 = {
|
|
2576
|
+
handleBorder: colors3.brand[600],
|
|
2577
|
+
handleBg: colors3.base.white
|
|
2578
|
+
};
|
|
2579
|
+
var toggleColors3 = {
|
|
2580
|
+
buttonFgDisabled: colors3.gray[50]
|
|
2581
|
+
};
|
|
2582
|
+
var chartColors3 = {
|
|
2583
|
+
axisFg: colors3.gray[100],
|
|
2584
|
+
gridlineFg: colors3.gray[100],
|
|
2585
|
+
labelFg: colors3.gray[600],
|
|
2586
|
+
labelFgEmphasis: colors3.gray[700],
|
|
2587
|
+
bg: colors3.base.white,
|
|
2588
|
+
bgAlt: colors3.gray[50],
|
|
2589
|
+
tooltipBg: colors3.gray[950],
|
|
2590
|
+
tooltipFg: colors3.base.white,
|
|
2591
|
+
crosshairFg: colors3.gray[500],
|
|
2592
|
+
legendFg: text3.tertiary,
|
|
2593
|
+
series: [
|
|
2594
|
+
{ fg: misc.purple[500], fgHover: misc.purple[600], bg: misc.purple[100], bgHover: misc.purple[200] },
|
|
2595
|
+
{ fg: misc.orangeDark[400], fgHover: misc.orangeDark[500], bg: misc.orangeDark[100], bgHover: misc.orangeDark[200] },
|
|
2596
|
+
{ fg: misc.teal[300], fgHover: misc.teal[400], bg: misc.teal[50], bgHover: misc.teal[100] },
|
|
2597
|
+
{ fg: colors3.warning[400], fgHover: colors3.warning[500], bg: colors3.warning[100], bgHover: colors3.warning[200] },
|
|
2598
|
+
{ fg: misc.rose[400], fgHover: misc.rose[500], bg: misc.rose[100], bgHover: misc.rose[200] },
|
|
2599
|
+
{ fg: misc.blueLight[400], fgHover: misc.blueLight[500], bg: misc.blueLight[100], bgHover: misc.blueLight[200] },
|
|
2600
|
+
{ fg: misc.orange[300], fgHover: misc.orange[400], bg: misc.orange[100], bgHover: misc.orange[200] },
|
|
2601
|
+
{ fg: misc.cyan[600], fgHover: misc.cyan[700], bg: misc.cyan[100], bgHover: misc.cyan[200] },
|
|
2602
|
+
{ fg: misc.green[500], fgHover: misc.green[600], bg: misc.green[100], bgHover: misc.green[200] },
|
|
2603
|
+
{ fg: misc.pink[400], fgHover: misc.pink[500], bg: misc.pink[100], bgHover: misc.pink[200] },
|
|
2604
|
+
{ fg: misc.fuchsia[400], fgHover: misc.fuchsia[500], bg: misc.fuchsia[100], bgHover: misc.fuchsia[200] },
|
|
2605
|
+
{ fg: misc.teal[600], fgHover: misc.teal[700], bg: misc.teal[100], bgHover: misc.teal[200] }
|
|
2606
|
+
]
|
|
2607
|
+
};
|
|
2608
|
+
var focusRings3 = {
|
|
2609
|
+
brand: "0px 0px 0px 4px #4040403d",
|
|
2610
|
+
brandShadowXs: "0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #4040403d",
|
|
2611
|
+
brandShadowSm: "0px 1px 3px 0px #1018281a, 0px 1px 2px 0px #1018280f, 0px 0px 0px 4px #4040403d",
|
|
2612
|
+
gray: "0px 0px 0px 4px #a0a0a624",
|
|
2613
|
+
grayShadowXs: "0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #a0a0a624",
|
|
2614
|
+
grayShadowSm: "0px 1px 3px 0px #1018281a, 0px 1px 2px 0px #1018280f, 0px 0px 0px 4px #a0a0a624",
|
|
2615
|
+
error: "0px 0px 0px 4px #f044383d",
|
|
2616
|
+
errorShadowXs: "0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #f044383d"
|
|
2617
|
+
};
|
|
2618
|
+
var forestAgencyPreset = {
|
|
2619
|
+
name: "forest-agency",
|
|
2620
|
+
defaultVariant: "light",
|
|
2621
|
+
variants: {
|
|
2622
|
+
light: {
|
|
2623
|
+
tokens: {
|
|
2624
|
+
colors: colors3,
|
|
2625
|
+
spacing,
|
|
2626
|
+
radius: radius3,
|
|
2627
|
+
shadows,
|
|
2628
|
+
focusRings: focusRings3,
|
|
2629
|
+
fontFamily: '"Aeonik", sans-serif',
|
|
2630
|
+
fontSize,
|
|
2631
|
+
lineHeight,
|
|
2632
|
+
fontWeight,
|
|
2633
|
+
display,
|
|
2634
|
+
container,
|
|
2635
|
+
widths,
|
|
2636
|
+
text: text3,
|
|
2637
|
+
bg: bg3,
|
|
2638
|
+
fg: fg3,
|
|
2639
|
+
border: border3,
|
|
2640
|
+
buttonColors: buttonColors3,
|
|
2641
|
+
avatarColors: avatarColors3,
|
|
2642
|
+
breadcrumbColors: breadcrumbColors3,
|
|
2643
|
+
iconColors: iconColors3,
|
|
2644
|
+
navColors: navColors3,
|
|
2645
|
+
sliderColors: sliderColors3,
|
|
2646
|
+
toggleColors: toggleColors3,
|
|
2647
|
+
chartColors: chartColors3,
|
|
2648
|
+
alpha
|
|
2649
|
+
}
|
|
2650
|
+
}
|
|
2651
|
+
}
|
|
2652
|
+
};
|
|
2653
|
+
|
|
2654
|
+
// src/theme/presets/forest-internal.ts
|
|
2655
|
+
var colors4 = {
|
|
2656
|
+
...colors,
|
|
2657
|
+
/** Brand scale — pink/magenta for internal tools (#FF78F3) */
|
|
2658
|
+
brand: {
|
|
2659
|
+
25: "#fff8fd",
|
|
2660
|
+
50: "#fff0fa",
|
|
2661
|
+
100: "#ffe0f5",
|
|
2662
|
+
200: "#ffc0eb",
|
|
2663
|
+
300: "#ff90d8",
|
|
2664
|
+
400: "#FF78F3",
|
|
2665
|
+
500: "#e650d4",
|
|
2666
|
+
600: "#cc28b5",
|
|
2667
|
+
700: "#a3008c",
|
|
2668
|
+
800: "#7a0066",
|
|
2669
|
+
900: "#520044",
|
|
2670
|
+
950: "#290022"
|
|
2671
|
+
},
|
|
2672
|
+
/** Warm-neutral gray scale */
|
|
2673
|
+
gray: {
|
|
2674
|
+
25: "#fdfcfc",
|
|
2675
|
+
50: "#faf9f8",
|
|
2676
|
+
100: "#f5f3f1",
|
|
2677
|
+
200: "#e8e5e3",
|
|
2678
|
+
300: "#d8d8dc",
|
|
2679
|
+
400: "#a0a0a6",
|
|
2680
|
+
500: "#71717a",
|
|
2681
|
+
600: "#52525b",
|
|
2682
|
+
700: "#3f3f46",
|
|
2683
|
+
800: "#27272a",
|
|
2684
|
+
900: "#18181b",
|
|
2685
|
+
950: "#09090b"
|
|
2686
|
+
}
|
|
2687
|
+
};
|
|
2688
|
+
var radius4 = {
|
|
2689
|
+
...radius,
|
|
2690
|
+
xxs: 1,
|
|
2691
|
+
xs: 2,
|
|
2692
|
+
sm: 3,
|
|
2693
|
+
md: 4,
|
|
2694
|
+
lg: 5,
|
|
2695
|
+
xl: 6,
|
|
2696
|
+
"2xl": 8,
|
|
2697
|
+
"3xl": 10,
|
|
2698
|
+
"4xl": 12
|
|
2699
|
+
};
|
|
2700
|
+
var text4 = {
|
|
2701
|
+
primary: colors4.gray[900],
|
|
2702
|
+
secondary: colors4.gray[700],
|
|
2703
|
+
secondaryHover: colors4.gray[800],
|
|
2704
|
+
tertiary: colors4.gray[600],
|
|
2705
|
+
tertiaryHover: colors4.gray[700],
|
|
2706
|
+
quaternary: colors4.gray[500],
|
|
2707
|
+
disabled: colors4.gray[500],
|
|
2708
|
+
placeholder: colors4.gray[500],
|
|
2709
|
+
placeholderSubtle: colors4.gray[300],
|
|
2710
|
+
white: colors4.base.white,
|
|
2711
|
+
brandPrimary: colors4.brand[900],
|
|
2712
|
+
brandSecondary: colors4.brand[700],
|
|
2713
|
+
brandTertiary: colors4.brand[600],
|
|
2714
|
+
brandTertiaryAlt: colors4.brand[600],
|
|
2715
|
+
primaryOnBrand: colors4.base.white,
|
|
2716
|
+
secondaryOnBrand: colors4.brand[200],
|
|
2717
|
+
tertiaryOnBrand: colors4.brand[200],
|
|
2718
|
+
quaternaryOnBrand: colors4.brand[300],
|
|
2719
|
+
errorPrimary: colors4.error[600],
|
|
2720
|
+
warningPrimary: colors4.warning[600],
|
|
2721
|
+
successPrimary: colors4.success[600]
|
|
2722
|
+
};
|
|
2723
|
+
var bg4 = {
|
|
2724
|
+
primary: colors4.gray[50],
|
|
2725
|
+
primaryAlt: colors4.gray[50],
|
|
2726
|
+
primaryHover: colors4.gray[100],
|
|
2727
|
+
primarySolid: colors4.gray[950],
|
|
2728
|
+
secondary: colors4.base.white,
|
|
2729
|
+
secondaryAlt: colors4.base.white,
|
|
2730
|
+
secondarySubtle: colors4.gray[25],
|
|
2731
|
+
secondaryHover: colors4.gray[50],
|
|
2732
|
+
secondarySolid: colors4.gray[600],
|
|
2733
|
+
tertiary: colors4.gray[100],
|
|
2734
|
+
quaternary: colors4.gray[200],
|
|
2735
|
+
active: colors4.gray[200],
|
|
2736
|
+
disabled: colors4.gray[100],
|
|
2737
|
+
disabledSubtle: colors4.gray[50],
|
|
2738
|
+
overlay: colors4.gray[950],
|
|
2739
|
+
brandPrimary: colors4.brand[50],
|
|
2740
|
+
brandPrimaryAlt: colors4.brand[50],
|
|
2741
|
+
brandSecondary: colors4.brand[100],
|
|
2742
|
+
brandSolid: colors4.brand[600],
|
|
2743
|
+
brandSolidHover: colors4.brand[700],
|
|
2744
|
+
brandSection: colors4.brand[800],
|
|
2745
|
+
brandSectionSubtle: colors4.brand[700],
|
|
2746
|
+
errorPrimary: colors4.error[50],
|
|
2747
|
+
errorSecondary: colors4.error[100],
|
|
2748
|
+
errorSolid: colors4.error[600],
|
|
2749
|
+
warningPrimary: colors4.warning[50],
|
|
2750
|
+
warningSecondary: colors4.warning[100],
|
|
2751
|
+
warningSolid: colors4.warning[600],
|
|
2752
|
+
successPrimary: colors4.success[50],
|
|
2753
|
+
successSecondary: colors4.success[100],
|
|
2754
|
+
successSolid: colors4.success[600]
|
|
2755
|
+
};
|
|
2756
|
+
var fg4 = {
|
|
2757
|
+
primary: colors4.gray[900],
|
|
2758
|
+
secondary: colors4.gray[700],
|
|
2759
|
+
secondaryHover: colors4.gray[800],
|
|
2760
|
+
tertiary: colors4.gray[600],
|
|
2761
|
+
tertiaryHover: colors4.gray[700],
|
|
2762
|
+
quaternary: colors4.gray[500],
|
|
2763
|
+
quaternaryHover: colors4.gray[600],
|
|
2764
|
+
quinary: colors4.gray[400],
|
|
2765
|
+
quinaryHover: colors4.gray[500],
|
|
2766
|
+
senary: colors4.gray[300],
|
|
2767
|
+
white: colors4.base.white,
|
|
2768
|
+
disabled: colors4.gray[400],
|
|
2769
|
+
disabledSubtle: colors4.gray[300],
|
|
2770
|
+
brandPrimary: colors4.brand[600],
|
|
2771
|
+
brandPrimaryAlt: colors4.brand[600],
|
|
2772
|
+
brandSecondary: colors4.brand[500],
|
|
2773
|
+
errorPrimary: colors4.error[600],
|
|
2774
|
+
errorSecondary: colors4.error[500],
|
|
2775
|
+
warningPrimary: colors4.warning[600],
|
|
2776
|
+
warningSecondary: colors4.warning[500],
|
|
2777
|
+
successPrimary: colors4.success[600],
|
|
2778
|
+
successSecondary: colors4.success[500]
|
|
2779
|
+
};
|
|
2780
|
+
var border4 = {
|
|
2781
|
+
primary: colors4.gray[300],
|
|
2782
|
+
secondary: colors4.gray[200],
|
|
2783
|
+
tertiary: colors4.gray[100],
|
|
2784
|
+
disabled: colors4.gray[300],
|
|
2785
|
+
disabledSubtle: colors4.gray[200],
|
|
2786
|
+
brand: colors4.brand[300],
|
|
2787
|
+
brandSolid: colors4.brand[600],
|
|
2788
|
+
brandSolidAlt: colors4.brand[600],
|
|
2789
|
+
error: colors4.error[300],
|
|
2790
|
+
errorSolid: colors4.error[600]
|
|
2791
|
+
};
|
|
2792
|
+
var buttonColors4 = {
|
|
2793
|
+
primary: {
|
|
2794
|
+
bg: colors4.brand[600],
|
|
2795
|
+
bgHover: colors4.brand[700],
|
|
2796
|
+
fg: colors4.base.white,
|
|
2797
|
+
fgHover: colors4.base.white,
|
|
2798
|
+
border: colors4.brand[600],
|
|
2799
|
+
borderHover: colors4.brand[700]
|
|
2800
|
+
},
|
|
2801
|
+
secondary: {
|
|
2802
|
+
bg: colors4.base.white,
|
|
2803
|
+
bgHover: colors4.gray[50],
|
|
2804
|
+
fg: colors4.gray[700],
|
|
2805
|
+
fgHover: colors4.gray[800],
|
|
2806
|
+
border: colors4.gray[300],
|
|
2807
|
+
borderHover: colors4.gray[300]
|
|
2808
|
+
},
|
|
2809
|
+
secondaryColor: {
|
|
2810
|
+
bg: colors4.base.white,
|
|
2811
|
+
bgHover: colors4.brand[50],
|
|
2812
|
+
fg: colors4.brand[700],
|
|
2813
|
+
fgHover: colors4.brand[800],
|
|
2814
|
+
border: colors4.brand[300],
|
|
2815
|
+
borderHover: colors4.brand[300]
|
|
2816
|
+
},
|
|
2817
|
+
tertiary: {
|
|
2818
|
+
fg: colors4.gray[600],
|
|
2819
|
+
fgHover: colors4.gray[700],
|
|
2820
|
+
bgHover: colors4.gray[50]
|
|
2821
|
+
},
|
|
2822
|
+
tertiaryColor: {
|
|
2823
|
+
fg: colors4.brand[700],
|
|
2824
|
+
fgHover: colors4.brand[800],
|
|
2825
|
+
bgHover: colors4.brand[50]
|
|
2826
|
+
},
|
|
2827
|
+
primaryError: {
|
|
2828
|
+
bg: colors4.error[600],
|
|
2829
|
+
bgHover: colors4.error[700],
|
|
2830
|
+
fg: colors4.base.white,
|
|
2831
|
+
fgHover: colors4.base.white,
|
|
2832
|
+
border: colors4.error[600],
|
|
2833
|
+
borderHover: colors4.error[700]
|
|
2834
|
+
},
|
|
2835
|
+
secondaryError: {
|
|
2836
|
+
bg: colors4.base.white,
|
|
2837
|
+
bgHover: colors4.error[50],
|
|
2838
|
+
fg: colors4.error[700],
|
|
2839
|
+
fgHover: colors4.error[800],
|
|
2840
|
+
border: colors4.error[300],
|
|
2841
|
+
borderHover: colors4.error[300]
|
|
2842
|
+
},
|
|
2843
|
+
tertiaryError: {
|
|
2844
|
+
fg: colors4.error[700],
|
|
2845
|
+
fgHover: colors4.error[800],
|
|
2846
|
+
bgHover: colors4.error[50]
|
|
2847
|
+
}
|
|
2848
|
+
};
|
|
2849
|
+
var avatarColors4 = {
|
|
2850
|
+
bg: colors4.gray[100],
|
|
2851
|
+
contrastBorder: "#00000014",
|
|
2852
|
+
profilePhotoBorder: colors4.base.white,
|
|
2853
|
+
focusBorder: "#a0a0a624"
|
|
2854
|
+
// gray[400] + 14% alpha
|
|
2855
|
+
};
|
|
2856
|
+
var breadcrumbColors4 = {
|
|
2857
|
+
fg: colors4.gray[600],
|
|
2858
|
+
fgHover: colors4.gray[700],
|
|
2859
|
+
bgHover: colors4.gray[50],
|
|
2860
|
+
brandBgHover: colors4.brand[50],
|
|
2861
|
+
brandFgHover: colors4.brand[700],
|
|
2862
|
+
iconFg: colors4.gray[500],
|
|
2863
|
+
iconFgHover: colors4.gray[700],
|
|
2864
|
+
brandIconFgHover: colors4.brand[700]
|
|
2865
|
+
};
|
|
2866
|
+
var iconColors4 = {
|
|
2867
|
+
fgBrand: colors4.brand[600],
|
|
2868
|
+
fgBrandOnBrand: colors4.brand[200],
|
|
2869
|
+
featuredModernBorder: colors4.gray[200],
|
|
2870
|
+
featuredLightFgBrand: colors4.brand[600],
|
|
2871
|
+
featuredLightFgGray: colors4.gray[500],
|
|
2872
|
+
featuredLightFgError: colors4.error[600],
|
|
2873
|
+
featuredLightFgWarning: colors4.warning[600],
|
|
2874
|
+
featuredLightFgSuccess: colors4.success[600],
|
|
2875
|
+
featuredDarkFgBrand: colors4.base.white,
|
|
2876
|
+
featuredDarkFgGray: colors4.base.white,
|
|
2877
|
+
featuredDarkFgError: colors4.base.white,
|
|
2878
|
+
featuredDarkFgWarning: colors4.base.white,
|
|
2879
|
+
featuredDarkFgSuccess: colors4.base.white
|
|
2880
|
+
};
|
|
2881
|
+
var navColors4 = {
|
|
2882
|
+
itemIconFg: colors4.gray[500],
|
|
2883
|
+
itemIconFgActive: colors4.gray[700],
|
|
2884
|
+
itemButtonIconFg: colors4.gray[500],
|
|
2885
|
+
itemButtonIconFgActive: colors4.gray[700]
|
|
2886
|
+
};
|
|
2887
|
+
var sliderColors4 = {
|
|
2888
|
+
handleBorder: colors4.brand[600],
|
|
2889
|
+
handleBg: colors4.base.white
|
|
2890
|
+
};
|
|
2891
|
+
var toggleColors4 = {
|
|
2892
|
+
buttonFgDisabled: colors4.gray[50]
|
|
2893
|
+
};
|
|
2894
|
+
var chartColors4 = {
|
|
2895
|
+
axisFg: colors4.gray[100],
|
|
2896
|
+
gridlineFg: colors4.gray[100],
|
|
2897
|
+
labelFg: colors4.gray[600],
|
|
2898
|
+
labelFgEmphasis: colors4.gray[700],
|
|
2899
|
+
bg: colors4.base.white,
|
|
2900
|
+
bgAlt: colors4.gray[50],
|
|
2901
|
+
tooltipBg: colors4.gray[950],
|
|
2902
|
+
tooltipFg: colors4.base.white,
|
|
2903
|
+
crosshairFg: colors4.gray[500],
|
|
2904
|
+
legendFg: text4.tertiary,
|
|
2905
|
+
series: [
|
|
2906
|
+
{ fg: misc.purple[500], fgHover: misc.purple[600], bg: misc.purple[100], bgHover: misc.purple[200] },
|
|
2907
|
+
{ fg: misc.orangeDark[400], fgHover: misc.orangeDark[500], bg: misc.orangeDark[100], bgHover: misc.orangeDark[200] },
|
|
2908
|
+
{ fg: misc.teal[300], fgHover: misc.teal[400], bg: misc.teal[50], bgHover: misc.teal[100] },
|
|
2909
|
+
{ fg: colors4.warning[400], fgHover: colors4.warning[500], bg: colors4.warning[100], bgHover: colors4.warning[200] },
|
|
2910
|
+
{ fg: misc.rose[400], fgHover: misc.rose[500], bg: misc.rose[100], bgHover: misc.rose[200] },
|
|
2911
|
+
{ fg: misc.blueLight[400], fgHover: misc.blueLight[500], bg: misc.blueLight[100], bgHover: misc.blueLight[200] },
|
|
2912
|
+
{ fg: misc.orange[300], fgHover: misc.orange[400], bg: misc.orange[100], bgHover: misc.orange[200] },
|
|
2913
|
+
{ fg: misc.cyan[600], fgHover: misc.cyan[700], bg: misc.cyan[100], bgHover: misc.cyan[200] },
|
|
2914
|
+
{ fg: misc.green[500], fgHover: misc.green[600], bg: misc.green[100], bgHover: misc.green[200] },
|
|
2915
|
+
{ fg: misc.pink[400], fgHover: misc.pink[500], bg: misc.pink[100], bgHover: misc.pink[200] },
|
|
2916
|
+
{ fg: misc.fuchsia[400], fgHover: misc.fuchsia[500], bg: misc.fuchsia[100], bgHover: misc.fuchsia[200] },
|
|
2917
|
+
{ fg: misc.teal[600], fgHover: misc.teal[700], bg: misc.teal[100], bgHover: misc.teal[200] }
|
|
2918
|
+
]
|
|
2919
|
+
};
|
|
2920
|
+
var focusRings4 = {
|
|
2921
|
+
brand: "0px 0px 0px 4px #4040403d",
|
|
2922
|
+
brandShadowXs: "0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #4040403d",
|
|
2923
|
+
brandShadowSm: "0px 1px 3px 0px #1018281a, 0px 1px 2px 0px #1018280f, 0px 0px 0px 4px #4040403d",
|
|
2924
|
+
gray: "0px 0px 0px 4px #a0a0a624",
|
|
2925
|
+
grayShadowXs: "0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #a0a0a624",
|
|
2926
|
+
grayShadowSm: "0px 1px 3px 0px #1018281a, 0px 1px 2px 0px #1018280f, 0px 0px 0px 4px #a0a0a624",
|
|
2927
|
+
error: "0px 0px 0px 4px #f044383d",
|
|
2928
|
+
errorShadowXs: "0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #f044383d"
|
|
2929
|
+
};
|
|
2930
|
+
var forestInternalPreset = {
|
|
2931
|
+
name: "forest-internal",
|
|
2932
|
+
defaultVariant: "light",
|
|
2933
|
+
variants: {
|
|
2934
|
+
light: {
|
|
2935
|
+
tokens: {
|
|
2936
|
+
colors: colors4,
|
|
2937
|
+
spacing,
|
|
2938
|
+
radius: radius4,
|
|
2939
|
+
shadows,
|
|
2940
|
+
focusRings: focusRings4,
|
|
2941
|
+
fontFamily: '"Aeonik", sans-serif',
|
|
2942
|
+
fontSize,
|
|
2943
|
+
lineHeight,
|
|
2944
|
+
fontWeight,
|
|
2945
|
+
display,
|
|
2946
|
+
container,
|
|
2947
|
+
widths,
|
|
2948
|
+
text: text4,
|
|
2949
|
+
bg: bg4,
|
|
2950
|
+
fg: fg4,
|
|
2951
|
+
border: border4,
|
|
2952
|
+
buttonColors: buttonColors4,
|
|
2953
|
+
avatarColors: avatarColors4,
|
|
2954
|
+
breadcrumbColors: breadcrumbColors4,
|
|
2955
|
+
iconColors: iconColors4,
|
|
2956
|
+
navColors: navColors4,
|
|
2957
|
+
sliderColors: sliderColors4,
|
|
2958
|
+
toggleColors: toggleColors4,
|
|
2959
|
+
chartColors: chartColors4,
|
|
2960
|
+
alpha
|
|
2961
|
+
}
|
|
2962
|
+
}
|
|
2963
|
+
}
|
|
2964
|
+
};
|
|
2965
|
+
|
|
2391
2966
|
// src/theme/presets/index.ts
|
|
2392
2967
|
var presetRegistry = /* @__PURE__ */ new Map();
|
|
2393
|
-
presetRegistry.set(
|
|
2394
|
-
presetRegistry.set(
|
|
2968
|
+
presetRegistry.set(forestExternalPreset.name, forestExternalPreset);
|
|
2969
|
+
presetRegistry.set(forestAgencyPreset.name, forestAgencyPreset);
|
|
2970
|
+
presetRegistry.set(forestInternalPreset.name, forestInternalPreset);
|
|
2395
2971
|
function getPreset(name) {
|
|
2396
2972
|
return presetRegistry.get(name);
|
|
2397
2973
|
}
|
|
@@ -2403,16 +2979,9 @@ function getAvailablePresets() {
|
|
|
2403
2979
|
}
|
|
2404
2980
|
|
|
2405
2981
|
// src/theme/index.ts
|
|
2406
|
-
var
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
components,
|
|
2410
|
-
shadows: shadows2,
|
|
2411
|
-
shape: {
|
|
2412
|
-
borderRadius: 8
|
|
2413
|
-
}
|
|
2414
|
-
};
|
|
2415
|
-
var forestTheme = styles.createTheme(forestThemeOptions);
|
|
2982
|
+
var agencyTokens = forestAgencyPreset.variants.light.tokens;
|
|
2983
|
+
var forestTheme = buildTheme(agencyTokens);
|
|
2984
|
+
var forestThemeOptions = buildThemeOptions(agencyTokens);
|
|
2416
2985
|
function ForestProvider({
|
|
2417
2986
|
children,
|
|
2418
2987
|
theme,
|
|
@@ -2592,6 +3161,76 @@ function Search({
|
|
|
2592
3161
|
}
|
|
2593
3162
|
);
|
|
2594
3163
|
}
|
|
3164
|
+
function Input({ ...props }) {
|
|
3165
|
+
return /* @__PURE__ */ jsxRuntime.jsx(MuiInputBase__default.default, { ...props });
|
|
3166
|
+
}
|
|
3167
|
+
var svgPaths = {
|
|
3168
|
+
wsuite: {
|
|
3169
|
+
logo: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
3170
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M0.957 2.76H3.729V3.838H2.387V13.122H3.729V14.2H0.957V2.76ZM7.97844 4.3H8.95744L10.4534 8.964L11.7954 4.3H13.4124L10.9814 12H9.98044L8.47344 7.402L6.95544 12H5.95444L3.52344 4.3H5.14044L6.48244 8.964L7.97844 4.3ZM15.9729 12.176C15.1369 12.176 14.3559 11.956 13.7839 11.56V9.701C14.3229 10.306 15.1149 10.669 15.8959 10.669C16.7099 10.669 17.2819 10.295 17.2819 9.756C17.2819 9.393 17.0179 9.151 16.3909 8.931L15.4999 8.623C14.4219 8.249 13.8499 7.523 13.8499 6.522C13.8499 5.125 14.9829 4.124 16.5889 4.124C17.3039 4.124 18.0079 4.3 18.5249 4.619V6.346C17.9969 5.884 17.3479 5.631 16.6659 5.631C15.9289 5.631 15.4449 5.939 15.4449 6.412C15.4449 6.786 15.7529 7.094 16.3359 7.292L17.2159 7.589C18.3379 7.974 18.8769 8.656 18.8769 9.701C18.8769 11.197 17.7329 12.176 15.9729 12.176ZM25.4205 12H23.9025V11.329C23.5065 11.857 22.8465 12.176 22.0765 12.176C20.7125 12.176 19.8215 11.285 19.8215 9.943V5.95H21.3835V9.448C21.3835 10.295 21.8565 10.812 22.6375 10.812C23.4185 10.812 23.8585 10.317 23.8585 9.448V5.95H25.4205V12ZM26.7781 12V5.95H28.3401V12H26.7781ZM27.5591 5.444C27.0201 5.444 26.6461 5.07 26.6461 4.542C26.6461 3.992 27.0201 3.607 27.5591 3.607C28.0981 3.607 28.4721 3.992 28.4721 4.542C28.4721 5.07 28.0981 5.444 27.5591 5.444ZM30.0712 7.292H29.0592V5.95H30.0712V4.707H31.6332V5.95H32.6452V7.292H31.6332V12H30.0712V7.292ZM38.386 11.538C37.825 11.934 37.011 12.176 36.23 12.176C34.327 12.176 32.952 10.823 32.952 8.931C32.952 7.094 34.217 5.774 35.988 5.774C37.726 5.774 38.892 7.039 38.892 8.931C38.892 9.382 38.826 9.613 38.826 9.613H34.602C34.789 10.35 35.46 10.834 36.362 10.834C37 10.834 37.66 10.614 38.386 10.086V11.538ZM34.558 8.381H37.418C37.352 7.578 36.857 7.061 36.032 7.061C35.207 7.061 34.624 7.6 34.558 8.381ZM41.6447 2.76V14.2H38.8727V13.122H40.2147V3.838H38.8727V2.76H41.6447Z", fill: "black" }),
|
|
3171
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M44.6972 2.88174H46.0612V4.93874H48.0852V6.25874H46.0612V8.32674H44.6972V6.25874H42.6512V4.93874H44.6972V2.88174Z", fill: "#FF78F3" })
|
|
3172
|
+
] }),
|
|
3173
|
+
logomark: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
3174
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M0.957 2.76H3.729V3.838H2.387V13.122H3.729V14.2H0.957V2.76ZM7.97844 4.3H8.95744L10.4534 8.964L11.7954 4.3H13.4124L10.9814 12H9.98044L8.47344 7.402L6.95544 12H5.95444L3.52344 4.3H5.14044L6.48244 8.964L7.97844 4.3ZM15.9816 2.76V14.2H13.2096V13.122H14.5516V3.838H13.2096V2.76H15.9816Z", fill: "black" }),
|
|
3175
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M18.6972 2.88174H20.0612V4.93874H22.0852V6.25874H20.0612V8.32674H18.6972V6.25874H16.6512V4.93874H18.6972V2.88174Z", fill: "#FF78F3" })
|
|
3176
|
+
] })
|
|
3177
|
+
},
|
|
3178
|
+
studio: {
|
|
3179
|
+
logo: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
3180
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M0.957 2.76H3.729V3.838H2.387V13.122H3.729V14.2H0.957V2.76ZM6.14376 12.176C5.30776 12.176 4.52676 11.956 3.95476 11.56V9.701C4.49376 10.306 5.28576 10.669 6.06676 10.669C6.88076 10.669 7.45276 10.295 7.45276 9.756C7.45276 9.393 7.18876 9.151 6.56176 8.931L5.67076 8.623C4.59276 8.249 4.02076 7.523 4.02076 6.522C4.02076 5.125 5.15376 4.124 6.75976 4.124C7.47476 4.124 8.17876 4.3 8.69576 4.619V6.346C8.16776 5.884 7.51876 5.631 6.83676 5.631C6.09976 5.631 5.61576 5.939 5.61576 6.412C5.61576 6.786 5.92376 7.094 6.50676 7.292L7.38676 7.589C8.50876 7.974 9.04776 8.656 9.04776 9.701C9.04776 11.197 7.90376 12.176 6.14376 12.176ZM10.5419 7.292H9.52987V5.95H10.5419V4.707H12.1039V5.95H13.1159V7.292H12.1039V12H10.5419V7.292ZM19.3297 12H17.8117V11.329C17.4157 11.857 16.7557 12.176 15.9857 12.176C14.6217 12.176 13.7307 11.285 13.7307 9.943V5.95H15.2927V9.448C15.2927 10.295 15.7657 10.812 16.5467 10.812C17.3277 10.812 17.7677 10.317 17.7677 9.448V5.95H19.3297V12ZM25.1384 12V11.142C24.7204 11.791 24.0054 12.165 23.1584 12.165C21.5084 12.165 20.2654 10.801 20.2654 8.986C20.2654 7.16 21.5084 5.785 23.1584 5.785C24.0164 5.785 24.7314 6.148 25.1164 6.742V4.3H26.6784V12H25.1384ZM23.5214 7.149C22.5094 7.149 21.8824 7.853 21.8824 8.975C21.8824 10.097 22.5094 10.801 23.5214 10.801C24.5224 10.801 25.1494 10.097 25.1494 8.986C25.1494 7.853 24.5224 7.149 23.5214 7.149ZM28.035 12V5.95H29.597V12H28.035ZM28.816 5.444C28.277 5.444 27.903 5.07 27.903 4.542C27.903 3.992 28.277 3.607 28.816 3.607C29.355 3.607 29.729 3.992 29.729 4.542C29.729 5.07 29.355 5.444 28.816 5.444ZM33.7585 12.165C31.8555 12.165 30.5135 10.845 30.5135 8.975C30.5135 7.105 31.8555 5.785 33.7585 5.785C35.6615 5.785 37.0145 7.105 37.0145 8.975C37.0145 10.845 35.6615 12.165 33.7585 12.165ZM33.7585 10.801C34.7595 10.801 35.3975 10.097 35.3975 8.975C35.3975 7.864 34.7595 7.149 33.7585 7.149C32.7685 7.149 32.1305 7.864 32.1305 8.975C32.1305 10.097 32.7575 10.801 33.7585 10.801ZM39.7219 2.76V14.2H36.9499V13.122H38.2919V3.838H36.9499V2.76H39.7219Z", fill: "black" }),
|
|
3181
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M42.6972 2.88174H44.0612V4.93874H46.0852V6.25874H44.0612V8.32674H42.6972V6.25874H40.6512V4.93874H42.6972V2.88174Z", fill: "#9D5FFF" })
|
|
3182
|
+
] }),
|
|
3183
|
+
logomark: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
3184
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M0.957 2.76H3.729V3.838H2.387V13.122H3.729V14.2H0.957V2.76ZM6.14376 12.176C5.30776 12.176 4.52676 11.956 3.95476 11.56V9.701C4.49376 10.306 5.28576 10.669 6.06676 10.669C6.88076 10.669 7.45276 10.295 7.45276 9.756C7.45276 9.393 7.18876 9.151 6.56176 8.931L5.67076 8.623C4.59276 8.249 4.02076 7.523 4.02076 6.522C4.02076 5.125 5.15376 4.124 6.75976 4.124C7.47476 4.124 8.17876 4.3 8.69576 4.619V6.346C8.16776 5.884 7.51876 5.631 6.83676 5.631C6.09976 5.631 5.61576 5.939 5.61576 6.412C5.61576 6.786 5.92376 7.094 6.50676 7.292L7.38676 7.589C8.50876 7.974 9.04776 8.656 9.04776 9.701C9.04776 11.197 7.90376 12.176 6.14376 12.176ZM12.05 2.76V14.2H9.27798V13.122H10.62V3.838H9.27798V2.76H12.05Z", fill: "black" }),
|
|
3185
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M15.6972 2.88174H17.0612V4.93874H19.0852V6.25874H17.0612V8.32674H15.6972V6.25874H13.6512V4.93874H15.6972V2.88174Z", fill: "#9D5FFF" })
|
|
3186
|
+
] })
|
|
3187
|
+
},
|
|
3188
|
+
feedati: {
|
|
3189
|
+
logo: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
3190
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M0.957 2.76H3.729V3.838H2.387V13.122H3.729V14.2H0.957V2.76ZM4.21695 12V4.3H9.65095V5.73H5.83395V7.523H9.11195V8.953H5.83395V12H4.21695ZM15.1399 11.538C14.5789 11.934 13.7649 12.176 12.9839 12.176C11.0809 12.176 9.70587 10.823 9.70587 8.931C9.70587 7.094 10.9709 5.774 12.7419 5.774C14.4799 5.774 15.6459 7.039 15.6459 8.931C15.6459 9.382 15.5799 9.613 15.5799 9.613H11.3559C11.5429 10.35 12.2139 10.834 13.1159 10.834C13.7539 10.834 14.4139 10.614 15.1399 10.086V11.538ZM11.3119 8.381H14.1719C14.1059 7.578 13.6109 7.061 12.7859 7.061C11.9609 7.061 11.3779 7.6 11.3119 8.381ZM21.5637 11.538C21.0027 11.934 20.1887 12.176 19.4077 12.176C17.5047 12.176 16.1297 10.823 16.1297 8.931C16.1297 7.094 17.3947 5.774 19.1657 5.774C20.9037 5.774 22.0697 7.039 22.0697 8.931C22.0697 9.382 22.0037 9.613 22.0037 9.613H17.7797C17.9667 10.35 18.6377 10.834 19.5397 10.834C20.1777 10.834 20.8377 10.614 21.5637 10.086V11.538ZM17.7357 8.381H20.5957C20.5297 7.578 20.0347 7.061 19.2097 7.061C18.3847 7.061 17.8017 7.6 17.7357 8.381ZM24.6328 5.708V10.592H25.5788C27.0968 10.592 28.0208 9.624 28.0208 8.15C28.0208 6.698 27.0748 5.708 25.5788 5.708H24.6328ZM25.7218 4.3C28.0758 4.3 29.6708 6.005 29.6708 8.15C29.6708 10.306 28.0978 12 25.7218 12H23.0158V4.3H25.7218ZM34.0509 8.381C34.0509 7.633 33.4679 7.149 32.5769 7.149C31.9169 7.149 31.1469 7.424 30.5639 7.82V6.313C31.1799 5.972 31.9939 5.774 32.7529 5.774C34.4469 5.774 35.5359 6.72 35.5359 8.205V12H34.1059V11.527C33.7319 11.923 33.1379 12.176 32.4779 12.176C31.2459 12.176 30.3879 11.351 30.3879 10.163C30.3879 8.953 31.2899 8.106 32.5659 8.106C33.1929 8.106 33.7209 8.315 34.0509 8.667V8.381ZM31.9279 10.108C31.9279 10.592 32.3679 10.933 32.9949 10.933C33.6219 10.933 34.0619 10.592 34.0619 10.108C34.0619 9.613 33.6219 9.272 33.0059 9.272C32.3789 9.272 31.9279 9.613 31.9279 10.108ZM37.118 7.292H36.106V5.95H37.118V4.707H38.68V5.95H39.692V7.292H38.68V12H37.118V7.292ZM40.41 12V5.95H41.972V12H40.41ZM41.191 5.444C40.652 5.444 40.278 5.07 40.278 4.542C40.278 3.992 40.652 3.607 41.191 3.607C41.73 3.607 42.104 3.992 42.104 4.542C42.104 5.07 41.73 5.444 41.191 5.444ZM45.2219 2.76V14.2H42.4499V13.122H43.7919V3.838H42.4499V2.76H45.2219Z", fill: "black" }),
|
|
3191
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M48.6971 2.88174H50.0611V4.93874H52.0851V6.25874H50.0611V8.32674H48.6971V6.25874H46.6511V4.93874H48.6971V2.88174Z", fill: "#FF2821" })
|
|
3192
|
+
] }),
|
|
3193
|
+
logomark: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
3194
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M0.957 2.76H3.729V3.838H2.387V13.122H3.729V14.2H0.957V2.76ZM4.21695 12V4.3H9.65095V5.73H5.83395V7.523H9.11195V8.953H5.83395V12H4.21695ZM12.4904 2.76V14.2H9.71841V13.122H11.0604V3.838H9.71841V2.76H12.4904Z", fill: "black" }),
|
|
3195
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M15.6972 2.88174H17.0612V4.93874H19.0852V6.25874H17.0612V8.32674H15.6972V6.25874H13.6512V4.93874H15.6972V2.88174Z", fill: "#FF2821" })
|
|
3196
|
+
] })
|
|
3197
|
+
}
|
|
3198
|
+
};
|
|
3199
|
+
var viewBoxMap = {
|
|
3200
|
+
wsuite: { logo: "0 0 51 16", logomark: "0 0 25 16" },
|
|
3201
|
+
studio: { logo: "0 0 49 16", logomark: "0 0 22 16" },
|
|
3202
|
+
feedati: { logo: "0 0 55 16", logomark: "0 0 22 16" }
|
|
3203
|
+
};
|
|
3204
|
+
var Logo = React2.forwardRef(
|
|
3205
|
+
({
|
|
3206
|
+
product = "wsuite",
|
|
3207
|
+
variant = "logo",
|
|
3208
|
+
sx,
|
|
3209
|
+
...props
|
|
3210
|
+
}, ref) => {
|
|
3211
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3212
|
+
material.Box,
|
|
3213
|
+
{
|
|
3214
|
+
component: "svg",
|
|
3215
|
+
ref,
|
|
3216
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
3217
|
+
viewBox: viewBoxMap[product][variant],
|
|
3218
|
+
fill: "none",
|
|
3219
|
+
sx: {
|
|
3220
|
+
display: "block",
|
|
3221
|
+
width: "100%",
|
|
3222
|
+
height: "100%",
|
|
3223
|
+
maxWidth: parseInt(viewBoxMap[product][variant].split(" ")[2]),
|
|
3224
|
+
maxHeight: parseInt(viewBoxMap[product][variant].split(" ")[3]),
|
|
3225
|
+
...sx
|
|
3226
|
+
},
|
|
3227
|
+
...props,
|
|
3228
|
+
children: svgPaths[product][variant]
|
|
3229
|
+
}
|
|
3230
|
+
);
|
|
3231
|
+
}
|
|
3232
|
+
);
|
|
3233
|
+
Logo.displayName = "Logo";
|
|
2595
3234
|
function ToggleButton(props) {
|
|
2596
3235
|
return /* @__PURE__ */ jsxRuntime.jsx(MuiToggleButton__default.default, { ...props });
|
|
2597
3236
|
}
|
|
@@ -2810,7 +3449,7 @@ function SidebarNav({
|
|
|
2810
3449
|
onMouseEnter: () => onOpenChange(true),
|
|
2811
3450
|
onMouseLeave: () => onOpenChange(false)
|
|
2812
3451
|
} : {};
|
|
2813
|
-
return /* @__PURE__ */ jsxRuntime.jsx(SidebarContext.Provider, { value: { open, collapsedWidth, expandedWidth }, children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
3452
|
+
return /* @__PURE__ */ jsxRuntime.jsx(SidebarContext.Provider, { value: { open, collapsedWidth, expandedWidth }, children: /* @__PURE__ */ jsxRuntime.jsxs(Box2__default.default, { sx: { position: "relative", width: layoutWidth, flexShrink: 0 }, children: [
|
|
2814
3453
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2815
3454
|
MuiDrawer__default.default,
|
|
2816
3455
|
{
|
|
@@ -2830,7 +3469,7 @@ function SidebarNav({
|
|
|
2830
3469
|
...sx
|
|
2831
3470
|
},
|
|
2832
3471
|
children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2833
|
-
|
|
3472
|
+
Box2__default.default,
|
|
2834
3473
|
{
|
|
2835
3474
|
sx: {
|
|
2836
3475
|
display: "flex",
|
|
@@ -2839,9 +3478,9 @@ function SidebarNav({
|
|
|
2839
3478
|
overflow: "hidden"
|
|
2840
3479
|
},
|
|
2841
3480
|
children: [
|
|
2842
|
-
header && /* @__PURE__ */ jsxRuntime.jsx(
|
|
2843
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2844
|
-
footer && /* @__PURE__ */ jsxRuntime.jsx(
|
|
3481
|
+
header && /* @__PURE__ */ jsxRuntime.jsx(Box2__default.default, { sx: { flexShrink: 0 }, children: header }),
|
|
3482
|
+
/* @__PURE__ */ jsxRuntime.jsx(Box2__default.default, { sx: { flexGrow: 1, overflowY: "auto", overflowX: "hidden" }, children }),
|
|
3483
|
+
footer && /* @__PURE__ */ jsxRuntime.jsx(Box2__default.default, { sx: { flexShrink: 0 }, children: footer })
|
|
2845
3484
|
]
|
|
2846
3485
|
}
|
|
2847
3486
|
)
|
|
@@ -2937,8 +3576,8 @@ function SidebarItem({
|
|
|
2937
3576
|
function useChartColors(count) {
|
|
2938
3577
|
const theme = styles.useTheme();
|
|
2939
3578
|
const chart = theme.palette.chart;
|
|
2940
|
-
const
|
|
2941
|
-
return
|
|
3579
|
+
const colors5 = chart.series.map((s) => s.fg);
|
|
3580
|
+
return colors5.slice(0, Math.min(count, colors5.length));
|
|
2942
3581
|
}
|
|
2943
3582
|
function formatDate(date) {
|
|
2944
3583
|
if (!date) return "";
|
|
@@ -3049,7 +3688,7 @@ function CustomTooltip(props) {
|
|
|
3049
3688
|
}
|
|
3050
3689
|
);
|
|
3051
3690
|
}
|
|
3052
|
-
function LineChart({ series, colors:
|
|
3691
|
+
function LineChart({ series, colors: colors5, ...props }) {
|
|
3053
3692
|
var _a, _b;
|
|
3054
3693
|
const theme = styles.useTheme();
|
|
3055
3694
|
const chart = theme.palette.chart;
|
|
@@ -3066,7 +3705,7 @@ function LineChart({ series, colors: colors3, ...props }) {
|
|
|
3066
3705
|
LineChart$1.LineChart,
|
|
3067
3706
|
{
|
|
3068
3707
|
series: modifiedSeries != null ? modifiedSeries : [],
|
|
3069
|
-
colors:
|
|
3708
|
+
colors: colors5 != null ? colors5 : seriesColors,
|
|
3070
3709
|
grid: { horizontal: true },
|
|
3071
3710
|
slots: {
|
|
3072
3711
|
axisContent: CustomTooltip
|
|
@@ -3130,12 +3769,12 @@ function LineChart({ series, colors: colors3, ...props }) {
|
|
|
3130
3769
|
}
|
|
3131
3770
|
);
|
|
3132
3771
|
}
|
|
3133
|
-
function BarChart({ series, colors:
|
|
3772
|
+
function BarChart({ series, colors: colors5, ...props }) {
|
|
3134
3773
|
var _a, _b;
|
|
3135
3774
|
const theme = styles.useTheme();
|
|
3136
3775
|
const chart = theme.palette.chart;
|
|
3137
3776
|
const seriesColors = useChartColors((_a = series == null ? void 0 : series.length) != null ? _a : 0);
|
|
3138
|
-
const resolvedColors =
|
|
3777
|
+
const resolvedColors = colors5 != null ? colors5 : seriesColors;
|
|
3139
3778
|
const modifiedSeries = series == null ? void 0 : series.map((s, idx) => {
|
|
3140
3779
|
var _a2;
|
|
3141
3780
|
const baseColor = s.color || resolvedColors[idx % resolvedColors.length];
|
|
@@ -3151,7 +3790,7 @@ function BarChart({ series, colors: colors3, ...props }) {
|
|
|
3151
3790
|
BarChart$1.BarChart,
|
|
3152
3791
|
{
|
|
3153
3792
|
series: modifiedSeries != null ? modifiedSeries : [],
|
|
3154
|
-
colors:
|
|
3793
|
+
colors: colors5 != null ? colors5 : seriesColors,
|
|
3155
3794
|
grid: { horizontal: true },
|
|
3156
3795
|
borderRadius: 4,
|
|
3157
3796
|
slots: {
|
|
@@ -3229,7 +3868,7 @@ function BarChart({ series, colors: colors3, ...props }) {
|
|
|
3229
3868
|
}
|
|
3230
3869
|
);
|
|
3231
3870
|
}
|
|
3232
|
-
function PieChart({ series, colors:
|
|
3871
|
+
function PieChart({ series, colors: colors5, ...props }) {
|
|
3233
3872
|
var _a, _b, _c, _d;
|
|
3234
3873
|
const theme = styles.useTheme();
|
|
3235
3874
|
const chart = theme.palette.chart;
|
|
@@ -3246,7 +3885,7 @@ function PieChart({ series, colors: colors3, ...props }) {
|
|
|
3246
3885
|
PieChart$1.PieChart,
|
|
3247
3886
|
{
|
|
3248
3887
|
series: modifiedSeries != null ? modifiedSeries : [],
|
|
3249
|
-
colors:
|
|
3888
|
+
colors: colors5 != null ? colors5 : seriesColors,
|
|
3250
3889
|
slotProps: {
|
|
3251
3890
|
legend: {
|
|
3252
3891
|
itemMarkWidth: 12,
|
|
@@ -3315,6 +3954,7 @@ exports.DialogTitle = DialogTitle;
|
|
|
3315
3954
|
exports.Divider = Divider;
|
|
3316
3955
|
exports.Fab = Fab;
|
|
3317
3956
|
exports.ForestProvider = ForestProvider;
|
|
3957
|
+
exports.Input = Input;
|
|
3318
3958
|
exports.LineChart = LineChart;
|
|
3319
3959
|
exports.LinearProgress = LinearProgress;
|
|
3320
3960
|
exports.Link = Link;
|
|
@@ -3325,6 +3965,7 @@ exports.ListItemButton = ListItemButton;
|
|
|
3325
3965
|
exports.ListItemIcon = ListItemIcon;
|
|
3326
3966
|
exports.ListItemText = ListItemText;
|
|
3327
3967
|
exports.ListSubheader = ListSubheader;
|
|
3968
|
+
exports.Logo = Logo;
|
|
3328
3969
|
exports.Menu = Menu;
|
|
3329
3970
|
exports.MenuItem = MenuItem;
|
|
3330
3971
|
exports.MenuList = MenuList;
|
|
@@ -3360,7 +4001,6 @@ exports.ToggleButtonGroup = ToggleButtonGroup;
|
|
|
3360
4001
|
exports.Toolbar = Toolbar;
|
|
3361
4002
|
exports.Tooltip = Tooltip;
|
|
3362
4003
|
exports.Typography = Typography;
|
|
3363
|
-
exports.alkemyPlusPreset = alkemyPlusPreset;
|
|
3364
4004
|
exports.alpha = alpha;
|
|
3365
4005
|
exports.avatarColors = avatarColors;
|
|
3366
4006
|
exports.bg = bg;
|
|
@@ -3378,7 +4018,9 @@ exports.focusRings = focusRings;
|
|
|
3378
4018
|
exports.fontFamily = fontFamily;
|
|
3379
4019
|
exports.fontSize = fontSize;
|
|
3380
4020
|
exports.fontWeight = fontWeight;
|
|
3381
|
-
exports.
|
|
4021
|
+
exports.forestAgencyPreset = forestAgencyPreset;
|
|
4022
|
+
exports.forestExternalPreset = forestExternalPreset;
|
|
4023
|
+
exports.forestInternalPreset = forestInternalPreset;
|
|
3382
4024
|
exports.forestTheme = forestTheme;
|
|
3383
4025
|
exports.forestThemeOptions = forestThemeOptions;
|
|
3384
4026
|
exports.getAvailablePresets = getAvailablePresets;
|