@m4l/styles 3.2.3 → 6.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/index.js +20 -20
  2. package/package.json +1 -1
  3. package/theme/defaultThemeOptions-DVY68pts.js +125 -0
  4. package/theme/defaultThemeOptions.d.ts +2 -1
  5. package/theme/index.d.ts +1 -1
  6. package/theme/overrides/M4LExtendedComponents/{index-C4PXddLa.js → index-BO_x8lkT.js} +256 -255
  7. package/theme/overrides/M4LRHFComponents/{index-BRZVeOM5.js → index-Dv4h8DSV.js} +34 -34
  8. package/theme/overrides/MUIComponents/Avatar.d.ts +1 -1
  9. package/theme/overrides/MUIComponents/Input.d.ts +1 -1
  10. package/theme/overrides/MUIComponents/Progress.d.ts +1 -1
  11. package/theme/overrides/MUIComponents/ToggleButton.d.ts +2 -2
  12. package/theme/overrides/MUIComponents/{index-XoLdmZP6.js → index-DrBJTI1s.js} +61 -62
  13. package/theme/overrides/{index-B9xZa27y.js → index-BOMUIneQ.js} +15 -15
  14. package/theme/palette/baseOpacityColors.d.ts +3 -0
  15. package/theme/palette/defaultColors.d.ts +14 -0
  16. package/theme/palette/index.d.ts +0 -1
  17. package/theme/palette/presetColors.d.ts +18 -4
  18. package/theme/palette/semanticColors.d.ts +16 -0
  19. package/theme/palette-voCQl3kP.js +792 -0
  20. package/theme/{shadows-GTYqExFA.js → shadows-Cek_1mpN.js} +1 -1
  21. package/types/augmentations.d.ts +160 -155
  22. package/types/types.d.ts +72 -31
  23. package/utils/{getColorPresets-CXZaM9oS.js → getColorPresets-DgmrCj5l.js} +1 -1
  24. package/utils/getColorPresets.d.ts +4 -4
  25. package/utils/getColorState.d.ts +2 -2
  26. package/utils/getPaletteByPreset.d.ts +127 -0
  27. package/utils/index.d.ts +1 -0
  28. package/vite-env.d.ts +3 -3
  29. package/theme/defaultThemeOptions-BlJvKCE6.js +0 -24
  30. package/theme/palette/palette.d.ts +0 -6
  31. package/theme/palette/stateColors.d.ts +0 -2
  32. package/theme/palette-DM0gXxA2.js +0 -584
@@ -1,5 +1,5 @@
1
1
  import { alpha as a } from "@mui/material/styles";
