@m4l/styles 6.3.0 → 6.4.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 +2 -2
- package/package.json +1 -1
- package/theme/{index-DjzBD6sn.js → index-DMfun8ST.js} +12 -9
- package/theme/sizes/types.d.ts +1 -0
- package/theme/typography/baseLetterSpacing.d.ts +2 -0
- package/theme/typography/baseLineHeight.d.ts +2 -8
- package/theme/typography/types.d.ts +20 -4
- package/theme/typography-CaSN0-2L.js +457 -0
- package/theme/typography-BSiavZtl.js +0 -260
package/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { D as o, g as a, m as r } from "./config-B8bZIPuH.js";
|
|
2
|
-
import { O as p, g as m } from "./theme/index-
|
|
2
|
+
import { O as p, g as m } from "./theme/index-DMfun8ST.js";
|
|
3
3
|
import { c as O, s as x } from "./theme/shadows-BTb924yW.js";
|
|
4
|
-
import { t as g } from "./theme/typography-
|
|
4
|
+
import { t as g } from "./theme/typography-CaSN0-2L.js";
|
|
5
5
|
import { f as S } from "./theme/overrides/index-Bc-JdivL.js";
|
|
6
6
|
import { B as n, a as R, C as T, G as i, p as P } from "./theme/palette-C5yYre7Z.js";
|
|
7
7
|
import { u } from "./utils/useResponsive-DaeQVwlH.js";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { createTheme as
|
|
2
|
-
import { T as O, t as n } from "./typography-
|
|
1
|
+
import { createTheme as b, alpha as x } from "@mui/material/styles";
|
|
2
|
+
import { T as O, t as n } from "./typography-CaSN0-2L.js";
|
|
3
3
|
import { s as h, c as R } from "./shadows-BTb924yW.js";
|
|
4
|
-
import { C as c, D as d, B as r, P as m, a as e, S as a, G as u, b as
|
|
4
|
+
import { C as c, D as d, B as r, P as m, a as e, S as a, G as u, b as g, c as t, d as S, e as _ } from "./palette-C5yYre7Z.js";
|
|
5
5
|
import { g as E } from "../utils/getColorPresets-CJ_S_BFb.js";
|
|
6
6
|
const p = {
|
|
7
7
|
light: {
|
|
@@ -81,7 +81,7 @@ const p = {
|
|
|
81
81
|
...i
|
|
82
82
|
},
|
|
83
83
|
default: {
|
|
84
|
-
...
|
|
84
|
+
...g,
|
|
85
85
|
focusVisible: i?.focusVisible,
|
|
86
86
|
contrastText: r.marbleLight[30]
|
|
87
87
|
},
|
|
@@ -95,7 +95,7 @@ const p = {
|
|
|
95
95
|
default: r.onyx[40],
|
|
96
96
|
neutral: r.marbleLight[50],
|
|
97
97
|
surface: r.marbleLight[60],
|
|
98
|
-
hover:
|
|
98
|
+
hover: g.hover,
|
|
99
99
|
//por compatibilidad de mui
|
|
100
100
|
paper: ""
|
|
101
101
|
},
|
|
@@ -210,19 +210,22 @@ const p = {
|
|
|
210
210
|
typography: O,
|
|
211
211
|
borderStroke: {
|
|
212
212
|
...L
|
|
213
|
+
},
|
|
214
|
+
baseSpacings: {
|
|
215
|
+
...s
|
|
213
216
|
}
|
|
214
|
-
}, P =
|
|
217
|
+
}, P = b(), f = y("patronus"), k = {
|
|
215
218
|
...n,
|
|
216
219
|
...h.light,
|
|
217
|
-
...
|
|
220
|
+
...f,
|
|
218
221
|
customShadows: {
|
|
219
|
-
primary: `0 8px 16px 0 ${
|
|
222
|
+
primary: `0 8px 16px 0 ${x(E("patronus").main, 0.2)}`,
|
|
220
223
|
...R("light")
|
|
221
224
|
},
|
|
222
225
|
stretch: !0,
|
|
223
226
|
palette: {
|
|
224
227
|
...P.palette,
|
|
225
|
-
...
|
|
228
|
+
...f.light
|
|
226
229
|
},
|
|
227
230
|
typography: n,
|
|
228
231
|
size: A
|
package/theme/sizes/types.d.ts
CHANGED
|
@@ -58,15 +58,30 @@ export interface BaseFontSize {
|
|
|
58
58
|
/**
|
|
59
59
|
* Lista de variantes semánticas en tipografía que se pueden utilizar en la aplicación web.
|
|
60
60
|
*/
|
|
61
|
-
export declare type TypographyVariants = 'h1' | 'h2' | 'h3' | 'h5' | 'subtitle' | 'paragraph' | 'body';
|
|
61
|
+
export declare type TypographyVariants = 'h1' | 'h2' | 'h3' | 'h5' | 'subtitle' | 'subtitleDens' | 'paragraph' | 'paragraphDens' | 'body' | 'bodyDens';
|
|
62
|
+
/**
|
|
63
|
+
* Representa los valores predefinidos para los espaciados entre caracteres en la aplicación web.
|
|
64
|
+
*/
|
|
65
|
+
export interface BaseLetterSpacing {
|
|
66
|
+
'0.5': '0.5px';
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Lista de atributos css que se pueden aplicar a los textos en la aplicación web.
|
|
70
|
+
*/
|
|
71
|
+
export interface FontProperties {
|
|
72
|
+
fontSize: string;
|
|
73
|
+
lineHeight: string;
|
|
74
|
+
weight: number;
|
|
75
|
+
letterSpacing: string;
|
|
76
|
+
}
|
|
62
77
|
/**
|
|
63
78
|
* Son los valores de tamaño para las diferentes variantes semánticas de tipografía.
|
|
64
79
|
*/
|
|
65
|
-
export declare type TypographySizesValues = Record<TypographyVariants,
|
|
80
|
+
export declare type TypographySizesValues = Record<TypographyVariants, FontProperties>;
|
|
66
81
|
/**
|
|
67
82
|
* Representa las condiciones de tamaño en la aplicación web y define los diferentes valores en las variantes semánticas de tipografía.
|
|
68
83
|
*/
|
|
69
|
-
export declare type TypographySizes = Record<Sizes, TypographySizesValues>;
|
|
84
|
+
export declare type TypographySizes = Record<Extract<Sizes, 'small' | 'medium'>, TypographySizesValues>;
|
|
70
85
|
/**
|
|
71
86
|
* Representa el conjunto de opciones predefinidas para asignar las altura de línea en los textos de la aplicación web.
|
|
72
87
|
*/
|
|
@@ -77,6 +92,7 @@ export interface BaseLineHeight {
|
|
|
77
92
|
lh4: string;
|
|
78
93
|
lh5: string;
|
|
79
94
|
lh6: string;
|
|
95
|
+
auto: string;
|
|
80
96
|
}
|
|
81
97
|
/**
|
|
82
98
|
* Representa el conjunto de opciones predefinidas para asginar los grosores de texto en la aplicación web.
|
|
@@ -94,5 +110,5 @@ export interface Typography {
|
|
|
94
110
|
desktop: TypographySizes;
|
|
95
111
|
lineHeight: BaseLineHeight;
|
|
96
112
|
weight: BaseWeight;
|
|
97
|
-
letterSpacing:
|
|
113
|
+
letterSpacing: string;
|
|
98
114
|
}
|
|
@@ -0,0 +1,457 @@
|
|
|
1
|
+
import { createTheme as h } from "@mui/material";
|
|
2
|
+
import { r as p, p as g } from "../utils/getFontValue-BEO-XID9.js";
|
|
3
|
+
const l = "Segoe UI, Poppins, sans-serif", o = h(), f = {
|
|
4
|
+
...o.typography,
|
|
5
|
+
fontFamily: l,
|
|
6
|
+
fontWeightRegular: 400,
|
|
7
|
+
fontWeightMedium: 600,
|
|
8
|
+
fontWeightBold: 700,
|
|
9
|
+
/* Definindo en Patronus */
|
|
10
|
+
h1: {
|
|
11
|
+
fontWeight: 600,
|
|
12
|
+
lineHeight: 1.5,
|
|
13
|
+
...p({ sm: 38, md: 38, lg: 38 })
|
|
14
|
+
},
|
|
15
|
+
h2: {
|
|
16
|
+
fontWeight: 600,
|
|
17
|
+
lineHeight: 1,
|
|
18
|
+
...p({ sm: 40, md: 40, lg: 40 })
|
|
19
|
+
},
|
|
20
|
+
/* Definindo en Patronus */
|
|
21
|
+
h3: {
|
|
22
|
+
fontWeight: 600,
|
|
23
|
+
lineHeight: 1.5,
|
|
24
|
+
...p({ sm: 30, md: 30, lg: 30 })
|
|
25
|
+
},
|
|
26
|
+
h4: {
|
|
27
|
+
fontWeight: 600,
|
|
28
|
+
lineHeight: 1.5,
|
|
29
|
+
...p({ sm: 20, md: 20, lg: 20 })
|
|
30
|
+
},
|
|
31
|
+
/* Definindo en Patronus */
|
|
32
|
+
h5: {
|
|
33
|
+
fontWeight: 500,
|
|
34
|
+
lineHeight: "28px",
|
|
35
|
+
letterSpacing: "-0.01em",
|
|
36
|
+
...p({ sm: 22, md: 22, lg: 22 })
|
|
37
|
+
},
|
|
38
|
+
h6: {
|
|
39
|
+
fontWeight: 500,
|
|
40
|
+
lineHeight: "24px",
|
|
41
|
+
letterSpacing: "-0.08em",
|
|
42
|
+
...p({ sm: 18, md: 18, lg: 18 })
|
|
43
|
+
},
|
|
44
|
+
/* Definindo en Patronus */
|
|
45
|
+
subtitle: {
|
|
46
|
+
fontWeight: 400,
|
|
47
|
+
lineHeight: "20px",
|
|
48
|
+
letterSpacing: "-0.006em",
|
|
49
|
+
...p({ sm: 15, md: 15, lg: 15 })
|
|
50
|
+
},
|
|
51
|
+
/* Definindo en Patronus */
|
|
52
|
+
subtitleDens: {
|
|
53
|
+
fontWeight: 600,
|
|
54
|
+
lineHeight: "24px",
|
|
55
|
+
letterSpacing: "-0.006em",
|
|
56
|
+
...p({ sm: 15, md: 15, lg: 15 })
|
|
57
|
+
},
|
|
58
|
+
/* Definindo en Patronus */
|
|
59
|
+
paragraph: {
|
|
60
|
+
fontWeight: 400,
|
|
61
|
+
lineHeight: "16px",
|
|
62
|
+
letterSpacing: "-0.003em",
|
|
63
|
+
...p({ sm: 13, md: 13, lg: 13 })
|
|
64
|
+
},
|
|
65
|
+
/* Definindo en Patronus */
|
|
66
|
+
paragraphDens: {
|
|
67
|
+
fontWeight: 600,
|
|
68
|
+
lineHeight: "20px",
|
|
69
|
+
letterSpacing: "-0.003em",
|
|
70
|
+
...p({ sm: 13, md: 13, lg: 13 })
|
|
71
|
+
},
|
|
72
|
+
subtitle1: {
|
|
73
|
+
fontWeight: 600,
|
|
74
|
+
lineHeight: 1.5,
|
|
75
|
+
fontSize: g(14)
|
|
76
|
+
},
|
|
77
|
+
subtitle2: {
|
|
78
|
+
fontWeight: 600,
|
|
79
|
+
lineHeight: 1.5,
|
|
80
|
+
fontSize: g(12)
|
|
81
|
+
},
|
|
82
|
+
/* Definindo en Patronus */
|
|
83
|
+
body: {
|
|
84
|
+
fontWeight: 400,
|
|
85
|
+
lineHeight: "16px",
|
|
86
|
+
...p({ sm: 11, md: 11, lg: 11 })
|
|
87
|
+
},
|
|
88
|
+
/* Definindo en Patronus */
|
|
89
|
+
bodyDens: {
|
|
90
|
+
fontWeight: 600,
|
|
91
|
+
lineHeight: "16px",
|
|
92
|
+
...p({ sm: 11, md: 11, lg: 11 })
|
|
93
|
+
},
|
|
94
|
+
body0: {
|
|
95
|
+
lineHeight: 1.5,
|
|
96
|
+
fontWeight: 400,
|
|
97
|
+
fontSize: g(16)
|
|
98
|
+
},
|
|
99
|
+
body1: {
|
|
100
|
+
lineHeight: 1.5,
|
|
101
|
+
fontWeight: 400,
|
|
102
|
+
fontSize: g(14)
|
|
103
|
+
},
|
|
104
|
+
body2: {
|
|
105
|
+
lineHeight: 1.5,
|
|
106
|
+
fontWeight: 400,
|
|
107
|
+
fontSize: g(12)
|
|
108
|
+
},
|
|
109
|
+
caption: {
|
|
110
|
+
lineHeight: 1.5,
|
|
111
|
+
fontSize: g(11)
|
|
112
|
+
},
|
|
113
|
+
overline: {
|
|
114
|
+
fontWeight: 700,
|
|
115
|
+
lineHeight: 1.5,
|
|
116
|
+
fontSize: g(12),
|
|
117
|
+
textTransform: "uppercase"
|
|
118
|
+
},
|
|
119
|
+
button: {
|
|
120
|
+
fontWeight: 700,
|
|
121
|
+
lineHeight: 24 / 14,
|
|
122
|
+
fontSize: g(14),
|
|
123
|
+
textTransform: "capitalize"
|
|
124
|
+
},
|
|
125
|
+
/* Definindo en Patronus */
|
|
126
|
+
action: {
|
|
127
|
+
fontWeight: 600,
|
|
128
|
+
lineHeight: "16px",
|
|
129
|
+
...p({ sm: 12, md: 12, lg: 12 })
|
|
130
|
+
}
|
|
131
|
+
}, t = {
|
|
132
|
+
"0.5": "0.5px"
|
|
133
|
+
}, e = {
|
|
134
|
+
lh1: "14px",
|
|
135
|
+
lh2: "16px",
|
|
136
|
+
lh3: "20px",
|
|
137
|
+
lh4: "24px",
|
|
138
|
+
lh5: "28px",
|
|
139
|
+
lh6: "32px",
|
|
140
|
+
auto: "auto"
|
|
141
|
+
}, i = {
|
|
142
|
+
regular: 500,
|
|
143
|
+
dens: 700,
|
|
144
|
+
number: 0
|
|
145
|
+
}, n = {
|
|
146
|
+
pt10: "10px",
|
|
147
|
+
pt11: "11px",
|
|
148
|
+
pt12: "12px",
|
|
149
|
+
pt13: "13px",
|
|
150
|
+
pt14: "14px",
|
|
151
|
+
pt15: "15px",
|
|
152
|
+
pt16: "16px",
|
|
153
|
+
pt17: "17px",
|
|
154
|
+
pt18: "18px",
|
|
155
|
+
pt19: "19px",
|
|
156
|
+
pt20: "20px",
|
|
157
|
+
pt21: "21px",
|
|
158
|
+
pt22: "22px",
|
|
159
|
+
pt23: "23px",
|
|
160
|
+
pt24: "24px",
|
|
161
|
+
pt25: "25px",
|
|
162
|
+
pt26: "26px",
|
|
163
|
+
pt27: "27px",
|
|
164
|
+
pt28: "28px",
|
|
165
|
+
pt29: "29px",
|
|
166
|
+
pt30: "30px",
|
|
167
|
+
pt31: "31px",
|
|
168
|
+
pt32: "32px",
|
|
169
|
+
pt33: "33px",
|
|
170
|
+
pt34: "34px",
|
|
171
|
+
pt35: "35px",
|
|
172
|
+
pt36: "36px",
|
|
173
|
+
pt37: "37px",
|
|
174
|
+
pt38: "38px",
|
|
175
|
+
pt39: "39px",
|
|
176
|
+
pt40: "40px",
|
|
177
|
+
pt41: "41px",
|
|
178
|
+
pt42: "42px",
|
|
179
|
+
pt43: "43px",
|
|
180
|
+
pt44: "44px",
|
|
181
|
+
pt45: "45px",
|
|
182
|
+
pt46: "46px",
|
|
183
|
+
pt47: "47px",
|
|
184
|
+
pt48: "48px",
|
|
185
|
+
pt49: "49px",
|
|
186
|
+
pt50: "50px",
|
|
187
|
+
pt51: "51px",
|
|
188
|
+
pt52: "52px",
|
|
189
|
+
pt53: "53px",
|
|
190
|
+
pt54: "54px",
|
|
191
|
+
pt55: "55px",
|
|
192
|
+
pt56: "56px",
|
|
193
|
+
pt57: "57px",
|
|
194
|
+
pt58: "58px",
|
|
195
|
+
pt59: "59px",
|
|
196
|
+
pt60: "60px"
|
|
197
|
+
}, a = {
|
|
198
|
+
small: {
|
|
199
|
+
h1: {
|
|
200
|
+
fontSize: n.pt42,
|
|
201
|
+
weight: i.dens,
|
|
202
|
+
lineHeight: e.auto,
|
|
203
|
+
letterSpacing: t["0.5"]
|
|
204
|
+
},
|
|
205
|
+
h2: {
|
|
206
|
+
fontSize: n.pt32,
|
|
207
|
+
weight: i.dens,
|
|
208
|
+
lineHeight: e.auto,
|
|
209
|
+
letterSpacing: t["0.5"]
|
|
210
|
+
},
|
|
211
|
+
h3: {
|
|
212
|
+
fontSize: n.pt26,
|
|
213
|
+
weight: i.dens,
|
|
214
|
+
lineHeight: e.auto,
|
|
215
|
+
letterSpacing: t["0.5"]
|
|
216
|
+
},
|
|
217
|
+
h5: {
|
|
218
|
+
fontSize: n.pt20,
|
|
219
|
+
weight: i.dens,
|
|
220
|
+
lineHeight: e.auto,
|
|
221
|
+
letterSpacing: t["0.5"]
|
|
222
|
+
},
|
|
223
|
+
subtitle: {
|
|
224
|
+
fontSize: n.pt17,
|
|
225
|
+
weight: i.regular,
|
|
226
|
+
lineHeight: e.auto,
|
|
227
|
+
letterSpacing: t["0.5"]
|
|
228
|
+
},
|
|
229
|
+
subtitleDens: {
|
|
230
|
+
fontSize: n.pt17,
|
|
231
|
+
weight: i.dens,
|
|
232
|
+
lineHeight: e.auto,
|
|
233
|
+
letterSpacing: t["0.5"]
|
|
234
|
+
},
|
|
235
|
+
paragraph: {
|
|
236
|
+
fontSize: n.pt15,
|
|
237
|
+
weight: i.regular,
|
|
238
|
+
lineHeight: e.auto,
|
|
239
|
+
letterSpacing: t["0.5"]
|
|
240
|
+
},
|
|
241
|
+
paragraphDens: {
|
|
242
|
+
fontSize: n.pt15,
|
|
243
|
+
weight: i.dens,
|
|
244
|
+
lineHeight: e.auto,
|
|
245
|
+
letterSpacing: t["0.5"]
|
|
246
|
+
},
|
|
247
|
+
body: {
|
|
248
|
+
fontSize: n.pt13,
|
|
249
|
+
weight: i.regular,
|
|
250
|
+
lineHeight: e.lh3,
|
|
251
|
+
letterSpacing: t["0.5"]
|
|
252
|
+
},
|
|
253
|
+
bodyDens: {
|
|
254
|
+
fontSize: n.pt13,
|
|
255
|
+
weight: i.dens,
|
|
256
|
+
lineHeight: e.lh3,
|
|
257
|
+
letterSpacing: t["0.5"]
|
|
258
|
+
}
|
|
259
|
+
},
|
|
260
|
+
medium: {
|
|
261
|
+
h1: {
|
|
262
|
+
fontSize: n.pt44,
|
|
263
|
+
weight: i.dens,
|
|
264
|
+
lineHeight: e.auto,
|
|
265
|
+
letterSpacing: t["0.5"]
|
|
266
|
+
},
|
|
267
|
+
h2: {
|
|
268
|
+
fontSize: n.pt32,
|
|
269
|
+
weight: i.dens,
|
|
270
|
+
lineHeight: e.auto,
|
|
271
|
+
letterSpacing: t["0.5"]
|
|
272
|
+
},
|
|
273
|
+
h3: {
|
|
274
|
+
fontSize: n.pt28,
|
|
275
|
+
weight: i.dens,
|
|
276
|
+
lineHeight: e.auto,
|
|
277
|
+
letterSpacing: t["0.5"]
|
|
278
|
+
},
|
|
279
|
+
h5: {
|
|
280
|
+
fontSize: n.pt20,
|
|
281
|
+
weight: i.dens,
|
|
282
|
+
lineHeight: e.auto,
|
|
283
|
+
letterSpacing: t["0.5"]
|
|
284
|
+
},
|
|
285
|
+
subtitle: {
|
|
286
|
+
fontSize: n.pt18,
|
|
287
|
+
weight: i.regular,
|
|
288
|
+
lineHeight: e.auto,
|
|
289
|
+
letterSpacing: t["0.5"]
|
|
290
|
+
},
|
|
291
|
+
subtitleDens: {
|
|
292
|
+
fontSize: n.pt18,
|
|
293
|
+
weight: i.dens,
|
|
294
|
+
lineHeight: e.auto,
|
|
295
|
+
letterSpacing: t["0.5"]
|
|
296
|
+
},
|
|
297
|
+
paragraph: {
|
|
298
|
+
fontSize: n.pt15,
|
|
299
|
+
weight: i.regular,
|
|
300
|
+
lineHeight: e.auto,
|
|
301
|
+
letterSpacing: t["0.5"]
|
|
302
|
+
},
|
|
303
|
+
paragraphDens: {
|
|
304
|
+
fontSize: n.pt15,
|
|
305
|
+
weight: i.dens,
|
|
306
|
+
lineHeight: e.auto,
|
|
307
|
+
letterSpacing: t["0.5"]
|
|
308
|
+
},
|
|
309
|
+
body: {
|
|
310
|
+
fontSize: n.pt14,
|
|
311
|
+
weight: i.regular,
|
|
312
|
+
lineHeight: e.auto,
|
|
313
|
+
letterSpacing: t["0.5"]
|
|
314
|
+
},
|
|
315
|
+
bodyDens: {
|
|
316
|
+
fontSize: n.pt14,
|
|
317
|
+
weight: i.dens,
|
|
318
|
+
lineHeight: e.auto,
|
|
319
|
+
letterSpacing: t["0.5"]
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
}, r = {
|
|
323
|
+
small: {
|
|
324
|
+
h1: {
|
|
325
|
+
fontSize: n.pt54,
|
|
326
|
+
weight: i.dens,
|
|
327
|
+
lineHeight: e.auto,
|
|
328
|
+
letterSpacing: t["0.5"]
|
|
329
|
+
},
|
|
330
|
+
h2: {
|
|
331
|
+
fontSize: n.pt42,
|
|
332
|
+
weight: i.dens,
|
|
333
|
+
lineHeight: e.auto,
|
|
334
|
+
letterSpacing: t["0.5"]
|
|
335
|
+
},
|
|
336
|
+
h3: {
|
|
337
|
+
fontSize: n.pt30,
|
|
338
|
+
weight: i.dens,
|
|
339
|
+
lineHeight: e.auto,
|
|
340
|
+
letterSpacing: t["0.5"]
|
|
341
|
+
},
|
|
342
|
+
h5: {
|
|
343
|
+
fontSize: n.pt26,
|
|
344
|
+
weight: i.dens,
|
|
345
|
+
lineHeight: e.auto,
|
|
346
|
+
letterSpacing: t["0.5"]
|
|
347
|
+
},
|
|
348
|
+
subtitle: {
|
|
349
|
+
fontSize: n.pt14,
|
|
350
|
+
weight: i.regular,
|
|
351
|
+
lineHeight: e.auto,
|
|
352
|
+
letterSpacing: t["0.5"]
|
|
353
|
+
},
|
|
354
|
+
subtitleDens: {
|
|
355
|
+
fontSize: n.pt14,
|
|
356
|
+
weight: i.dens,
|
|
357
|
+
lineHeight: e.auto,
|
|
358
|
+
letterSpacing: t["0.5"]
|
|
359
|
+
},
|
|
360
|
+
paragraph: {
|
|
361
|
+
fontSize: n.pt12,
|
|
362
|
+
weight: i.regular,
|
|
363
|
+
lineHeight: e.auto,
|
|
364
|
+
letterSpacing: t["0.5"]
|
|
365
|
+
},
|
|
366
|
+
paragraphDens: {
|
|
367
|
+
fontSize: n.pt12,
|
|
368
|
+
weight: i.dens,
|
|
369
|
+
lineHeight: e.auto,
|
|
370
|
+
letterSpacing: t["0.5"]
|
|
371
|
+
},
|
|
372
|
+
body: {
|
|
373
|
+
fontSize: n.pt10,
|
|
374
|
+
weight: i.regular,
|
|
375
|
+
lineHeight: e.lh1,
|
|
376
|
+
letterSpacing: t["0.5"]
|
|
377
|
+
},
|
|
378
|
+
bodyDens: {
|
|
379
|
+
fontSize: n.pt10,
|
|
380
|
+
weight: i.dens,
|
|
381
|
+
lineHeight: e.lh1,
|
|
382
|
+
letterSpacing: t["0.5"]
|
|
383
|
+
}
|
|
384
|
+
},
|
|
385
|
+
medium: {
|
|
386
|
+
h1: {
|
|
387
|
+
fontSize: n.pt56,
|
|
388
|
+
weight: i.dens,
|
|
389
|
+
lineHeight: e.auto,
|
|
390
|
+
letterSpacing: t["0.5"]
|
|
391
|
+
},
|
|
392
|
+
h2: {
|
|
393
|
+
fontSize: n.pt44,
|
|
394
|
+
weight: i.dens,
|
|
395
|
+
lineHeight: e.auto,
|
|
396
|
+
letterSpacing: t["0.5"]
|
|
397
|
+
},
|
|
398
|
+
h3: {
|
|
399
|
+
fontSize: n.pt32,
|
|
400
|
+
weight: i.dens,
|
|
401
|
+
lineHeight: e.auto,
|
|
402
|
+
letterSpacing: t["0.5"]
|
|
403
|
+
},
|
|
404
|
+
h5: {
|
|
405
|
+
fontSize: n.pt28,
|
|
406
|
+
weight: i.dens,
|
|
407
|
+
lineHeight: e.auto,
|
|
408
|
+
letterSpacing: t["0.5"]
|
|
409
|
+
},
|
|
410
|
+
subtitle: {
|
|
411
|
+
fontSize: n.pt15,
|
|
412
|
+
weight: i.regular,
|
|
413
|
+
lineHeight: e.auto,
|
|
414
|
+
letterSpacing: t["0.5"]
|
|
415
|
+
},
|
|
416
|
+
subtitleDens: {
|
|
417
|
+
fontSize: n.pt15,
|
|
418
|
+
weight: i.dens,
|
|
419
|
+
lineHeight: e.auto,
|
|
420
|
+
letterSpacing: t["0.5"]
|
|
421
|
+
},
|
|
422
|
+
paragraph: {
|
|
423
|
+
fontSize: n.pt13,
|
|
424
|
+
weight: i.regular,
|
|
425
|
+
lineHeight: e.auto,
|
|
426
|
+
letterSpacing: t["0.5"]
|
|
427
|
+
},
|
|
428
|
+
paragraphDens: {
|
|
429
|
+
fontSize: n.pt13,
|
|
430
|
+
weight: i.dens,
|
|
431
|
+
lineHeight: e.auto,
|
|
432
|
+
letterSpacing: t["0.5"]
|
|
433
|
+
},
|
|
434
|
+
body: {
|
|
435
|
+
fontSize: n.pt11,
|
|
436
|
+
weight: i.regular,
|
|
437
|
+
lineHeight: e.auto,
|
|
438
|
+
letterSpacing: t["0.5"]
|
|
439
|
+
},
|
|
440
|
+
bodyDens: {
|
|
441
|
+
fontSize: n.pt11,
|
|
442
|
+
weight: i.dens,
|
|
443
|
+
lineHeight: e.auto,
|
|
444
|
+
letterSpacing: t["0.5"]
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
}, x = {
|
|
448
|
+
mobile: a,
|
|
449
|
+
desktop: r,
|
|
450
|
+
lineHeight: e,
|
|
451
|
+
weight: i,
|
|
452
|
+
letterSpacing: t["0.5"]
|
|
453
|
+
};
|
|
454
|
+
export {
|
|
455
|
+
x as T,
|
|
456
|
+
f as t
|
|
457
|
+
};
|
|
@@ -1,260 +0,0 @@
|
|
|
1
|
-
import { createTheme as i } from "@mui/material";
|
|
2
|
-
import { r as p, p as e } from "../utils/getFontValue-BEO-XID9.js";
|
|
3
|
-
const h = "Segoe UI, Poppins, sans-serif", n = i(), m = {
|
|
4
|
-
...n.typography,
|
|
5
|
-
fontFamily: h,
|
|
6
|
-
fontWeightRegular: 400,
|
|
7
|
-
fontWeightMedium: 600,
|
|
8
|
-
fontWeightBold: 700,
|
|
9
|
-
/* Definindo en Patronus */
|
|
10
|
-
h1: {
|
|
11
|
-
fontWeight: 600,
|
|
12
|
-
lineHeight: 1.5,
|
|
13
|
-
...p({ sm: 38, md: 38, lg: 38 })
|
|
14
|
-
},
|
|
15
|
-
h2: {
|
|
16
|
-
fontWeight: 600,
|
|
17
|
-
lineHeight: 1,
|
|
18
|
-
...p({ sm: 40, md: 40, lg: 40 })
|
|
19
|
-
},
|
|
20
|
-
/* Definindo en Patronus */
|
|
21
|
-
h3: {
|
|
22
|
-
fontWeight: 600,
|
|
23
|
-
lineHeight: 1.5,
|
|
24
|
-
...p({ sm: 30, md: 30, lg: 30 })
|
|
25
|
-
},
|
|
26
|
-
h4: {
|
|
27
|
-
fontWeight: 600,
|
|
28
|
-
lineHeight: 1.5,
|
|
29
|
-
...p({ sm: 20, md: 20, lg: 20 })
|
|
30
|
-
},
|
|
31
|
-
/* Definindo en Patronus */
|
|
32
|
-
h5: {
|
|
33
|
-
fontWeight: 500,
|
|
34
|
-
lineHeight: "28px",
|
|
35
|
-
letterSpacing: "-0.01em",
|
|
36
|
-
...p({ sm: 22, md: 22, lg: 22 })
|
|
37
|
-
},
|
|
38
|
-
h6: {
|
|
39
|
-
fontWeight: 500,
|
|
40
|
-
lineHeight: "24px",
|
|
41
|
-
letterSpacing: "-0.08em",
|
|
42
|
-
...p({ sm: 18, md: 18, lg: 18 })
|
|
43
|
-
},
|
|
44
|
-
/* Definindo en Patronus */
|
|
45
|
-
subtitle: {
|
|
46
|
-
fontWeight: 400,
|
|
47
|
-
lineHeight: "20px",
|
|
48
|
-
letterSpacing: "-0.006em",
|
|
49
|
-
...p({ sm: 15, md: 15, lg: 15 })
|
|
50
|
-
},
|
|
51
|
-
/* Definindo en Patronus */
|
|
52
|
-
subtitleDens: {
|
|
53
|
-
fontWeight: 600,
|
|
54
|
-
lineHeight: "24px",
|
|
55
|
-
letterSpacing: "-0.006em",
|
|
56
|
-
...p({ sm: 15, md: 15, lg: 15 })
|
|
57
|
-
},
|
|
58
|
-
/* Definindo en Patronus */
|
|
59
|
-
paragraph: {
|
|
60
|
-
fontWeight: 400,
|
|
61
|
-
lineHeight: "16px",
|
|
62
|
-
letterSpacing: "-0.003em",
|
|
63
|
-
...p({ sm: 13, md: 13, lg: 13 })
|
|
64
|
-
},
|
|
65
|
-
/* Definindo en Patronus */
|
|
66
|
-
paragraphDens: {
|
|
67
|
-
fontWeight: 600,
|
|
68
|
-
lineHeight: "20px",
|
|
69
|
-
letterSpacing: "-0.003em",
|
|
70
|
-
...p({ sm: 13, md: 13, lg: 13 })
|
|
71
|
-
},
|
|
72
|
-
subtitle1: {
|
|
73
|
-
fontWeight: 600,
|
|
74
|
-
lineHeight: 1.5,
|
|
75
|
-
fontSize: e(14)
|
|
76
|
-
},
|
|
77
|
-
subtitle2: {
|
|
78
|
-
fontWeight: 600,
|
|
79
|
-
lineHeight: 1.5,
|
|
80
|
-
fontSize: e(12)
|
|
81
|
-
},
|
|
82
|
-
/* Definindo en Patronus */
|
|
83
|
-
body: {
|
|
84
|
-
fontWeight: 400,
|
|
85
|
-
lineHeight: "16px",
|
|
86
|
-
...p({ sm: 11, md: 11, lg: 11 })
|
|
87
|
-
},
|
|
88
|
-
/* Definindo en Patronus */
|
|
89
|
-
bodyDens: {
|
|
90
|
-
fontWeight: 600,
|
|
91
|
-
lineHeight: "16px",
|
|
92
|
-
...p({ sm: 11, md: 11, lg: 11 })
|
|
93
|
-
},
|
|
94
|
-
body0: {
|
|
95
|
-
lineHeight: 1.5,
|
|
96
|
-
fontWeight: 400,
|
|
97
|
-
fontSize: e(16)
|
|
98
|
-
},
|
|
99
|
-
body1: {
|
|
100
|
-
lineHeight: 1.5,
|
|
101
|
-
fontWeight: 400,
|
|
102
|
-
fontSize: e(14)
|
|
103
|
-
},
|
|
104
|
-
body2: {
|
|
105
|
-
lineHeight: 1.5,
|
|
106
|
-
fontWeight: 400,
|
|
107
|
-
fontSize: e(12)
|
|
108
|
-
},
|
|
109
|
-
caption: {
|
|
110
|
-
lineHeight: 1.5,
|
|
111
|
-
fontSize: e(11)
|
|
112
|
-
},
|
|
113
|
-
overline: {
|
|
114
|
-
fontWeight: 700,
|
|
115
|
-
lineHeight: 1.5,
|
|
116
|
-
fontSize: e(12),
|
|
117
|
-
textTransform: "uppercase"
|
|
118
|
-
},
|
|
119
|
-
button: {
|
|
120
|
-
fontWeight: 700,
|
|
121
|
-
lineHeight: 24 / 14,
|
|
122
|
-
fontSize: e(14),
|
|
123
|
-
textTransform: "capitalize"
|
|
124
|
-
},
|
|
125
|
-
/* Definindo en Patronus */
|
|
126
|
-
action: {
|
|
127
|
-
fontWeight: 600,
|
|
128
|
-
lineHeight: "16px",
|
|
129
|
-
...p({ sm: 12, md: 12, lg: 12 })
|
|
130
|
-
}
|
|
131
|
-
}, g = {
|
|
132
|
-
lh1: "14px",
|
|
133
|
-
lh2: "16px",
|
|
134
|
-
lh3: "20px",
|
|
135
|
-
lh4: "24px",
|
|
136
|
-
lh5: "28px",
|
|
137
|
-
lh6: "32px"
|
|
138
|
-
}, o = {
|
|
139
|
-
regular: 500,
|
|
140
|
-
dens: 700,
|
|
141
|
-
number: 0
|
|
142
|
-
}, t = {
|
|
143
|
-
pt10: "10px",
|
|
144
|
-
pt11: "11px",
|
|
145
|
-
pt12: "12px",
|
|
146
|
-
pt13: "13px",
|
|
147
|
-
pt14: "14px",
|
|
148
|
-
pt15: "15px",
|
|
149
|
-
pt16: "16px",
|
|
150
|
-
pt17: "17px",
|
|
151
|
-
pt18: "18px",
|
|
152
|
-
pt19: "19px",
|
|
153
|
-
pt20: "20px",
|
|
154
|
-
pt21: "21px",
|
|
155
|
-
pt22: "22px",
|
|
156
|
-
pt23: "23px",
|
|
157
|
-
pt24: "24px",
|
|
158
|
-
pt25: "25px",
|
|
159
|
-
pt26: "26px",
|
|
160
|
-
pt27: "27px",
|
|
161
|
-
pt28: "28px",
|
|
162
|
-
pt29: "29px",
|
|
163
|
-
pt30: "30px",
|
|
164
|
-
pt31: "31px",
|
|
165
|
-
pt32: "32px",
|
|
166
|
-
pt33: "33px",
|
|
167
|
-
pt34: "34px",
|
|
168
|
-
pt35: "35px",
|
|
169
|
-
pt36: "36px",
|
|
170
|
-
pt37: "37px",
|
|
171
|
-
pt38: "38px",
|
|
172
|
-
pt39: "39px",
|
|
173
|
-
pt40: "40px",
|
|
174
|
-
pt41: "41px",
|
|
175
|
-
pt42: "42px",
|
|
176
|
-
pt43: "43px",
|
|
177
|
-
pt44: "44px",
|
|
178
|
-
pt45: "45px",
|
|
179
|
-
pt46: "46px",
|
|
180
|
-
pt47: "47px",
|
|
181
|
-
pt48: "48px",
|
|
182
|
-
pt49: "49px",
|
|
183
|
-
pt50: "50px",
|
|
184
|
-
pt51: "51px",
|
|
185
|
-
pt52: "52px",
|
|
186
|
-
pt53: "53px",
|
|
187
|
-
pt54: "54px",
|
|
188
|
-
pt55: "55px",
|
|
189
|
-
pt56: "56px",
|
|
190
|
-
pt57: "57px",
|
|
191
|
-
pt58: "58px",
|
|
192
|
-
pt59: "59px",
|
|
193
|
-
pt60: "60px"
|
|
194
|
-
}, l = {
|
|
195
|
-
small: {
|
|
196
|
-
h1: t.pt42,
|
|
197
|
-
h2: t.pt32,
|
|
198
|
-
h3: t.pt26,
|
|
199
|
-
h5: t.pt20,
|
|
200
|
-
subtitle: t.pt17,
|
|
201
|
-
paragraph: t.pt15,
|
|
202
|
-
body: t.pt13
|
|
203
|
-
},
|
|
204
|
-
medium: {
|
|
205
|
-
h1: t.pt44,
|
|
206
|
-
h2: t.pt32,
|
|
207
|
-
h3: t.pt28,
|
|
208
|
-
h5: t.pt20,
|
|
209
|
-
subtitle: t.pt18,
|
|
210
|
-
paragraph: t.pt15,
|
|
211
|
-
body: t.pt14
|
|
212
|
-
},
|
|
213
|
-
large: {
|
|
214
|
-
h1: t.pt45,
|
|
215
|
-
h2: t.pt33,
|
|
216
|
-
h3: t.pt29,
|
|
217
|
-
h5: t.pt21,
|
|
218
|
-
subtitle: t.pt19,
|
|
219
|
-
paragraph: t.pt16,
|
|
220
|
-
body: t.pt14
|
|
221
|
-
}
|
|
222
|
-
}, x = {
|
|
223
|
-
small: {
|
|
224
|
-
h1: t.pt54,
|
|
225
|
-
h2: t.pt42,
|
|
226
|
-
h3: t.pt30,
|
|
227
|
-
h5: t.pt26,
|
|
228
|
-
subtitle: t.pt14,
|
|
229
|
-
paragraph: t.pt12,
|
|
230
|
-
body: t.pt10
|
|
231
|
-
},
|
|
232
|
-
medium: {
|
|
233
|
-
h1: t.pt56,
|
|
234
|
-
h2: t.pt44,
|
|
235
|
-
h3: t.pt32,
|
|
236
|
-
h5: t.pt28,
|
|
237
|
-
subtitle: t.pt15,
|
|
238
|
-
paragraph: t.pt13,
|
|
239
|
-
body: t.pt11
|
|
240
|
-
},
|
|
241
|
-
large: {
|
|
242
|
-
h1: t.pt57,
|
|
243
|
-
h2: t.pt45,
|
|
244
|
-
h3: t.pt33,
|
|
245
|
-
h5: t.pt29,
|
|
246
|
-
subtitle: t.pt16,
|
|
247
|
-
paragraph: t.pt14,
|
|
248
|
-
body: t.pt12
|
|
249
|
-
}
|
|
250
|
-
}, r = {
|
|
251
|
-
mobile: l,
|
|
252
|
-
desktop: x,
|
|
253
|
-
lineHeight: g,
|
|
254
|
-
weight: o,
|
|
255
|
-
letterSpacing: 0.5
|
|
256
|
-
};
|
|
257
|
-
export {
|
|
258
|
-
r as T,
|
|
259
|
-
m as t
|
|
260
|
-
};
|