ctt-babylon 0.13.2 → 0.13.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.
Files changed (32) hide show
  1. package/esm2022/lib/components/core/babylon-av-c4-img-text/babylon-av-c4-img-text.component.mjs +3 -3
  2. package/esm2022/lib/components/core/babylon-av-img-social/babylon-av-img-social.component.mjs +3 -3
  3. package/esm2022/lib/components/core/babylon-av-txt-ico/babylon-av-txt-ico.component.mjs +3 -3
  4. package/esm2022/lib/components/core/babylon-ba-img-txt/babylon-ba-img-txt.component.mjs +3 -3
  5. package/esm2022/lib/components/core/babylon-ba-sli-img-txt/babylon-ba-sli-img-txt.component.mjs +3 -3
  6. package/esm2022/lib/components/core/babylon-breadcrumb-v2/babylon-breadcrumb-v2.component.mjs +3 -3
  7. package/esm2022/lib/components/core/babylon-contact-form/babylon-contact-form.component.mjs +7 -5
  8. package/esm2022/lib/components/core/babylon-engine-widget-modal/babylon-engine-widget-modal.component.mjs +3 -3
  9. package/esm2022/lib/components/core/babylon-fo-addr-cont-img/babylon-fo-addr-cont-img.component.mjs +3 -3
  10. package/esm2022/lib/components/core/babylon-fo-c3-img-txt/babylon-fo-c3-img-txt.component.mjs +3 -3
  11. package/esm2022/lib/components/core/babylon-fo-lis-c4-txt/babylon-fo-lis-c4-txt.component.mjs +3 -3
  12. package/esm2022/lib/components/core/babylon-fo-sli-img/babylon-fo-sli-img.component.mjs +3 -3
  13. package/esm2022/lib/components/core/babylon-he-svg-list/babylon-he-svg-list.component.mjs +3 -3
  14. package/esm2022/lib/components/core/babylon-language-modal-v3/babylon-language-modal-v3.component.mjs +3 -3
  15. package/esm2022/lib/components/core/babylon-lis-c2-txt/babylon-lis-c2-txt.component.mjs +3 -3
  16. package/esm2022/lib/components/core/babylon-lis-svg-txt-cta/babylon-lis-svg-txt-cta.component.mjs +3 -3
  17. package/esm2022/lib/components/core/babylon-list-c3-img-txt/babylon-list-c3-img-txt.component.mjs +3 -3
  18. package/esm2022/lib/components/core/babylon-list-c6-txt/babylon-list-c6-txt.component.mjs +3 -3
  19. package/esm2022/lib/components/core/babylon-newsletter-modal-v2/babylon-newsletter-modal-v2.component.mjs +3 -3
  20. package/esm2022/lib/components/core/babylon-offer-popup-v3/babylon-offer-popup-v3.component.mjs +2 -2
  21. package/esm2022/lib/components/core/babylon-sli-c1-img-text/babylon-sli-c1-img-text.component.mjs +3 -3
  22. package/esm2022/lib/components/core/babylon-sli-c5-img-txt/babylon-sli-c5-img-txt.component.mjs +3 -3
  23. package/esm2022/lib/components/external/core/c4-c1-img-txt/c4-c1-img-txt.component.mjs +4 -3
  24. package/esm2022/lib/components/external/core/c4-he-img-txt/c4-he-img-txt.component.mjs +3 -3
  25. package/esm2022/lib/components/external/core/c4-me-txt-svg-cta/c4-me-txt-svg-cta.component.mjs +5 -3
  26. package/fesm2022/ctt-babylon.mjs +56 -52
  27. package/fesm2022/ctt-babylon.mjs.map +1 -1
  28. package/lib/components/external/core/c4-me-txt-svg-cta/c4-me-txt-svg-cta.component.d.ts +2 -1
  29. package/lib/styles/styles/babylon/buttons.css +1 -1
  30. package/lib/styles/styles/babylon/buttons.scss +31 -0
  31. package/lib/styles/styles/babylon/funciones.scss +296 -296
  32. package/package.json +1 -1
@@ -1,12 +1,12 @@
1
1
  // -----
