@trafilea/afrodita-components 5.0.0-beta.30 → 5.0.0-beta.301

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,1045 @@
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: '#DA918A',
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
+ amountFontWeight: 700,
631
+ color: '--colors-semantic-positive-color',
632
+ },
633
+ },
634
+ },
635
+ subTotal: {
636
+ basicSubTotal: {
637
+ family: 'Jost',
638
+ size: '14px',
639
+ weight: 700,
640
+ lineHeight: '20px',
641
+ color: '--colors-pallete-secondary-color',
642
+ },
643
+ },
644
+ pricing: {
645
+ priceLabel: {
646
+ price: {
647
+ size: ComponentSize.Medium,
648
+ originalPriceColor: '--colors-shades-400-color',
649
+ actualPriceColor: '--colors-semantic-urgent-color',
650
+ },
651
+ },
652
+ },
653
+ orderSummary: {
654
+ headingTextAlign: 'center',
655
+ backgroundColor: '--colors-shades-10-color',
656
+ padding: '20px',
657
+ borderRadius: '--radius-regular',
658
+ maxWidth: '100%',
659
+ onMobile: {
660
+ maxWidth: '100%',
661
+ padding: '15px',
662
+ },
663
+ },
664
+ expressCheckout: {
665
+ button: {
666
+ borderRadius: '4px',
667
+ },
668
+ },
669
+ copyrightText: {
670
+ fontSize: '14px',
671
+ fontWeight: 400,
672
+ lineHeight: '22px',
673
+ color: '--colors-shades-400-color',
674
+ },
675
+ thankyouFooterText: {
676
+ fontSize: '14px',
677
+ fontWeight: '700',
678
+ lineHeight: '20px',
679
+ },
680
+ textButton: {
681
+ fontWeight: 600,
682
+ lineHeight: '22px',
683
+ },
684
+ deliveryDetails: {
685
+ title: {
686
+ fontSize: '1.25rem',
687
+ lineHeight: '1.75rem',
688
+ fontWeight: 600,
689
+ },
690
+ sectionTitle: {
691
+ fontSize: '1rem',
692
+ lineHeight: '1.25rem',
693
+ fontWeight: 600,
694
+ },
695
+ note: {
696
+ accentColor: '--colors-semantic-urgent-color',
697
+ color: '--colors-text-color',
698
+ backgroundColor: '#F5DECE',
699
+ },
700
+ sectionDetails: {
701
+ marginLeft: '1.813rem',
702
+ fontSize: '1rem',
703
+ lineHeight: '1.25rem',
704
+ fontWeight: 400,
705
+ },
706
+ },
707
+ text: {
708
+ orderHeader: {
709
+ color: '--colors-shades-650-color',
710
+ },
711
+ },
712
+ orderBar: {
713
+ backgroundColor: '#FAF7F2',
714
+ fontColor: '--colors-shades-700-color',
715
+ },
716
+ banner: {
717
+ outlineColor: '--colors-semantic-positive-color',
718
+ filledColor: '--colors-semantic-positive-color',
719
+ fontColor: '--colors-shades-white-color',
720
+ },
721
+ offerTitleText: {
722
+ size: '18px',
723
+ weight: 700,
724
+ lineHeight: '1.7rem',
725
+ },
726
+ linePrice: {
727
+ color: '--colors-semantic-urgent-color',
728
+ badge: {
729
+ color: '--colors-semantic-urgent-color',
730
+ borderRadius: '8px',
731
+ },
732
+ },
733
+ divider: {
734
+ color: '--colors-pallete-secondary-soft-color',
735
+ },
736
+ checkout: {
737
+ paymentInformation: {
738
+ borderRadius: '8px',
739
+ },
740
+ creditCardSection: {
741
+ borderRadius: '8px',
742
+ },
743
+ },
744
+ upsell: {
745
+ banner: {
746
+ outlined: {
747
+ color: '--colors-semantic-positive-color',
748
+ },
749
+ },
750
+ price: {
751
+ colors: {
752
+ regular: '--colors-shades-400-color',
753
+ deal: '#DA918A',
754
+ each: '--colors-shades-700-color',
755
+ badgeBG: '#DA918A',
756
+ badgeColor: '--colors-shades-white-color',
757
+ },
758
+ },
759
+ hurryTimeCard: {
760
+ backgroundColor: '#EFD6D2',
761
+ },
762
+ },
763
+ thankyou: {
764
+ emailSection: {
765
+ backgroundColor: '#F5DECE',
766
+ },
767
+ socialIcon: {
768
+ color: '#DA918A',
769
+ },
770
+ orderId: {
771
+ color: '--colors-shades-700-color',
772
+ },
773
+ },
774
+ },
775
+ typography: {
776
+ config: {
777
+ weight: {
778
+ heavy: 900,
779
+ bold: 700,
780
+ demi: 600,
781
+ regular: 400,
782
+ },
783
+ },
784
+ variants: {
785
+ hero1: {
786
+ fontSize: 76,
787
+ lineHeight: '92px',
788
+ },
789
+ hero2: {
790
+ fontSize: 72,
791
+ lineHeight: '88px',
792
+ },
793
+ hero3: {
794
+ fontSize: 68,
795
+ lineHeight: '84px',
796
+ },
797
+ display1: {
798
+ fontSize: 60,
799
+ lineHeight: '76px',
800
+ },
801
+ display2: {
802
+ fontSize: 52,
803
+ lineHeight: '68px',
804
+ },
805
+ heading1: {
806
+ fontSize: 42,
807
+ lineHeight: '52px',
808
+ },
809
+ heading2: {
810
+ fontSize: 36,
811
+ lineHeight: '44px',
812
+ },
813
+ heading3: {
814
+ fontSize: 30,
815
+ lineHeight: '38px',
816
+ },
817
+ heading4: {
818
+ fontSize: 24,
819
+ lineHeight: '32px',
820
+ },
821
+ heading5: {
822
+ fontSize: 20,
823
+ lineHeight: '28px',
824
+ },
825
+ heading6: {
826
+ fontSize: 18,
827
+ lineHeight: '22px',
828
+ },
829
+ heading7: {
830
+ fontSize: 20,
831
+ lineHeight: '28px',
832
+ },
833
+ heading8: {
834
+ fontSize: 18,
835
+ lineHeight: '28px',
836
+ },
837
+ 'body-regular': {
838
+ fontSize: 16,
839
+ lineHeight: '24px',
840
+ },
841
+ 'body-small': {
842
+ fontSize: 14,
843
+ lineHeight: '22px',
844
+ },
845
+ 'link-regular': {
846
+ fontSize: 16,
847
+ lineHeight: '24px',
848
+ },
849
+ 'link-small': {
850
+ fontSize: 14,
851
+ lineHeight: '22px',
852
+ },
853
+ 'pricing-large': {
854
+ fontSize: 24,
855
+ lineHeight: '32px',
856
+ },
857
+ 'pricing-medium': {
858
+ fontSize: 18,
859
+ lineHeight: '24px',
860
+ },
861
+ 'pricing-regular': {
862
+ fontSize: 16,
863
+ lineHeight: '32px',
864
+ },
865
+ 'pricing-small': {
866
+ fontSize: 14,
867
+ lineHeight: '20px',
868
+ },
869
+ button: {
870
+ textTransform: 'uppercase',
871
+ },
872
+ 'button-large': {
873
+ fontSize: 16,
874
+ lineHeight: '20px',
875
+ },
876
+ 'button-regular': {
877
+ fontSize: 14,
878
+ lineHeight: '18px',
879
+ },
880
+ 'button-small': {
881
+ fontSize: 12,
882
+ lineHeight: '16px',
883
+ },
884
+ 'label-regular': {
885
+ fontSize: 14,
886
+ lineHeight: '18px',
887
+ },
888
+ 'label-small': {
889
+ fontSize: 12,
890
+ lineHeight: '16px',
891
+ },
892
+ 'tag-regular': {
893
+ fontSize: 12,
894
+ lineHeight: '16px',
895
+ },
896
+ 'tag-small': {
897
+ fontSize: 10,
898
+ lineHeight: '14px',
899
+ },
900
+ 'tag-x-small': {
901
+ fontSize: 8,
902
+ lineHeight: '12px',
903
+ },
904
+ },
905
+ },
906
+ fonts: {
907
+ url: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/fonts/revel',
908
+ config: [
909
+ {
910
+ family: 'Jost',
911
+ src: 'Jost400Book.otf',
912
+ weight: 400,
913
+ },
914
+ {
915
+ family: 'Jost',
916
+ src: 'Jost100Hairline.otf',
917
+ weight: 100,
918
+ },
919
+ {
920
+ family: 'Jost',
921
+ src: 'Jost200Thin.otf',
922
+ weight: 200,
923
+ },
924
+ {
925
+ family: 'Jost',
926
+ src: 'Jost300Light.otf',
927
+ weight: 300,
928
+ },
929
+ {
930
+ family: 'Jost',
931
+ src: 'Jost500Medium.otf',
932
+ weight: 500,
933
+ },
934
+ {
935
+ family: 'Jost',
936
+ src: 'Jost600Semi.otf',
937
+ weight: 600,
938
+ },
939
+ {
940
+ family: 'Jost',
941
+ src: 'Jost700Bold.otf',
942
+ weight: 700,
943
+ },
944
+ {
945
+ family: 'Jost',
946
+ src: 'Jost800Heavy.otf',
947
+ weight: 800,
948
+ stretch: 'condensed',
949
+ },
950
+ {
951
+ family: 'Jost',
952
+ src: 'Jost900Black.otf',
953
+ weight: 900,
954
+ stretch: 'condensed',
955
+ },
956
+ {
957
+ family: 'Jost',
958
+ src: 'Jost100HairlineItalic.otf',
959
+ weight: 100,
960
+ style: 'italic',
961
+ },
962
+ {
963
+ family: 'Jost',
964
+ src: 'Jost200ThinItalic.otf',
965
+ weight: 200,
966
+ style: 'italic',
967
+ },
968
+ {
969
+ family: 'Jost',
970
+ src: 'Jost300LightItalic.otf',
971
+ weight: 300,
972
+ style: 'italic',
973
+ },
974
+ {
975
+ family: 'Jost',
976
+ src: 'Jost400BookItalic.otf',
977
+ weight: 400,
978
+ style: 'italic',
979
+ },
980
+ {
981
+ family: 'Jost',
982
+ src: 'Jost500MediumItalic.otf',
983
+ weight: 500,
984
+ style: 'italic',
985
+ },
986
+ {
987
+ family: 'Jost',
988
+ src: 'Jost600SemiItalic.otf',
989
+ weight: 600,
990
+ style: 'italic',
991
+ },
992
+ {
993
+ family: 'Jost',
994
+ src: 'Jost700BoldItalic.otf',
995
+ weight: 700,
996
+ style: 'italic',
997
+ },
998
+ {
999
+ family: 'Jost',
1000
+ src: 'Jost800HeavyItalic.otf',
1001
+ weight: 800,
1002
+ style: 'italic',
1003
+ },
1004
+ {
1005
+ family: 'Jost',
1006
+ src: 'Jost900BlackItalic.otf',
1007
+ weight: 900,
1008
+ style: 'italic',
1009
+ },
1010
+ {
1011
+ family: 'Georgia',
1012
+ src: 'Georgia-Regular.otf',
1013
+ weight: 400,
1014
+ },
1015
+ {
1016
+ family: 'Georgia',
1017
+ src: 'Georgia-Bold.otf',
1018
+ weight: 700,
1019
+ },
1020
+ ],
1021
+ },
1022
+ assets: {
1023
+ images: {
1024
+ favicon: 'https://cdn11.bigcommerce.com/s-fjtlubkm6t/images/stencil/original/image-manager/favicon.png',
1025
+ logo: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/images/revel/revelbeauty.svg',
1026
+ logoSize: {
1027
+ width: '342',
1028
+ height: '22',
1029
+ },
1030
+ logoMobile: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/images/revel/revelbeauty_logo_mobile.svg',
1031
+ upsellLogo: {
1032
+ url: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/images/revel/revelbeauty.svg',
1033
+ width: '210',
1034
+ height: '60',
1035
+ },
1036
+ tyLogo: {
1037
+ url: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/images/revel/revelbeauty.svg',
1038
+ width: '410',
1039
+ height: '28',
1040
+ },
1041
+ },
1042
+ },
1043
+ };
1044
+
1045
+ module.exports = revel;