@trafilea/afrodita-components 5.0.0-beta.17 → 5.0.0-beta.170

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.
@@ -0,0 +1,949 @@
1
+ 'use strict';
2
+
3
+ /*! *****************************************************************************
4
+ Copyright (c) Microsoft Corporation.
5
+
6
+ Permission to use, copy, modify, and/or distribute this software for any
7
+ purpose with or without fee is hereby granted.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
10
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
11
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
12
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
13
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
14
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
15
+ PERFORMANCE OF THIS SOFTWARE.
16
+ ***************************************************************************** */
17
+
18
+ var __assign = function() {
19
+ __assign = Object.assign || function __assign(t) {
20
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
21
+ s = arguments[i];
22
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
23
+ }
24
+ return t;
25
+ };
26
+ return __assign.apply(this, arguments);
27
+ };
28
+
29
+ var CardSectionType;
30
+ (function (CardSectionType) {
31
+ CardSectionType[CardSectionType["Header"] = 0] = "Header";
32
+ CardSectionType[CardSectionType["Footer"] = 1] = "Footer";
33
+ })(CardSectionType || (CardSectionType = {}));
34
+ var ComponentSize;
35
+ (function (ComponentSize) {
36
+ ComponentSize["Large"] = "large";
37
+ ComponentSize["Medium"] = "medium";
38
+ ComponentSize["Small"] = "small";
39
+ ComponentSize["XSmall"] = "xsmall";
40
+ })(ComponentSize || (ComponentSize = {}));
41
+ var ComponentPosition;
42
+ (function (ComponentPosition) {
43
+ ComponentPosition[ComponentPosition["Top"] = 0] = "Top";
44
+ ComponentPosition[ComponentPosition["Bottom"] = 1] = "Bottom";
45
+ ComponentPosition[ComponentPosition["Left"] = 2] = "Left";
46
+ ComponentPosition[ComponentPosition["Right"] = 3] = "Right";
47
+ })(ComponentPosition || (ComponentPosition = {}));
48
+ var InputValidationType;
49
+ (function (InputValidationType) {
50
+ InputValidationType[InputValidationType["Error"] = 0] = "Error";
51
+ InputValidationType[InputValidationType["Valid"] = 1] = "Valid";
52
+ InputValidationType[InputValidationType["Empty"] = 2] = "Empty";
53
+ })(InputValidationType || (InputValidationType = {}));
54
+
55
+ var revel = {
56
+ name: 'Revel',
57
+ fontSizes: [10, 12, 14, 16, 18, 20, 24, 30, 36, 42, 52, 60, 68, 72, 76],
58
+ fontWeights: [400, 600, 500, 700, 800],
59
+ lineHeights: [14, 16, 18, 20, 22, 24, 28, 32, 38, 44, 52, 68, 76, 84, 88, 92],
60
+ mediaQueries: {
61
+ mobile: 0,
62
+ desktop: 1200,
63
+ },
64
+ radius: {
65
+ regular: '8px',
66
+ },
67
+ zIndex: {
68
+ modal: 50,
69
+ overlay: 49,
70
+ },
71
+ colors: {
72
+ pallete: {
73
+ primary: {
74
+ color: '#EFD6D2',
75
+ contrast: '--colors-shades-700-color',
76
+ soft: {
77
+ color: '#fcd9d1',
78
+ contrast: '--colors-shades-700-color',
79
+ },
80
+ 20: {
81
+ color: '#FCF7F6',
82
+ contrast: '--colors-shades-700-color',
83
+ soft: {
84
+ color: '#fef7f6',
85
+ contrast: '--colors-shades-700-color',
86
+ },
87
+ },
88
+ 40: {
89
+ color: '#F9EFED',
90
+ contrast: '--colors-shades-700-color',
91
+ soft: {
92
+ color: '#fef0ed',
93
+ contrast: '--colors-shades-700-color',
94
+ },
95
+ },
96
+ 60: {
97
+ color: '#F5E6E4',
98
+ contrast: '--colors-shades-700-color',
99
+ soft: {
100
+ color: '#fde8e3',
101
+ contrast: '--colors-shades-700-color',
102
+ },
103
+ },
104
+ 80: {
105
+ color: '#F2DEDB',
106
+ contrast: '--colors-shades-700-color',
107
+ soft: {
108
+ color: '#fde1da',
109
+ contrast: '--colors-shades-700-color',
110
+ },
111
+ },
112
+ },
113
+ secondary: __assign({
114
+ color: '#292929',
115
+ contrast: '--colors-shades-white-color',
116
+ soft: {
117
+ color: '#bbbbbb',
118
+ contrast: '--colors-shades-700-color',
119
+ },
120
+ }, { 20: {
121
+ color: '#d4d4d4',
122
+ contrast: '--colors-shades-700-color',
123
+ soft: {
124
+ color: '#f1f1f1',
125
+ contrast: '--colors-shades-700-color',
126
+ },
127
+ }, 40: {
128
+ color: '#a9a9a9',
129
+ contrast: '--colors-shades-700-color',
130
+ soft: {
131
+ color: '#e4e4e4',
132
+ contrast: '--colors-shades-700-color',
133
+ },
134
+ }, 60: {
135
+ color: '#7f7f7f',
136
+ contrast: '--colors-shades-white-color',
137
+ soft: {
138
+ color: '#d6d6d6',
139
+ contrast: '--colors-shades-700-color',
140
+ },
141
+ }, 80: {
142
+ color: '#545454',
143
+ contrast: '--colors-shades-white-color',
144
+ soft: {
145
+ color: '#c9c9c9',
146
+ contrast: '--colors-shades-700-color',
147
+ },
148
+ } }),
149
+ wine: {
150
+ color: '#882A2B',
151
+ contrast: '--colors-shades-white-color',
152
+ soft: {
153
+ color: '#DBBFBF',
154
+ contrast: '--colors-text-color',
155
+ },
156
+ },
157
+ creamy: {
158
+ color: '#FFE9D8',
159
+ contrast: '--colors-text-color',
160
+ soft: {
161
+ color: '#FFF6EF',
162
+ contrast: '--colors-text-color',
163
+ },
164
+ },
165
+ ocean: {
166
+ color: '#2B526D',
167
+ contrast: '--colors-shades-white-color',
168
+ soft: {
169
+ color: '#BFCBD3',
170
+ contrast: '--colors-shades-700-color',
171
+ },
172
+ },
173
+ },
174
+ shades: {
175
+ black: { color: '#000', contrast: '--colors-shades-white-color' },
176
+ white: { color: '#fff', contrast: '--colors-shades-700-color' },
177
+ 5: { color: '#fafafa', contrast: '--colors-shades-700-color' },
178
+ 10: { color: '#f7f7f7', contrast: '--colors-shades-700-color' },
179
+ 50: { color: '#efefef', contrast: '--colors-shades-700-color' },
180
+ 100: { color: '#e5e5e5', contrast: '--colors-shades-700-color' },
181
+ 150: { color: '#d1d1d1', contrast: '--colors-shades-700-color' },
182
+ 200: { color: '#bbbbbb', contrast: '--colors-shades-700-color' },
183
+ 250: { color: '#a6a6a6', contrast: '--colors-shades-700-color' },
184
+ 300: { color: '#9e9e9e', contrast: '--colors-shades-700-color' },
185
+ 350: { color: '#949494', contrast: '--colors-shades-white-color' },
186
+ 400: { color: '#808080', contrast: '--colors-shades-white-color' },
187
+ 450: { color: '#767676', contrast: '--colors-shades-white-color' },
188
+ 500: { color: '#5a5a5a', contrast: '--colors-shades-white-color' },
189
+ 550: { color: '#3a3a3a', contrast: '--colors-shades-white-color' },
190
+ 600: { color: '#343434', contrast: '--colors-shades-white-color' },
191
+ 650: { color: '#2d2d2d', contrast: '--colors-shades-white-color' },
192
+ 700: { color: '#292929', contrast: '--colors-shades-white-color' },
193
+ 750: { color: '#232323', contrast: '--colors-shades-white-color' },
194
+ 800: { color: '#202020', contrast: '--colors-shades-white-color' },
195
+ 850: { color: '#1b1b1b', contrast: '--colors-shades-white-color' },
196
+ 900: { color: '#191919', contrast: '--colors-shades-white-color' },
197
+ 950: { color: '#141414', contrast: '--colors-shades-white-color' },
198
+ 990: { color: '#0b0b0b', contrast: '--colors-shades-white-color' },
199
+ },
200
+ semantic: {
201
+ positive: { color: '#2F806A', contrast: '--colors-shades-white-color' },
202
+ urgent: { color: '#C64844', contrast: '--colors-shades-white-color' },
203
+ attention: { color: '#F2D96F', contrast: '--colors-shades-700-color' },
204
+ informative: { color: '#0A609B', contrast: '--colors-shades-700-color' },
205
+ },
206
+ border: {
207
+ color: '',
208
+ disabled: '--colors-shades-200-color',
209
+ highlight: '--colors-shades-700-color',
210
+ },
211
+ background: {
212
+ color: '--colors-shades-white-color',
213
+ disabled: '--colors-shades-50-color',
214
+ },
215
+ text: {
216
+ color: '--colors-shades-700-color',
217
+ disabled: '--colors-shades-250-color',
218
+ },
219
+ },
220
+ component: {
221
+ button: {
222
+ border: 'none',
223
+ borderRadius: '2.5rem',
224
+ fontWeight: 700,
225
+ lineHeight: '20px',
226
+ letterSpacing: '0.2em',
227
+ minWidth: '300px',
228
+ minHeight: '48px',
229
+ size: {
230
+ small: {
231
+ fontSize: '0.75rem',
232
+ padding: '0.25rem 1rem',
233
+ },
234
+ medium: {
235
+ fontSize: '0.875rem',
236
+ padding: '0.5rem 1.5rem',
237
+ },
238
+ large: {
239
+ fontSize: '1rem',
240
+ padding: '0.75rem 2rem',
241
+ },
242
+ },
243
+ primary: {
244
+ active: {
245
+ backgroundColor: '--component-stars-element-color',
246
+ color: '--colors-pallete-primary-contrast',
247
+ },
248
+ hover: {
249
+ backgroundColor: '--colors-pallete-primary-soft-color',
250
+ color: '--colors-pallete-primary-soft-contrast',
251
+ },
252
+ },
253
+ secondary: {
254
+ active: {
255
+ backgroundColor: '--colors-pallete-secondary-color',
256
+ color: '--colors-pallete-secondary-contrast',
257
+ },
258
+ hover: {
259
+ backgroundColor: '--colors-pallete-secondary-80-color',
260
+ color: '--colors-pallete-secondary-contrast',
261
+ },
262
+ },
263
+ },
264
+ input: {
265
+ background: '--colors-shades-white-color',
266
+ color: '--colors-shades-700-color',
267
+ placeholderColor: '--colors-shades-250-color',
268
+ borderRadius: '2.5rem',
269
+ fontSize: '1rem',
270
+ fontWeight: 400,
271
+ padding: '0.75rem 1rem',
272
+ lineHeight: '1.5rem',
273
+ border: '0.063rem solid var(--colors-shades-200-color)',
274
+ boxShadow: 'none',
275
+ errorBorder: '0.09375rem solid #d3373c',
276
+ },
277
+ inputPlaceholder: {
278
+ fontSize: '0.875rem',
279
+ padding: '1.125rem 0.9375rem 0.3rem 0.9375rem',
280
+ focusBorder: '0.09375rem solid #1990c6',
281
+ },
282
+ inputCustom: {
283
+ button: {
284
+ borderRadius: '0 0.5rem 0.5rem 0',
285
+ },
286
+ input: {
287
+ borderRadius: '0.5rem 1rem 1rem 0.5rem',
288
+ },
289
+ },
290
+ selector: {
291
+ size: {
292
+ small: {
293
+ padding: '0.625rem 1.25rem',
294
+ borderRadius: '0.5rem',
295
+ },
296
+ medium: {
297
+ padding: '0.25rem 1rem',
298
+ borderRadius: '0.375rem',
299
+ },
300
+ },
301
+ default: {
302
+ fontWeight: 600,
303
+ border: '0.063rem solid var(--colors-shades-250-color)',
304
+ background: '--colors-shades-white-color',
305
+ color: '--colors-shades-700-color',
306
+ },
307
+ hover: {
308
+ fontWeight: 600,
309
+ background: '--colors-shades-700-color',
310
+ border: 'none',
311
+ color: '--colors-shades-white-color',
312
+ },
313
+ noStock: {
314
+ fontWeight: 600,
315
+ background: 'transparent',
316
+ border: '1px solid #3a3a3a4d',
317
+ color: '#3a3a3a4d',
318
+ },
319
+ disabled: {
320
+ border: 'none',
321
+ },
322
+ fontSize: '0.75rem',
323
+ },
324
+ rating: {
325
+ fontWeight: 400,
326
+ size: {
327
+ xsmall: {
328
+ fontSize: '0.625rem',
329
+ lineHeight: '0.625rem',
330
+ },
331
+ small: {
332
+ fontSize: '0.875rem',
333
+ lineHeight: '0.875rem',
334
+ },
335
+ medium: {
336
+ fontSize: '1rem',
337
+ lineHeight: '1rem',
338
+ },
339
+ large: {
340
+ fontSize: '1.125rem',
341
+ lineHeight: '1.125rem',
342
+ },
343
+ },
344
+ },
345
+ stars: {
346
+ element: {
347
+ color: '#E7B8A6',
348
+ xsmall: {
349
+ width: '0.656rem',
350
+ height: '0.656rem',
351
+ marginRight: '0.156rem',
352
+ },
353
+ small: {
354
+ width: '0.875rem',
355
+ height: '0.875rem',
356
+ marginRight: '0.25rem',
357
+ },
358
+ medium: {
359
+ width: '1.375rem',
360
+ height: '1.375rem',
361
+ marginRight: '0.375rem',
362
+ },
363
+ large: {
364
+ width: '2.375rem',
365
+ height: '2.375rem',
366
+ marginRight: '0.375rem',
367
+ },
368
+ },
369
+ },
370
+ card: {
371
+ borderRadius: '1.25rem',
372
+ backgroundColor: '#F5DECE',
373
+ },
374
+ radio: {
375
+ borderColor: '--colors-shades-700-color',
376
+ background: '--colors-shades-white-color',
377
+ textSize: '14px',
378
+ lineHeight: '22px',
379
+ size: {
380
+ large: {
381
+ borderWidth: '0.094rem',
382
+ margin: '0.5rem',
383
+ height: '2.25rem',
384
+ active: {
385
+ borderWidth: '0.875rem',
386
+ },
387
+ },
388
+ medium: {
389
+ borderWidth: '0.094rem',
390
+ margin: '0.375rem',
391
+ height: '1.375rem',
392
+ active: {
393
+ borderWidth: '0.5rem',
394
+ },
395
+ },
396
+ small: {
397
+ borderWidth: '0.063rem',
398
+ margin: '0.375rem',
399
+ height: '0.875rem',
400
+ active: {
401
+ borderWidth: '0.313rem',
402
+ },
403
+ },
404
+ },
405
+ },
406
+ label: {
407
+ color: '--colors-shades-400-color',
408
+ fontSize: {
409
+ small: '0.75rem',
410
+ medium: '0.75rem',
411
+ large: '0.875rem',
412
+ },
413
+ lineHeight: {
414
+ small: '1rem',
415
+ medium: '1rem',
416
+ large: '1.125rem',
417
+ },
418
+ },
419
+ checkbox: {
420
+ background: '--colors-shades-white-color',
421
+ borderColor: '--colors-shades-700-color',
422
+ active: {
423
+ background: '--colors-shades-700-color',
424
+ },
425
+ size: {
426
+ large: {
427
+ width: '1.8rem',
428
+ height: '1.8rem',
429
+ borderRadius: '0.25rem',
430
+ borderWidth: '0.094rem',
431
+ margin: '0.6rem',
432
+ icon: {
433
+ width: '1.1rem',
434
+ height: '0.8rem',
435
+ },
436
+ },
437
+ medium: {
438
+ width: '1.375rem',
439
+ height: '1.375rem',
440
+ borderRadius: '0.25rem',
441
+ borderWidth: '0.094rem',
442
+ margin: '0.438rem',
443
+ icon: {
444
+ width: '0.875rem',
445
+ height: '0.625rem',
446
+ },
447
+ },
448
+ small: {
449
+ width: '0.875rem',
450
+ height: '0.875rem',
451
+ borderRadius: '0.125rem',
452
+ borderWidth: '0.063rem',
453
+ margin: '0.563rem',
454
+ icon: {
455
+ width: '0.5rem',
456
+ height: '0.375rem',
457
+ },
458
+ },
459
+ },
460
+ },
461
+ accordion: {
462
+ variant: {
463
+ box: {
464
+ container: {
465
+ border: '0.063rem solid',
466
+ borderColor: '--colors-shades-100-color',
467
+ borderRadius: '0.25rem',
468
+ padding: '1.25rem 2rem',
469
+ },
470
+ summary: {
471
+ fontWeight: 600,
472
+ fontSize: '20px',
473
+ lineHeight: '28px',
474
+ color: '--colors-shades-700-color',
475
+ },
476
+ details: {
477
+ margin: '10px 0px 0px 0px',
478
+ },
479
+ icon: {
480
+ width: 1.5,
481
+ height: 1.5,
482
+ color: '--colors-shades-700-color',
483
+ },
484
+ },
485
+ simple: {
486
+ container: {
487
+ borderTop: '1px solid',
488
+ borderColor: '--colors-shades-100-color',
489
+ borderBottom: 'none',
490
+ borderRadius: 'none',
491
+ padding: '10px 0px',
492
+ },
493
+ summary: {
494
+ fontWeight: 400,
495
+ fontSize: '20px',
496
+ lineHeight: '28px',
497
+ color: '--colors-shades-700-color',
498
+ },
499
+ details: {
500
+ margin: '10px 0px 0px 0px',
501
+ },
502
+ icon: {
503
+ width: 1,
504
+ height: 1,
505
+ color: '--colors-shades-700-color',
506
+ },
507
+ },
508
+ },
509
+ },
510
+ dropdown: {
511
+ borderRadius: '2.5rem',
512
+ fontSize: '0.875rem',
513
+ fontWeight: 600,
514
+ lineHeight: '1.125rem',
515
+ padding: '0.5rem 0.75rem 0.5rem 1rem',
516
+ color: '--colors-shades-700-color',
517
+ fill: '--colors-shades-700-color',
518
+ options: {
519
+ borderColor: '--colors-shades-700-color',
520
+ color: '--colors-shades-700-color',
521
+ borderRadius: '0.5rem',
522
+ },
523
+ },
524
+ modal: {
525
+ minWidth: '540px',
526
+ },
527
+ packSelector: {
528
+ borderRadius: '8px',
529
+ borderColor: '--colors-shades-100-color',
530
+ highlightColor: '--colors-pallete-creamy-soft-color',
531
+ selectedColor: '--colors-semantic-positive-color',
532
+ selectedContrast: '--colors-semantic-positive-contrast',
533
+ tagColor: '--colors-semantic-attention-color',
534
+ },
535
+ slideNavigation: {
536
+ slideDots: {
537
+ unselectedDotColor: 'transparent',
538
+ selectedDotColor: '--colors-shades-700-color',
539
+ dotsOpacity: 0.9,
540
+ },
541
+ },
542
+ beforeAfter: {
543
+ size: {
544
+ small: {
545
+ image: {
546
+ minHeight: 'auto',
547
+ minWidth: '92px',
548
+ mobile: {
549
+ minHeight: '138px',
550
+ minWidth: '128px',
551
+ },
552
+ },
553
+ imageContainer: {
554
+ maxWidth: '214px',
555
+ padding: '12px',
556
+ mobile: {
557
+ maxWidth: '286px',
558
+ },
559
+ },
560
+ userInfoText: {
561
+ fontSize: '12px',
562
+ mobile: {
563
+ fontSize: '12px',
564
+ },
565
+ },
566
+ },
567
+ medium: {
568
+ image: {
569
+ minHeight: '200px',
570
+ minWidth: '187px',
571
+ mobile: {
572
+ minHeight: '157px',
573
+ minWidth: '150px',
574
+ },
575
+ },
576
+ imageContainer: {
577
+ maxWidth: '427px',
578
+ padding: '18px',
579
+ mobile: {
580
+ maxWidth: '342px',
581
+ },
582
+ },
583
+ userInfoText: {
584
+ fontSize: '18px',
585
+ mobile: {
586
+ fontSize: '14px',
587
+ },
588
+ },
589
+ },
590
+ large: {
591
+ image: {
592
+ minHeight: '200px',
593
+ minWidth: '187px',
594
+ mobile: {
595
+ minHeight: '157px',
596
+ minWidth: '150px',
597
+ },
598
+ },
599
+ imageContainer: {
600
+ maxWidth: '427px',
601
+ padding: '18px',
602
+ mobile: {
603
+ maxWidth: '342px',
604
+ },
605
+ },
606
+ userInfoText: {
607
+ fontSize: '18px',
608
+ mobile: {
609
+ fontSize: '14px',
610
+ },
611
+ },
612
+ },
613
+ },
614
+ },
615
+ total: {
616
+ basicTotal: {
617
+ amount: {
618
+ color: '--colors-pallete-secondary-color',
619
+ fontSize: '24px',
620
+ },
621
+ currency: {
622
+ color: '#A6A6A6',
623
+ fontSize: '16px',
624
+ lineHeight: '24px',
625
+ alignSelf: 'flex-end',
626
+ },
627
+ savings: {
628
+ textFontSize: '14px',
629
+ textLineHeight: '22px',
630
+ amountFontSize: '18px',
631
+ amountFontWeight: 700,
632
+ amountLineHeight: '20px',
633
+ color: '--colors-semantic-positive-color',
634
+ },
635
+ },
636
+ },
637
+ subTotal: {
638
+ basicSubTotal: {
639
+ family: 'Jost',
640
+ size: '14px',
641
+ weight: 700,
642
+ lineHeight: '20px',
643
+ color: '--colors-pallete-secondary-color',
644
+ },
645
+ },
646
+ pricing: {
647
+ priceLabel: {
648
+ price: {
649
+ size: ComponentSize.Medium,
650
+ originalPriceColor: '--colors-shades-400-color',
651
+ actualPriceColor: '--colors-semantic-urgent-color',
652
+ },
653
+ },
654
+ },
655
+ orderSummary: {
656
+ headingTextAlign: 'center',
657
+ backgroundColor: '--colors-shades-10-color',
658
+ padding: '20px',
659
+ borderRadius: '--radius-regular',
660
+ maxWidth: '',
661
+ onMobile: {
662
+ maxWidth: '100%',
663
+ padding: '15px',
664
+ },
665
+ },
666
+ expressCheckout: {
667
+ fontFamily: 'Jost',
668
+ fontWeight: 600,
669
+ lineHeight: '22px',
670
+ },
671
+ copyrightText: {
672
+ fontSize: '14px',
673
+ fontWeight: 400,
674
+ lineHeight: '22px',
675
+ color: '--colors-shades-400-color',
676
+ },
677
+ textButton: {
678
+ fontWeight: 600,
679
+ lineHeight: '22px',
680
+ },
681
+ deliveryDetails: {
682
+ note: {
683
+ accentColor: '--colors-semantic-urgent-color',
684
+ color: '--colors-text-color',
685
+ backgroundColor: '#F5DECE',
686
+ },
687
+ SectionDetails: {
688
+ marginLeft: '1.813rem',
689
+ },
690
+ },
691
+ text: {
692
+ orderHeader: {
693
+ color: '--colors-shades-650-color',
694
+ },
695
+ },
696
+ },
697
+ typography: {
698
+ config: {
699
+ weight: {
700
+ heavy: 900,
701
+ bold: 700,
702
+ demi: 600,
703
+ regular: 400,
704
+ },
705
+ },
706
+ variants: {
707
+ hero1: {
708
+ fontSize: 76,
709
+ lineHeight: '92px',
710
+ },
711
+ hero2: {
712
+ fontSize: 72,
713
+ lineHeight: '88px',
714
+ },
715
+ hero3: {
716
+ fontSize: 68,
717
+ lineHeight: '84px',
718
+ },
719
+ display1: {
720
+ fontSize: 60,
721
+ lineHeight: '76px',
722
+ },
723
+ display2: {
724
+ fontSize: 52,
725
+ lineHeight: '68px',
726
+ },
727
+ heading1: {
728
+ fontSize: 42,
729
+ lineHeight: '52px',
730
+ },
731
+ heading2: {
732
+ fontSize: 36,
733
+ lineHeight: '44px',
734
+ },
735
+ heading3: {
736
+ fontSize: 30,
737
+ lineHeight: '38px',
738
+ },
739
+ heading4: {
740
+ fontSize: 24,
741
+ lineHeight: '32px',
742
+ },
743
+ heading5: {
744
+ fontSize: 20,
745
+ lineHeight: '28px',
746
+ },
747
+ heading6: {
748
+ fontSize: 18,
749
+ lineHeight: '22px',
750
+ },
751
+ 'body-regular': {
752
+ fontSize: 16,
753
+ lineHeight: '24px',
754
+ },
755
+ 'body-small': {
756
+ fontSize: 14,
757
+ lineHeight: '22px',
758
+ },
759
+ 'link-regular': {
760
+ fontSize: 16,
761
+ lineHeight: '24px',
762
+ },
763
+ 'link-small': {
764
+ fontSize: 14,
765
+ lineHeight: '22px',
766
+ },
767
+ 'pricing-large': {
768
+ fontSize: 24,
769
+ lineHeight: '32px',
770
+ },
771
+ 'pricing-medium': {
772
+ fontSize: 18,
773
+ lineHeight: '24px',
774
+ },
775
+ 'pricing-regular': {
776
+ fontSize: 16,
777
+ lineHeight: '32px',
778
+ },
779
+ 'pricing-small': {
780
+ fontSize: 14,
781
+ lineHeight: '20px',
782
+ },
783
+ button: {
784
+ textTransform: 'uppercase',
785
+ },
786
+ 'button-large': {
787
+ fontSize: 16,
788
+ lineHeight: '20px',
789
+ },
790
+ 'button-regular': {
791
+ fontSize: 14,
792
+ lineHeight: '18px',
793
+ },
794
+ 'button-small': {
795
+ fontSize: 12,
796
+ lineHeight: '16px',
797
+ },
798
+ 'label-regular': {
799
+ fontSize: 14,
800
+ lineHeight: '18px',
801
+ },
802
+ 'label-small': {
803
+ fontSize: 12,
804
+ lineHeight: '16px',
805
+ },
806
+ 'tag-regular': {
807
+ fontSize: 12,
808
+ lineHeight: '16px',
809
+ },
810
+ 'tag-small': {
811
+ fontSize: 10,
812
+ lineHeight: '14px',
813
+ },
814
+ 'tag-x-small': {
815
+ fontSize: 8,
816
+ lineHeight: '12px',
817
+ },
818
+ },
819
+ },
820
+ fonts: {
821
+ url: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/fonts/revel',
822
+ config: [
823
+ {
824
+ family: 'Jost',
825
+ src: 'Jost400Book.otf',
826
+ weight: 400,
827
+ },
828
+ {
829
+ family: 'Jost',
830
+ src: 'Jost100Hairline.otf',
831
+ weight: 100,
832
+ },
833
+ {
834
+ family: 'Jost',
835
+ src: 'Jost200Thin.otf',
836
+ weight: 200,
837
+ },
838
+ {
839
+ family: 'Jost',
840
+ src: 'Jost300Light.otf',
841
+ weight: 300,
842
+ },
843
+ {
844
+ family: 'Jost',
845
+ src: 'Jost500Medium.otf',
846
+ weight: 500,
847
+ },
848
+ {
849
+ family: 'Jost',
850
+ src: 'Jost600Semi.otf',
851
+ weight: 600,
852
+ },
853
+ {
854
+ family: 'Jost',
855
+ src: 'Jost700Bold.otf',
856
+ weight: 700,
857
+ },
858
+ {
859
+ family: 'Jost',
860
+ src: 'Jost800Heavy.otf',
861
+ weight: 800,
862
+ stretch: 'condensed',
863
+ },
864
+ {
865
+ family: 'Jost',
866
+ src: 'Jost900Black.otf',
867
+ weight: 900,
868
+ stretch: 'condensed',
869
+ },
870
+ {
871
+ family: 'Jost',
872
+ src: 'Jost100HairlineItalic.otf',
873
+ weight: 100,
874
+ style: 'italic',
875
+ },
876
+ {
877
+ family: 'Jost',
878
+ src: 'Jost200ThinItalic.otf',
879
+ weight: 200,
880
+ style: 'italic',
881
+ },
882
+ {
883
+ family: 'Jost',
884
+ src: 'Jost300LightItalic.otf',
885
+ weight: 300,
886
+ style: 'italic',
887
+ },
888
+ {
889
+ family: 'Jost',
890
+ src: 'Jost400BookItalic.otf',
891
+ weight: 400,
892
+ style: 'italic',
893
+ },
894
+ {
895
+ family: 'Jost',
896
+ src: 'Jost500MediumItalic.otf',
897
+ weight: 500,
898
+ style: 'italic',
899
+ },
900
+ {
901
+ family: 'Jost',
902
+ src: 'Jost600SemiItalic.otf',
903
+ weight: 600,
904
+ style: 'italic',
905
+ },
906
+ {
907
+ family: 'Jost',
908
+ src: 'Jost700BoldItalic.otf',
909
+ weight: 700,
910
+ style: 'italic',
911
+ },
912
+ {
913
+ family: 'Jost',
914
+ src: 'Jost800HeavyItalic.otf',
915
+ weight: 800,
916
+ style: 'italic',
917
+ },
918
+ {
919
+ family: 'Jost',
920
+ src: 'Jost900BlackItalic.otf',
921
+ weight: 900,
922
+ style: 'italic',
923
+ },
924
+ {
925
+ family: 'Georgia',
926
+ src: 'Georgia-Regular.otf',
927
+ weight: 400,
928
+ },
929
+ {
930
+ family: 'Georgia',
931
+ src: 'Georgia-Bold.otf',
932
+ weight: 700,
933
+ },
934
+ ],
935
+ },
936
+ assets: {
937
+ images: {
938
+ favicon: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/images/revel/revel_favicon.png',
939
+ logo: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/images/revel/revelbeauty.svg',
940
+ logoSize: {
941
+ width: '342',
942
+ height: '22',
943
+ },
944
+ logoMobile: 'https://cdn11.bigcommerce.com/s-fjtlubkm6t/images/stencil/original/image-manager/mobilelogo.png?t=1667205066&_gl=1*1rjjnv8*_ga*MTM1MjY2Nzk4OS4xNjYzMjQ5ODIy*_ga_WS2VZYPC6G*MTY2NzIwNDk0OS41Ni4xLjE2NjcyMDUwNTguMTQuMC4w',
945
+ },
946
+ },
947
+ };
948
+
949
+ module.exports = revel;