2
- $mobileSmall: "(max-width: 375px)";
3
- $mobile: "(max-width: 540px)";
4
- $tabletV: "(max-width: 768px)";
5
- $tabletH: "(max-width: 1080px)";
6
- $desktopSmall2: "(max-width: 1280px)";
7
- $desktopSmall: "(max-width: 1366px)";
8
- $desktopMax: "(max-width: 1680px)";
9
- $desktop: "(min-width: 1681px)";
2
+ $mobileSmall: '(max-width: 375px)';
3
+ $mobile: '(max-width: 540px)';
4
+ $tabletV: '(max-width: 768px)';
5
+ $tabletH: '(max-width: 1080px)';
6
+ $desktopSmall2: '(max-width: 1280px)';
7
+ $desktopSmall: '(max-width: 1366px)';
8
+ $desktopMax: '(max-width: 1680px)';
9
+ $desktop: '(min-width: 1681px)';
10
10
 
11
11
  //? Colors
12
12
  $color1: #fff; // Background
@@ -33,8 +33,8 @@ $greenwhats: #24cc63;
33
33
  $rewards: #fff9f9;
34
34
 
35
35
  //? Fonts
36
- $font: "jokker", sans-serif;
37
- $font2: "kinda", sans-serif;
36
+ $font: 'jokker', sans-serif;
37
+ $font2: 'kinda', sans-serif;
38
38
 
39
39
  //? Effect
40
40
  $transition1: 0.3s ease;
@@ -42,450 +42,450 @@ $transition1_delay: 0.3s 0.3s ease;
42
42
 
43
43
  //? Filters
44
44
  $filter_white: invert(100%) sepia(6%) saturate(3350%) hue-rotate(358deg)
45
- brightness(108%) contrast(116%);
45
+ brightness(108%) contrast(116%);
46
46
  $filter_red: invert(42%) sepia(21%) saturate(7460%) hue-rotate(337deg)
47
- brightness(108%) contrast(116%);
47
+ brightness(108%) contrast(116%);
48
48
  $filter_blue: invert(62%) sepia(36%) saturate(7040%) hue-rotate(200deg)
49
- brightness(96%) contrast(76%);
49
+ brightness(96%) contrast(76%);
50
50
  $filter_green: invert(67%) sepia(70%) saturate(373%) hue-rotate(113deg)
51
- brightness(93%) contrast(90%);
51
+ brightness(93%) contrast(90%);
52
52
 
53
53
  // Utils
54
54
 
55
55
  @mixin hover-siblings {
56
- // cuando el contenedor se hace hover
57
- > * {
58
- transition: opacity $transition1;
59
- }
60
-
61
- &:hover {
62
- // todos los hijos bajan opacidad
56
+ // cuando el contenedor se hace hover
63
57
  > * {
64
- opacity: 0.6;
58
+ transition: opacity $transition1;
65
59
  }
66
60
 
67
- // pero el elemento hovered recupera su opacidad total
68
- > *:hover {
69
- opacity: 1;
61
+ &:hover {
62
+ // todos los hijos bajan opacidad
63
+ > * {
64
+ opacity: 0.6;
65
+ }
66
+
67
+ // pero el elemento hovered recupera su opacidad total
68
+ > *:hover {
69
+ opacity: 1;
70
+ }
70
71
  }
71
- }
72
72
  }
73
73
 
74
74
  @mixin basic-bg {
75
- background-position: center;
76
- background-size: cover;
77
- background-repeat: no-repeat;
75
+ background-position: center;
76
+ background-size: cover;
77
+ background-repeat: no-repeat;
78
78
  }
79
79
 
80
80
  @mixin img-bg {
81
- width: 100%;
82
- height: 100%;
83
- object-fit: cover;
81
+ width: 100%;
82
+ height: 100%;
83
+ object-fit: cover;
84
84
  }
85
85
 
86
86
  @mixin center-a-element {
87
- position: absolute;
88
- left: 50%;
89
- top: 50%;
90
- transform: translate(-50%, -50%);
87
+ position: absolute;
88
+ left: 50%;
89
+ top: 50%;
90
+ transform: translate(-50%, -50%);
91
91
  }
92
92
 
93
93
  // MV/🟡 Title Big - MD
94
94
  @mixin title-big-md {
95
- font-family: $font;
96
- font-weight: 400;
97
- font-size: 4.4rem;
98
- line-height: 5.8rem;
95
+ font-family: var(--font-title);
96
+ font-weight: var(--w_title);
97
+ font-size: 4.4rem;
98
+ line-height: 5.8rem;
99
99
 
100
- @media #{$mobile} {
101
- font-size: 3rem;
102
- line-height: 4rem;
103
- }
100
+ @media #{$mobile} {
101
+ font-size: 3rem;
102
+ line-height: 4rem;
103
+ }
104
104
 
