@m4l/styles 0.0.48 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +46 -36
- package/package.json +2 -2
- package/theme/defaultThemeOptions.0976e58a.js +34 -0
- package/theme/defaultThemeOptions.d.ts +1 -5
- package/theme/index.5da3436d.js +7 -0
- package/theme/index.d.ts +1 -1
- package/theme/overrides/M4LExtendedComponents/M4LAccordion.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LAccountPopover.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LAppBar.d.ts +2 -65
- package/theme/overrides/M4LExtendedComponents/M4LAppBarCommercial.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LAreasAdmin.d.ts +418 -2
- package/theme/overrides/M4LExtendedComponents/M4LAreasViewer.d.ts +4 -2
- package/theme/overrides/M4LExtendedComponents/M4LAvatar.d.ts +22 -1
- package/theme/overrides/M4LExtendedComponents/M4LBadge.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LButton.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LCheckBox.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LCommonActions.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LDataGrid.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LDynamicFilter.d.ts +19 -4
- package/theme/overrides/M4LExtendedComponents/M4LErrorLabel.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LFieldLabel.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LFormatter.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LGridLayout.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LHamburgerMenuCommercial.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LIcon.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LIconButton.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LImage.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LImageButton.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LMFLoader.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LMasterDetailLayout.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LMenuActions.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LModalDialog.d.ts +2 -3
- package/theme/overrides/M4LExtendedComponents/M4LModuleLayout.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LNavLink.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LNoItemSelected.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LPDFViewer.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LPager.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LPaperForm.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LPeriod.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LPopover.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LPrintingSystem.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LPropertyValue.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LRHFormProvider.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LScrollBar.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LSectionCommercial.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LSideBar.d.ts +120 -127
- package/theme/overrides/M4LExtendedComponents/M4LSplitLayout.d.ts +2 -3
- package/theme/overrides/M4LExtendedComponents/M4LStack.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LTab.d.ts +10 -3
- package/theme/overrides/M4LExtendedComponents/M4LTabContent.d.ts +13 -2
- package/theme/overrides/M4LExtendedComponents/M4LTabs.d.ts +3 -3
- package/theme/overrides/M4LExtendedComponents/M4LToastContainer.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LTooltip.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LTopBar.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LTypography.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LanguagePopover.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LinearProgressIndeterminate.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LoadingButton.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/M4LoadingError.d.ts +2 -2
- package/theme/overrides/M4LExtendedComponents/{index.fbdb0818.js → index.21814c8d.js} +934 -880
- package/theme/overrides/M4LRHFComponents/M4LRHFAutocomplete.d.ts +25 -15
- package/theme/overrides/M4LRHFComponents/M4LRHFAutocompleteAsync.d.ts +2 -2
- package/theme/overrides/M4LRHFComponents/M4LRHFCheckbox.d.ts +2 -2
- package/theme/overrides/M4LRHFComponents/M4LRHFColorPicker.d.ts +2 -2
- package/theme/overrides/M4LRHFComponents/M4LRHFDateTime.d.ts +2 -2
- package/theme/overrides/M4LRHFComponents/M4LRHFPeriod.d.ts +2 -2
- package/theme/overrides/M4LRHFComponents/M4LRHFTextField.d.ts +2 -2
- package/theme/overrides/M4LRHFComponents/M4LRHFTextFieldPassword.d.ts +2 -2
- package/theme/overrides/M4LRHFComponents/M4LRHFUploadImage.d.ts +2 -2
- package/theme/overrides/M4LRHFComponents/{index.f37c2406.js → index.3599b255.js} +143 -133
- package/theme/overrides/MUIComponents/Accordion.d.ts +2 -2
- package/theme/overrides/MUIComponents/Autocomplete.d.ts +2 -2
- package/theme/overrides/MUIComponents/Avatar.d.ts +2 -2
- package/theme/overrides/MUIComponents/Backdrop.d.ts +2 -2
- package/theme/overrides/MUIComponents/Badge.d.ts +2 -2
- package/theme/overrides/MUIComponents/Breadcrumbs.d.ts +2 -2
- package/theme/overrides/MUIComponents/Button.d.ts +2 -2
- package/theme/overrides/MUIComponents/ButtonGroup.d.ts +2 -2
- package/theme/overrides/MUIComponents/Card.d.ts +2 -2
- package/theme/overrides/MUIComponents/Checkbox.d.ts +2 -2
- package/theme/overrides/MUIComponents/CmpDisenoTest.d.ts +2 -2
- package/theme/overrides/MUIComponents/ControlLabel.d.ts +2 -2
- package/theme/overrides/MUIComponents/CssBaseline.d.ts +2 -2
- package/theme/overrides/MUIComponents/DataGrid.d.ts +2 -2
- package/theme/overrides/MUIComponents/Drawer.d.ts +2 -2
- package/theme/overrides/MUIComponents/Fab.d.ts +2 -2
- package/theme/overrides/MUIComponents/IconButton.d.ts +2 -2
- package/theme/overrides/MUIComponents/Input.d.ts +2 -2
- package/theme/overrides/MUIComponents/InputLabel.d.ts +2 -2
- package/theme/overrides/MUIComponents/Link.d.ts +2 -2
- package/theme/overrides/MUIComponents/List.d.ts +2 -2
- package/theme/overrides/MUIComponents/LoadingButton.d.ts +2 -2
- package/theme/overrides/MUIComponents/Menu.d.ts +2 -2
- package/theme/overrides/MUIComponents/Pagination.d.ts +2 -2
- package/theme/overrides/MUIComponents/Paper.d.ts +2 -2
- package/theme/overrides/MUIComponents/Popover.d.ts +2 -2
- package/theme/overrides/MUIComponents/Progress.d.ts +2 -2
- package/theme/overrides/MUIComponents/Radio.d.ts +2 -2
- package/theme/overrides/MUIComponents/Skeleton.d.ts +2 -2
- package/theme/overrides/MUIComponents/Slider.d.ts +2 -2
- package/theme/overrides/MUIComponents/Stepper.d.ts +2 -2
- package/theme/overrides/MUIComponents/SvgIcon.d.ts +2 -2
- package/theme/overrides/MUIComponents/Switch.d.ts +2 -2
- package/theme/overrides/MUIComponents/Table.d.ts +2 -2
- package/theme/overrides/MUIComponents/Timeline.d.ts +2 -2
- package/theme/overrides/MUIComponents/ToggleButton.d.ts +2 -2
- package/theme/overrides/MUIComponents/Tooltip.d.ts +2 -2
- package/theme/overrides/MUIComponents/Typography.d.ts +2 -2
- package/theme/overrides/MUIComponents/{index.d2b98b86.js → index.7fb80545.js} +189 -189
- package/theme/overrides/{index.155beeb3.js → index.9323564e.js} +3 -3
- package/theme/overrides/index.d.ts +2 -2
- package/theme/{palette.0590e8a6.js → palette.287635f2.js} +64 -45
- package/theme/palette.d.ts +165 -347
- package/theme/{shadows.86540b18.js → shadows.e0c009ff.js} +1 -1
- package/theme/{typography.8878fde5.js → typography.2a9a38a6.js} +34 -25
- package/theme/typography.d.ts +4 -0
- package/types/augmentations.d.ts +144 -121
- package/types/types.d.ts +24 -24
- package/utils/{getColorPresets.2a91ffaf.js → getColorPresets.a96a4046.js} +24 -18
- package/utils/getColorPresets.d.ts +8 -72
- package/utils/{getColorState.6c23eada.js → getColorState.b50b5b1e.js} +21 -4
- package/vite-env.d.ts +3 -3
- package/theme/defaultThemeOptions.348dc196.js +0 -27
- package/theme/index.34d0fdea.js +0 -1
package/theme/palette.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Color } from '@mui/material';
|
|
1
2
|
export declare type ColorSchema = 'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'error';
|
|
2
3
|
export declare type PatronusColors = 'patronusBlue' | 'crayonBlue' | 'middleYellow' | 'acidGreen' | 'grassGreen' | 'desertBeige' | 'turquiBlue' | 'blazeOrange' | 'flameRed' | 'coolGrey' | 'brown' | 'marbleLight' | 'onyx' | 'mint' | 'oxford';
|
|
3
4
|
export declare type PatronusOpacityColors = 'patronus' | 'turqui' | 'grass' | 'brown' | 'beige' | 'orange' | 'cool' | 'marbel' | 'mint' | 'oxford';
|
|
@@ -24,26 +25,54 @@ export interface PatronusOpacityOptions {
|
|
|
24
25
|
export declare type PatronusConstantColors = Record<PatronusColors, PatronusColorOptions>;
|
|
25
26
|
export declare const PATRONUSCOLORS: PatronusConstantColors;
|
|
26
27
|
export declare const OPACITYCOLORS: Record<PatronusOpacityColors, PatronusOpacityOptions>;
|
|
27
|
-
export declare const
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
600: string;
|
|
35
|
-
700: string;
|
|
36
|
-
800: string;
|
|
37
|
-
900: string;
|
|
38
|
-
5008: string;
|
|
39
|
-
50012: string;
|
|
40
|
-
50016: string;
|
|
41
|
-
50024: string;
|
|
42
|
-
50032: string;
|
|
43
|
-
50048: string;
|
|
44
|
-
50056: string;
|
|
45
|
-
50080: string;
|
|
28
|
+
export declare const PRIMARY: {
|
|
29
|
+
lighter: string;
|
|
30
|
+
light: string;
|
|
31
|
+
main: string;
|
|
32
|
+
dark: string;
|
|
33
|
+
darker: string;
|
|
34
|
+
contrastText: string;
|
|
46
35
|
};
|
|
36
|
+
export declare const SECONDARY: {
|
|
37
|
+
lighter: string;
|
|
38
|
+
light: string;
|
|
39
|
+
main: string;
|
|
40
|
+
dark: string;
|
|
41
|
+
darker: string;
|
|
42
|
+
};
|
|
43
|
+
export declare const INFO: {
|
|
44
|
+
lighter: string;
|
|
45
|
+
light: string;
|
|
46
|
+
main: string;
|
|
47
|
+
dark: string;
|
|
48
|
+
darker: string;
|
|
49
|
+
opacity: string;
|
|
50
|
+
};
|
|
51
|
+
export declare const SUCCESS: {
|
|
52
|
+
lighter: string;
|
|
53
|
+
light: string;
|
|
54
|
+
main: string;
|
|
55
|
+
dark: string;
|
|
56
|
+
darker: string;
|
|
57
|
+
opacity: string;
|
|
58
|
+
};
|
|
59
|
+
export declare const WARNING: {
|
|
60
|
+
lighter: string;
|
|
61
|
+
light: string;
|
|
62
|
+
main: string;
|
|
63
|
+
dark: string;
|
|
64
|
+
darker: string;
|
|
65
|
+
opacity: string;
|
|
66
|
+
};
|
|
67
|
+
export declare const ERROR: {
|
|
68
|
+
lighter: string;
|
|
69
|
+
light: string;
|
|
70
|
+
main: string;
|
|
71
|
+
dark: string;
|
|
72
|
+
darker: string;
|
|
73
|
+
opacity: string;
|
|
74
|
+
};
|
|
75
|
+
export declare const GREY: Color;
|
|
47
76
|
export interface StateDefault {
|
|
48
77
|
normal: string;
|
|
49
78
|
hover: string;
|
|
@@ -74,340 +103,129 @@ export declare const STATEDEFAULT: {
|
|
|
74
103
|
transition: string;
|
|
75
104
|
};
|
|
76
105
|
};
|
|
77
|
-
export declare const
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
readonly primary: string;
|
|
82
|
-
readonly secondary: string;
|
|
83
|
-
readonly disabled: string;
|
|
84
|
-
readonly bgPrimary: string;
|
|
85
|
-
};
|
|
86
|
-
readonly background: {
|
|
87
|
-
readonly paper: "#fff0";
|
|
88
|
-
readonly default: string;
|
|
89
|
-
readonly neutral: string;
|
|
90
|
-
readonly background: string;
|
|
91
|
-
readonly header: string;
|
|
92
|
-
};
|
|
93
|
-
readonly divider: string;
|
|
94
|
-
readonly grid: {
|
|
95
|
-
readonly sectionHeader: "#F6F7F9";
|
|
96
|
-
readonly divider: "#EDEFF2";
|
|
97
|
-
readonly rowHover: "#FAFBFC";
|
|
98
|
-
};
|
|
99
|
-
readonly common: {
|
|
100
|
-
black: string;
|
|
101
|
-
white: string;
|
|
102
|
-
};
|
|
103
|
-
readonly primary: {
|
|
104
|
-
lighter: string;
|
|
105
|
-
light: string;
|
|
106
|
-
main: string;
|
|
107
|
-
dark: string;
|
|
108
|
-
darker: string;
|
|
109
|
-
contrastText: string;
|
|
110
|
-
};
|
|
111
|
-
readonly state: {
|
|
112
|
-
info: {
|
|
113
|
-
normal: string;
|
|
114
|
-
hover: string;
|
|
115
|
-
};
|
|
116
|
-
success: {
|
|
117
|
-
normal: string;
|
|
118
|
-
hover: string;
|
|
119
|
-
};
|
|
120
|
-
error: {
|
|
121
|
-
normal: string;
|
|
122
|
-
hover: string;
|
|
123
|
-
};
|
|
124
|
-
warning: {
|
|
125
|
-
normal: string;
|
|
126
|
-
hover: string;
|
|
127
|
-
};
|
|
128
|
-
skeleton: {
|
|
129
|
-
default: string;
|
|
130
|
-
transition: string;
|
|
131
|
-
};
|
|
132
|
-
};
|
|
133
|
-
readonly patronus: {
|
|
134
|
-
patronusBlue: PatronusColorOptions;
|
|
135
|
-
crayonBlue: PatronusColorOptions;
|
|
136
|
-
middleYellow: PatronusColorOptions;
|
|
137
|
-
acidGreen: PatronusColorOptions;
|
|
138
|
-
grassGreen: PatronusColorOptions;
|
|
139
|
-
desertBeige: PatronusColorOptions;
|
|
140
|
-
turquiBlue: PatronusColorOptions;
|
|
141
|
-
blazeOrange: PatronusColorOptions;
|
|
142
|
-
flameRed: PatronusColorOptions;
|
|
143
|
-
coolGrey: PatronusColorOptions;
|
|
144
|
-
brown: PatronusColorOptions;
|
|
145
|
-
marbleLight: PatronusColorOptions;
|
|
146
|
-
onyx: PatronusColorOptions;
|
|
147
|
-
mint: PatronusColorOptions;
|
|
148
|
-
oxford: PatronusColorOptions;
|
|
149
|
-
};
|
|
150
|
-
readonly opacity: {
|
|
151
|
-
brown: PatronusOpacityOptions;
|
|
152
|
-
mint: PatronusOpacityOptions;
|
|
153
|
-
oxford: PatronusOpacityOptions;
|
|
154
|
-
patronus: PatronusOpacityOptions;
|
|
155
|
-
turqui: PatronusOpacityOptions;
|
|
156
|
-
grass: PatronusOpacityOptions;
|
|
157
|
-
beige: PatronusOpacityOptions;
|
|
158
|
-
orange: PatronusOpacityOptions;
|
|
159
|
-
cool: PatronusOpacityOptions;
|
|
160
|
-
marbel: PatronusOpacityOptions;
|
|
161
|
-
};
|
|
162
|
-
readonly secondary: {
|
|
163
|
-
contrastText: string;
|
|
164
|
-
lighter: string;
|
|
165
|
-
light: string;
|
|
166
|
-
main: string;
|
|
167
|
-
dark: string;
|
|
168
|
-
darker: string;
|
|
169
|
-
};
|
|
170
|
-
readonly info: {
|
|
171
|
-
contrastText: string;
|
|
172
|
-
lighter: string;
|
|
173
|
-
light: string;
|
|
174
|
-
main: string;
|
|
175
|
-
dark: string;
|
|
176
|
-
darker: string;
|
|
177
|
-
opacity: string;
|
|
178
|
-
};
|
|
179
|
-
readonly success: {
|
|
180
|
-
contrastText: string;
|
|
181
|
-
lighter: string;
|
|
182
|
-
light: string;
|
|
183
|
-
main: string;
|
|
184
|
-
dark: string;
|
|
185
|
-
darker: string;
|
|
186
|
-
opacity: string;
|
|
187
|
-
};
|
|
188
|
-
readonly warning: {
|
|
189
|
-
contrastText: string;
|
|
190
|
-
lighter: string;
|
|
191
|
-
light: string;
|
|
192
|
-
main: string;
|
|
193
|
-
dark: string;
|
|
194
|
-
darker: string;
|
|
195
|
-
opacity: string;
|
|
196
|
-
};
|
|
197
|
-
readonly error: {
|
|
198
|
-
contrastText: string;
|
|
199
|
-
lighter: string;
|
|
200
|
-
light: string;
|
|
201
|
-
main: string;
|
|
202
|
-
dark: string;
|
|
203
|
-
darker: string;
|
|
204
|
-
opacity: string;
|
|
205
|
-
};
|
|
206
|
-
readonly grey: {
|
|
207
|
-
0: string;
|
|
208
|
-
100: string;
|
|
209
|
-
200: string;
|
|
210
|
-
300: string;
|
|
211
|
-
400: string;
|
|
212
|
-
500: string;
|
|
213
|
-
600: string;
|
|
214
|
-
700: string;
|
|
215
|
-
800: string;
|
|
216
|
-
900: string;
|
|
217
|
-
5008: string;
|
|
218
|
-
50012: string;
|
|
219
|
-
50016: string;
|
|
220
|
-
50024: string;
|
|
221
|
-
50032: string;
|
|
222
|
-
50048: string;
|
|
223
|
-
50056: string;
|
|
224
|
-
50080: string;
|
|
225
|
-
};
|
|
226
|
-
readonly gradients: {
|
|
227
|
-
primary: string;
|
|
228
|
-
info: string;
|
|
229
|
-
success: string;
|
|
230
|
-
warning: string;
|
|
231
|
-
error: string;
|
|
232
|
-
};
|
|
233
|
-
readonly chart: {
|
|
234
|
-
violet: string[];
|
|
235
|
-
blue: string[];
|
|
236
|
-
green: string[];
|
|
237
|
-
yellow: string[];
|
|
238
|
-
red: string[];
|
|
239
|
-
};
|
|
240
|
-
readonly action: {
|
|
241
|
-
hoverOpacity: number;
|
|
242
|
-
disabledOpacity: number;
|
|
243
|
-
};
|
|
106
|
+
export declare const COMMON: {
|
|
107
|
+
common: {
|
|
108
|
+
black: string;
|
|
109
|
+
white: string;
|
|
244
110
|
};
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
readonly background: string;
|
|
258
|
-
readonly header: string;
|
|
259
|
-
};
|
|
260
|
-
readonly divider: string;
|
|
261
|
-
readonly grid: {
|
|
262
|
-
readonly sectionHeader: "#29313A";
|
|
263
|
-
readonly divider: "#3E464F";
|
|
264
|
-
readonly rowHover: "#1F262F";
|
|
265
|
-
};
|
|
266
|
-
readonly common: {
|
|
267
|
-
black: string;
|
|
268
|
-
white: string;
|
|
269
|
-
};
|
|
270
|
-
readonly primary: {
|
|
271
|
-
lighter: string;
|
|
272
|
-
light: string;
|
|
273
|
-
main: string;
|
|
274
|
-
dark: string;
|
|
275
|
-
darker: string;
|
|
276
|
-
contrastText: string;
|
|
277
|
-
};
|
|
278
|
-
readonly state: {
|
|
279
|
-
info: {
|
|
280
|
-
normal: string;
|
|
281
|
-
hover: string;
|
|
282
|
-
};
|
|
283
|
-
success: {
|
|
284
|
-
normal: string;
|
|
285
|
-
hover: string;
|
|
286
|
-
};
|
|
287
|
-
error: {
|
|
288
|
-
normal: string;
|
|
289
|
-
hover: string;
|
|
290
|
-
};
|
|
291
|
-
warning: {
|
|
292
|
-
normal: string;
|
|
293
|
-
hover: string;
|
|
294
|
-
};
|
|
295
|
-
skeleton: {
|
|
296
|
-
default: string;
|
|
297
|
-
transition: string;
|
|
298
|
-
};
|
|
299
|
-
};
|
|
300
|
-
readonly patronus: {
|
|
301
|
-
patronusBlue: PatronusColorOptions;
|
|
302
|
-
crayonBlue: PatronusColorOptions;
|
|
303
|
-
middleYellow: PatronusColorOptions;
|
|
304
|
-
acidGreen: PatronusColorOptions;
|
|
305
|
-
grassGreen: PatronusColorOptions;
|
|
306
|
-
desertBeige: PatronusColorOptions;
|
|
307
|
-
turquiBlue: PatronusColorOptions;
|
|
308
|
-
blazeOrange: PatronusColorOptions;
|
|
309
|
-
flameRed: PatronusColorOptions;
|
|
310
|
-
coolGrey: PatronusColorOptions;
|
|
311
|
-
brown: PatronusColorOptions;
|
|
312
|
-
marbleLight: PatronusColorOptions;
|
|
313
|
-
onyx: PatronusColorOptions;
|
|
314
|
-
mint: PatronusColorOptions;
|
|
315
|
-
oxford: PatronusColorOptions;
|
|
316
|
-
};
|
|
317
|
-
readonly opacity: {
|
|
318
|
-
brown: PatronusOpacityOptions;
|
|
319
|
-
mint: PatronusOpacityOptions;
|
|
320
|
-
oxford: PatronusOpacityOptions;
|
|
321
|
-
patronus: PatronusOpacityOptions;
|
|
322
|
-
turqui: PatronusOpacityOptions;
|
|
323
|
-
grass: PatronusOpacityOptions;
|
|
324
|
-
beige: PatronusOpacityOptions;
|
|
325
|
-
orange: PatronusOpacityOptions;
|
|
326
|
-
cool: PatronusOpacityOptions;
|
|
327
|
-
marbel: PatronusOpacityOptions;
|
|
328
|
-
};
|
|
329
|
-
readonly secondary: {
|
|
330
|
-
contrastText: string;
|
|
331
|
-
lighter: string;
|
|
332
|
-
light: string;
|
|
333
|
-
main: string;
|
|
334
|
-
dark: string;
|
|
335
|
-
darker: string;
|
|
336
|
-
};
|
|
337
|
-
readonly info: {
|
|
338
|
-
contrastText: string;
|
|
339
|
-
lighter: string;
|
|
340
|
-
light: string;
|
|
341
|
-
main: string;
|
|
342
|
-
dark: string;
|
|
343
|
-
darker: string;
|
|
344
|
-
opacity: string;
|
|
345
|
-
};
|
|
346
|
-
readonly success: {
|
|
347
|
-
contrastText: string;
|
|
348
|
-
lighter: string;
|
|
349
|
-
light: string;
|
|
350
|
-
main: string;
|
|
351
|
-
dark: string;
|
|
352
|
-
darker: string;
|
|
353
|
-
opacity: string;
|
|
354
|
-
};
|
|
355
|
-
readonly warning: {
|
|
356
|
-
contrastText: string;
|
|
357
|
-
lighter: string;
|
|
358
|
-
light: string;
|
|
359
|
-
main: string;
|
|
360
|
-
dark: string;
|
|
361
|
-
darker: string;
|
|
362
|
-
opacity: string;
|
|
363
|
-
};
|
|
364
|
-
readonly error: {
|
|
365
|
-
contrastText: string;
|
|
366
|
-
lighter: string;
|
|
367
|
-
light: string;
|
|
368
|
-
main: string;
|
|
369
|
-
dark: string;
|
|
370
|
-
darker: string;
|
|
371
|
-
opacity: string;
|
|
111
|
+
primary: {
|
|
112
|
+
lighter: string;
|
|
113
|
+
light: string;
|
|
114
|
+
main: string;
|
|
115
|
+
dark: string;
|
|
116
|
+
darker: string;
|
|
117
|
+
contrastText: string;
|
|
118
|
+
};
|
|
119
|
+
state: {
|
|
120
|
+
info: {
|
|
121
|
+
normal: string;
|
|
122
|
+
hover: string;
|
|
372
123
|
};
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
200: string;
|
|
377
|
-
300: string;
|
|
378
|
-
400: string;
|
|
379
|
-
500: string;
|
|
380
|
-
600: string;
|
|
381
|
-
700: string;
|
|
382
|
-
800: string;
|
|
383
|
-
900: string;
|
|
384
|
-
5008: string;
|
|
385
|
-
50012: string;
|
|
386
|
-
50016: string;
|
|
387
|
-
50024: string;
|
|
388
|
-
50032: string;
|
|
389
|
-
50048: string;
|
|
390
|
-
50056: string;
|
|
391
|
-
50080: string;
|
|
124
|
+
success: {
|
|
125
|
+
normal: string;
|
|
126
|
+
hover: string;
|
|
392
127
|
};
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
success: string;
|
|
397
|
-
warning: string;
|
|
398
|
-
error: string;
|
|
128
|
+
error: {
|
|
129
|
+
normal: string;
|
|
130
|
+
hover: string;
|
|
399
131
|
};
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
green: string[];
|
|
404
|
-
yellow: string[];
|
|
405
|
-
red: string[];
|
|
132
|
+
warning: {
|
|
133
|
+
normal: string;
|
|
134
|
+
hover: string;
|
|
406
135
|
};
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
136
|
+
skeleton: {
|
|
137
|
+
default: string;
|
|
138
|
+
transition: string;
|
|
410
139
|
};
|
|
411
140
|
};
|
|
141
|
+
patronus: {
|
|
142
|
+
brown: PatronusColorOptions;
|
|
143
|
+
patronusBlue: PatronusColorOptions;
|
|
144
|
+
crayonBlue: PatronusColorOptions;
|
|
145
|
+
middleYellow: PatronusColorOptions;
|
|
146
|
+
acidGreen: PatronusColorOptions;
|
|
147
|
+
grassGreen: PatronusColorOptions;
|
|
148
|
+
desertBeige: PatronusColorOptions;
|
|
149
|
+
turquiBlue: PatronusColorOptions;
|
|
150
|
+
blazeOrange: PatronusColorOptions;
|
|
151
|
+
flameRed: PatronusColorOptions;
|
|
152
|
+
coolGrey: PatronusColorOptions;
|
|
153
|
+
marbleLight: PatronusColorOptions;
|
|
154
|
+
onyx: PatronusColorOptions;
|
|
155
|
+
mint: PatronusColorOptions;
|
|
156
|
+
oxford: PatronusColorOptions;
|
|
157
|
+
};
|
|
158
|
+
opacity: {
|
|
159
|
+
patronus: PatronusOpacityOptions;
|
|
160
|
+
turqui: PatronusOpacityOptions;
|
|
161
|
+
grass: PatronusOpacityOptions;
|
|
162
|
+
brown: PatronusOpacityOptions;
|
|
163
|
+
mint: PatronusOpacityOptions;
|
|
164
|
+
oxford: PatronusOpacityOptions;
|
|
165
|
+
beige: PatronusOpacityOptions;
|
|
166
|
+
orange: PatronusOpacityOptions;
|
|
167
|
+
cool: PatronusOpacityOptions;
|
|
168
|
+
marbel: PatronusOpacityOptions;
|
|
169
|
+
};
|
|
170
|
+
secondary: {
|
|
171
|
+
contrastText: string;
|
|
172
|
+
lighter: string;
|
|
173
|
+
light: string;
|
|
174
|
+
main: string;
|
|
175
|
+
dark: string;
|
|
176
|
+
darker: string;
|
|
177
|
+
};
|
|
178
|
+
info: {
|
|
179
|
+
contrastText: string;
|
|
180
|
+
lighter: string;
|
|
181
|
+
light: string;
|
|
182
|
+
main: string;
|
|
183
|
+
dark: string;
|
|
184
|
+
darker: string;
|
|
185
|
+
opacity: string;
|
|
186
|
+
};
|
|
187
|
+
success: {
|
|
188
|
+
contrastText: string;
|
|
189
|
+
lighter: string;
|
|
190
|
+
light: string;
|
|
191
|
+
main: string;
|
|
192
|
+
dark: string;
|
|
193
|
+
darker: string;
|
|
194
|
+
opacity: string;
|
|
195
|
+
};
|
|
196
|
+
warning: {
|
|
197
|
+
contrastText: string;
|
|
198
|
+
lighter: string;
|
|
199
|
+
light: string;
|
|
200
|
+
main: string;
|
|
201
|
+
dark: string;
|
|
202
|
+
darker: string;
|
|
203
|
+
opacity: string;
|
|
204
|
+
};
|
|
205
|
+
error: {
|
|
206
|
+
contrastText: string;
|
|
207
|
+
lighter: string;
|
|
208
|
+
light: string;
|
|
209
|
+
main: string;
|
|
210
|
+
dark: string;
|
|
211
|
+
darker: string;
|
|
212
|
+
opacity: string;
|
|
213
|
+
};
|
|
214
|
+
grey: Color;
|
|
215
|
+
gradients: {
|
|
216
|
+
primary: string;
|
|
217
|
+
info: string;
|
|
218
|
+
success: string;
|
|
219
|
+
warning: string;
|
|
220
|
+
error: string;
|
|
221
|
+
};
|
|
222
|
+
chart: {
|
|
223
|
+
violet: string[];
|
|
224
|
+
blue: string[];
|
|
225
|
+
green: string[];
|
|
226
|
+
yellow: string[];
|
|
227
|
+
red: string[];
|
|
228
|
+
};
|
|
412
229
|
};
|
|
230
|
+
export declare const palette: any;
|
|
413
231
|
export default palette;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { alpha as r } from "@mui/material/styles";
|
|
2
|
-
import { p as a, P as e } from "./palette.
|
|
2
|
+
import { p as a, P as e } from "./palette.287635f2.js";
|
|
3
3
|
const s = a.light.grey[500], o = "#000000", n = (t) => {
|
|
4
4
|
const p = r(t, 0.2), x = r(t, 0.14), $ = r(t, 0.12);
|
|
5
5
|
return [
|
|
@@ -1,122 +1,131 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { createTheme as i } from "@mui/material";
|
|
2
|
+
import "@mui/material/styles";
|
|
3
|
+
import "@mui/material/useMediaQuery";
|
|
4
|
+
import "../utils/getColorPresets.a96a4046.js";
|
|
5
|
+
import "@mui/system";
|
|
6
|
+
import "./defaultThemeOptions.0976e58a.js";
|
|
7
|
+
import "./shadows.e0c009ff.js";
|
|
8
|
+
import "./palette.287635f2.js";
|
|
9
|
+
import { r as t, p as e } from "../utils/getFontValue.88831637.js";
|
|
10
|
+
const n = "Segoe UI, Poppins, sans-serif", g = i(), W = {
|
|
11
|
+
...g.typography,
|
|
12
|
+
fontFamily: n,
|
|
4
13
|
fontWeightRegular: 400,
|
|
5
14
|
fontWeightMedium: 600,
|
|
6
15
|
fontWeightBold: 700,
|
|
7
16
|
h1: {
|
|
8
17
|
fontWeight: 600,
|
|
9
18
|
lineHeight: 1.5,
|
|
10
|
-
...
|
|
19
|
+
...t({ sm: 38, md: 40, lg: 40 })
|
|
11
20
|
},
|
|
12
21
|
h2: {
|
|
13
22
|
fontWeight: 600,
|
|
14
23
|
lineHeight: 1,
|
|
15
|
-
...
|
|
24
|
+
...t({ sm: 40, md: 44, lg: 48 })
|
|
16
25
|
},
|
|
17
26
|
h3: {
|
|
18
27
|
fontWeight: 600,
|
|
19
28
|
lineHeight: 1.5,
|
|
20
|
-
...
|
|
29
|
+
...t({ sm: 30, md: 32, lg: 32 })
|
|
21
30
|
},
|
|
22
31
|
h4: {
|
|
23
32
|
fontWeight: 600,
|
|
24
33
|
lineHeight: 1.5,
|
|
25
|
-
...
|
|
34
|
+
...t({ sm: 20, md: 24, lg: 24 })
|
|
26
35
|
},
|
|
27
36
|
h5: {
|
|
28
37
|
fontWeight: 500,
|
|
29
38
|
lineHeight: "28px",
|
|
30
39
|
letterSpacing: "-0.01em",
|
|
31
|
-
...
|
|
40
|
+
...t({ sm: 22, md: 24, lg: 24 })
|
|
32
41
|
},
|
|
33
42
|
h6: {
|
|
34
43
|
fontWeight: 500,
|
|
35
44
|
lineHeight: "24px",
|
|
36
45
|
letterSpacing: "-0.08em",
|
|
37
|
-
...
|
|
46
|
+
...t({ sm: 18, md: 18, lg: 18 })
|
|
38
47
|
},
|
|
39
48
|
subtitle: {
|
|
40
49
|
fontWeight: 400,
|
|
41
50
|
lineHeight: "20px",
|
|
42
51
|
letterSpacing: "-0.006em",
|
|
43
|
-
...
|
|
52
|
+
...t({ sm: 18, md: 15, lg: 15 })
|
|
44
53
|
},
|
|
45
54
|
subtitleDens: {
|
|
46
55
|
fontWeight: 600,
|
|
47
56
|
lineHeight: "24px",
|
|
48
57
|
letterSpacing: "-0.006em",
|
|
49
|
-
...
|
|
58
|
+
...t({ sm: 18, md: 15, lg: 15 })
|
|
50
59
|
},
|
|
51
60
|
paragraph: {
|
|
52
61
|
fontWeight: 400,
|
|
53
62
|
lineHeight: "16px",
|
|
54
63
|
letterSpacing: "-0.003em",
|
|
55
|
-
...
|
|
64
|
+
...t({ sm: 16, md: 13, lg: 13 })
|
|
56
65
|
},
|
|
57
66
|
paragraphDens: {
|
|
58
67
|
fontWeight: 600,
|
|
59
68
|
lineHeight: "20px",
|
|
60
69
|
letterSpacing: "-0.003em",
|
|
61
|
-
...
|
|
70
|
+
...t({ sm: 16, md: 13, lg: 13 })
|
|
62
71
|
},
|
|
63
72
|
subtitle1: {
|
|
64
73
|
fontWeight: 600,
|
|
65
74
|
lineHeight: 1.5,
|
|
66
|
-
fontSize:
|
|
75
|
+
fontSize: e(14)
|
|
67
76
|
},
|
|
68
77
|
subtitle2: {
|
|
69
78
|
fontWeight: 600,
|
|
70
79
|
lineHeight: 1.5,
|
|
71
|
-
fontSize:
|
|
80
|
+
fontSize: e(12)
|
|
72
81
|
},
|
|
73
82
|
body: {
|
|
74
83
|
fontWeight: 400,
|
|
75
84
|
lineHeight: "16px",
|
|
76
|
-
...
|
|
85
|
+
...t({ sm: 11, md: 11, lg: 11 })
|
|
77
86
|
},
|
|
78
87
|
bodyDens: {
|
|
79
88
|
fontWeight: 600,
|
|
80
89
|
lineHeight: "16px",
|
|
81
|
-
...
|
|
90
|
+
...t({ sm: 14, md: 11, lg: 11 })
|
|
82
91
|
},
|
|
83
92
|
body0: {
|
|
84
93
|
lineHeight: 1.5,
|
|
85
94
|
fontWeight: 400,
|
|
86
|
-
fontSize:
|
|
95
|
+
fontSize: e(16)
|
|
87
96
|
},
|
|
88
97
|
body1: {
|
|
89
98
|
lineHeight: 1.5,
|
|
90
99
|
fontWeight: 400,
|
|
91
|
-
fontSize:
|
|
100
|
+
fontSize: e(14)
|
|
92
101
|
},
|
|
93
102
|
body2: {
|
|
94
103
|
lineHeight: 1.5,
|
|
95
104
|
fontWeight: 400,
|
|
96
|
-
fontSize:
|
|
105
|
+
fontSize: e(12)
|
|
97
106
|
},
|
|
98
107
|
caption: {
|
|
99
108
|
lineHeight: 1.5,
|
|
100
|
-
fontSize:
|
|
109
|
+
fontSize: e(11)
|
|
101
110
|
},
|
|
102
111
|
overline: {
|
|
103
112
|
fontWeight: 700,
|
|
104
113
|
lineHeight: 1.5,
|
|
105
|
-
fontSize:
|
|
114
|
+
fontSize: e(12),
|
|
106
115
|
textTransform: "uppercase"
|
|
107
116
|
},
|
|
108
117
|
button: {
|
|
109
118
|
fontWeight: 700,
|
|
110
119
|
lineHeight: 24 / 14,
|
|
111
|
-
fontSize:
|
|
120
|
+
fontSize: e(14),
|
|
112
121
|
textTransform: "capitalize"
|
|
113
122
|
},
|
|
114
123
|
action: {
|
|
115
124
|
fontWeight: 600,
|
|
116
125
|
lineHeight: "16px",
|
|
117
|
-
...
|
|
126
|
+
...t({ sm: 14, md: 12, lg: 12 })
|
|
118
127
|
}
|
|
119
128
|
};
|
|
120
129
|
export {
|
|
121
|
-
|
|
130
|
+
W as t
|
|
122
131
|
};
|
package/theme/typography.d.ts
CHANGED
|
@@ -235,4 +235,8 @@ export declare const typography: {
|
|
|
235
235
|
readonly fontWeight: 600;
|
|
236
236
|
readonly lineHeight: "16px";
|
|
237
237
|
};
|
|
238
|
+
readonly fontSize: number;
|
|
239
|
+
readonly fontWeightLight: import("csstype").Property.FontWeight | undefined;
|
|
240
|
+
readonly htmlFontSize: number;
|
|
241
|
+
readonly pxToRem: (px: number) => string;
|
|
238
242
|
};
|