2
- import { G as n, B as s, C as e } from "./palette-DM0gXxA2.js";
2
+ import { G as n, B as s, C as e } from "./palette-voCQl3kP.js";
3
3
  const o = n[500], c = "#000000", t = (r) => {
4
4
  const p = a(r, 0.2), x = a(r, 0.14), $ = a(r, 0.12);
5
5
  return [
@@ -1,155 +1,160 @@
1
- import { Breakpoints } from '@mui/material';
2
-
3
- import type { CustomShadowOptions } from '../theme';
4
-
5
- declare module '@mui/material' {
6
- interface Color {
7
- 0: string;
8
- 500_8: string;
9
- 500_12: string;
10
- 500_16: string;
11
- 500_24: string;
12
- 500_32: string;
13
- 500_48: string;
14
- 500_56: string;
15
- 500_80: string;
16
- }
17
- }
18
-
19
- declare module '@mui/material/styles' {
20
- interface PaletteColor {
21
- lighter?: string;
22
- darker?: string;
23
- active: string;
24
- activeOpacity: string;
25
- hover: string;
26
- focus: string;
27
- selected: string;
28
- toneOpacity: string;
29
- }
30
-
31
- interface SimplePaletteColorOptions {
32
- lighter?: string;
33
- darker?: string;
34
- active: string;
35
- activeOpacity: string;
36
- hover: string;
37
- focus: string;
38
- selected: string;
39
- toneOpacity: string;
40
- }
41
-
42
- interface Palette {
43
- mode: 'light' | 'dark';
44
- secondary: never;
45
- skeleton: { default: string; transition: string };
46
- border: {
47
- active: string;
48
- selected: string;
49
- default: string;
50
- primary: string;
51
- secondary: string;
52
- disabled: string;
53
- dense: string;
54
- line: string;
55
- };
56
- general: {
57
- scrollBar: string;
58
- gridHover: string;
59
- };
60
- }
61
-
62
- interface PaletteOptions {
63
- mode: 'light' | 'dark';
64
- secondary: never;
65
- skeleton: { default: string; transition: string };
66
- border: {
67
- active: string;
68
- selected: string;
69
- default: string;
70
- primary: string;
71
- secondary: string;
72
- disabled: string;
73
- dense: string;
74
- line: string;
75
- };
76
- general: {
77
- scrollBar: string;
78
- gridHover: string;
79
- };
80
- }
81
-
82
- interface ColorSchemeOverrides {
83
- finalTheme?: true;
84
- }
85
-
86
- interface CssVarsTheme {
87
- generalSettings: {
88
- isMobile: boolean;
89
- };
90
- }
91
-
92
- interface Theme extends CssVarsTheme {
93
- stretch: boolean;
94
- customShadows: CustomShadowOptions;
95
- breakpoints: Breakpoints;
96
- }
97
-
98
- interface CssVarsThemeOptions {
99
- generalSettings: {
100
- isMobile: boolean;
101
- };
102
- }
103
-
104
- interface ThemeVars {
105
- customShadows: CustomShadowOptions;
106
- }
107
-
108
- interface ColorSystem {
109
- typography: TypographyVariants;
110
- }
111
-
112
- interface TypeBackground {
113
- default: string;
114
- hover: string;
115
- surface: string;
116
- subtle: string;
117
- main: string;
118
- bold: string;
119
- backdrop: string;
120
- reverse: string;
121
- header: string;
122
- }
123
-
124
- interface TypographyVariants {
125
- subtitle: Record<string, any>;
126
- subtitleDens: Record<string, any>;
127
- paragraph: Record<string, any>;
128
- paragraphDens: Record<string, any>;
129
- body: Record<string, any>;
130
- bodyDens: Record<string, any>;
131
- action: Record<string, any>;
132
- }
133
-
134
- interface TypographyVariantsOptions {
135
- subtitle: React.CSSProperties;
136
- subtitleDens: React.CSSProperties;
137
- paragraph: React.CSSProperties;
138
- paragraphDens: React.CSSProperties;
139
- body: React.CSSProperties;
140
- bodyDens: React.CSSProperties;
141
- action: React.CSSProperties;
142
- }
143
- }
144
-
145
- declare module '@mui/material/Typography' {
146
- interface TypographyPropsVariantOverrides {
147
- subtitle: true;
148
- subtitleDens: true;
149
- paragraph: true;
150
- paragraphDens: true;
151
- body: true;
152
- bodyDens: true;
153
- action: true;
154
- }
155
- }
1
+ import { Breakpoints } from '@mui/material';
2
+
3
+ import type { CustomShadowOptions } from '../theme';
4
+
5
+ declare module '@mui/material' {
6
+ interface Color {
7
+ 0: string;
8
+ 500_8: string;
9
+ 500_12: string;
10
+ 500_16: string;
11
+ 500_24: string;
12
+ 500_32: string;
13
+ 500_48: string;
14
+ 500_56: string;
15
+ 500_80: string;
16
+ }
17
+ }
18
+
19
+ declare module '@mui/material/styles' {
20
+ interface PaletteColor {
21
+ //TODO: Documentar los colores segun figma
22
+ // light: string; *** Por compatibilidad con MUI
23
+ // main: string; ***
24
+ // dark: string; *** Por compatibilidad con MUI
25
+ // contrastText: string; ***
26
+
27
+ focusActive: string;
28
+ focusVisible: string;
29
+ hover: string;
30
+ hoverOpacity: string;
31
+ opacity: string;
32
+ toneOpacity: string;
33
+ }
34
+
35
+ export interface TypeBackground {
36
+ neutral: string;
37
+ }
38
+
39
+ /* interface SimplePaletteColorOptions {
40
+ lighter?: string;
41
+ darker?: string;
42
+ active: string;
43
+ primary: string;
44
+ activeOpacity: string;
45
+ hover: string;
46
+ focusVisible: string;
47
+ toneOpacity: string;
48
+ } */
49
+
50
+ interface Palette {
51
+ mode: 'light' | 'dark';
52
+ secondary: never;
53
+ skeleton: { default: string; transition: string };
54
+ default: PaletteColor;
55
+ border: {
56
+ main: string;
57
+ default: string;
58
+ secondary: string;
59
+ dens: string;
60
+ disabled: string;
61
+ error: string;
62
+ };
63
+ general: {
64
+ scrollBar: string;
65
+ gridHover: string;
66
+ };
67
+ }
68
+
69
+ /**
70
+ * Interfaz de colores de material-ui, define las opciones de personalización de la paleta de colores que se
71
+ * pueden usar al crear un tema con la función `createTheme`.
72
+ */
73
+ interface PaletteOptions {
74
+ mode: 'light' | 'dark';
75
+ secondary: never;
76
+ skeleton: { default: string; transition: string };
77
+ border: {
78
+ main: string;
79
+ default: string;
80
+ secondary: string;
81
+ dens: string;
82
+ disabled: string;
83
+ error: string;
84
+ };
85
+ default: PaletteColorOptions;
86
+ general: {
87
+ scrollBar: string;
88
+ gridHover: string;
89
+ };
90
+ }
91
+
92
+ interface ColorSchemeOverrides {
93
+ finalTheme?: true;
94
+ }
95
+
96
+ interface CssVarsTheme {
97
+ generalSettings: {
98
+ isMobile: boolean;
99
+ };
100
+ }
101
+
102
+ interface Theme extends CssVarsTheme {
103
+ stretch: boolean;
104
+ customShadows: CustomShadowOptions;
105
+ breakpoints: Breakpoints;
106
+ }
107
+
108
+ interface CssVarsThemeOptions {
109
+ generalSettings: {
110
+ isMobile: boolean;
111
+ };
112
+ }
113
+
114
+ interface ThemeVars {
115
+ customShadows: CustomShadowOptions;
116
+ }
117
+
118
+ interface ColorSystem {
119
+ typography: TypographyVariants;
120
+ }
121
+
122
+ interface TypeBackground {
123
+ default: string,
124
+ neutral: string,
125
+ surface: string,
126
+ hover: string,
127
+ }
128
+
129
+ interface TypographyVariants {
130
+ subtitle: Record<string, any>;
131
+ subtitleDens: Record<string, any>;
132
+ paragraph: Record<string, any>;
133
+ paragraphDens: Record<string, any>;
134
+ body: Record<string, any>;
135
+ bodyDens: Record<string, any>;
136
+ action: Record<string, any>;
137
+ }
138
+
139
+ interface TypographyVariantsOptions {
140
+ subtitle: React.CSSProperties;
141
+ subtitleDens: React.CSSProperties;
142
+ paragraph: React.CSSProperties;
143
+ paragraphDens: React.CSSProperties;
144
+ body: React.CSSProperties;
145
+ bodyDens: React.CSSProperties;
146
+ action: React.CSSProperties;
147
+ }
148
+ }
149
+
150
+ declare module '@mui/material/Typography' {
151
+ interface TypographyPropsVariantOverrides {
152
+ subtitle: true;
153
+ subtitleDens: true;
154
+ paragraph: true;
155
+ paragraphDens: true;
156
+ body: true;
157
+ bodyDens: true;
158
+ action: true;
159
+ }
160
+ }
package/types/types.d.ts CHANGED
@@ -1,16 +1,29 @@
1
- import { PaletteColor } from '@mui/material/styles';
1
+ import { PaletteColor, Theme } from '@mui/material/styles';
2
2
  /**
3
3
  * type usado para tipar las props sizes de los componentes o sus derivaciones
4
4
  */
5
5
  export declare type Sizes = 'small' | 'medium' | 'large';
6
- export declare type ThemeColorPresets = 'patronus' | 'turqui' | 'grass' | 'brown' | 'blaze';
7
- export declare type StateColorSchema = 'info' | 'success' | 'warning' | 'error';
8
- export declare type ColorSchema = 'primary' | 'secondary' | StateColorSchema;
9
- export declare type ColorSchemeComponent = ColorSchema | string;
6
+ /**
7
+ * Opciones de color seleccionables por un usuario con los que se puede pintar la aplicación.
8
+ */
9
+ export declare type ThemeColorOptionsType = 'patronus' | 'turqui' | 'grass' | 'brown' | 'blaze';
10
+ /**
11
+ * Lista de colores semánticos disponibles en la aplicación.
12
+ */
13
+ export declare type SemanticColorOptionsType = 'info' | 'success' | 'warning' | 'error';
14
+ /**
15
+ * Son los conjuntos de colores que se pueden usar en los componentes y corresponde al tipo PaletteColor
16
+ */
17
+ export declare type ComponentPalletColor = 'primary' | 'default' | SemanticColorOptionsType;
10
18
  export declare type BasePalettes = 'patronusBlue' | 'crayonBlue' | 'middleYellow' | 'acidGreen' | 'grassGreen' | 'desertBeige' | 'turquiBlue' | 'blazeOrange' | 'flameRed' | 'coolGrey' | 'brown' | 'marbleLight' | 'onyx' | 'mint' | 'oxford';
11
- export declare type BaseOpacityPalettes = 'patronus' | 'turqui' | 'grass' | 'brown' | 'beige' | 'orange' | 'cool' | 'marble' | 'mint' | 'oxford';
19
+ export declare type BaseOpacityPalettes = 'patronus' | 'turqui' | 'grass' | 'brown' | 'beige' | 'blaze' | 'cool' | 'marble' | 'mint' | 'oxford' | 'middle' | 'acid' | 'flame' | 'crayon';
12
20
  export interface Colors {
13
- '00': string;
21
+ /**
22
+ * ToneOpacity se usa para colorear el fondo de los celdas en el compksonente grid.
23
+ * Requiere un todo de 100 en alpha pero basado en el color de opacidad con fondo ligth o dark.
24
+ */
25
+ 'toneOpacity10': string;
26
+ 'toneOpacity20': string;
14
27
  10: string;
15
28
  20: string;
16
29
  30: string;
@@ -23,36 +36,64 @@ export interface Colors {
23
36
  100: string;
24
37
  }
25
38
  export interface OpacityColors {
26
- 4: string;
27
- 6: string;
28
- 8: string;
29
39
  10: string;
30
- 12: string;
31
- 14: string;
32
- 16: string;
33
- 18: string;
34
- 28: string;
35
- 31: string;
36
- 32: string;
37
- 48: string;
38
- 60?: string;
39
- 72?: string;
40
+ 20: string;
41
+ 30: string;
42
+ 40: string;
43
+ 50: string;
44
+ 60: string;
45
+ 70: string;
40
46
  }
41
- export interface ActionsPaletteColors {
42
- active: string;
43
- activeOpacity: string;
44
- hover: string;
45
- focus: string;
46
- selected: string;
47
- toneOpacity: string;
47
+ export interface PresetColor {
48
+ main: string;
49
+ contrastText: string;
50
+ light: string;
51
+ lighter: string;
52
+ toneOpacityLight: string;
53
+ /**
54
+ * Permite definir fondos de componentes en estados hover y focus dependiendo de la necesidad.
55
+ */
56
+ opacityLight: string;
57
+ opacityDark: string;
58
+ dark: string;
59
+ darker: string;
60
+ toneOpacityDark: string;
61
+ /**
62
+ * Permite mantener consitencia en el color de tema para los borders en caso de estar en un estado de usuario focus.
63
+ */
64
+ borderMainDark: string;
65
+ borderMainLight: string;
48
66
  }
67
+ /**
68
+ * Lista de colores base en formato Colors
69
+ */
49
70
  export declare type BaseConstantColors = Record<BasePalettes, Colors>;
50
- export declare type BasePresetColors = Record<keyof PaletteColor, string>;
51
- export declare type PresetPalettes = Record<ThemeColorPresets, BasePresetColors>;
52
- export declare type StatePalettes = Record<StateColorSchema, BasePresetColors>;
53
- export declare type PresetActionsPalettes = Record<ThemeColorPresets, ActionsPaletteColors>;
71
+ /**
72
+ * Son los colores de las las ocpiones del tema, en formato PresetColor (Mas amplio que el PaletteColor)
73
+ */
74
+ export declare type ThemePresetColors = Record<ThemeColorOptionsType, PresetColor>;
75
+ /**
76
+ * Son los colores semanticos en formato PresetColor
77
+ */
78
+ export declare type SemanticPresetColors = Record<SemanticColorOptionsType, PresetColor>;
79
+ /**
80
+ * Son los colores de las ocpiones del tema, en formato PalletColor
81
+ */
82
+ export declare type ThemePaletteColors = Record<ThemeColorOptionsType, PaletteColor>;
83
+ /**
84
+ * Son las opcines de paleta de colores semánticos en formato PaletteColor
85
+ */
86
+ export declare type SemanticsPaletteColors = Record<SemanticColorOptionsType, PaletteColor>;
87
+ /**
88
+ * Es la configuración de color que se usa fabricar la paleta "default", se encuentra en formato PaletteColor.
89
+ */
90
+ export declare type DefaultPresetColor = Omit<PresetColor, 'borderMainDark' | 'borderMainLight' | 'main' | 'contrastText'> & {
91
+ mainLight: string;
92
+ mainDark: string;
93
+ };
54
94
  export declare type PresetsOptions = Array<{
55
95
  name: string | undefined;
56
96
  value: string;
57
97
  }>;
58
98
  export declare type ColorState = 'warning' | 'delete' | 'info' | 'success';
99
+ export declare type OurTheme = Pick<Theme, 'palette' | 'typography' | 'customShadows' | 'stretch'>;
@@ -1,4 +1,4 @@
1
- import { P as r } from "../theme/palette-DM0gXxA2.js";
1
+ import { P as r } from "../theme/palette-voCQl3kP.js";
2
2
  const o = "patronus", s = r[o];
3
3
  function n(t) {
4
4
  try {
@@ -1,5 +1,5 @@
1
- import { BasePresetColors, ThemeColorPresets } from '../types';
2
- export declare const DEFAULT_PRESET: ThemeColorPresets;
3
- export declare const defaultPresetColors: BasePresetColors;
4
- export declare function getColorPresets(presetsKey: ThemeColorPresets): BasePresetColors;
1
+ import { PresetColor, ThemeColorOptionsType } from '../types';
2
+ export declare const DEFAULT_PRESET: ThemeColorOptionsType;
3
+ export declare const defaultPresetColors: PresetColor;
4
+ export declare function getColorPresets(presetsKey: ThemeColorOptionsType): PresetColor;
5
5
  export default getColorPresets;
@@ -1,3 +1,3 @@
1
- import { ColorSchemeComponent } from '../types/types';
1
+ import { ComponentPalletColor } from '../types/types';
2
2
  import { Theme } from '@mui/material';
3
- export declare const getColorState: (color: ColorSchemeComponent, palette: Theme['palette'] | Theme['vars']['palette']) => string;
3
+ export declare const getColorState: (color: ComponentPalletColor, palette: Theme['palette'] | Theme['vars']['palette']) => string;
@@ -0,0 +1,127 @@
1
+ import type { ThemeColorOptionsType } from '../types';
2
+ export declare const getPaletteByPreset: (presetColor: ThemeColorOptionsType) => {
3
+ readonly light: {
4
+ readonly info: import("@mui/material").PaletteColor;
5
+ readonly success: import("@mui/material").PaletteColor;
6
+ readonly warning: import("@mui/material").PaletteColor;
7
+ readonly error: import("@mui/material").PaletteColor;
8
+ readonly mode: "light";
9
+ readonly common: import("@mui/material").CommonColors;
10
+ readonly primary: {
11
+ readonly light: string;
12
+ readonly main: string;
13
+ readonly dark: string;
14
+ readonly contrastText: string;
15
+ readonly focusActive: string;
16
+ readonly focusVisible: string;
17
+ readonly hover: string;
18
+ readonly hoverOpacity: string;
19
+ readonly opacity: string;
20
+ readonly toneOpacity: string;
21
+ };
22
+ readonly default: {
23
+ readonly focusVisible: string;
24
+ readonly contrastText: string;
25
+ readonly light: string;
26
+ readonly main: string;
27
+ readonly dark: string;
28
+ readonly focusActive: string;
29
+ readonly hover: string;
30
+ readonly hoverOpacity: string;
31
+ readonly opacity: string;
32
+ readonly toneOpacity: string;
33
+ };
34
+ readonly divider: string;
35
+ readonly text: {
36
+ readonly primary: string;
37
+ readonly secondary: string;
38
+ readonly disabled: string;
39
+ };
40
+ readonly background: {
41
+ readonly default: string;
42
+ readonly neutral: string;
43
+ readonly surface: string;
44
+ readonly hover: string;
45
+ readonly paper: "";
46
+ };
47
+ readonly border: {
48
+ readonly main: string;
49
+ readonly default: string;
50
+ readonly secondary: string;
51
+ readonly dens: string;
52
+ readonly disabled: string;
53
+ readonly error: string;
54
+ };
55
+ readonly general: {
56
+ readonly scrollBar: string;
57
+ readonly gridHover: string;
58
+ };
59
+ readonly grey: import("@mui/material").Color;
60
+ readonly skeleton: {
61
+ readonly default: string;
62
+ readonly transition: string;
63
+ };
64
+ };
65
+ readonly dark: {
66
+ readonly info: import("@mui/material").PaletteColor;
67
+ readonly success: import("@mui/material").PaletteColor;
68
+ readonly warning: import("@mui/material").PaletteColor;
69
+ readonly error: import("@mui/material").PaletteColor;
70
+ readonly mode: "dark";
71
+ readonly common: import("@mui/material").CommonColors;
72
+ readonly primary: {
73
+ readonly light: string;
74
+ readonly main: string;
75
+ readonly dark: string;
76
+ readonly contrastText: string;
77
+ readonly focusActive: string;
78
+ readonly focusVisible: string;
79
+ readonly hover: string;
80
+ readonly hoverOpacity: string;
81
+ readonly opacity: string;
82
+ readonly toneOpacity: string;
83
+ };
84
+ readonly default: {
85
+ readonly focusVisible: string;
86
+ readonly contrastText: string;
87
+ readonly light: string;
88
+ readonly main: string;
89
+ readonly dark: string;
90
+ readonly focusActive: string;
91
+ readonly hover: string;
92
+ readonly hoverOpacity: string;
93
+ readonly opacity: string;
94
+ readonly toneOpacity: string;
95
+ };
96
+ readonly text: {
97
+ readonly primary: string;
98
+ readonly secondary: string;
99
+ readonly disabled: string;
100
+ };
101
+ readonly divider: string;
102
+ readonly background: {
103
+ readonly default: string;
104
+ readonly neutral: string;
105
+ readonly surface: string;
106
+ readonly hover: string;
107
+ readonly paper: "";
108
+ };
109
+ readonly border: {
110
+ readonly main: string;
111
+ readonly default: string;
112
+ readonly secondary: string;
113
+ readonly dens: string;
114
+ readonly disabled: string;
115
+ readonly error: string;
116
+ };
117
+ readonly general: {
118
+ readonly scrollBar: string;
119
+ readonly gridHover: string;
120
+ };
121
+ readonly grey: import("@mui/material").Color;
122
+ readonly skeleton: {
123
+ readonly default: string;
124
+ readonly transition: string;
125
+ };
126
+ };
127
+ };
package/utils/index.d.ts CHANGED
@@ -2,3 +2,4 @@ export { useResponsive } from './useResponsive';
2
2
  export * from './getColorPresets';
3
3
  export * from './getFontValue';
4
4
  export * from './getColorState';
5
+ export * from './getPaletteByPreset';
package/vite-env.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- /// <reference types="vite/client" />
2
- /// <reference types="vitest" />
3
- /// <reference types="vitest/importMeta" />
1
+ /// <reference types="vite/client" />
2
+ /// <reference types="vitest" />
3
+ /// <reference types="vitest/importMeta" />
@@ -1,24 +0,0 @@
1
- import { createTheme as a, alpha as s } from "@mui/material/styles";
2
- import { t as o } from "./typography-BsOO459U.js";
3
- import { s as r, c as m } from "./shadows-GTYqExFA.js";
4
- import { g as p } from "./palette-DM0gXxA2.js";
5
- import { g as h, D as t } from "../utils/getColorPresets-CXZaM9oS.js";
6
- const e = a(), f = {
7
- ...e,
8
- typography: o,
9
- palette: {
10
- ...e.palette,
11
- ...p(t).light,
12
- mode: "light"
13
- },
14
- shape: { borderRadius: 8 },
15
- shadows: r.dark,
16
- customShadows: {
17
- primary: `0 8px 16px 0 ${s(h(t).main, 0.2)}`,
18
- ...m("dark")
19
- },
20
- stretch: !0
21
- };
22
- export {
23
- f as d
24
- };
@@ -1,6 +0,0 @@
1
- import { Palette } from '@mui/material/styles';
2
- import type { ThemeColorPresets } from '../../types';
3
- export declare const getPaletteByPreset: (presetColor: ThemeColorPresets) => {
4
- readonly light: Palette;
5
- readonly dark: Palette;
6
- };
@@ -1,2 +0,0 @@
1
- import type { StatePalettes } from '../../types';
2
- export declare const STATE_COLORS: StatePalettes;