105
- @media #{$mobileSmall} {
106
- font-size: 2.4rem;
107
- line-height: 3rem;
108
- }
105
+ @media #{$mobileSmall} {
106
+ font-size: 2.4rem;
107
+ line-height: 3rem;
108
+ }
109
109
  }
110
110
 
111
111
  // 🟡 Title Big - RG
112
112
  @mixin title-big-rg {
113
- font-family: $font;
114
- font-weight: 300;
115
- font-size: 4.4rem;
116
- line-height: 5.8rem;
117
-
118
- @media #{$desktopSmall} {
119
- font-size: 3.6rem;
120
- line-height: 4.8rem;
121
- }
122
-
123
- @media #{$mobile} {
124
- font-size: 3rem;
125
- line-height: 4rem;
126
- }
113
+ font-family: var(--font-title);
114
+ font-weight: var(--w_title);
115
+ font-size: 4.4rem;
116
+ line-height: 5.8rem;
127
117
 
128
- @media #{$mobileSmall} {
129
- font-size: 2.4rem;
130
- line-height: 3rem;
131
- }
118
+ @media #{$desktopSmall} {
119
+ font-size: 3.6rem;
120
+ line-height: 4.8rem;
121
+ }
122
+
123
+ @media #{$mobile} {
124
+ font-size: 3rem;
125
+ line-height: 4rem;
126
+ }
127
+
128
+ @media #{$mobileSmall} {
129
+ font-size: 2.4rem;
130
+ line-height: 3rem;
131
+ }
132
132
  }
133
133
 
134
134
  @mixin title-grand-big {
135
- font-family: $font;
136
- font-weight: 400;
137
- font-size: 5.5rem;
138
- line-height: 5.8rem;
139
- letter-spacing: -0.055rem;
140
-
141
- @media #{$desktopSmall} {
142
- font-size: 4.2rem;
143
- line-height: 4.6rem;
144
- }
145
-
146
- @media #{$tabletH} {
135
+ font-family: var(--font-title);
136
+ font-weight: var(--w_title);
147
137
  font-size: 5.5rem;
148
138
  line-height: 5.8rem;
149
- }
139
+ letter-spacing: -0.055rem;
150
140
 
151
- @media #{$mobile} {
152
- font-size: 4.2rem;
153
- line-height: 4.6rem;
154
- }
141
+ @media #{$desktopSmall} {
142
+ font-size: 4.2rem;
143
+ line-height: 4.6rem;
144
+ }
155
145
 
156
- @media #{$mobileSmall} {
157
- font-size: 3rem;
158
- line-height: 3.8rem;
159
- }
146
+ @media #{$tabletH} {
147
+ font-size: 5.5rem;
148
+ line-height: 5.8rem;
149
+ }
150
+
151
+ @media #{$mobile} {
152
+ font-size: 4.2rem;
153
+ line-height: 4.6rem;
154
+ }
155
+
156
+ @media #{$mobileSmall} {
157
+ font-size: 3rem;
158
+ line-height: 3.8rem;
159
+ }
160
160
  }
161
161
 
162
162
  // 🟢 Subtitle Big - MD
163
163
  @mixin subtitle-big {
164
- font-family: $font;
165
- font-weight: 400;
166
- font-size: 3.2rem;
167
- line-height: 3.8rem;
168
-
169
- @media #{$desktopSmall} {
170
- font-weight: 400;
171
- font-size: 2.8rem;
172
- line-height: 3.2rem;
173
- }
174
-
175
- @media #{$tabletH} {
176
- font-weight: 400;
164
+ font-family: var(--font-text);
165
+ font-weight: var(--w_text);
177
166
  font-size: 3.2rem;
178
167
  line-height: 3.8rem;
