@trafilea/afrodita-components 5.0.0-beta.21 → 5.0.0-beta.211

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,951 @@
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
+ 175: { color: '#c4c4c4', contrast: '--colors-shades-700-color' },
183
+ 200: { color: '#bbbbbb', contrast: '--colors-shades-700-color' },
184
+ 250: { color: '#a6a6a6', contrast: '--colors-shades-700-color' },
185
+ 300: { color: '#9e9e9e', contrast: '--colors-shades-700-color' },
186
+ 350: { color: '#949494', contrast: '--colors-shades-white-color' },
187
+ 400: { color: '#808080', contrast: '--colors-shades-white-color' },
188
+ 450: { color: '#767676', contrast: '--colors-shades-white-color' },
189
+ 500: { color: '#5a5a5a', contrast: '--colors-shades-white-color' },
190
+ 550: { color: '#3a3a3a', contrast: '--colors-shades-white-color' },
191
+ 600: { color: '#343434', contrast: '--colors-shades-white-color' },
192
+ 650: { color: '#2d2d2d', contrast: '--colors-shades-white-color' },
193
+ 700: { color: '#292929', contrast: '--colors-shades-white-color' },
194
+ 750: { color: '#232323', contrast: '--colors-shades-white-color' },
195
+ 800: { color: '#202020', contrast: '--colors-shades-white-color' },
196
+ 850: { color: '#1b1b1b', contrast: '--colors-shades-white-color' },
197
+ 900: { color: '#191919', contrast: '--colors-shades-white-color' },
198
+ 950: { color: '#141414', contrast: '--colors-shades-white-color' },
199
+ 990: { color: '#0b0b0b', contrast: '--colors-shades-white-color' },
200
+ },
201
+ semantic: {
202
+ positive: { color: '#2F806A', contrast: '--colors-shades-white-color' },
203
+ urgent: { color: '#C64844', contrast: '--colors-shades-white-color' },
204
+ attention: { color: '#F2D96F', contrast: '--colors-shades-700-color' },
205
+ informative: { color: '#0A609B', contrast: '--colors-shades-700-color' },
206
+ },
207
+ border: {
208
+ color: '',
209
+ disabled: '--colors-shades-200-color',
210
+ highlight: '--colors-shades-700-color',
211
+ },
212
+ background: {
213
+ color: '--colors-shades-white-color',
214
+ disabled: '--colors-shades-50-color',
215
+ },
216
+ text: {
217
+ color: '--colors-shades-700-color',
218
+ disabled: '--colors-shades-250-color',
219
+ },
220
+ },
221
+ component: {
222
+ button: {
223
+ border: 'none',
224
+ borderRadius: '2.5rem',
225
+ fontWeight: 700,
226
+ lineHeight: '20px',
227
+ letterSpacing: '0.2em',
228
+ minWidth: '300px',
229
+ minHeight: '48px',
230
+ size: {
231
+ small: {
232
+ fontSize: '0.75rem',
233
+ padding: '0.25rem 1rem',
234
+ },
235
+ medium: {
236
+ fontSize: '0.875rem',
237
+ padding: '0.5rem 1.5rem',
238
+ },
239
+ large: {
240
+ fontSize: '1rem',
241
+ padding: '0.75rem 2rem',
242
+ },
243
+ },
244
+ primary: {
245
+ active: {
246
+ backgroundColor: '--component-stars-element-color',
247
+ color: '--colors-pallete-primary-contrast',
248
+ },
249
+ hover: {
250
+ backgroundColor: '--colors-pallete-primary-soft-color',
251
+ color: '--colors-pallete-primary-soft-contrast',
252
+ },
253
+ },
254
+ secondary: {
255
+ active: {
256
+ backgroundColor: '--colors-pallete-secondary-color',
257
+ color: '--colors-pallete-secondary-contrast',
258
+ },
259
+ hover: {
260
+ backgroundColor: '--colors-pallete-secondary-80-color',
261
+ color: '--colors-pallete-secondary-contrast',
262
+ },
263
+ },
264
+ },
265
+ input: {
266
+ background: '--colors-shades-white-color',
267
+ color: '--colors-shades-700-color',
268
+ placeholderColor: '--colors-shades-250-color',
269
+ borderRadius: '2.5rem',
270
+ fontSize: '1rem',
271
+ fontWeight: 400,
272
+ padding: '0.75rem 1rem',
273
+ lineHeight: '1.5rem',
274
+ border: '0.063rem solid var(--colors-shades-200-color)',
275
+ boxShadow: 'none',
276
+ errorBorder: '0.09375rem solid #d3373c',
277
+ },
278
+ inputPlaceholder: {
279
+ fontSize: '0.875rem',
280
+ padding: '1.125rem 0.9375rem 0.3rem 0.9375rem',
281
+ focusBorder: '0.09375rem solid #1990c6',
282
+ },
283
+ inputCustom: {
284
+ button: {
285
+ borderRadius: '0 0.5rem 0.5rem 0',
286
+ },
287
+ input: {
288
+ borderRadius: '0.5rem 1rem 1rem 0.5rem',
289
+ },
290
+ },
291
+ selector: {
292
+ size: {
293
+ small: {
294
+ padding: '0.625rem 1.25rem',
295
+ borderRadius: '0.5rem',
296
+ },
297
+ medium: {
298
+ padding: '0.25rem 1rem',
299
+ borderRadius: '0.375rem',
300
+ },
301
+ },
302
+ default: {
303
+ fontWeight: 600,
304
+ border: '0.063rem solid var(--colors-shades-250-color)',
305
+ background: '--colors-shades-white-color',
306
+ color: '--colors-shades-700-color',
307
+ },
308
+ hover: {
309
+ fontWeight: 600,
310
+ background: '--colors-shades-700-color',
311
+ border: 'none',
312
+ color: '--colors-shades-white-color',
313
+ },
314
+ noStock: {
315
+ fontWeight: 600,
316
+ background: 'transparent',
317
+ border: '1px solid #3a3a3a4d',
318
+ color: '#3a3a3a4d',
319
+ },
320
+ disabled: {
321
+ border: 'none',
322
+ },
323
+ fontSize: '0.75rem',
324
+ },
325
+ rating: {
326
+ fontWeight: 400,
327
+ size: {
328
+ xsmall: {
329
+ fontSize: '0.625rem',
330
+ lineHeight: '0.625rem',
331
+ },
332
+ small: {
333
+ fontSize: '0.875rem',
334
+ lineHeight: '0.875rem',
335
+ },
336
+ medium: {
337
+ fontSize: '1rem',
338
+ lineHeight: '1rem',
339
+ },
340
+ large: {
341
+ fontSize: '1.125rem',
342
+ lineHeight: '1.125rem',
343
+ },
344
+ },
345
+ },
346
+ stars: {
347
+ element: {
348
+ color: '#E7B8A6',
349
+ xsmall: {
350
+ width: '0.656rem',
351
+ height: '0.656rem',
352
+ marginRight: '0.156rem',
353
+ },
354
+ small: {
355
+ width: '0.875rem',
356
+ height: '0.875rem',
357
+ marginRight: '0.25rem',
358
+ },
359
+ medium: {
360
+ width: '1.375rem',
361
+ height: '1.375rem',
362
+ marginRight: '0.375rem',
363
+ },
364
+ large: {
365
+ width: '2.375rem',
366
+ height: '2.375rem',
367
+ marginRight: '0.375rem',
368
+ },
369
+ },
370
+ },
371
+ card: {
372
+ borderRadius: '1.25rem',
373
+ backgroundColor: '#F5DECE',
374
+ },
375
+ radio: {
376
+ borderColor: '--colors-shades-700-color',
377
+ background: '--colors-shades-white-color',
378
+ textSize: '14px',
379
+ lineHeight: '22px',
380
+ size: {
381
+ large: {
382
+ borderWidth: '0.094rem',
383
+ margin: '0.5rem',
384
+ height: '2.25rem',
385
+ active: {
386
+ borderWidth: '0.875rem',
387
+ },
388
+ },
389
+ medium: {
390
+ borderWidth: '0.094rem',
391
+ margin: '0.375rem',
392
+ height: '1.375rem',
393
+ active: {
394
+ borderWidth: '0.5rem',
395
+ },
396
+ },
397
+ small: {
398
+ borderWidth: '0.063rem',
399
+ margin: '0.375rem',
400
+ height: '0.875rem',
401
+ active: {
402
+ borderWidth: '0.313rem',
403
+ },
404
+ },
405
+ },
406
+ },
407
+ label: {
408
+ color: '--colors-shades-400-color',
409
+ fontSize: {
410
+ small: '0.75rem',
411
+ medium: '0.75rem',
412
+ large: '0.875rem',
413
+ },
414
+ lineHeight: {
415
+ small: '1rem',
416
+ medium: '1rem',
417
+ large: '1.125rem',
418
+ },
419
+ },
420
+ checkbox: {
421
+ background: '--colors-shades-white-color',
422
+ borderColor: '--colors-shades-700-color',
423
+ active: {
424
+ background: '--colors-shades-700-color',
425
+ },
426
+ size: {
427
+ large: {
428
+ width: '1.8rem',
429
+ height: '1.8rem',
430
+ borderRadius: '0.25rem',
431
+ borderWidth: '0.094rem',
432
+ margin: '0.6rem',
433
+ icon: {
434
+ width: '1.1rem',
435
+ height: '0.8rem',
436
+ },
437
+ },
438
+ medium: {
439
+ width: '1.375rem',
440
+ height: '1.375rem',
441
+ borderRadius: '0.25rem',
442
+ borderWidth: '0.094rem',
443
+ margin: '0.438rem',
444
+ icon: {
445
+ width: '0.875rem',
446
+ height: '0.625rem',
447
+ },
448
+ },
449
+ small: {
450
+ width: '0.875rem',
451
+ height: '0.875rem',
452
+ borderRadius: '0.125rem',
453
+ borderWidth: '0.063rem',
454
+ margin: '0.563rem',
455
+ icon: {
456
+ width: '0.5rem',
457
+ height: '0.375rem',
458
+ },
459
+ },
460
+ },
461
+ },
462
+ accordion: {
463
+ variant: {
464
+ box: {
465
+ container: {
466
+ border: '0.063rem solid',
467
+ borderColor: '--colors-shades-100-color',
468
+ borderRadius: '0.25rem',
469
+ padding: '1.25rem 2rem',
470
+ },
471
+ summary: {
472
+ fontWeight: 600,
473
+ fontSize: '20px',
474
+ lineHeight: '28px',
475
+ color: '--colors-shades-700-color',
476
+ },
477
+ details: {
478
+ margin: '10px 0px 0px 0px',
479
+ },
480
+ icon: {
481
+ width: 1.5,
482
+ height: 1.5,
483
+ color: '--colors-shades-700-color',
484
+ },
485
+ },
486
+ simple: {
487
+ container: {
488
+ borderTop: '1px solid',
489
+ borderColor: '--colors-shades-100-color',
490
+ borderBottom: 'none',
491
+ borderRadius: 'none',
492
+ padding: '10px 0px',
493
+ },
494
+ summary: {
495
+ fontWeight: 400,
496
+ fontSize: '20px',
497
+ lineHeight: '28px',
498
+ color: '--colors-shades-700-color',
499
+ },
500
+ details: {
501
+ margin: '10px 0px 0px 0px',
502
+ },
503
+ icon: {
504
+ width: 1,
505
+ height: 1,
506
+ color: '--colors-shades-700-color',
507
+ },
508
+ },
509
+ },
510
+ },
511
+ dropdown: {
512
+ borderRadius: '2.5rem',
513
+ fontSize: '0.875rem',
514
+ fontWeight: 600,
515
+ lineHeight: '1.125rem',
516
+ padding: '0.5rem 0.75rem 0.5rem 1rem',
517
+ optionPadding: '0.75rem 1rem 0.625rem 0.75rem',
518
+ color: '--colors-shades-700-color',
519
+ fill: '--colors-shades-700-color',
520
+ options: {
521
+ borderColor: '--colors-shades-700-color',
522
+ color: '--colors-shades-700-color',
523
+ borderRadius: '0.5rem',
524
+ },
525
+ },
526
+ modal: {
527
+ minWidth: '540px',
528
+ },
529
+ packSelector: {
530
+ borderRadius: '8px',
531
+ borderColor: '--colors-shades-100-color',
532
+ highlightColor: '--colors-pallete-creamy-soft-color',
533
+ selectedColor: '--colors-semantic-positive-color',
534
+ selectedContrast: '--colors-semantic-positive-contrast',
535
+ tagColor: '--colors-semantic-attention-color',
536
+ },
537
+ slideNavigation: {
538
+ slideDots: {
539
+ unselectedDotColor: 'transparent',
540
+ selectedDotColor: '--colors-shades-700-color',
541
+ dotsOpacity: 0.9,
542
+ },
543
+ },
544
+ beforeAfter: {
545
+ size: {
546
+ small: {
547
+ image: {
548
+ minHeight: 'auto',
549
+ minWidth: '92px',
550
+ mobile: {
551
+ minHeight: '138px',
552
+ minWidth: '128px',
553
+ },
554
+ },
555
+ imageContainer: {
556
+ maxWidth: '214px',
557
+ padding: '12px',
558
+ mobile: {
559
+ maxWidth: '286px',
560
+ },
561
+ },
562
+ userInfoText: {
563
+ fontSize: '12px',
564
+ mobile: {
565
+ fontSize: '12px',
566
+ },
567
+ },
568
+ },
569
+ medium: {
570
+ image: {
571
+ minHeight: '200px',
572
+ minWidth: '187px',
573
+ mobile: {
574
+ minHeight: '157px',
575
+ minWidth: '150px',
576
+ },
577
+ },
578
+ imageContainer: {
579
+ maxWidth: '427px',
580
+ padding: '18px',
581
+ mobile: {
582
+ maxWidth: '342px',
583
+ },
584
+ },
585
+ userInfoText: {
586
+ fontSize: '18px',
587
+ mobile: {
588
+ fontSize: '14px',
589
+ },
590
+ },
591
+ },
592
+ large: {
593
+ image: {
594
+ minHeight: '200px',
595
+ minWidth: '187px',
596
+ mobile: {
597
+ minHeight: '157px',
598
+ minWidth: '150px',
599
+ },
600
+ },
601
+ imageContainer: {
602
+ maxWidth: '427px',
603
+ padding: '18px',
604
+ mobile: {
605
+ maxWidth: '342px',
606
+ },
607
+ },
608
+ userInfoText: {
609
+ fontSize: '18px',
610
+ mobile: {
611
+ fontSize: '14px',
612
+ },
613
+ },
614
+ },
615
+ },
616
+ },
617
+ total: {
618
+ basicTotal: {
619
+ amount: {
620
+ color: '--colors-pallete-secondary-color',
621
+ fontSize: '24px',
622
+ },
623
+ currency: {
624
+ color: '#A6A6A6',
625
+ fontSize: '16px',
626
+ lineHeight: '24px',
627
+ alignSelf: 'flex-end',
628
+ },
629
+ savings: {
630
+ textFontSize: '14px',
631
+ textLineHeight: '22px',
632
+ amountFontSize: '18px',
633
+ amountFontWeight: 700,
634
+ amountLineHeight: '20px',
635
+ color: '--colors-semantic-positive-color',
636
+ },
637
+ },
638
+ },
639
+ subTotal: {
640
+ basicSubTotal: {
641
+ family: 'Jost',
642
+ size: '14px',
643
+ weight: 700,
644
+ lineHeight: '20px',
645
+ color: '--colors-pallete-secondary-color',
646
+ },
647
+ },
648
+ pricing: {
649
+ priceLabel: {
650
+ price: {
651
+ size: ComponentSize.Medium,
652
+ originalPriceColor: '--colors-shades-400-color',
653
+ actualPriceColor: '--colors-semantic-urgent-color',
654
+ },
655
+ },
656
+ },
657
+ orderSummary: {
658
+ headingTextAlign: 'center',
659
+ backgroundColor: '--colors-shades-10-color',
660
+ padding: '20px',
661
+ borderRadius: '--radius-regular',
662
+ maxWidth: '',
663
+ onMobile: {
664
+ maxWidth: '100%',
665
+ padding: '15px',
666
+ },
667
+ },
668
+ expressCheckout: {
669
+ fontFamily: 'Jost',
670
+ fontWeight: 600,
671
+ lineHeight: '22px',
672
+ },
673
+ copyrightText: {
674
+ fontSize: '14px',
675
+ fontWeight: 400,
676
+ lineHeight: '22px',
677
+ color: '--colors-shades-400-color',
678
+ },
679
+ textButton: {
680
+ fontWeight: 600,
681
+ lineHeight: '22px',
682
+ },
683
+ deliveryDetails: {
684
+ note: {
685
+ accentColor: '--colors-semantic-urgent-color',
686
+ color: '--colors-text-color',
687
+ backgroundColor: '#F5DECE',
688
+ },
689
+ SectionDetails: {
690
+ marginLeft: '1.813rem',
691
+ },
692
+ },
693
+ text: {
694
+ orderHeader: {
695
+ color: '--colors-shades-650-color',
696
+ },
697
+ },
698
+ },
699
+ typography: {
700
+ config: {
701
+ weight: {
702
+ heavy: 900,
703
+ bold: 700,
704
+ demi: 600,
705
+ regular: 400,
706
+ },
707
+ },
708
+ variants: {
709
+ hero1: {
710
+ fontSize: 76,
711
+ lineHeight: '92px',
712
+ },
713
+ hero2: {
714
+ fontSize: 72,
715
+ lineHeight: '88px',
716
+ },
717
+ hero3: {
718
+ fontSize: 68,
719
+ lineHeight: '84px',
720
+ },
721
+ display1: {
722
+ fontSize: 60,
723
+ lineHeight: '76px',
724
+ },
725
+ display2: {
726
+ fontSize: 52,
727
+ lineHeight: '68px',
728
+ },
729
+ heading1: {
730
+ fontSize: 42,
731
+ lineHeight: '52px',
732
+ },
733
+ heading2: {
734
+ fontSize: 36,
735
+ lineHeight: '44px',
736
+ },
737
+ heading3: {
738
+ fontSize: 30,
739
+ lineHeight: '38px',
740
+ },
741
+ heading4: {
742
+ fontSize: 24,
743
+ lineHeight: '32px',
744
+ },
745
+ heading5: {
746
+ fontSize: 20,
747
+ lineHeight: '28px',
748
+ },
749
+ heading6: {
750
+ fontSize: 18,
751
+ lineHeight: '22px',
752
+ },
753
+ 'body-regular': {
754
+ fontSize: 16,
755
+ lineHeight: '24px',
756
+ },
757
+ 'body-small': {
758
+ fontSize: 14,
759
+ lineHeight: '22px',
760
+ },
761
+ 'link-regular': {
762
+ fontSize: 16,
763
+ lineHeight: '24px',
764
+ },
765
+ 'link-small': {
766
+ fontSize: 14,
767
+ lineHeight: '22px',
768
+ },
769
+ 'pricing-large': {
770
+ fontSize: 24,
771
+ lineHeight: '32px',
772
+ },
773
+ 'pricing-medium': {
774
+ fontSize: 18,
775
+ lineHeight: '24px',
776
+ },
777
+ 'pricing-regular': {
778
+ fontSize: 16,
779
+ lineHeight: '32px',
780
+ },
781
+ 'pricing-small': {
782
+ fontSize: 14,
783
+ lineHeight: '20px',
784
+ },
785
+ button: {
786
+ textTransform: 'uppercase',
787
+ },
788
+ 'button-large': {
789
+ fontSize: 16,
790
+ lineHeight: '20px',
791
+ },
792
+ 'button-regular': {
793
+ fontSize: 14,
794
+ lineHeight: '18px',
795
+ },
796
+ 'button-small': {
797
+ fontSize: 12,
798
+ lineHeight: '16px',
799
+ },
800
+ 'label-regular': {
801
+ fontSize: 14,
802
+ lineHeight: '18px',
803
+ },
804
+ 'label-small': {
805
+ fontSize: 12,
806
+ lineHeight: '16px',
807
+ },
808
+ 'tag-regular': {
809
+ fontSize: 12,
810
+ lineHeight: '16px',
811
+ },
812
+ 'tag-small': {
813
+ fontSize: 10,
814
+ lineHeight: '14px',
815
+ },
816
+ 'tag-x-small': {
817
+ fontSize: 8,
818
+ lineHeight: '12px',
819
+ },
820
+ },
821
+ },
822
+ fonts: {
823
+ url: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/fonts/revel',
824
+ config: [
825
+ {
826
+ family: 'Jost',
827
+ src: 'Jost400Book.otf',
828
+ weight: 400,
829
+ },
830
+ {
831
+ family: 'Jost',
832
+ src: 'Jost100Hairline.otf',
833
+ weight: 100,
834
+ },
835
+ {
836
+ family: 'Jost',
837
+ src: 'Jost200Thin.otf',
838
+ weight: 200,
839
+ },
840
+ {
841
+ family: 'Jost',
842
+ src: 'Jost300Light.otf',
843
+ weight: 300,
844
+ },
845
+ {
846
+ family: 'Jost',
847
+ src: 'Jost500Medium.otf',
848
+ weight: 500,
849
+ },
850
+ {
851
+ family: 'Jost',
852
+ src: 'Jost600Semi.otf',
853
+ weight: 600,
854
+ },
855
+ {
856
+ family: 'Jost',
857
+ src: 'Jost700Bold.otf',
858
+ weight: 700,
859
+ },
860
+ {
861
+ family: 'Jost',
862
+ src: 'Jost800Heavy.otf',
863
+ weight: 800,
864
+ stretch: 'condensed',
865
+ },
866
+ {
867
+ family: 'Jost',
868
+ src: 'Jost900Black.otf',
869
+ weight: 900,
870
+ stretch: 'condensed',
871
+ },
872
+ {
873
+ family: 'Jost',
874
+ src: 'Jost100HairlineItalic.otf',
875
+ weight: 100,
876
+ style: 'italic',
877
+ },
878
+ {
879
+ family: 'Jost',
880
+ src: 'Jost200ThinItalic.otf',
881
+ weight: 200,
882
+ style: 'italic',
883
+ },
884
+ {
885
+ family: 'Jost',
886
+ src: 'Jost300LightItalic.otf',
887
+ weight: 300,
888
+ style: 'italic',
889
+ },
890
+ {
891
+ family: 'Jost',
892
+ src: 'Jost400BookItalic.otf',
893
+ weight: 400,
894
+ style: 'italic',
895
+ },
896
+ {
897
+ family: 'Jost',
898
+ src: 'Jost500MediumItalic.otf',
899
+ weight: 500,
900
+ style: 'italic',
901
+ },
902
+ {
903
+ family: 'Jost',
904
+ src: 'Jost600SemiItalic.otf',
905
+ weight: 600,
906
+ style: 'italic',
907
+ },
908
+ {
909
+ family: 'Jost',
910
+ src: 'Jost700BoldItalic.otf',
911
+ weight: 700,
912
+ style: 'italic',
913
+ },
914
+ {
915
+ family: 'Jost',
916
+ src: 'Jost800HeavyItalic.otf',
917
+ weight: 800,
918
+ style: 'italic',
919
+ },
920
+ {
921
+ family: 'Jost',
922
+ src: 'Jost900BlackItalic.otf',
923
+ weight: 900,
924
+ style: 'italic',
925
+ },
926
+ {
927
+ family: 'Georgia',
928
+ src: 'Georgia-Regular.otf',
929
+ weight: 400,
930
+ },
931
+ {
932
+ family: 'Georgia',
933
+ src: 'Georgia-Bold.otf',
934
+ weight: 700,
935
+ },
936
+ ],
937
+ },
938
+ assets: {
939
+ images: {
940
+ favicon: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/images/revel/revel_favicon.png',
941
+ logo: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/images/revel/revelbeauty.svg',
942
+ logoSize: {
943
+ width: '342',
944
+ height: '22',
945
+ },
946
+ logoMobile: 'https://cdn11.bigcommerce.com/s-fjtlubkm6t/images/stencil/original/image-manager/mobilelogo.png?t=1667205066&_gl=1*1rjjnv8*_ga*MTM1MjY2Nzk4OS4xNjYzMjQ5ODIy*_ga_WS2VZYPC6G*MTY2NzIwNDk0OS41Ni4xLjE2NjcyMDUwNTguMTQuMC4w',
947
+ },
948
+ },
949
+ };
950
+
951
+ module.exports = revel;