@m4l/styles 7.1.18 → 7.1.20
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 +49 -33
- package/package.json +1 -1
- package/theme/index.d.ts +1 -1
- package/theme/sizes/index.d.ts +1 -0
- package/theme/typography/baseLineHeight.js +3 -3
- package/theme/typography/index.d.ts +7 -0
- package/theme/typography/index.js +1 -0
- package/theme/typography/types.d.ts +8 -2
- package/theme/typography/types.js +1 -0
- package/theme/typography/typographySizes.js +86 -86
- package/theme/{typography.d.ts → typographyOld.d.ts} +1 -20
- package/theme/{typography.js → typographyOld.js} +10 -10
- package/utils/getPaletteByPreset.js +1 -1
- package/utils/getUserThemeOptions.js +1 -1
package/index.js
CHANGED
|
@@ -1,39 +1,55 @@
|
|
|
1
|
-
import { D as
|
|
1
|
+
import { D as e, g as s, m as a } from "./config.js";
|
|
2
2
|
import { c as p, s as m } from "./theme/shadows.js";
|
|
3
|
-
import { f as
|
|
4
|
-
import { B as
|
|
5
|
-
import { B as
|
|
6
|
-
import { C as
|
|
7
|
-
import { G as
|
|
8
|
-
import { p as
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
3
|
+
import { f as S } from "./theme/overrides/index.js";
|
|
4
|
+
import { B as x } from "./theme/palette/baseColors.js";
|
|
5
|
+
import { B as O } from "./theme/palette/baseOpacityColors.js";
|
|
6
|
+
import { C as P } from "./theme/palette/commonColors.js";
|
|
7
|
+
import { G as R } from "./theme/palette/greyPalette.js";
|
|
8
|
+
import { p as A } from "./theme/palette/presetColors.js";
|
|
9
|
+
import { B as g } from "./theme/typography/baseFontSize.js";
|
|
10
|
+
import { B as l } from "./theme/typography/baseLetterSpacing.js";
|
|
11
|
+
import { B as L } from "./theme/typography/baseLineHeight.js";
|
|
12
|
+
import { B as Y } from "./theme/typography/baseWeight.js";
|
|
13
|
+
import { T as u } from "./theme/typography/typography.js";
|
|
14
|
+
import { a as H, T as N } from "./theme/typography/typographySizes.js";
|
|
15
|
+
import { t as M } from "./theme/typographyOld.js";
|
|
16
|
+
import { P as F, a as v } from "./theme/sizes/pointerQr.js";
|
|
17
|
+
import { u as U } from "./utils/useResponsive.js";
|
|
18
|
+
import { D as w, d as z, g as K } from "./utils/getColorPresets.js";
|
|
19
|
+
import { p as b, r as k, a as V } from "./utils/getFontValue.js";
|
|
20
|
+
import { g as j } from "./utils/getColorState.js";
|
|
21
|
+
import { g as J } from "./utils/getPaletteByPreset.js";
|
|
22
|
+
import { g as $ } from "./utils/getUserThemeOptions.js";
|
|
16
23
|
export {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
L as
|
|
21
|
-
|
|
22
|
-
|
|
24
|
+
x as BASE_COLORS,
|
|
25
|
+
g as BASE_FONT_SIZE,
|
|
26
|
+
l as BASE_LETTER_SPACING,
|
|
27
|
+
L as BASE_LINE_HEIGHT,
|
|
28
|
+
O as BASE_OPACITY_COLORS,
|
|
29
|
+
Y as BASE_WEIGHT,
|
|
30
|
+
P as COMMON_COLORS,
|
|
31
|
+
w as DEFAULT_PRESET,
|
|
32
|
+
e as DEFAULT_SIZE,
|
|
33
|
+
R as GREY_PALETTE,
|
|
34
|
+
F as POINTER_QR_DESKTOP_SIZES,
|
|
35
|
+
v as POINTER_QR_MOBILE_SIZES,
|
|
36
|
+
u as TYPOGRAPHY,
|
|
37
|
+
H as TYPOGRAPHY_SIZES_DESKTOP,
|
|
38
|
+
N as TYPOGRAPHY_SIZES_MOBILE,
|
|
23
39
|
p as createCustomShadows,
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
40
|
+
z as defaultPresetColors,
|
|
41
|
+
S as fnComponentsOverrides,
|
|
42
|
+
K as getColorPresets,
|
|
43
|
+
j as getColorState,
|
|
44
|
+
J as getPaletteByPreset,
|
|
45
|
+
$ as getUserThemeOptions,
|
|
30
46
|
s as globalRemSize,
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
47
|
+
a as muiBreakpointsValues,
|
|
48
|
+
A as presetsOptionsMainColor,
|
|
49
|
+
b as pxToRem,
|
|
50
|
+
k as remToPx,
|
|
51
|
+
V as responsiveFontSizes,
|
|
36
52
|
m as shadows,
|
|
37
|
-
|
|
38
|
-
|
|
53
|
+
M as typographyOld,
|
|
54
|
+
U as useResponsive
|
|
39
55
|
};
|
package/package.json
CHANGED
package/theme/index.d.ts
CHANGED
|
@@ -2,6 +2,6 @@ export type { CustomShadowOptions } from './shadows';
|
|
|
2
2
|
export { shadows, createCustomShadows } from './shadows';
|
|
3
3
|
export * from './palette';
|
|
4
4
|
export * from './typography';
|
|
5
|
-
export
|
|
5
|
+
export * from './typographyOld';
|
|
6
6
|
export * from './sizes';
|
|
7
7
|
export { fnComponentsOverrides } from './overrides';
|
package/theme/sizes/index.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -71,7 +71,7 @@ export interface BaseLetterSpacing {
|
|
|
71
71
|
export interface FontProperties {
|
|
72
72
|
fontSize: string;
|
|
73
73
|
lineHeight: string;
|
|
74
|
-
|
|
74
|
+
fontWeight: number;
|
|
75
75
|
letterSpacing: string;
|
|
76
76
|
}
|
|
77
77
|
/**
|
|
@@ -92,7 +92,7 @@ export interface BaseLineHeight {
|
|
|
92
92
|
lh4: string;
|
|
93
93
|
lh5: string;
|
|
94
94
|
lh6: string;
|
|
95
|
-
|
|
95
|
+
normal: string;
|
|
96
96
|
}
|
|
97
97
|
/**
|
|
98
98
|
* Representa el conjunto de opciones predefinidas para asginar los grosores de texto en la aplicación web.
|
|
@@ -112,3 +112,9 @@ export interface Typography {
|
|
|
112
112
|
weight: BaseWeight;
|
|
113
113
|
letterSpacing: string;
|
|
114
114
|
}
|
|
115
|
+
export type FontProps = {
|
|
116
|
+
fontSize: string;
|
|
117
|
+
fontWeight: number;
|
|
118
|
+
lineHeight: string;
|
|
119
|
+
letterSpacing: string;
|
|
120
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,259 +1,259 @@
|
|
|
1
1
|
import { B as e } from "./baseFontSize.js";
|
|
2
2
|
import { B as t } from "./baseLetterSpacing.js";
|
|
3
|
-
import { B as
|
|
4
|
-
import { B as
|
|
5
|
-
const
|
|
3
|
+
import { B as n } from "./baseLineHeight.js";
|
|
4
|
+
import { B as i } from "./baseWeight.js";
|
|
5
|
+
const a = {
|
|
6
6
|
small: {
|
|
7
7
|
h1: {
|
|
8
8
|
fontSize: e.pt42,
|
|
9
|
-
|
|
10
|
-
lineHeight:
|
|
9
|
+
fontWeight: i.dens,
|
|
10
|
+
lineHeight: n.normal,
|
|
11
11
|
letterSpacing: t["0.5"]
|
|
12
12
|
},
|
|
13
13
|
h2: {
|
|
14
14
|
fontSize: e.pt32,
|
|
15
|
-
|
|
16
|
-
lineHeight:
|
|
15
|
+
fontWeight: i.dens,
|
|
16
|
+
lineHeight: n.normal,
|
|
17
17
|
letterSpacing: t["0.5"]
|
|
18
18
|
},
|
|
19
19
|
h3: {
|
|
20
20
|
fontSize: e.pt26,
|
|
21
|
-
|
|
22
|
-
lineHeight:
|
|
21
|
+
fontWeight: i.dens,
|
|
22
|
+
lineHeight: n.normal,
|
|
23
23
|
letterSpacing: t["0.5"]
|
|
24
24
|
},
|
|
25
25
|
h5: {
|
|
26
26
|
fontSize: e.pt20,
|
|
27
|
-
|
|
28
|
-
lineHeight:
|
|
27
|
+
fontWeight: i.dens,
|
|
28
|
+
lineHeight: n.normal,
|
|
29
29
|
letterSpacing: t["0.5"]
|
|
30
30
|
},
|
|
31
31
|
subtitle: {
|
|
32
32
|
fontSize: e.pt17,
|
|
33
|
-
|
|
34
|
-
lineHeight:
|
|
33
|
+
fontWeight: i.regular,
|
|
34
|
+
lineHeight: n.normal,
|
|
35
35
|
letterSpacing: t["0.5"]
|
|
36
36
|
},
|
|
37
37
|
subtitleDens: {
|
|
38
38
|
fontSize: e.pt17,
|
|
39
|
-
|
|
40
|
-
lineHeight:
|
|
39
|
+
fontWeight: i.dens,
|
|
40
|
+
lineHeight: n.normal,
|
|
41
41
|
letterSpacing: t["0.5"]
|
|
42
42
|
},
|
|
43
43
|
paragraph: {
|
|
44
44
|
fontSize: e.pt15,
|
|
45
|
-
|
|
46
|
-
lineHeight:
|
|
45
|
+
fontWeight: i.regular,
|
|
46
|
+
lineHeight: n.normal,
|
|
47
47
|
letterSpacing: t["0.5"]
|
|
48
48
|
},
|
|
49
49
|
paragraphDens: {
|
|
50
50
|
fontSize: e.pt15,
|
|
51
|
-
|
|
52
|
-
lineHeight:
|
|
51
|
+
fontWeight: i.dens,
|
|
52
|
+
lineHeight: n.normal,
|
|
53
53
|
letterSpacing: t["0.5"]
|
|
54
54
|
},
|
|
55
55
|
body: {
|
|
56
56
|
fontSize: e.pt13,
|
|
57
|
-
|
|
58
|
-
lineHeight:
|
|
57
|
+
fontWeight: i.regular,
|
|
58
|
+
lineHeight: n.lh3,
|
|
59
59
|
letterSpacing: t["0.5"]
|
|
60
60
|
},
|
|
61
61
|
bodyDens: {
|
|
62
62
|
fontSize: e.pt13,
|
|
63
|
-
|
|
64
|
-
lineHeight:
|
|
63
|
+
fontWeight: i.dens,
|
|
64
|
+
lineHeight: n.lh3,
|
|
65
65
|
letterSpacing: t["0.5"]
|
|
66
66
|
}
|
|
67
67
|
},
|
|
68
68
|
medium: {
|
|
69
69
|
h1: {
|
|
70
70
|
fontSize: e.pt44,
|
|
71
|
-
|
|
72
|
-
lineHeight:
|
|
71
|
+
fontWeight: i.dens,
|
|
72
|
+
lineHeight: n.normal,
|
|
73
73
|
letterSpacing: t["0.5"]
|
|
74
74
|
},
|
|
75
75
|
h2: {
|
|
76
76
|
fontSize: e.pt32,
|
|
77
|
-
|
|
78
|
-
lineHeight:
|
|
77
|
+
fontWeight: i.dens,
|
|
78
|
+
lineHeight: n.normal,
|
|
79
79
|
letterSpacing: t["0.5"]
|
|
80
80
|
},
|
|
81
81
|
h3: {
|
|
82
82
|
fontSize: e.pt28,
|
|
83
|
-
|
|
84
|
-
lineHeight:
|
|
83
|
+
fontWeight: i.dens,
|
|
84
|
+
lineHeight: n.normal,
|
|
85
85
|
letterSpacing: t["0.5"]
|
|
86
86
|
},
|
|
87
87
|
h5: {
|
|
88
88
|
fontSize: e.pt20,
|
|
89
|
-
|
|
90
|
-
lineHeight:
|
|
89
|
+
fontWeight: i.dens,
|
|
90
|
+
lineHeight: n.normal,
|
|
91
91
|
letterSpacing: t["0.5"]
|
|
92
92
|
},
|
|
93
93
|
subtitle: {
|
|
94
94
|
fontSize: e.pt18,
|
|
95
|
-
|
|
96
|
-
lineHeight:
|
|
95
|
+
fontWeight: i.regular,
|
|
96
|
+
lineHeight: n.normal,
|
|
97
97
|
letterSpacing: t["0.5"]
|
|
98
98
|
},
|
|
99
99
|
subtitleDens: {
|
|
100
100
|
fontSize: e.pt18,
|
|
101
|
-
|
|
102
|
-
lineHeight:
|
|
101
|
+
fontWeight: i.dens,
|
|
102
|
+
lineHeight: n.normal,
|
|
103
103
|
letterSpacing: t["0.5"]
|
|
104
104
|
},
|
|
105
105
|
paragraph: {
|
|
106
106
|
fontSize: e.pt15,
|
|
107
|
-
|
|
108
|
-
lineHeight:
|
|
107
|
+
fontWeight: i.regular,
|
|
108
|
+
lineHeight: n.normal,
|
|
109
109
|
letterSpacing: t["0.5"]
|
|
110
110
|
},
|
|
111
111
|
paragraphDens: {
|
|
112
112
|
fontSize: e.pt15,
|
|
113
|
-
|
|
114
|
-
lineHeight:
|
|
113
|
+
fontWeight: i.dens,
|
|
114
|
+
lineHeight: n.normal,
|
|
115
115
|
letterSpacing: t["0.5"]
|
|
116
116
|
},
|
|
117
117
|
body: {
|
|
118
118
|
fontSize: e.pt14,
|
|
119
|
-
|
|
120
|
-
lineHeight:
|
|
119
|
+
fontWeight: i.regular,
|
|
120
|
+
lineHeight: n.normal,
|
|
121
121
|
letterSpacing: t["0.5"]
|
|
122
122
|
},
|
|
123
123
|
bodyDens: {
|
|
124
124
|
fontSize: e.pt14,
|
|
125
|
-
|
|
126
|
-
lineHeight:
|
|
125
|
+
fontWeight: i.dens,
|
|
126
|
+
lineHeight: n.normal,
|
|
127
127
|
letterSpacing: t["0.5"]
|
|
128
128
|
}
|
|
129
129
|
}
|
|
130
|
-
},
|
|
130
|
+
}, h = {
|
|
131
131
|
small: {
|
|
132
132
|
h1: {
|
|
133
133
|
fontSize: e.pt54,
|
|
134
|
-
|
|
135
|
-
lineHeight:
|
|
134
|
+
fontWeight: i.dens,
|
|
135
|
+
lineHeight: n.normal,
|
|
136
136
|
letterSpacing: t["0.5"]
|
|
137
137
|
},
|
|
138
138
|
h2: {
|
|
139
139
|
fontSize: e.pt42,
|
|
140
|
-
|
|
141
|
-
lineHeight:
|
|
140
|
+
fontWeight: i.dens,
|
|
141
|
+
lineHeight: n.normal,
|
|
142
142
|
letterSpacing: t["0.5"]
|
|
143
143
|
},
|
|
144
144
|
h3: {
|
|
145
145
|
fontSize: e.pt30,
|
|
146
|
-
|
|
147
|
-
lineHeight:
|
|
146
|
+
fontWeight: i.dens,
|
|
147
|
+
lineHeight: n.normal,
|
|
148
148
|
letterSpacing: t["0.5"]
|
|
149
149
|
},
|
|
150
150
|
h5: {
|
|
151
151
|
fontSize: e.pt26,
|
|
152
|
-
|
|
153
|
-
lineHeight:
|
|
152
|
+
fontWeight: i.dens,
|
|
153
|
+
lineHeight: n.normal,
|
|
154
154
|
letterSpacing: t["0.5"]
|
|
155
155
|
},
|
|
156
156
|
subtitle: {
|
|
157
157
|
fontSize: e.pt14,
|
|
158
|
-
|
|
159
|
-
lineHeight:
|
|
158
|
+
fontWeight: i.regular,
|
|
159
|
+
lineHeight: n.normal,
|
|
160
160
|
letterSpacing: t["0.5"]
|
|
161
161
|
},
|
|
162
162
|
subtitleDens: {
|
|
163
163
|
fontSize: e.pt14,
|
|
164
|
-
|
|
165
|
-
lineHeight:
|
|
164
|
+
fontWeight: i.dens,
|
|
165
|
+
lineHeight: n.normal,
|
|
166
166
|
letterSpacing: t["0.5"]
|
|
167
167
|
},
|
|
168
168
|
paragraph: {
|
|
169
169
|
fontSize: e.pt12,
|
|
170
|
-
|
|
171
|
-
lineHeight:
|
|
170
|
+
fontWeight: i.regular,
|
|
171
|
+
lineHeight: n.normal,
|
|
172
172
|
letterSpacing: t["0.5"]
|
|
173
173
|
},
|
|
174
174
|
paragraphDens: {
|
|
175
175
|
fontSize: e.pt12,
|
|
176
|
-
|
|
177
|
-
lineHeight:
|
|
176
|
+
fontWeight: i.dens,
|
|
177
|
+
lineHeight: n.normal,
|
|
178
178
|
letterSpacing: t["0.5"]
|
|
179
179
|
},
|
|
180
180
|
body: {
|
|
181
181
|
fontSize: e.pt10,
|
|
182
|
-
|
|
183
|
-
lineHeight:
|
|
182
|
+
fontWeight: i.regular,
|
|
183
|
+
lineHeight: n.lh1,
|
|
184
184
|
letterSpacing: t["0.5"]
|
|
185
185
|
},
|
|
186
186
|
bodyDens: {
|
|
187
187
|
fontSize: e.pt10,
|
|
188
|
-
|
|
189
|
-
lineHeight:
|
|
188
|
+
fontWeight: i.dens,
|
|
189
|
+
lineHeight: n.lh1,
|
|
190
190
|
letterSpacing: t["0.5"]
|
|
191
191
|
}
|
|
192
192
|
},
|
|
193
193
|
medium: {
|
|
194
194
|
h1: {
|
|
195
195
|
fontSize: e.pt56,
|
|
196
|
-
|
|
197
|
-
lineHeight:
|
|
196
|
+
fontWeight: i.dens,
|
|
197
|
+
lineHeight: n.normal,
|
|
198
198
|
letterSpacing: t["0.5"]
|
|
199
199
|
},
|
|
200
200
|
h2: {
|
|
201
201
|
fontSize: e.pt44,
|
|
202
|
-
|
|
203
|
-
lineHeight:
|
|
202
|
+
fontWeight: i.dens,
|
|
203
|
+
lineHeight: n.normal,
|
|
204
204
|
letterSpacing: t["0.5"]
|
|
205
205
|
},
|
|
206
206
|
h3: {
|
|
207
207
|
fontSize: e.pt32,
|
|
208
|
-
|
|
209
|
-
lineHeight:
|
|
208
|
+
fontWeight: i.dens,
|
|
209
|
+
lineHeight: n.normal,
|
|
210
210
|
letterSpacing: t["0.5"]
|
|
211
211
|
},
|
|
212
212
|
h5: {
|
|
213
213
|
fontSize: e.pt28,
|
|
214
|
-
|
|
215
|
-
lineHeight:
|
|
214
|
+
fontWeight: i.dens,
|
|
215
|
+
lineHeight: n.normal,
|
|
216
216
|
letterSpacing: t["0.5"]
|
|
217
217
|
},
|
|
218
218
|
subtitle: {
|
|
219
219
|
fontSize: e.pt15,
|
|
220
|
-
|
|
221
|
-
lineHeight:
|
|
220
|
+
fontWeight: i.regular,
|
|
221
|
+
lineHeight: n.normal,
|
|
222
222
|
letterSpacing: t["0.5"]
|
|
223
223
|
},
|
|
224
224
|
subtitleDens: {
|
|
225
225
|
fontSize: e.pt15,
|
|
226
|
-
|
|
227
|
-
lineHeight:
|
|
226
|
+
fontWeight: i.dens,
|
|
227
|
+
lineHeight: n.normal,
|
|
228
228
|
letterSpacing: t["0.5"]
|
|
229
229
|
},
|
|
230
230
|
paragraph: {
|
|
231
231
|
fontSize: e.pt13,
|
|
232
|
-
|
|
233
|
-
lineHeight:
|
|
232
|
+
fontWeight: i.regular,
|
|
233
|
+
lineHeight: n.normal,
|
|
234
234
|
letterSpacing: t["0.5"]
|
|
235
235
|
},
|
|
236
236
|
paragraphDens: {
|
|
237
237
|
fontSize: e.pt13,
|
|
238
|
-
|
|
239
|
-
lineHeight:
|
|
238
|
+
fontWeight: i.dens,
|
|
239
|
+
lineHeight: n.normal,
|
|
240
240
|
letterSpacing: t["0.5"]
|
|
241
241
|
},
|
|
242
242
|
body: {
|
|
243
243
|
fontSize: e.pt11,
|
|
244
|
-
|
|
245
|
-
lineHeight:
|
|
244
|
+
fontWeight: i.regular,
|
|
245
|
+
lineHeight: n.normal,
|
|
246
246
|
letterSpacing: t["0.5"]
|
|
247
247
|
},
|
|
248
248
|
bodyDens: {
|
|
249
249
|
fontSize: e.pt11,
|
|
250
|
-
|
|
251
|
-
lineHeight:
|
|
250
|
+
fontWeight: i.dens,
|
|
251
|
+
lineHeight: n.normal,
|
|
252
252
|
letterSpacing: t["0.5"]
|
|
253
253
|
}
|
|
254
254
|
}
|
|
255
255
|
};
|
|
256
256
|
export {
|
|
257
|
-
|
|
258
|
-
|
|
257
|
+
a as T,
|
|
258
|
+
h as a
|
|
259
259
|
};
|
|
@@ -1,23 +1,4 @@
|
|
|
1
|
-
export
|
|
2
|
-
fontSize: string;
|
|
3
|
-
fontWeight: number;
|
|
4
|
-
lineHeight: string;
|
|
5
|
-
letterSpacing: string;
|
|
6
|
-
};
|
|
7
|
-
/**
|
|
8
|
-
* Listas de variantes de tipografía disponibles para la aplicación web.
|
|
9
|
-
*/
|
|
10
|
-
export type M4LTypographyVariants = 'h1' | 'h2' | 'h3' | 'h5' | 'subtitle' | 'subtitleDens' | 'paragraph' | 'paragraphDens' | 'body' | 'bodyDens';
|
|
11
|
-
export interface TypographyVariants {
|
|
12
|
-
subtitle: FontProps;
|
|
13
|
-
subtitleDens: FontProps;
|
|
14
|
-
paragraph: FontProps;
|
|
15
|
-
paragraphDens: FontProps;
|
|
16
|
-
body: FontProps;
|
|
17
|
-
bodyDens: FontProps;
|
|
18
|
-
action: FontProps;
|
|
19
|
-
}
|
|
20
|
-
export declare const typography: {
|
|
1
|
+
export declare const typographyOld: {
|
|
21
2
|
readonly fontFamily: "Inter, Segoe UI, Poppins, sans-serif";
|
|
22
3
|
readonly fontWeightRegular: 400;
|
|
23
4
|
readonly fontWeightMedium: 600;
|
|
@@ -9,7 +9,7 @@ const n = "Inter, Segoe UI, Poppins, sans-serif", o = {
|
|
|
9
9
|
fontWeightLight: 300,
|
|
10
10
|
htmlFontSize: 16,
|
|
11
11
|
pxToRem: (i) => `${i / 16}rem`,
|
|
12
|
-
|
|
12
|
+
// Definindo en Patronus
|
|
13
13
|
h1: {
|
|
14
14
|
fontWeight: 600,
|
|
15
15
|
lineHeight: 1.5,
|
|
@@ -20,7 +20,7 @@ const n = "Inter, Segoe UI, Poppins, sans-serif", o = {
|
|
|
20
20
|
lineHeight: 1,
|
|
21
21
|
...e({ sm: 40, md: 40, lg: 40 })
|
|
22
22
|
},
|
|
23
|
-
|
|
23
|
+
// Definindo en Patronus
|
|
24
24
|
h3: {
|
|
25
25
|
fontWeight: 600,
|
|
26
26
|
lineHeight: 1.5,
|
|
@@ -31,7 +31,7 @@ const n = "Inter, Segoe UI, Poppins, sans-serif", o = {
|
|
|
31
31
|
lineHeight: 1.5,
|
|
32
32
|
...e({ sm: 20, md: 20, lg: 20 })
|
|
33
33
|
},
|
|
34
|
-
|
|
34
|
+
// Definindo en Patronus
|
|
35
35
|
h5: {
|
|
36
36
|
fontWeight: 500,
|
|
37
37
|
lineHeight: "28px",
|
|
@@ -44,28 +44,28 @@ const n = "Inter, Segoe UI, Poppins, sans-serif", o = {
|
|
|
44
44
|
letterSpacing: "-0.08em",
|
|
45
45
|
...e({ sm: 18, md: 18, lg: 18 })
|
|
46
46
|
},
|
|
47
|
-
|
|
47
|
+
// Definindo en Patronus
|
|
48
48
|
subtitle: {
|
|
49
49
|
fontWeight: 400,
|
|
50
50
|
lineHeight: "20px",
|
|
51
51
|
letterSpacing: "-0.006em",
|
|
52
52
|
...e({ sm: 15, md: 15, lg: 15 })
|
|
53
53
|
},
|
|
54
|
-
|
|
54
|
+
// Definindo en Patronus
|
|
55
55
|
subtitleDens: {
|
|
56
56
|
fontWeight: 600,
|
|
57
57
|
lineHeight: "24px",
|
|
58
58
|
letterSpacing: "-0.006em",
|
|
59
59
|
...e({ sm: 15, md: 15, lg: 15 })
|
|
60
60
|
},
|
|
61
|
-
|
|
61
|
+
// Definindo en Patronus
|
|
62
62
|
paragraph: {
|
|
63
63
|
fontWeight: 400,
|
|
64
64
|
lineHeight: "16px",
|
|
65
65
|
letterSpacing: "-0.003em",
|
|
66
66
|
...e({ sm: 13, md: 13, lg: 13 })
|
|
67
67
|
},
|
|
68
|
-
|
|
68
|
+
// Definindo en Patronus
|
|
69
69
|
paragraphDens: {
|
|
70
70
|
fontWeight: 600,
|
|
71
71
|
lineHeight: "20px",
|
|
@@ -82,13 +82,13 @@ const n = "Inter, Segoe UI, Poppins, sans-serif", o = {
|
|
|
82
82
|
lineHeight: 1.5,
|
|
83
83
|
fontSize: t(12)
|
|
84
84
|
},
|
|
85
|
-
|
|
85
|
+
// Definindo en Patronus
|
|
86
86
|
body: {
|
|
87
87
|
fontWeight: 400,
|
|
88
88
|
lineHeight: "16px",
|
|
89
89
|
...e({ sm: 11, md: 11, lg: 11 })
|
|
90
90
|
},
|
|
91
|
-
|
|
91
|
+
// Definindo en Patronus
|
|
92
92
|
bodyDens: {
|
|
93
93
|
fontWeight: 600,
|
|
94
94
|
lineHeight: "16px",
|
|
@@ -125,7 +125,7 @@ const n = "Inter, Segoe UI, Poppins, sans-serif", o = {
|
|
|
125
125
|
fontSize: t(14),
|
|
126
126
|
textTransform: "capitalize"
|
|
127
127
|
},
|
|
128
|
-
|
|
128
|
+
// Definindo en Patronus
|
|
129
129
|
action: {
|
|
130
130
|
fontWeight: 600,
|
|
131
131
|
lineHeight: "16px",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createTheme as p, alpha as s } from "@mui/material";
|
|
2
|
-
import { t as o } from "../theme/
|
|
2
|
+
import { t as o } from "../theme/typographyOld.js";
|
|
3
3
|
import { s as e, c as m } from "../theme/shadows.js";
|
|
4
4
|
import { S as i } from "../theme/sizes/size.js";
|
|
5
5
|
import { g } from "./getColorPresets.js";
|