179
- }
168
+
169
+ @media #{$desktopSmall} {
170
+ font-weight: 400;
171
+ font-size: 2.8rem;
172
+ line-height: 3.2rem;
173
+ }
174
+
175
+ @media #{$tabletH} {
176
+ font-weight: 400;
177
+ font-size: 3.2rem;
178
+ line-height: 3.8rem;
179
+ }
180
180
  }
181
181
 
182
182
  // 🟢🟠 Subtitle Text - RG 2
183
183
  @mixin subtitle-text-rg2 {
184
- font-family: $font;
185
- font-weight: 300;
186
- font-size: 3.2rem;
187
- line-height: 4.6rem;
188
-
189
- @media #{$desktopSmall} {
190
- font-size: 2.8rem;
191
- line-height: 3.8rem;
192
- }
193
-
194
- @media #{$tabletH} {
184
+ font-family: var(--font-text);
185
+ font-weight: var(--w_text);
195
186
  font-size: 3.2rem;
196
187
  line-height: 4.6rem;
197
- }
198
188
 
199
- @media #{$mobile} {
200
- font-size: 2.8rem;
201
- line-height: 3.8rem;
202
- }
189
+ @media #{$desktopSmall} {
190
+ font-size: 2.8rem;
191
+ line-height: 3.8rem;
192
+ }
203
193
 
204
- @media #{$mobileSmall} {
205
- font-size: 2.2rem;
206
- line-height: 3rem;
207
- }
194
+ @media #{$tabletH} {
195
+ font-size: 3.2rem;
196
+ line-height: 4.6rem;
197
+ }
198
+
199
+ @media #{$mobile} {
200
+ font-size: 2.8rem;
201
+ line-height: 3.8rem;
202
+ }
203
+
204
+ @media #{$mobileSmall} {
205
+ font-size: 2.2rem;
206
+ line-height: 3rem;
207
+ }
208
208
  }
209
209
 
210
210
  // 🟢🟠 Subtitle Text - MD 2
211
211
  @mixin subtitle-text-md2 {
212
- font-family: $font;
213
- font-weight: 400;
214
- font-size: 3.2rem;
215
- line-height: 5rem;
212
+ font-family: var(--font-text);
213
+ font-weight: var(--w_text);
214
+ font-size: 3.2rem;
215
+ line-height: 5rem;
216
216
 
217
- @media #{$mobileSmall} {
218
- font-size: 2.8rem;
219
- line-height: 3.8rem;
220
- }
217
+ @media #{$mobileSmall} {
218
+ font-size: 2.8rem;
219
+ line-height: 3.8rem;
220
+ }
221
221
  }
222
222
 
223
223
  // But/🟨 Button Box
224
224
  @mixin text-button-box {
225
- font-family: $font;
226
- font-weight: 500;
227
- font-size: 1.8rem;
225
+ font-family: var(--font-text);
226
+ font-weight: 500;
227
+ font-size: 1.8rem;
228
228
 
229
- @media #{$mobileSmall} {
230
- font-size: 1.6rem;
231
- }
229
+ @media #{$mobileSmall} {
230
+ font-size: 1.6rem;
231
+ }
232
232
  }
233
233
 
234
234
  // But/Button mini
235
235
  @mixin text-button-mini {
236
- font-family: $font;
237
- font-weight: 400;
238
- font-size: 1.3rem;
239
- line-height: 100%;
236
+ font-family: var(--font-text);
237
+ font-weight: 400;
238
+ font-size: 1.3rem;
239
+ line-height: 100%;
240
240
 
241
- //TODO no sabemos el responsive
241
+ //TODO no sabemos el responsive
242
242
  }
243
243
 
244
244
  // Breadcrumbs
245
245
  @mixin text-breadcrumbs {
246
- font-family: $font;
247
- font-weight: 400;
248
- font-style: Medium;
249
- font-size: 1.3rem;
250
- line-height: 100%;
246
+ font-family: var(--font-text);
247
+ font-weight: 400;
248
+ font-style: Medium;
249
+ font-size: 1.3rem;
250
+ line-height: 100%;
251
251
 
252
- //TODO no sabemos el responsive
252
+ //TODO no sabemos el responsive
253
253
  }
254
254
 
255
255
  // Text Motor
