@m4l/styles 0.0.3 → 0.0.4
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/config.d.ts +13 -0
- package/index.d.ts +2 -0
- package/index.js +947 -437
- package/package.json +1 -1
- package/theme/defaultThemeOptions.d.ts +1 -2
- package/theme/index.d.ts +4 -5
- package/theme/overrides/M4LExtendedComponents/M4LButton.d.ts +1 -8
- package/theme/overrides/M4LExtendedComponents/M4LIconButton.d.ts +0 -3
- package/theme/overrides/M4LExtendedComponents/M4LImageButton.d.ts +35 -1
- package/theme/overrides/M4LExtendedComponents/M4LNavLink.d.ts +10 -0
- package/theme/overrides/M4LExtendedComponents/M4LPopover.d.ts +5 -1
- package/theme/overrides/M4LExtendedComponents/M4LTypography.d.ts +5 -2
- package/theme/overrides/M4LExtendedComponents/M4LanguagePopover.d.ts +1 -4
- package/theme/overrides/M4LExtendedComponents/M4LoadingButton.d.ts +6 -0
- package/theme/overrides/M4LRHFComponents/M4LRHFAutocomplete.d.ts +10 -0
- package/theme/overrides/M4LRHFComponents/M4LRHFAutocompleteAsync.d.ts +10 -0
- package/theme/overrides/M4LRHFComponents/M4LRHFCheckbox.d.ts +46 -1
- package/theme/overrides/M4LRHFComponents/M4LRHFTextField.d.ts +1 -11
- package/theme/overrides/M4LRHFComponents/M4LRHFTextFieldPassword.d.ts +4 -4
- package/theme/overrides/MUIComponents/Autocomplete.d.ts +0 -3
- package/theme/overrides/MUIComponents/ButtonGroup.d.ts +8 -0
- package/theme/overrides/MUIComponents/Fab.d.ts +1 -1
- package/theme/overrides/MUIComponents/Paper.d.ts +35 -0
- package/theme/overrides/MUIComponents/Typography.d.ts +5 -0
- package/theme/palette.d.ts +167 -93
- package/theme/shadows.d.ts +5 -50
- package/theme/typography.d.ts +146 -18
- package/types/index.d.ts +1 -1
- package/types/types.d.ts +151 -0
- package/utils/getColorPresets.d.ts +9 -105
- package/utils/getColorState.d.ts +15 -0
- package/utils/getFontValue.d.ts +1 -1
- package/utils/index.d.ts +1 -0
package/theme/palette.d.ts
CHANGED
|
@@ -1,69 +1,29 @@
|
|
|
1
1
|
export declare type ColorSchema = 'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'error';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
declare type PatronusColors = "patronusBlue" | "crayonBlue" | "middleYellow" | "acidGreen" | "grassGreen" | "candyRed" | "turquiBlue" | "blazeOrange" | "flameRed" | "coolGrey" | "marbleLight" | "ashBlak";
|
|
3
|
+
declare type PatronusOpacityColors = "patronus" | "turqui" | "grass" | "candy" | "blaze" | "cool" | "marbel";
|
|
4
|
+
interface PatronusColorOptions {
|
|
5
|
+
10: string;
|
|
6
|
+
20: string;
|
|
7
|
+
30: string;
|
|
8
|
+
40: string;
|
|
9
|
+
50: string;
|
|
10
|
+
60: string;
|
|
11
|
+
70: string;
|
|
12
|
+
80: string;
|
|
13
|
+
90: string;
|
|
8
14
|
}
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
sectionHeader: string;
|
|
18
|
-
rowHover: string;
|
|
19
|
-
divider: string;
|
|
20
|
-
}
|
|
21
|
-
declare module '@mui/material/styles/createPalette' {
|
|
22
|
-
interface TypeBackground {
|
|
23
|
-
neutral: string;
|
|
24
|
-
autofill: string;
|
|
25
|
-
header: string;
|
|
26
|
-
}
|
|
27
|
-
interface SimplePaletteColorOptions {
|
|
28
|
-
lighter?: string;
|
|
29
|
-
darker?: string;
|
|
30
|
-
LightSelected?: string;
|
|
31
|
-
LightSelectedHover?: string;
|
|
32
|
-
DarkSelected?: string;
|
|
33
|
-
DarkSelectedHover?: string;
|
|
34
|
-
}
|
|
35
|
-
interface PaletteColor {
|
|
36
|
-
lighter?: string;
|
|
37
|
-
darker?: string;
|
|
38
|
-
LightSelected?: string;
|
|
39
|
-
LightSelectedHover?: string;
|
|
40
|
-
DarkSelected?: string;
|
|
41
|
-
DarkSelectedHover?: string;
|
|
42
|
-
}
|
|
43
|
-
interface Palette {
|
|
44
|
-
gradients?: GradientsPaletteOptions;
|
|
45
|
-
chart: ChartPaletteOptions;
|
|
46
|
-
grid?: GridPaletteOptions;
|
|
47
|
-
}
|
|
48
|
-
interface PaletteOptions {
|
|
49
|
-
gradients?: GradientsPaletteOptions;
|
|
50
|
-
chart?: ChartPaletteOptions;
|
|
51
|
-
grid?: GridPaletteOptions;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
declare module '@mui/material' {
|
|
55
|
-
interface Color {
|
|
56
|
-
0: string;
|
|
57
|
-
500_8: string;
|
|
58
|
-
500_12: string;
|
|
59
|
-
500_16: string;
|
|
60
|
-
500_24: string;
|
|
61
|
-
500_32: string;
|
|
62
|
-
500_48: string;
|
|
63
|
-
500_56: string;
|
|
64
|
-
500_80: string;
|
|
65
|
-
}
|
|
15
|
+
interface PatronusOpacityOptions {
|
|
16
|
+
4: string;
|
|
17
|
+
12: string;
|
|
18
|
+
24: string;
|
|
19
|
+
36: string;
|
|
20
|
+
48: string;
|
|
21
|
+
60: string;
|
|
22
|
+
72: string;
|
|
66
23
|
}
|
|
24
|
+
export declare type PatronusConstantColors = Record<PatronusColors, PatronusColorOptions>;
|
|
25
|
+
export declare const PATRONUSCOLORS: PatronusConstantColors;
|
|
26
|
+
export declare const OPACITYCOLORS: Record<PatronusOpacityColors, PatronusOpacityOptions>;
|
|
67
27
|
export declare const GREY: {
|
|
68
28
|
0: string;
|
|
69
29
|
100: string;
|
|
@@ -84,6 +44,36 @@ export declare const GREY: {
|
|
|
84
44
|
50056: string;
|
|
85
45
|
50080: string;
|
|
86
46
|
};
|
|
47
|
+
export interface StateDefault {
|
|
48
|
+
normal: string;
|
|
49
|
+
hover: string;
|
|
50
|
+
}
|
|
51
|
+
export interface StateSkeleton {
|
|
52
|
+
default: string;
|
|
53
|
+
transition: string;
|
|
54
|
+
}
|
|
55
|
+
export declare const STATEDEFAULT: {
|
|
56
|
+
info: {
|
|
57
|
+
normal: string;
|
|
58
|
+
hover: string;
|
|
59
|
+
};
|
|
60
|
+
success: {
|
|
61
|
+
normal: string;
|
|
62
|
+
hover: string;
|
|
63
|
+
};
|
|
64
|
+
error: {
|
|
65
|
+
normal: string;
|
|
66
|
+
hover: string;
|
|
67
|
+
};
|
|
68
|
+
warning: {
|
|
69
|
+
normal: string;
|
|
70
|
+
hover: string;
|
|
71
|
+
};
|
|
72
|
+
skeleton: {
|
|
73
|
+
default: string;
|
|
74
|
+
transition: string;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
87
77
|
export declare const palette: {
|
|
88
78
|
readonly light: {
|
|
89
79
|
readonly mode: "light";
|
|
@@ -93,21 +83,10 @@ export declare const palette: {
|
|
|
93
83
|
readonly disabled: string;
|
|
94
84
|
};
|
|
95
85
|
readonly background: {
|
|
96
|
-
readonly paper: "#
|
|
97
|
-
readonly default:
|
|
86
|
+
readonly paper: "#fff0";
|
|
87
|
+
readonly default: string;
|
|
98
88
|
readonly neutral: string;
|
|
99
|
-
readonly
|
|
100
|
-
readonly header: "#F6F7F9";
|
|
101
|
-
};
|
|
102
|
-
readonly action: {
|
|
103
|
-
readonly hover: string;
|
|
104
|
-
readonly selected: string;
|
|
105
|
-
readonly disabled: string;
|
|
106
|
-
readonly disabledBackground: string;
|
|
107
|
-
readonly focus: string;
|
|
108
|
-
readonly hoverOpacity: number;
|
|
109
|
-
readonly disabledOpacity: number;
|
|
110
|
-
readonly active: string;
|
|
89
|
+
readonly background: string;
|
|
111
90
|
};
|
|
112
91
|
readonly grid: {
|
|
113
92
|
readonly sectionHeader: "#F6F7F9";
|
|
@@ -119,12 +98,57 @@ export declare const palette: {
|
|
|
119
98
|
white: string;
|
|
120
99
|
};
|
|
121
100
|
readonly primary: {
|
|
122
|
-
contrastText: string;
|
|
123
101
|
lighter: string;
|
|
124
102
|
light: string;
|
|
125
103
|
main: string;
|
|
126
104
|
dark: string;
|
|
127
105
|
darker: string;
|
|
106
|
+
contrastText: string;
|
|
107
|
+
};
|
|
108
|
+
readonly state: {
|
|
109
|
+
info: {
|
|
110
|
+
normal: string;
|
|
111
|
+
hover: string;
|
|
112
|
+
};
|
|
113
|
+
success: {
|
|
114
|
+
normal: string;
|
|
115
|
+
hover: string;
|
|
116
|
+
};
|
|
117
|
+
error: {
|
|
118
|
+
normal: string;
|
|
119
|
+
hover: string;
|
|
120
|
+
};
|
|
121
|
+
warning: {
|
|
122
|
+
normal: string;
|
|
123
|
+
hover: string;
|
|
124
|
+
};
|
|
125
|
+
skeleton: {
|
|
126
|
+
default: string;
|
|
127
|
+
transition: string;
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
readonly patronus: {
|
|
131
|
+
patronusBlue: PatronusColorOptions;
|
|
132
|
+
crayonBlue: PatronusColorOptions;
|
|
133
|
+
middleYellow: PatronusColorOptions;
|
|
134
|
+
acidGreen: PatronusColorOptions;
|
|
135
|
+
grassGreen: PatronusColorOptions;
|
|
136
|
+
candyRed: PatronusColorOptions;
|
|
137
|
+
turquiBlue: PatronusColorOptions;
|
|
138
|
+
blazeOrange: PatronusColorOptions;
|
|
139
|
+
flameRed: PatronusColorOptions;
|
|
140
|
+
coolGrey: PatronusColorOptions;
|
|
141
|
+
marbleLight: PatronusColorOptions;
|
|
142
|
+
ashBlak: PatronusColorOptions;
|
|
143
|
+
};
|
|
144
|
+
readonly opacity: {
|
|
145
|
+
patronus: PatronusOpacityOptions;
|
|
146
|
+
turqui: PatronusOpacityOptions;
|
|
147
|
+
grass: PatronusOpacityOptions;
|
|
148
|
+
candy: PatronusOpacityOptions;
|
|
149
|
+
blaze: PatronusOpacityOptions;
|
|
150
|
+
cool: PatronusOpacityOptions;
|
|
151
|
+
marbel: PatronusOpacityOptions;
|
|
128
152
|
};
|
|
129
153
|
readonly secondary: {
|
|
130
154
|
contrastText: string;
|
|
@@ -141,6 +165,7 @@ export declare const palette: {
|
|
|
141
165
|
main: string;
|
|
142
166
|
dark: string;
|
|
143
167
|
darker: string;
|
|
168
|
+
opacity: string;
|
|
144
169
|
};
|
|
145
170
|
readonly success: {
|
|
146
171
|
contrastText: string;
|
|
@@ -149,6 +174,7 @@ export declare const palette: {
|
|
|
149
174
|
main: string;
|
|
150
175
|
dark: string;
|
|
151
176
|
darker: string;
|
|
177
|
+
opacity: string;
|
|
152
178
|
};
|
|
153
179
|
readonly warning: {
|
|
154
180
|
contrastText: string;
|
|
@@ -157,6 +183,7 @@ export declare const palette: {
|
|
|
157
183
|
main: string;
|
|
158
184
|
dark: string;
|
|
159
185
|
darker: string;
|
|
186
|
+
opacity: string;
|
|
160
187
|
};
|
|
161
188
|
readonly error: {
|
|
162
189
|
contrastText: string;
|
|
@@ -165,6 +192,7 @@ export declare const palette: {
|
|
|
165
192
|
main: string;
|
|
166
193
|
dark: string;
|
|
167
194
|
darker: string;
|
|
195
|
+
opacity: string;
|
|
168
196
|
};
|
|
169
197
|
readonly grey: {
|
|
170
198
|
0: string;
|
|
@@ -201,30 +229,23 @@ export declare const palette: {
|
|
|
201
229
|
red: string[];
|
|
202
230
|
};
|
|
203
231
|
readonly divider: string;
|
|
232
|
+
readonly action: {
|
|
233
|
+
hoverOpacity: number;
|
|
234
|
+
disabledOpacity: number;
|
|
235
|
+
};
|
|
204
236
|
};
|
|
205
237
|
readonly dark: {
|
|
206
238
|
readonly mode: "dark";
|
|
207
239
|
readonly text: {
|
|
208
|
-
readonly primary:
|
|
240
|
+
readonly primary: string;
|
|
209
241
|
readonly secondary: string;
|
|
210
242
|
readonly disabled: string;
|
|
211
243
|
};
|
|
212
244
|
readonly background: {
|
|
213
|
-
readonly paper:
|
|
245
|
+
readonly paper: "#fff0";
|
|
214
246
|
readonly default: string;
|
|
215
247
|
readonly neutral: string;
|
|
216
|
-
readonly
|
|
217
|
-
readonly header: "#29313A";
|
|
218
|
-
};
|
|
219
|
-
readonly action: {
|
|
220
|
-
readonly hover: string;
|
|
221
|
-
readonly selected: string;
|
|
222
|
-
readonly disabled: string;
|
|
223
|
-
readonly disabledBackground: string;
|
|
224
|
-
readonly focus: string;
|
|
225
|
-
readonly hoverOpacity: number;
|
|
226
|
-
readonly disabledOpacity: number;
|
|
227
|
-
readonly active: string;
|
|
248
|
+
readonly background: string;
|
|
228
249
|
};
|
|
229
250
|
readonly grid: {
|
|
230
251
|
readonly sectionHeader: "#29313A";
|
|
@@ -236,12 +257,57 @@ export declare const palette: {
|
|
|
236
257
|
white: string;
|
|
237
258
|
};
|
|
238
259
|
readonly primary: {
|
|
239
|
-
contrastText: string;
|
|
240
260
|
lighter: string;
|
|
241
261
|
light: string;
|
|
242
262
|
main: string;
|
|
243
263
|
dark: string;
|
|
244
264
|
darker: string;
|
|
265
|
+
contrastText: string;
|
|
266
|
+
};
|
|
267
|
+
readonly state: {
|
|
268
|
+
info: {
|
|
269
|
+
normal: string;
|
|
270
|
+
hover: string;
|
|
271
|
+
};
|
|
272
|
+
success: {
|
|
273
|
+
normal: string;
|
|
274
|
+
hover: string;
|
|
275
|
+
};
|
|
276
|
+
error: {
|
|
277
|
+
normal: string;
|
|
278
|
+
hover: string;
|
|
279
|
+
};
|
|
280
|
+
warning: {
|
|
281
|
+
normal: string;
|
|
282
|
+
hover: string;
|
|
283
|
+
};
|
|
284
|
+
skeleton: {
|
|
285
|
+
default: string;
|
|
286
|
+
transition: string;
|
|
287
|
+
};
|
|
288
|
+
};
|
|
289
|
+
readonly patronus: {
|
|
290
|
+
patronusBlue: PatronusColorOptions;
|
|
291
|
+
crayonBlue: PatronusColorOptions;
|
|
292
|
+
middleYellow: PatronusColorOptions;
|
|
293
|
+
acidGreen: PatronusColorOptions;
|
|
294
|
+
grassGreen: PatronusColorOptions;
|
|
295
|
+
candyRed: PatronusColorOptions;
|
|
296
|
+
turquiBlue: PatronusColorOptions;
|
|
297
|
+
blazeOrange: PatronusColorOptions;
|
|
298
|
+
flameRed: PatronusColorOptions;
|
|
299
|
+
coolGrey: PatronusColorOptions;
|
|
300
|
+
marbleLight: PatronusColorOptions;
|
|
301
|
+
ashBlak: PatronusColorOptions;
|
|
302
|
+
};
|
|
303
|
+
readonly opacity: {
|
|
304
|
+
patronus: PatronusOpacityOptions;
|
|
305
|
+
turqui: PatronusOpacityOptions;
|
|
306
|
+
grass: PatronusOpacityOptions;
|
|
307
|
+
candy: PatronusOpacityOptions;
|
|
308
|
+
blaze: PatronusOpacityOptions;
|
|
309
|
+
cool: PatronusOpacityOptions;
|
|
310
|
+
marbel: PatronusOpacityOptions;
|
|
245
311
|
};
|
|
246
312
|
readonly secondary: {
|
|
247
313
|
contrastText: string;
|
|
@@ -258,6 +324,7 @@ export declare const palette: {
|
|
|
258
324
|
main: string;
|
|
259
325
|
dark: string;
|
|
260
326
|
darker: string;
|
|
327
|
+
opacity: string;
|
|
261
328
|
};
|
|
262
329
|
readonly success: {
|
|
263
330
|
contrastText: string;
|
|
@@ -266,6 +333,7 @@ export declare const palette: {
|
|
|
266
333
|
main: string;
|
|
267
334
|
dark: string;
|
|
268
335
|
darker: string;
|
|
336
|
+
opacity: string;
|
|
269
337
|
};
|
|
270
338
|
readonly warning: {
|
|
271
339
|
contrastText: string;
|
|
@@ -274,6 +342,7 @@ export declare const palette: {
|
|
|
274
342
|
main: string;
|
|
275
343
|
dark: string;
|
|
276
344
|
darker: string;
|
|
345
|
+
opacity: string;
|
|
277
346
|
};
|
|
278
347
|
readonly error: {
|
|
279
348
|
contrastText: string;
|
|
@@ -282,6 +351,7 @@ export declare const palette: {
|
|
|
282
351
|
main: string;
|
|
283
352
|
dark: string;
|
|
284
353
|
darker: string;
|
|
354
|
+
opacity: string;
|
|
285
355
|
};
|
|
286
356
|
readonly grey: {
|
|
287
357
|
0: string;
|
|
@@ -318,6 +388,10 @@ export declare const palette: {
|
|
|
318
388
|
red: string[];
|
|
319
389
|
};
|
|
320
390
|
readonly divider: string;
|
|
391
|
+
readonly action: {
|
|
392
|
+
hoverOpacity: number;
|
|
393
|
+
disabledOpacity: number;
|
|
394
|
+
};
|
|
321
395
|
};
|
|
322
396
|
};
|
|
323
397
|
export default palette;
|
package/theme/shadows.d.ts
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import { Shadows } from '@mui/material/styles/shadows';
|
|
2
2
|
export interface CustomShadowOptions {
|
|
3
3
|
z1: string;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
z24: string;
|
|
9
|
-
primary: string;
|
|
4
|
+
z2: string;
|
|
5
|
+
z3: string;
|
|
6
|
+
z4: string;
|
|
7
|
+
primary?: string;
|
|
10
8
|
secondary: string;
|
|
11
9
|
info: string;
|
|
12
10
|
success: string;
|
|
@@ -16,50 +14,7 @@ export interface CustomShadowOptions {
|
|
|
16
14
|
dialog: string;
|
|
17
15
|
dropdown: string;
|
|
18
16
|
}
|
|
19
|
-
declare
|
|
20
|
-
interface Theme {
|
|
21
|
-
customShadows: CustomShadowOptions;
|
|
22
|
-
}
|
|
23
|
-
interface ThemeOptions {
|
|
24
|
-
customShadows?: CustomShadowOptions;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
export declare const customShadows: {
|
|
28
|
-
light: {
|
|
29
|
-
z1: string;
|
|
30
|
-
z8: string;
|
|
31
|
-
z12: string;
|
|
32
|
-
z16: string;
|
|
33
|
-
z20: string;
|
|
34
|
-
z24: string;
|
|
35
|
-
primary: string;
|
|
36
|
-
info: string;
|
|
37
|
-
secondary: string;
|
|
38
|
-
success: string;
|
|
39
|
-
warning: string;
|
|
40
|
-
error: string;
|
|
41
|
-
card: string;
|
|
42
|
-
dialog: string;
|
|
43
|
-
dropdown: string;
|
|
44
|
-
};
|
|
45
|
-
dark: {
|
|
46
|
-
z1: string;
|
|
47
|
-
z8: string;
|
|
48
|
-
z12: string;
|
|
49
|
-
z16: string;
|
|
50
|
-
z20: string;
|
|
51
|
-
z24: string;
|
|
52
|
-
primary: string;
|
|
53
|
-
info: string;
|
|
54
|
-
secondary: string;
|
|
55
|
-
success: string;
|
|
56
|
-
warning: string;
|
|
57
|
-
error: string;
|
|
58
|
-
card: string;
|
|
59
|
-
dialog: string;
|
|
60
|
-
dropdown: string;
|
|
61
|
-
};
|
|
62
|
-
};
|
|
17
|
+
export declare const createCustomShadows: (mode: 'light' | 'dark') => CustomShadowOptions;
|
|
63
18
|
export declare const shadows: {
|
|
64
19
|
light: Shadows;
|
|
65
20
|
dark: Shadows;
|
package/theme/typography.d.ts
CHANGED
|
@@ -1,10 +1,54 @@
|
|
|
1
|
+
export interface TypographyVariants {
|
|
2
|
+
subtitle: {
|
|
3
|
+
fontSize: string;
|
|
4
|
+
fontWeight: number;
|
|
5
|
+
lineHeight: string;
|
|
6
|
+
letterSpacing: string;
|
|
7
|
+
};
|
|
8
|
+
subtitleDens: {
|
|
9
|
+
fontSize: string;
|
|
10
|
+
fontWeight: number;
|
|
11
|
+
lineHeight: string;
|
|
12
|
+
letterSpacing: string;
|
|
13
|
+
};
|
|
14
|
+
paragraph: {
|
|
15
|
+
fontSize: string;
|
|
16
|
+
fontWeight: number;
|
|
17
|
+
lineHeight: string;
|
|
18
|
+
letterSpacing: string;
|
|
19
|
+
};
|
|
20
|
+
paragraphDens: {
|
|
21
|
+
fontSize: string;
|
|
22
|
+
fontWeight: number;
|
|
23
|
+
lineHeight: string;
|
|
24
|
+
letterSpacing: string;
|
|
25
|
+
};
|
|
26
|
+
body: {
|
|
27
|
+
fontSize: string;
|
|
28
|
+
fontWeight: number;
|
|
29
|
+
lineHeight: string;
|
|
30
|
+
letterSpacing: string;
|
|
31
|
+
};
|
|
32
|
+
bodyDens: {
|
|
33
|
+
fontSize: string;
|
|
34
|
+
fontWeight: number;
|
|
35
|
+
lineHeight: string;
|
|
36
|
+
letterSpacing: string;
|
|
37
|
+
};
|
|
38
|
+
action: {
|
|
39
|
+
fontSize: string;
|
|
40
|
+
fontWeight: number;
|
|
41
|
+
lineHeight: string;
|
|
42
|
+
letterSpacing: string;
|
|
43
|
+
};
|
|
44
|
+
}
|
|
1
45
|
export declare const typography: {
|
|
2
|
-
readonly fontFamily: "
|
|
46
|
+
readonly fontFamily: "Poppins, sans-serif";
|
|
3
47
|
readonly fontWeightRegular: 400;
|
|
4
48
|
readonly fontWeightMedium: 600;
|
|
5
49
|
readonly fontWeightBold: 700;
|
|
6
50
|
readonly h1: {
|
|
7
|
-
readonly '@media (min-width:
|
|
51
|
+
readonly '@media (min-width:0px)': {
|
|
8
52
|
fontSize: string;
|
|
9
53
|
};
|
|
10
54
|
readonly '@media (min-width:900px)': {
|
|
@@ -14,12 +58,10 @@ export declare const typography: {
|
|
|
14
58
|
fontSize: string;
|
|
15
59
|
};
|
|
16
60
|
readonly fontWeight: 700;
|
|
17
|
-
readonly lineHeight:
|
|
18
|
-
readonly fontSize: string;
|
|
19
|
-
readonly letterSpacing: 2;
|
|
61
|
+
readonly lineHeight: 1.5;
|
|
20
62
|
};
|
|
21
63
|
readonly h2: {
|
|
22
|
-
readonly '@media (min-width:
|
|
64
|
+
readonly '@media (min-width:0px)': {
|
|
23
65
|
fontSize: string;
|
|
24
66
|
};
|
|
25
67
|
readonly '@media (min-width:900px)': {
|
|
@@ -29,11 +71,10 @@ export declare const typography: {
|
|
|
29
71
|
fontSize: string;
|
|
30
72
|
};
|
|
31
73
|
readonly fontWeight: 700;
|
|
32
|
-
readonly lineHeight:
|
|
33
|
-
readonly fontSize: string;
|
|
74
|
+
readonly lineHeight: 1;
|
|
34
75
|
};
|
|
35
76
|
readonly h3: {
|
|
36
|
-
readonly '@media (min-width:
|
|
77
|
+
readonly '@media (min-width:0px)': {
|
|
37
78
|
fontSize: string;
|
|
38
79
|
};
|
|
39
80
|
readonly '@media (min-width:900px)': {
|
|
@@ -42,12 +83,11 @@ export declare const typography: {
|
|
|
42
83
|
readonly '@media (min-width:1200px)': {
|
|
43
84
|
fontSize: string;
|
|
44
85
|
};
|
|
45
|
-
readonly fontWeight:
|
|
86
|
+
readonly fontWeight: 600;
|
|
46
87
|
readonly lineHeight: 1.5;
|
|
47
|
-
readonly fontSize: string;
|
|
48
88
|
};
|
|
49
89
|
readonly h4: {
|
|
50
|
-
readonly '@media (min-width:
|
|
90
|
+
readonly '@media (min-width:0px)': {
|
|
51
91
|
fontSize: string;
|
|
52
92
|
};
|
|
53
93
|
readonly '@media (min-width:900px)': {
|
|
@@ -58,10 +98,9 @@ export declare const typography: {
|
|
|
58
98
|
};
|
|
59
99
|
readonly fontWeight: 700;
|
|
60
100
|
readonly lineHeight: 1.5;
|
|
61
|
-
readonly fontSize: string;
|
|
62
101
|
};
|
|
63
102
|
readonly h5: {
|
|
64
|
-
readonly '@media (min-width:
|
|
103
|
+
readonly '@media (min-width:0px)': {
|
|
65
104
|
fontSize: string;
|
|
66
105
|
};
|
|
67
106
|
readonly '@media (min-width:900px)': {
|
|
@@ -70,12 +109,11 @@ export declare const typography: {
|
|
|
70
109
|
readonly '@media (min-width:1200px)': {
|
|
71
110
|
fontSize: string;
|
|
72
111
|
};
|
|
73
|
-
readonly fontWeight:
|
|
112
|
+
readonly fontWeight: 600;
|
|
74
113
|
readonly lineHeight: 1.5;
|
|
75
|
-
readonly fontSize: string;
|
|
76
114
|
};
|
|
77
115
|
readonly h6: {
|
|
78
|
-
readonly '@media (min-width:
|
|
116
|
+
readonly '@media (min-width:0px)': {
|
|
79
117
|
fontSize: string;
|
|
80
118
|
};
|
|
81
119
|
readonly '@media (min-width:900px)': {
|
|
@@ -86,7 +124,58 @@ export declare const typography: {
|
|
|
86
124
|
};
|
|
87
125
|
readonly fontWeight: 700;
|
|
88
126
|
readonly lineHeight: number;
|
|
89
|
-
|
|
127
|
+
};
|
|
128
|
+
readonly subtitle: {
|
|
129
|
+
readonly '@media (min-width:0px)': {
|
|
130
|
+
fontSize: string;
|
|
131
|
+
};
|
|
132
|
+
readonly '@media (min-width:900px)': {
|
|
133
|
+
fontSize: string;
|
|
134
|
+
};
|
|
135
|
+
readonly '@media (min-width:1200px)': {
|
|
136
|
+
fontSize: string;
|
|
137
|
+
};
|
|
138
|
+
readonly fontWeight: 400;
|
|
139
|
+
readonly lineHeight: 1.5;
|
|
140
|
+
};
|
|
141
|
+
readonly subtitleDens: {
|
|
142
|
+
readonly '@media (min-width:0px)': {
|
|
143
|
+
fontSize: string;
|
|
144
|
+
};
|
|
145
|
+
readonly '@media (min-width:900px)': {
|
|
146
|
+
fontSize: string;
|
|
147
|
+
};
|
|
148
|
+
readonly '@media (min-width:1200px)': {
|
|
149
|
+
fontSize: string;
|
|
150
|
+
};
|
|
151
|
+
readonly fontWeight: 700;
|
|
152
|
+
readonly lineHeight: 1.5;
|
|
153
|
+
};
|
|
154
|
+
readonly paragraph: {
|
|
155
|
+
readonly '@media (min-width:0px)': {
|
|
156
|
+
fontSize: string;
|
|
157
|
+
};
|
|
158
|
+
readonly '@media (min-width:900px)': {
|
|
159
|
+
fontSize: string;
|
|
160
|
+
};
|
|
161
|
+
readonly '@media (min-width:1200px)': {
|
|
162
|
+
fontSize: string;
|
|
163
|
+
};
|
|
164
|
+
readonly fontWeight: 400;
|
|
165
|
+
readonly lineHeight: 1.429;
|
|
166
|
+
};
|
|
167
|
+
readonly paragraphDens: {
|
|
168
|
+
readonly '@media (min-width:0px)': {
|
|
169
|
+
fontSize: string;
|
|
170
|
+
};
|
|
171
|
+
readonly '@media (min-width:900px)': {
|
|
172
|
+
fontSize: string;
|
|
173
|
+
};
|
|
174
|
+
readonly '@media (min-width:1200px)': {
|
|
175
|
+
fontSize: string;
|
|
176
|
+
};
|
|
177
|
+
readonly fontWeight: 600;
|
|
178
|
+
readonly lineHeight: 1.429;
|
|
90
179
|
};
|
|
91
180
|
readonly subtitle1: {
|
|
92
181
|
readonly fontWeight: 600;
|
|
@@ -98,6 +187,32 @@ export declare const typography: {
|
|
|
98
187
|
readonly lineHeight: 1.5;
|
|
99
188
|
readonly fontSize: string;
|
|
100
189
|
};
|
|
190
|
+
readonly body: {
|
|
191
|
+
readonly '@media (min-width:0px)': {
|
|
192
|
+
fontSize: string;
|
|
193
|
+
};
|
|
194
|
+
readonly '@media (min-width:900px)': {
|
|
195
|
+
fontSize: string;
|
|
196
|
+
};
|
|
197
|
+
readonly '@media (min-width:1200px)': {
|
|
198
|
+
fontSize: string;
|
|
199
|
+
};
|
|
200
|
+
readonly fontWeight: 400;
|
|
201
|
+
readonly lineHeight: 1.143;
|
|
202
|
+
};
|
|
203
|
+
readonly bodyDens: {
|
|
204
|
+
readonly '@media (min-width:0px)': {
|
|
205
|
+
fontSize: string;
|
|
206
|
+
};
|
|
207
|
+
readonly '@media (min-width:900px)': {
|
|
208
|
+
fontSize: string;
|
|
209
|
+
};
|
|
210
|
+
readonly '@media (min-width:1200px)': {
|
|
211
|
+
fontSize: string;
|
|
212
|
+
};
|
|
213
|
+
readonly fontWeight: 700;
|
|
214
|
+
readonly lineHeight: 1.143;
|
|
215
|
+
};
|
|
101
216
|
readonly body0: {
|
|
102
217
|
readonly lineHeight: 1.5;
|
|
103
218
|
readonly fontWeight: 400;
|
|
@@ -129,4 +244,17 @@ export declare const typography: {
|
|
|
129
244
|
readonly fontSize: string;
|
|
130
245
|
readonly textTransform: "capitalize";
|
|
131
246
|
};
|
|
247
|
+
readonly action: {
|
|
248
|
+
readonly '@media (min-width:0px)': {
|
|
249
|
+
fontSize: string;
|
|
250
|
+
};
|
|
251
|
+
readonly '@media (min-width:900px)': {
|
|
252
|
+
fontSize: string;
|
|
253
|
+
};
|
|
254
|
+
readonly '@media (min-width:1200px)': {
|
|
255
|
+
fontSize: string;
|
|
256
|
+
};
|
|
257
|
+
readonly fontWeight: 500;
|
|
258
|
+
readonly lineHeight: 1.667;
|
|
259
|
+
};
|
|
132
260
|
};
|
package/types/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from './types.d';
|