@trafilea/afrodita-components 5.0.0-beta.20 → 5.0.0-beta.201

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,950 @@
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
+ color: '--colors-shades-700-color',
518
+ fill: '--colors-shades-700-color',
519
+ options: {
520
+ borderColor: '--colors-shades-700-color',
521
+ color: '--colors-shades-700-color',
522
+ borderRadius: '0.5rem',
523
+ },
524
+ },
525
+ modal: {
526
+ minWidth: '540px',
527
+ },
528
+ packSelector: {
529
+ borderRadius: '8px',
530
+ borderColor: '--colors-shades-100-color',
531
+ highlightColor: '--colors-pallete-creamy-soft-color',
532
+ selectedColor: '--colors-semantic-positive-color',
533
+ selectedContrast: '--colors-semantic-positive-contrast',
534
+ tagColor: '--colors-semantic-attention-color',
535
+ },
536
+ slideNavigation: {
537
+ slideDots: {
538
+ unselectedDotColor: 'transparent',
539
+ selectedDotColor: '--colors-shades-700-color',
540
+ dotsOpacity: 0.9,
541
+ },
542
+ },
543
+ beforeAfter: {
544
+ size: {
545
+ small: {
546
+ image: {
547
+ minHeight: 'auto',
548
+ minWidth: '92px',
549
+ mobile: {
550
+ minHeight: '138px',
551
+ minWidth: '128px',
552
+ },
553
+ },
554
+ imageContainer: {
555
+ maxWidth: '214px',
556
+ padding: '12px',
557
+ mobile: {
558
+ maxWidth: '286px',
559
+ },
560
+ },
561
+ userInfoText: {
562
+ fontSize: '12px',
563
+ mobile: {
564
+ fontSize: '12px',
565
+ },
566
+ },
567
+ },
568
+ medium: {
569
+ image: {
570
+ minHeight: '200px',
571
+ minWidth: '187px',
572
+ mobile: {
573
+ minHeight: '157px',
574
+ minWidth: '150px',
575
+ },
576
+ },
577
+ imageContainer: {
578
+ maxWidth: '427px',
579
+ padding: '18px',
580
+ mobile: {
581
+ maxWidth: '342px',
582
+ },
583
+ },
584
+ userInfoText: {
585
+ fontSize: '18px',
586
+ mobile: {
587
+ fontSize: '14px',
588
+ },
589
+ },
590
+ },
591
+ large: {
592
+ image: {
593
+ minHeight: '200px',
594
+ minWidth: '187px',
595
+ mobile: {
596
+ minHeight: '157px',
597
+ minWidth: '150px',
598
+ },
599
+ },
600
+ imageContainer: {
601
+ maxWidth: '427px',
602
+ padding: '18px',
603
+ mobile: {
604
+ maxWidth: '342px',
605
+ },
606
+ },
607
+ userInfoText: {
608
+ fontSize: '18px',
609
+ mobile: {
610
+ fontSize: '14px',
611
+ },
612
+ },
613
+ },
614
+ },
615
+ },
616
+ total: {
617
+ basicTotal: {
618
+ amount: {
619
+ color: '--colors-pallete-secondary-color',
620
+ fontSize: '24px',
621
+ },
622
+ currency: {
623
+ color: '#A6A6A6',
624
+ fontSize: '16px',
625
+ lineHeight: '24px',
626
+ alignSelf: 'flex-end',
627
+ },
628
+ savings: {
629
+ textFontSize: '14px',
630
+ textLineHeight: '22px',
631
+ amountFontSize: '18px',
632
+ amountFontWeight: 700,
633
+ amountLineHeight: '20px',
634
+ color: '--colors-semantic-positive-color',
635
+ },
636
+ },
637
+ },
638
+ subTotal: {
639
+ basicSubTotal: {
640
+ family: 'Jost',
641
+ size: '14px',
642
+ weight: 700,
643
+ lineHeight: '20px',
644
+ color: '--colors-pallete-secondary-color',
645
+ },
646
+ },
647
+ pricing: {
648
+ priceLabel: {
649
+ price: {
650
+ size: ComponentSize.Medium,
651
+ originalPriceColor: '--colors-shades-400-color',
652
+ actualPriceColor: '--colors-semantic-urgent-color',
653
+ },
654
+ },
655
+ },
656
+ orderSummary: {
657
+ headingTextAlign: 'center',
658
+ backgroundColor: '--colors-shades-10-color',
659
+ padding: '20px',
660
+ borderRadius: '--radius-regular',
661
+ maxWidth: '',
662
+ onMobile: {
663
+ maxWidth: '100%',
664
+ padding: '15px',
665
+ },
666
+ },
667
+ expressCheckout: {
668
+ fontFamily: 'Jost',
669
+ fontWeight: 600,
670
+ lineHeight: '22px',
671
+ },
672
+ copyrightText: {
673
+ fontSize: '14px',
674
+ fontWeight: 400,
675
+ lineHeight: '22px',
676
+ color: '--colors-shades-400-color',
677
+ },
678
+ textButton: {
679
+ fontWeight: 600,
680
+ lineHeight: '22px',
681
+ },
682
+ deliveryDetails: {
683
+ note: {
684
+ accentColor: '--colors-semantic-urgent-color',
685
+ color: '--colors-text-color',
686
+ backgroundColor: '#F5DECE',
687
+ },
688
+ SectionDetails: {
689
+ marginLeft: '1.813rem',
690
+ },
691
+ },
692
+ text: {
693
+ orderHeader: {
694
+ color: '--colors-shades-650-color',
695
+ },
696
+ },
697
+ },
698
+ typography: {
699
+ config: {
700
+ weight: {
701
+ heavy: 900,
702
+ bold: 700,
703
+ demi: 600,
704
+ regular: 400,
705
+ },
706
+ },
707
+ variants: {
708
+ hero1: {
709
+ fontSize: 76,
710
+ lineHeight: '92px',
711
+ },
712
+ hero2: {
713
+ fontSize: 72,
714
+ lineHeight: '88px',
715
+ },
716
+ hero3: {
717
+ fontSize: 68,
718
+ lineHeight: '84px',
719
+ },
720
+ display1: {
721
+ fontSize: 60,
722
+ lineHeight: '76px',
723
+ },
724
+ display2: {
725
+ fontSize: 52,
726
+ lineHeight: '68px',
727
+ },
728
+ heading1: {
729
+ fontSize: 42,
730
+ lineHeight: '52px',
731
+ },
732
+ heading2: {
733
+ fontSize: 36,
734
+ lineHeight: '44px',
735
+ },
736
+ heading3: {
737
+ fontSize: 30,
738
+ lineHeight: '38px',
739
+ },
740
+ heading4: {
741
+ fontSize: 24,
742
+ lineHeight: '32px',
743
+ },
744
+ heading5: {
745
+ fontSize: 20,
746
+ lineHeight: '28px',
747
+ },
748
+ heading6: {
749
+ fontSize: 18,
750
+ lineHeight: '22px',
751
+ },
752
+ 'body-regular': {
753
+ fontSize: 16,
754
+ lineHeight: '24px',
755
+ },
756
+ 'body-small': {
757
+ fontSize: 14,
758
+ lineHeight: '22px',
759
+ },
760
+ 'link-regular': {
761
+ fontSize: 16,
762
+ lineHeight: '24px',
763
+ },
764
+ 'link-small': {
765
+ fontSize: 14,
766
+ lineHeight: '22px',
767
+ },
768
+ 'pricing-large': {
769
+ fontSize: 24,
770
+ lineHeight: '32px',
771
+ },
772
+ 'pricing-medium': {
773
+ fontSize: 18,
774
+ lineHeight: '24px',
775
+ },
776
+ 'pricing-regular': {
777
+ fontSize: 16,
778
+ lineHeight: '32px',
779
+ },
780
+ 'pricing-small': {
781
+ fontSize: 14,
782
+ lineHeight: '20px',
783
+ },
784
+ button: {
785
+ textTransform: 'uppercase',
786
+ },
787
+ 'button-large': {
788
+ fontSize: 16,
789
+ lineHeight: '20px',
790
+ },
791
+ 'button-regular': {
792
+ fontSize: 14,
793
+ lineHeight: '18px',
794
+ },
795
+ 'button-small': {
796
+ fontSize: 12,
797
+ lineHeight: '16px',
798
+ },
799
+ 'label-regular': {
800
+ fontSize: 14,
801
+ lineHeight: '18px',
802
+ },
803
+ 'label-small': {
804
+ fontSize: 12,
805
+ lineHeight: '16px',
806
+ },
807
+ 'tag-regular': {
808
+ fontSize: 12,
809
+ lineHeight: '16px',
810
+ },
811
+ 'tag-small': {
812
+ fontSize: 10,
813
+ lineHeight: '14px',
814
+ },
815
+ 'tag-x-small': {
816
+ fontSize: 8,
817
+ lineHeight: '12px',
818
+ },
819
+ },
820
+ },
821
+ fonts: {
822
+ url: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/fonts/revel',
823
+ config: [
824
+ {
825
+ family: 'Jost',
826
+ src: 'Jost400Book.otf',
827
+ weight: 400,
828
+ },
829
+ {
830
+ family: 'Jost',
831
+ src: 'Jost100Hairline.otf',
832
+ weight: 100,
833
+ },
834
+ {
835
+ family: 'Jost',
836
+ src: 'Jost200Thin.otf',
837
+ weight: 200,
838
+ },
839
+ {
840
+ family: 'Jost',
841
+ src: 'Jost300Light.otf',
842
+ weight: 300,
843
+ },
844
+ {
845
+ family: 'Jost',
846
+ src: 'Jost500Medium.otf',
847
+ weight: 500,
848
+ },
849
+ {
850
+ family: 'Jost',
851
+ src: 'Jost600Semi.otf',
852
+ weight: 600,
853
+ },
854
+ {
855
+ family: 'Jost',
856
+ src: 'Jost700Bold.otf',
857
+ weight: 700,
858
+ },
859
+ {
860
+ family: 'Jost',
861
+ src: 'Jost800Heavy.otf',
862
+ weight: 800,
863
+ stretch: 'condensed',
864
+ },
865
+ {
866
+ family: 'Jost',
867
+ src: 'Jost900Black.otf',
868
+ weight: 900,
869
+ stretch: 'condensed',
870
+ },
871
+ {
872
+ family: 'Jost',
873
+ src: 'Jost100HairlineItalic.otf',
874
+ weight: 100,
875
+ style: 'italic',
876
+ },
877
+ {
878
+ family: 'Jost',
879
+ src: 'Jost200ThinItalic.otf',
880
+ weight: 200,
881
+ style: 'italic',
882
+ },
883
+ {
884
+ family: 'Jost',
885
+ src: 'Jost300LightItalic.otf',
886
+ weight: 300,
887
+ style: 'italic',
888
+ },
889
+ {
890
+ family: 'Jost',
891
+ src: 'Jost400BookItalic.otf',
892
+ weight: 400,
893
+ style: 'italic',
894
+ },
895
+ {
896
+ family: 'Jost',
897
+ src: 'Jost500MediumItalic.otf',
898
+ weight: 500,
899
+ style: 'italic',
900
+ },
901
+ {
902
+ family: 'Jost',
903
+ src: 'Jost600SemiItalic.otf',
904
+ weight: 600,
905
+ style: 'italic',
906
+ },
907
+ {
908
+ family: 'Jost',
909
+ src: 'Jost700BoldItalic.otf',
910
+ weight: 700,
911
+ style: 'italic',
912
+ },
913
+ {
914
+ family: 'Jost',
915
+ src: 'Jost800HeavyItalic.otf',
916
+ weight: 800,
917
+ style: 'italic',
918
+ },
919
+ {
920
+ family: 'Jost',
921
+ src: 'Jost900BlackItalic.otf',
922
+ weight: 900,
923
+ style: 'italic',
924
+ },
925
+ {
926
+ family: 'Georgia',
927
+ src: 'Georgia-Regular.otf',
928
+ weight: 400,
929
+ },
930
+ {
931
+ family: 'Georgia',
932
+ src: 'Georgia-Bold.otf',
933
+ weight: 700,
934
+ },
935
+ ],
936
+ },
937
+ assets: {
938
+ images: {
939
+ favicon: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/images/revel/revel_favicon.png',
940
+ logo: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/images/revel/revelbeauty.svg',
941
+ logoSize: {
942
+ width: '342',
943
+ height: '22',
944
+ },
945
+ logoMobile: 'https://cdn11.bigcommerce.com/s-fjtlubkm6t/images/stencil/original/image-manager/mobilelogo.png?t=1667205066&_gl=1*1rjjnv8*_ga*MTM1MjY2Nzk4OS4xNjYzMjQ5ODIy*_ga_WS2VZYPC6G*MTY2NzIwNDk0OS41Ni4xLjE2NjcyMDUwNTguMTQuMC4w',
946
+ },
947
+ },
948
+ };
949
+
950
+ module.exports = revel;