256
256
  @mixin text-motor {
257
- font-family: $font;
258
- font-weight: 300;
259
- font-size: 1.3rem;
260
- line-height: 100%;
257
+ font-family: var(--font-text);
258
+ font-weight: 300;
259
+ font-size: 1.3rem;
260
+ line-height: 100%;
261
261
 
262
- //TODO no veo el responsive en figma, falta añadirlo
262
+ //TODO no veo el responsive en figma, falta añadirlo
263
263
  }
264
264
 
265
265
  // 🟠🟠 Text Medium - MD
266
266
  @mixin text-medium-md {
267
- font-family: $font;
268
- font-weight: 400;
269
- font-size: 2.8rem;
270
- line-height: 3.6rem;
267
+ font-family: var(--font-text);
268
+ font-weight: 400;
269
+ font-size: 2.8rem;
270
+ line-height: 3.6rem;
271
271
 
272
- @media #{$mobileSmall} {
273
- font-size: 2.2rem;
274
- line-height: 2.6rem;
275
- }
272
+ @media #{$mobileSmall} {
273
+ font-size: 2.2rem;
274
+ line-height: 2.6rem;
275
+ }
276
276
  }
277
277
 
278
278
  // 🟠 Text - RG
279
279
  @mixin text-rg {
280
- font-family: $font;
281
- font-weight: 300;
282
- font-size: 2rem;
283
- line-height: 3.9rem;
284
- @media #{$desktopSmall} {
285
- font-size: 1.5rem;
286
- line-height: 3rem;
287
- }
288
- @media #{$mobile} {
289
- font-size: 1.1rem;
290
- line-height: 2rem;
291
- }
280
+ font-family: var(--font-text);
281
+ font-weight: 300;
282
+ font-size: 2rem;
283
+ line-height: 3.9rem;
284
+ @media #{$desktopSmall} {
285
+ font-size: 1.5rem;
286
+ line-height: 3rem;
287
+ }
288
+ @media #{$mobile} {
289
+ font-size: 1.1rem;
290
+ line-height: 2rem;
291
+ }
292
292
  }
293
293
 
294
294
  // 🔴 Text Medium - RG
295
295
  @mixin text-medium-rg {
296
- font-family: $font;
297
- font-weight: 300;
298
- font-size: 2.8rem;
299
- line-height: 3.6rem;
296
+ font-family: var(--font-text);
297
+ font-weight: 300;
298
+ font-size: 2.8rem;
299
+ line-height: 3.6rem;
300
300
 
301
- @media #{$mobileSmall} {
302
- font-size: 2.2rem;
303
- line-height: 2.6rem;
304
- }
301
+ @media #{$mobileSmall} {
302
+ font-size: 2.2rem;
303
+ line-height: 2.6rem;
304
+ }
305
305
  }
306
306
 
307
307
  // 🔵 Header
308
308
  @mixin text-header {
309
- font-family: $font;
310
- font-weight: 400;
311
- font-size: 1.8rem;
312
- line-height: 100%;
313
- letter-spacing: 0.18rem;
314
- text-transform: uppercase;
315
-
316
- @media #{$mobileSmall} {
317
- font-size: 1.4rem;
318
- letter-spacing: 0.056rem;
319
- }
309
+ font-family: var(--font-text);
310
+ font-weight: 400;
311
+ font-size: 1.8rem;
312
+ line-height: 100%;
313
+ letter-spacing: 0.18rem;
314
+ text-transform: uppercase;
315
+
316
+ @media #{$mobileSmall} {
317
+ font-size: 1.4rem;
318
+ letter-spacing: 0.056rem;
319
+ }
320
320
  }
321
321
 
322
322
  // Adventges photo MD
323
323
  @mixin text-adventges {
324
- font-family: $font;
325
- font-size: 1.8rem;
326
- line-height: 1.8rem;
327
- letter-spacing: 0.036rem;
324
+ font-family: var(--font-text);
325
+ font-size: 1.8rem;
326
+ line-height: 1.8rem;
327
+ letter-spacing: 0.036rem;
328
328
 
329
- @media #{$mobileSmall} {
330
- font-size: 1.6rem;
331
- line-height: 1.6rem;
332
- letter-spacing: 0.032rem;
333
- }
329
+ @media #{$mobileSmall} {
330
+ font-size: 1.6rem;
331
+ line-height: 1.6rem;
332
+ letter-spacing: 0.032rem;
333
+ }
334
334
  }
335
335
 
336
336
  // Fot/🟢 Subtilte Footer - RG
337
337
  @mixin subtitle-footer-rg {
338
- font-family: $font;
339
- font-weight: 300;
340
- font-size: 2rem;
341
- line-height: 3rem;
342
-
343
- @media #{$mobileSmall} {
338
+ font-family: var(--font-text);
339
+ font-weight: var(--w_text);
344
340
  font-size: 2rem;
345
- }
341
+ line-height: 3rem;
342
+
343
+ @media #{$mobileSmall} {
344
+ font-size: 2rem;
345
+ }
346
346
  }
347
347
 
348
348
  // Fot/🟠 List Footer
349
349
  @mixin list-footer {
350
- font-family: $font;
351
- font-weight: 300;
352
- font-size: 1.6rem;
353
- line-height: 4rem;
350
+ font-family: var(--font-text);
351
+ font-weight: 300;
352
+ font-size: 1.6rem;
353
+ line-height: 4rem;
354
354
  }
355
355
 
356
356
  // List H+A/Subtitle Hotel-Aprt - RG
357
357
  @mixin subtitle-hotel-aprt-rg {
358
- font-family: $font;
359
- font-weight: 300;
360
- font-size: 1.6rem;
361
- line-height: 100%;
358
+ font-family: var(--font-text);
359
+ font-weight: var(--w_text);
360
+ font-size: 1.6rem;
361
+ line-height: 100%;
362
362
  }
363
363
 
364
364
  // List seo
365
365
  @mixin list-seo {
366
- font-family: $font;
367
- font-weight: 400;
368
- font-size: 1.6rem;
369
- line-height: 2.8rem;
366
+ font-family: var(--font-text);
367
+ font-weight: 400;
368
+ font-size: 1.6rem;
369
+ line-height: 2.8rem;
370
370
  }
371
371
  // Fot/🟢 Subtitle Footer - MD
372
372
  @mixin subtitle-footer-md {
373
- font-family: $font;
374
- font-weight: 400;
375
- font-size: 2rem;
376
- line-height: 100%;
377
- @media #{$desktopSmall} {
378
- font-size: 1.5rem;
379
- }
380
- @media #{$tabletH} {
381
- font-size: 1.1rem;
382
- }
373
+ font-family: var(--font-text);
374
+ font-weight: var(--w_text);
375
+ font-size: 2rem;
376
+ line-height: 100%;
377
+ @media #{$desktopSmall} {
378
+ font-size: 1.5rem;
379
+ }
380
+ @media #{$tabletH} {
381
+ font-size: 1.1rem;
382
+ }
383
383
  }
384
384
 
385
385
  // Fot/🟡 Title Footer - RG
386
386
  @mixin subtitle-footer-title {
387
- font-family: $font;
388
- font-weight: 300;
389
- font-size: 3.8rem;
390
- line-height: 4.4rem;
387
+ font-family: var(--font-text);
388
+ font-weight: var(--w_text);
389
+ font-size: 3.8rem;
390
+ line-height: 4.4rem;
391
391
 
392
- @media #{$mobileSmall} {
393
- font-size: 2.8rem;
394
- }
392
+ @media #{$mobileSmall} {
393
+ font-size: 2.8rem;
394
+ }
395
395
  }
396
396
 
397
397
  @mixin subtitle-text--faqs {
398
- font-family: $font;
399
- font-weight: 300;
400
- font-size: 3.2rem;
401
- line-height: 4.6rem;
398
+ font-family: var(--font-text);
399
+ font-weight: var(--w_text);
400
+ font-size: 3.2rem;
401
+ line-height: 4.6rem;
402
402
 
403
- @media #{$desktopSmall} {
404
- font-size: 2.4rem;
405
- line-height: 3.4rem;
406
- }
403
+ @media #{$desktopSmall} {
404
+ font-size: 2.4rem;
405
+ line-height: 3.4rem;
406
+ }
407
407
 
408
- @media #{$tabletH} {
409
- font-size: 1.8rem;
410
- line-height: 2.6rem;
411
- }
408
+ @media #{$tabletH} {
409
+ font-size: 1.8rem;
410
+ line-height: 2.6rem;
411
+ }
412
412
  }
413
413
 
414
414
  // MV/🟠 Text - RG - M540
415
415
  @mixin text-rg-m540 {
416
- font-family: $font;
417
- font-weight: 300;
418
- font-size: 2rem;
419
- line-height: 3rem;
416
+ font-family: var(--font-text);
417
+ font-weight: 300;
418
+ font-size: 2rem;
419
+ line-height: 3rem;
420
420
 
421
- @media #{$mobileSmall} {
422
- font-size: 1.6rem;
423
- line-height: 2.2rem;
424
- }
421
+ @media #{$mobileSmall} {
422
+ font-size: 1.6rem;
423
+ line-height: 2.2rem;
424
+ }
425
425
  }
426
426
 
427
427
  // 🟡🟩 Title Ofert
428
428
  @mixin title-ofert {
429
- font-family: $font;
430
- font-weight: 300;
431
- font-size: 3.2rem;
432
- line-height: 100%;
429
+ font-family: var(--font-title);
430
+ font-weight: var(--w_title);
431
+ font-size: 3.2rem;
432
+ line-height: 100%;
433
433
 
434
- @media #{$mobile} {
435
- font-size: 2.4rem;
436
- line-height: 2.8rem;
437
- }
438
- @media #{$mobileSmall} {
439
- font-size: 2rem;
440
- line-height: 2.6rem;
441
- }
434
+ @media #{$mobile} {
435
+ font-size: 2.4rem;
436
+ line-height: 2.8rem;
437
+ }
438
+ @media #{$mobileSmall} {
439
+ font-size: 2rem;
440
+ line-height: 2.6rem;
441
+ }
442
442
  }
443
443
 
444
444
  // 🟩 Price Ofert
445
445
  @mixin price-ofert {
446
- font-family: $font;
447
- font-weight: 300;
448
- font-size: 4.4rem;
449
- line-height: 100%;
446
+ font-family: var(--font-title);
447
+ font-weight: 300;
448
+ font-size: 4.4rem;
449
+ line-height: 100%;
450
450
 
451
- @media #{$mobileSmall} {
452
- font-size: 3.8rem;
453
- }
451
+ @media #{$mobileSmall} {
452
+ font-size: 3.8rem;
453
+ }
454
454
  }
455
455
 
456
456
  // 🟡 Title Grand Big
457
457
  @mixin title-grand-big {
458
- font-family: $font;
459
- font-weight: 500;
460
- font-size: 5.5rem;
461
- line-height: 5.8rem;
458
+ font-family: var(--font-title);
459
+ font-weight: var(--w_title);
460
+ font-size: 5.5rem;
461
+ line-height: 5.8rem;
462
462
  }
463
463
 
464
464
  // Title item
465
465
  @mixin title-item {
466
- font-family: $font;
467
- font-weight: 400;
468
- font-size: 1.8rem;
469
- line-height: 2.8rem;
470
- @media #{$mobileSmall} {
471
- line-height: 2.4rem;
472
- }
466
+ font-family: var(--font-title);
467
+ font-weight: var(--w_title);
468
+ font-size: 1.8rem;
469
+ line-height: 2.8rem;
470
+ @media #{$mobileSmall} {
471
+ line-height: 2.4rem;
472
+ }
473
473
  }
474
474
  // Text Service Subt.
475
475
  @mixin text-service-subt {
476
- font-family: $font;
477
- font-weight: 400;
478
- font-size: 1.4rem;
479
- line-height: 1.7rem;
480
- @media #{$mobileSmall} {
481
- line-height: 2.4rem;
482
- }
476
+ font-family: var(--font-text);
477
+ font-weight: 400;
478
+ font-size: 1.4rem;
479
+ line-height: 1.7rem;
480
+ @media #{$mobileSmall} {
481
+ line-height: 2.4rem;
482
+ }
483
483
  }
484
484
 
485
485
  // But/🟨 button campo line
486
486
  @mixin button-campo-line {
487
- font-family: $font;
488
- font-weight: 500;
489
- font-size: 1.5rem;
490
- line-height: 100%;
487
+ font-family: var(--font-text);
488
+ font-weight: 500;
489
+ font-size: 1.5rem;
490
+ line-height: 100%;
491
491
  }