@trafilea/afrodita-components 6.4.6 → 6.5.1

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,1025 @@
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
+ //ANNOTATION: Those values are up to.
56
+ var DEFAULT_BREAKPOINTS = {
57
+ mobile: 640,
58
+ tablet: 1024,
59
+ desktop: 1280,
60
+ };
61
+
62
+ var thebodcon = {
63
+ name: 'TheBodCon',
64
+ fontSizes: [10, 12, 14, 16, 18, 20, 24, 30, 36, 42, 52, 60, 68, 72, 76],
65
+ fontWeights: [400, 600, 500, 700, 800],
66
+ lineHeights: [14, 16, 18, 20, 22, 24, 28, 32, 38, 44, 52, 68, 76, 84, 88, 92],
67
+ mediaQueries: DEFAULT_BREAKPOINTS,
68
+ radius: {
69
+ regular: '8px',
70
+ },
71
+ zIndex: {
72
+ modal: 50,
73
+ overlay: 49,
74
+ },
75
+ colors: {
76
+ pallete: {
77
+ primary: {
78
+ color: '#292929',
79
+ contrast: '--colors-shades-white-color',
80
+ soft: {
81
+ color: '#8992A0',
82
+ contrast: '--colors-shades-700-color',
83
+ },
84
+ 20: {
85
+ color: '#142541',
86
+ contrast: '--colors-shades-700-color',
87
+ soft: {
88
+ color: '#F4FDBD',
89
+ contrast: '--colors-shades-700-color',
90
+ },
91
+ },
92
+ 40: {
93
+ color: '#E9FB7B',
94
+ contrast: '--colors-shades-700-color',
95
+ soft: {
96
+ color: '#DCF3F6',
97
+ contrast: '--colors-shades-700-color',
98
+ },
99
+ },
100
+ 60: {
101
+ color: '#311C85',
102
+ contrast: '--colors-shades-700-color',
103
+ soft: {
104
+ color: '#F6FAF9',
105
+ contrast: '#FFE3CE',
106
+ },
107
+ },
108
+ 80: {
109
+ color: '#F8E1FC',
110
+ contrast: '--colors-shades-white-color',
111
+ soft: {
112
+ color: '#FBF8F3',
113
+ contrast: '#EBC4DA',
114
+ },
115
+ },
116
+ },
117
+ secondary: __assign({
118
+ color: '#287379',
119
+ contrast: '--colors-shades-white-color',
120
+ soft: {
121
+ color: '#CCC485',
122
+ contrast: '--colors-shades-700-color',
123
+ },
124
+ }, { 20: {
125
+ color: '#E8F2F1',
126
+ contrast: '--colors-shades-700-color',
127
+ soft: {
128
+ color: '#ECE8D4',
129
+ contrast: '--colors-shades-700-color',
130
+ },
131
+ }, 40: {
132
+ color: '#EDB4F8',
133
+ contrast: '--colors-shades-700-color',
134
+ soft: {
135
+ color: '#F3F8ED',
136
+ contrast: '--colors-shades-700-color',
137
+ },
138
+ }, 60: {
139
+ color: '#D889B5',
140
+ contrast: '--colors-shades-white-color',
141
+ soft: {
142
+ color: '#C5DCA3',
143
+ contrast: '--colors-shades-700-color',
144
+ },
145
+ }, 80: {
146
+ color: '#FFB985',
147
+ contrast: '--colors-shades-white-color',
148
+ soft: {
149
+ color: '#416970',
150
+ contrast: '--colors-shades-700-color',
151
+ },
152
+ } }),
153
+ wine: {
154
+ color: '#882A2B',
155
+ contrast: '--colors-shades-white-color',
156
+ soft: {
157
+ color: '#DBBFBF',
158
+ contrast: '--colors-text-color',
159
+ },
160
+ },
161
+ red: {
162
+ color: '#D3373C',
163
+ contrast: '--colors-shades-white-color',
164
+ soft: {
165
+ color: '#DBBFBF',
166
+ contrast: '--colors-text-color',
167
+ },
168
+ },
169
+ creamy: {
170
+ color: '#FFE9D8',
171
+ contrast: '--colors-text-color',
172
+ soft: {
173
+ color: '#FFF6EF',
174
+ contrast: '--colors-text-color',
175
+ },
176
+ },
177
+ ocean: {
178
+ color: '#2B526D',
179
+ contrast: '--colors-shades-white-color',
180
+ soft: {
181
+ color: '#BFCBD3',
182
+ contrast: '--colors-shades-700-color',
183
+ },
184
+ },
185
+ },
186
+ shades: {
187
+ black: { color: '#000', contrast: '--colors-shades-white-color' },
188
+ white: { color: '#fff', contrast: '--colors-shades-700-color' },
189
+ 5: { color: '#F7F4F2', contrast: '--colors-shades-700-color' },
190
+ 10: { color: '#fafafa', contrast: '--colors-shades-700-color' },
191
+ 50: { color: '#f7f7f7', contrast: '--colors-shades-700-color' },
192
+ 100: { color: '#e5e5e5', contrast: '--colors-shades-700-color' },
193
+ 150: { color: '#d1d1d1', contrast: '--colors-shades-700-color' },
194
+ 175: { color: '#c4c4c4', contrast: '--colors-shades-700-color' },
195
+ 200: { color: '#bbbbbb', contrast: '--colors-shades-700-color' },
196
+ 250: { color: '#a6a6a6', contrast: '--colors-shades-700-color' },
197
+ 300: { color: '#9e9e9e', contrast: '--colors-shades-700-color' },
198
+ 350: { color: '#949494', contrast: '--colors-shades-white-color' },
199
+ 400: { color: '#808080', contrast: '--colors-shades-white-color' },
200
+ 450: { color: '#767676', contrast: '--colors-shades-white-color' },
201
+ 500: { color: '#686872', contrast: '--colors-shades-white-color' },
202
+ 550: { color: '#3a3a3a', contrast: '--colors-shades-white-color' },
203
+ 600: { color: '#343434', contrast: '--colors-shades-white-color' },
204
+ 650: { color: '#2d2d2d', contrast: '--colors-shades-white-color' },
205
+ 700: { color: '#292929', contrast: '--colors-shades-white-color' },
206
+ 750: { color: '#232323', contrast: '--colors-shades-white-color' },
207
+ 800: { color: '#202020', contrast: '--colors-shades-white-color' },
208
+ 850: { color: '#1b1b1b', contrast: '--colors-shades-white-color' },
209
+ 900: { color: '#191919', contrast: '--colors-shades-white-color' },
210
+ 950: { color: '#141414', contrast: '--colors-shades-white-color' },
211
+ 990: { color: '#0b0b0b', contrast: '--colors-shades-white-color' },
212
+ },
213
+ semantic: {
214
+ positive: { color: '#2f806a', contrast: '--colors-shades-white-color' },
215
+ urgent: { color: '#D82A2D', contrast: '--colors-shades-white-color' },
216
+ attention: { color: '#F2D96F', contrast: '--colors-shades-700-color' },
217
+ informative: { color: '#2579C8', contrast: '--colors-shades-700-color' },
218
+ },
219
+ border: {
220
+ color: '',
221
+ disabled: '--colors-shades-200-color',
222
+ highlight: '--colors-shades-700-color',
223
+ },
224
+ background: {
225
+ color: '--colors-shades-white-color',
226
+ disabled: '--colors-shades-50-color',
227
+ },
228
+ text: {
229
+ color: '--colors-pallete-primary-20-color',
230
+ disabled: '--colors-shades-250-color',
231
+ },
232
+ },
233
+ component: {
234
+ button: {
235
+ border: 'none',
236
+ borderRadius: '24px',
237
+ fontWeight: 500,
238
+ lineHeight: 'normal',
239
+ letterSpacing: 'normal',
240
+ minWidth: 'unset',
241
+ minHeight: 'unset',
242
+ size: {
243
+ small: {
244
+ fontSize: '0.75rem',
245
+ padding: '0.625rem 2rem',
246
+ },
247
+ medium: {
248
+ fontSize: '0.875rem',
249
+ padding: '0.688rem 2rem',
250
+ },
251
+ large: {
252
+ fontSize: '1rem',
253
+ padding: '0.875rem 2rem',
254
+ },
255
+ },
256
+ primary: {
257
+ active: {
258
+ backgroundColor: '--colors-pallete-primary-60-color',
259
+ color: '--colors-pallete-primary-contrast',
260
+ },
261
+ hover: {
262
+ backgroundColor: '--colors-pallete-primary-20-soft-color',
263
+ color: '--colors-pallete-primary-20-color',
264
+ },
265
+ },
266
+ secondary: {
267
+ active: {
268
+ backgroundColor: '--colors-pallete-primary-40-color',
269
+ color: '--colors-pallete-primary-20-color',
270
+ },
271
+ hover: {
272
+ backgroundColor: '--colors-pallete-primary-20-color',
273
+ color: '--colors-pallete-primary-40-color',
274
+ },
275
+ },
276
+ },
277
+ input: {
278
+ background: '--colors-shades-white-color',
279
+ color: '--colors-shades-700-color',
280
+ placeholderColor: '--colors-shades-400-color',
281
+ borderRadius: '0.5rem',
282
+ fontSize: '14px',
283
+ fontWeight: 400,
284
+ padding: '0.75rem 1rem',
285
+ lineHeight: '1.5rem',
286
+ border: '0.063rem solid var(--colors-shades-200-color)',
287
+ boxShadow: 'none',
288
+ errorBorder: '0.09375rem solid #d3373c',
289
+ },
290
+ inputPlaceholder: {
291
+ fontSize: '0.875rem',
292
+ padding: '1.125rem 0.9375rem 0 0.9375rem',
293
+ focusBorder: '0.09375rem solid #1990c6',
294
+ },
295
+ inputCustom: {
296
+ button: {
297
+ borderRadius: '0 0.5rem 0.5rem 0',
298
+ },
299
+ input: {
300
+ borderRadius: '0.5rem 1rem 1rem 0.5rem',
301
+ },
302
+ },
303
+ selector: {
304
+ size: {
305
+ small: {
306
+ padding: '0.625rem 1.25rem',
307
+ borderRadius: '0.5rem',
308
+ },
309
+ medium: {
310
+ padding: '0.25rem 1rem',
311
+ borderRadius: '0.375rem',
312
+ },
313
+ },
314
+ default: {
315
+ fontWeight: 600,
316
+ border: '0.063rem solid var(--colors-shades-250-color)',
317
+ background: '--colors-shades-white-color',
318
+ color: '--colors-shades-700-color',
319
+ },
320
+ hover: {
321
+ fontWeight: 600,
322
+ background: '--colors-shades-700-color',
323
+ border: 'none',
324
+ color: '--colors-shades-white-color',
325
+ },
326
+ noStock: {
327
+ fontWeight: 600,
328
+ background: 'transparent',
329
+ border: '1px solid #3a3a3a4d',
330
+ color: '#3a3a3a4d',
331
+ },
332
+ disabled: {
333
+ border: 'none',
334
+ },
335
+ fontSize: '0.75rem',
336
+ },
337
+ rating: {
338
+ fontWeight: 400,
339
+ size: {
340
+ xsmall: {
341
+ fontSize: '0.625rem',
342
+ lineHeight: '0.625rem',
343
+ },
344
+ small: {
345
+ fontSize: '0.875rem',
346
+ lineHeight: '0.875rem',
347
+ },
348
+ medium: {
349
+ fontSize: '1rem',
350
+ lineHeight: '1rem',
351
+ },
352
+ large: {
353
+ fontSize: '1.125rem',
354
+ lineHeight: '1.125rem',
355
+ },
356
+ },
357
+ },
358
+ stars: {
359
+ element: {
360
+ color: '#F2D96F',
361
+ xsmall: {
362
+ width: '0.656rem',
363
+ height: '0.656rem',
364
+ marginRight: '0.156rem',
365
+ },
366
+ small: {
367
+ width: '0.875rem',
368
+ height: '0.875rem',
369
+ marginRight: '0.25rem',
370
+ },
371
+ medium: {
372
+ width: '1.375rem',
373
+ height: '1.375rem',
374
+ marginRight: '0.375rem',
375
+ },
376
+ large: {
377
+ width: '2.375rem',
378
+ height: '2.375rem',
379
+ marginRight: '0.375rem',
380
+ },
381
+ },
382
+ },
383
+ card: {
384
+ borderRadius: '0.5rem',
385
+ backgroundColor: '#f7ece4',
386
+ },
387
+ radio: {
388
+ borderColor: '--colors-shades-700-color',
389
+ background: '--colors-shades-white-color',
390
+ textSize: '16px',
391
+ lineHeight: 'normal',
392
+ size: {
393
+ large: {
394
+ borderWidth: '0.094rem',
395
+ margin: '0.5rem',
396
+ height: '2.25rem',
397
+ active: {
398
+ borderWidth: '0.875rem',
399
+ },
400
+ },
401
+ medium: {
402
+ borderWidth: '0.094rem',
403
+ margin: '0.375rem',
404
+ height: '1.375rem',
405
+ active: {
406
+ borderWidth: '0.5rem',
407
+ },
408
+ },
409
+ small: {
410
+ borderWidth: '0.063rem',
411
+ margin: '0.375rem',
412
+ height: '0.875rem',
413
+ active: {
414
+ borderWidth: '0.313rem',
415
+ },
416
+ },
417
+ },
418
+ },
419
+ label: {
420
+ color: '--colors-pallete-secondary-color',
421
+ fontSize: {
422
+ small: '0.75rem',
423
+ medium: '0.75rem',
424
+ large: '0.875rem',
425
+ },
426
+ lineHeight: {
427
+ small: '1rem',
428
+ medium: '1rem',
429
+ large: '1.125rem',
430
+ },
431
+ },
432
+ checkbox: {
433
+ background: '--colors-shades-white-color',
434
+ borderColor: '--colors-shades-700-color',
435
+ active: {
436
+ background: '--colors-shades-700-color',
437
+ },
438
+ size: {
439
+ large: {
440
+ width: '1.8rem',
441
+ height: '1.8rem',
442
+ borderRadius: '0.25rem',
443
+ borderWidth: '0.094rem',
444
+ margin: '0.6rem',
445
+ icon: {
446
+ width: '1.1rem',
447
+ height: '0.8rem',
448
+ },
449
+ },
450
+ medium: {
451
+ width: '1.375rem',
452
+ height: '1.375rem',
453
+ borderRadius: '0.25rem',
454
+ borderWidth: '0.094rem',
455
+ margin: '0.438rem',
456
+ icon: {
457
+ width: '0.875rem',
458
+ height: '0.625rem',
459
+ },
460
+ },
461
+ small: {
462
+ width: '0.875rem',
463
+ height: '0.875rem',
464
+ borderRadius: '0.125rem',
465
+ borderWidth: '0.063rem',
466
+ margin: '0.563rem',
467
+ icon: {
468
+ width: '0.5rem',
469
+ height: '0.375rem',
470
+ },
471
+ },
472
+ },
473
+ },
474
+ accordion: {
475
+ variant: {
476
+ box: {
477
+ container: {
478
+ border: '0.063rem solid',
479
+ borderColor: '--colors-shades-100-color',
480
+ borderRadius: '0.25rem',
481
+ padding: '1.25rem 2rem',
482
+ },
483
+ summary: {
484
+ fontWeight: 600,
485
+ fontSize: '20px',
486
+ lineHeight: '28px',
487
+ color: '--colors-shades-700-color',
488
+ },
489
+ details: {
490
+ margin: '10px 0px 0px 0px',
491
+ },
492
+ icon: {
493
+ width: 1.5,
494
+ height: 1.5,
495
+ color: '--colors-shades-700-color',
496
+ },
497
+ },
498
+ simple: {
499
+ container: {
500
+ borderTop: '1px solid',
501
+ borderColor: '--colors-shades-100-color',
502
+ borderBottom: 'none',
503
+ borderRadius: 'none',
504
+ padding: '10px 0px',
505
+ },
506
+ summary: {
507
+ fontWeight: 400,
508
+ fontSize: '20px',
509
+ lineHeight: '28px',
510
+ color: '--colors-shades-700-color',
511
+ },
512
+ details: {
513
+ margin: '10px 0px 0px 0px',
514
+ },
515
+ icon: {
516
+ width: 1,
517
+ height: 1,
518
+ color: '--colors-shades-700-color',
519
+ },
520
+ },
521
+ },
522
+ },
523
+ dropdown: {
524
+ borderRadius: '0.5rem',
525
+ fontSize: '0.875rem',
526
+ fontWeight: 600,
527
+ lineHeight: '1.125rem',
528
+ padding: '0.5rem 0.75rem 0.5rem 1rem',
529
+ optionPadding: '0.75rem 1rem 0.625rem 0.75rem',
530
+ color: '--colors-shades-700-color',
531
+ fill: '--colors-shades-700-color',
532
+ options: {
533
+ borderColor: '--colors-shades-700-color',
534
+ color: '--colors-shades-700-color',
535
+ borderRadius: '0.5rem',
536
+ borderRadiusV2: '0.5rem',
537
+ },
538
+ optionsWrapper: {
539
+ borderRadius: 'unset',
540
+ overflow: 'unset',
541
+ },
542
+ },
543
+ modal: {
544
+ minWidth: '540px',
545
+ },
546
+ packSelector: {
547
+ borderRadius: '8px',
548
+ borderColor: '--colors-shades-100-color',
549
+ highlightColor: '--colors-pallete-creamy-soft-color',
550
+ selectedColor: '--colors-semantic-positive-color',
551
+ selectedContrast: '--colors-semantic-positive-contrast',
552
+ tagColor: '--colors-semantic-attention-color',
553
+ },
554
+ slideNavigation: {
555
+ slideDots: {
556
+ unselectedDotColor: '--colors-shades-700-color',
557
+ selectedDotColor: '--colors-shades-white-color',
558
+ dotsOpacity: 0.6,
559
+ },
560
+ },
561
+ beforeAfter: {
562
+ size: {
563
+ small: {
564
+ image: {
565
+ minHeight: 'auto',
566
+ minWidth: '92px',
567
+ mobile: {
568
+ minHeight: '138px',
569
+ minWidth: '128px',
570
+ },
571
+ },
572
+ imageContainer: {
573
+ maxWidth: '214px',
574
+ padding: '12px',
575
+ mobile: {
576
+ maxWidth: '286px',
577
+ },
578
+ },
579
+ userInfoText: {
580
+ fontSize: '12px',
581
+ mobile: {
582
+ fontSize: '12px',
583
+ },
584
+ },
585
+ },
586
+ medium: {
587
+ image: {
588
+ minHeight: '200px',
589
+ minWidth: '187px',
590
+ mobile: {
591
+ minHeight: '157px',
592
+ minWidth: '150px',
593
+ },
594
+ },
595
+ imageContainer: {
596
+ maxWidth: '427px',
597
+ padding: '18px',
598
+ mobile: {
599
+ maxWidth: '342px',
600
+ },
601
+ },
602
+ userInfoText: {
603
+ fontSize: '18px',
604
+ mobile: {
605
+ fontSize: '14px',
606
+ },
607
+ },
608
+ },
609
+ large: {
610
+ image: {
611
+ minHeight: '200px',
612
+ minWidth: '187px',
613
+ mobile: {
614
+ minHeight: '157px',
615
+ minWidth: '150px',
616
+ },
617
+ },
618
+ imageContainer: {
619
+ maxWidth: '427px',
620
+ padding: '18px',
621
+ mobile: {
622
+ maxWidth: '342px',
623
+ },
624
+ },
625
+ userInfoText: {
626
+ fontSize: '18px',
627
+ mobile: {
628
+ fontSize: '14px',
629
+ },
630
+ },
631
+ },
632
+ },
633
+ },
634
+ total: {
635
+ basicTotal: {
636
+ amount: {
637
+ color: '--colors-shades-550-color',
638
+ fontSize: '24px',
639
+ },
640
+ currency: {
641
+ color: '--colors-shades-250-color',
642
+ fontSize: '14px',
643
+ lineHeight: '22px',
644
+ alignSelf: 'flex-end',
645
+ },
646
+ savings: {
647
+ amountFontWeight: 600,
648
+ color: '--colors-semantic-positive-color',
649
+ },
650
+ },
651
+ },
652
+ subTotal: {
653
+ basicSubTotal: {
654
+ family: 'Jost',
655
+ size: '16px',
656
+ weight: 600,
657
+ lineHeight: '22px',
658
+ color: '--colors-shades-550-color',
659
+ },
660
+ },
661
+ pricing: {
662
+ priceLabel: {
663
+ price: {
664
+ size: ComponentSize.Small,
665
+ originalPriceColor: '--colors-shades-300-color',
666
+ actualPriceColor: '--colors-semantic-urgent-color',
667
+ },
668
+ },
669
+ },
670
+ orderSummary: {
671
+ headingTextAlign: 'left',
672
+ maxWidth: '428px',
673
+ onMobile: {
674
+ maxWidth: '100%',
675
+ padding: '15px',
676
+ },
677
+ },
678
+ expressCheckout: {
679
+ button: {
680
+ borderRadius: '8px',
681
+ },
682
+ },
683
+ copyrightText: {
684
+ fontSize: '16px',
685
+ fontWeight: 400,
686
+ lineHeight: '24px',
687
+ color: '--colors-pallete-secondary-color',
688
+ },
689
+ thankyouFooterText: {
690
+ fontSize: '14px',
691
+ fontWeight: '700',
692
+ lineHeight: '20px',
693
+ },
694
+ textButton: {
695
+ fontWeight: 500,
696
+ lineHeight: 'normal',
697
+ },
698
+ deliveryDetails: {
699
+ title: {
700
+ fontSize: '1rem',
701
+ lineHeight: '1.5rem',
702
+ fontWeight: 700,
703
+ },
704
+ sectionTitle: {
705
+ fontSize: '0.875rem',
706
+ lineHeight: '1.375rem',
707
+ fontWeight: 700,
708
+ },
709
+ note: {
710
+ accentColor: '#D3373C',
711
+ color: '--colors-text-color',
712
+ backgroundColor: '#FDF1EF',
713
+ },
714
+ sectionDetails: {
715
+ fontSize: '0.875rem',
716
+ lineHeight: '1.375rem',
717
+ fontWeight: 400,
718
+ },
719
+ },
720
+ text: {
721
+ orderHeader: {
722
+ color: '--colors-pallete-primary-color',
723
+ },
724
+ fitGuarantee: {
725
+ fontWeight: 'unset',
726
+ },
727
+ offerBanner: {
728
+ borderRadius: '0.125rem',
729
+ },
730
+ },
731
+ orderBar: {
732
+ backgroundColor: '#dfefeb',
733
+ fontColor: '--colors-shades-700-color',
734
+ },
735
+ banner: {
736
+ outlineColor: '--colors-semantic-urgent-color',
737
+ filledColor: '--colors-semantic-urgent-color',
738
+ fontColor: '--colors-shades-white-color',
739
+ },
740
+ offerTitleText: {
741
+ size: '18px',
742
+ weight: 700,
743
+ lineHeight: '1.7rem',
744
+ },
745
+ linePrice: {
746
+ color: '--colors-semantic-urgent-color',
747
+ badge: {
748
+ color: '--colors-semantic-urgent-color',
749
+ borderRadius: '8px',
750
+ },
751
+ },
752
+ divider: {
753
+ color: '--colors-pallete-secondary-soft-color',
754
+ },
755
+ checkout: {
756
+ paymentInformation: {
757
+ borderRadius: '8px',
758
+ },
759
+ creditCardSection: {
760
+ borderRadius: '8px',
761
+ },
762
+ },
763
+ upsell: {
764
+ banner: {
765
+ outlined: {
766
+ color: '--colors-semantic-urgent-color',
767
+ },
768
+ },
769
+ price: {
770
+ colors: {
771
+ regular: '--colors-shades-400-color',
772
+ deal: '--colors-semantic-urgent-color',
773
+ each: '--colors-shades-700-color',
774
+ badgeBG: '--colors-semantic-urgent-color',
775
+ badgeColor: '--colors-shades-white-color',
776
+ },
777
+ },
778
+ hurryTimeCard: {
779
+ backgroundColor: '#F7ECE4',
780
+ },
781
+ },
782
+ thankyou: {
783
+ emailSection: {
784
+ backgroundColor: '#FDF1EF',
785
+ },
786
+ socialIcon: {
787
+ color: '--colors-pallete-primary-color',
788
+ },
789
+ orderId: {
790
+ color: '--colors-pallete-primary-color',
791
+ },
792
+ },
793
+ hurryUp: {
794
+ borderRadius: 'unset',
795
+ },
796
+ qtyPicker: {
797
+ borderRadius: '0.5rem',
798
+ },
799
+ },
800
+ typography: {
801
+ config: {
802
+ weight: {
803
+ heavy: 900,
804
+ bold: 700,
805
+ demi: 600,
806
+ regular: 400,
807
+ },
808
+ },
809
+ variants: {
810
+ hero1: {
811
+ fontSize: 76,
812
+ lineHeight: '92px',
813
+ },
814
+ hero2: {
815
+ fontSize: 72,
816
+ lineHeight: '88px',
817
+ },
818
+ hero3: {
819
+ fontSize: 68,
820
+ lineHeight: '84px',
821
+ },
822
+ display1: {
823
+ fontSize: 60,
824
+ lineHeight: '76px',
825
+ },
826
+ display2: {
827
+ fontSize: 52,
828
+ lineHeight: '68px',
829
+ },
830
+ heading1: {
831
+ fontSize: 42,
832
+ lineHeight: '52px',
833
+ },
834
+ heading2: {
835
+ fontSize: 36,
836
+ lineHeight: '44px',
837
+ },
838
+ heading3: {
839
+ fontSize: 30,
840
+ lineHeight: '38px',
841
+ },
842
+ heading4: {
843
+ fontSize: 24,
844
+ lineHeight: '32px',
845
+ },
846
+ heading5: {
847
+ fontSize: 20,
848
+ lineHeight: '28px',
849
+ },
850
+ heading6: {
851
+ fontSize: 18,
852
+ lineHeight: '28px',
853
+ },
854
+ heading7: {
855
+ fontSize: 18,
856
+ lineHeight: '24px',
857
+ },
858
+ heading8: {
859
+ fontSize: 16,
860
+ lineHeight: '22px',
861
+ },
862
+ 'body-regular': {
863
+ fontSize: 16,
864
+ lineHeight: '24px',
865
+ },
866
+ 'body-small': {
867
+ fontSize: 14,
868
+ lineHeight: '22px',
869
+ },
870
+ 'link-regular': {
871
+ fontSize: 16,
872
+ lineHeight: '24px',
873
+ },
874
+ 'link-small': {
875
+ fontSize: 14,
876
+ lineHeight: '22px',
877
+ },
878
+ 'pricing-large': {
879
+ fontSize: 24,
880
+ lineHeight: '32px',
881
+ },
882
+ 'pricing-medium': {
883
+ fontSize: 18,
884
+ lineHeight: '24px',
885
+ },
886
+ 'pricing-regular': {
887
+ fontSize: 16,
888
+ lineHeight: '32px',
889
+ },
890
+ 'pricing-small': {
891
+ fontSize: 14,
892
+ lineHeight: '20px',
893
+ },
894
+ button: {
895
+ textTransform: 'uppercase',
896
+ },
897
+ 'button-large': {
898
+ fontSize: 16,
899
+ lineHeight: '20px',
900
+ },
901
+ 'button-regular': {
902
+ fontSize: 14,
903
+ lineHeight: '18px',
904
+ },
905
+ 'button-small': {
906
+ fontSize: 12,
907
+ lineHeight: '16px',
908
+ },
909
+ 'label-regular': {
910
+ fontSize: 14,
911
+ lineHeight: '18px',
912
+ },
913
+ 'label-small': {
914
+ fontSize: 12,
915
+ lineHeight: '16px',
916
+ },
917
+ 'tag-regular': {
918
+ fontSize: 12,
919
+ lineHeight: '16px',
920
+ },
921
+ 'tag-small': {
922
+ fontSize: 10,
923
+ lineHeight: '14px',
924
+ },
925
+ 'tag-x-small': {
926
+ fontSize: 8,
927
+ lineHeight: '12px',
928
+ },
929
+ },
930
+ },
931
+ fonts: {
932
+ url: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/fonts/thebodcon',
933
+ config: [
934
+ {
935
+ family: 'Raleway',
936
+ src: 'Raleway-Regular.ttf',
937
+ weight: 'normal',
938
+ },
939
+ {
940
+ family: 'Raleway',
941
+ src: 'Raleway-Italic.ttf',
942
+ style: 'italic',
943
+ weight: 400,
944
+ },
945
+ {
946
+ family: 'Raleway',
947
+ src: 'Raleway-Bold.ttf',
948
+ weight: 700,
949
+ },
950
+ {
951
+ family: 'Raleway',
952
+ src: 'Raleway-BoldItalic.ttf',
953
+ style: 'italic',
954
+ weight: 700,
955
+ },
956
+ {
957
+ family: 'Raleway',
958
+ src: 'Raleway-ExtraBold.ttf',
959
+ weight: 900,
960
+ },
961
+ {
962
+ family: 'Raleway',
963
+ src: 'Raleway-ExtraBoldItalic.ttf',
964
+ style: 'italic',
965
+ weight: 900,
966
+ },
967
+ {
968
+ family: 'Raleway',
969
+ src: 'Raleway-Medium.ttf',
970
+ weight: 500,
971
+ },
972
+ {
973
+ family: 'Raleway',
974
+ src: 'Raleway-MediumItalic.ttf',
975
+ style: 'italic',
976
+ weight: 500,
977
+ },
978
+ {
979
+ family: 'Raleway',
980
+ src: 'Raleway-SemiBold.ttf',
981
+ weight: 600,
982
+ },
983
+ {
984
+ family: 'Raleway',
985
+ src: 'Raleway-SemiBoldItalic.ttf',
986
+ style: 'italic',
987
+ weight: 600,
988
+ },
989
+ {
990
+ family: 'Raleway',
991
+ src: 'Raleway-Light.ttf',
992
+ weight: 300,
993
+ },
994
+ {
995
+ family: 'Raleway',
996
+ src: 'Raleway-LightItalic.ttf',
997
+ style: 'italic',
998
+ weight: 300,
999
+ },
1000
+ ],
1001
+ },
1002
+ assets: {
1003
+ cdn: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@1.3.4/common',
1004
+ images: {
1005
+ favicon: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/images/thebodcon/thebodcon_favicon.png',
1006
+ logo: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/images/thebodcon/thebodcon_logo.svg',
1007
+ logoSize: {
1008
+ width: '204',
1009
+ height: '35',
1010
+ },
1011
+ upsellLogo: {
1012
+ url: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/images/thebodcon/thebodcon_logo.svg',
1013
+ width: '210',
1014
+ height: '40',
1015
+ },
1016
+ tyLogo: {
1017
+ url: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/images/thebodcon/thebodcon_logo.svg',
1018
+ width: '192',
1019
+ height: '36',
1020
+ },
1021
+ },
1022
+ },
1023
+ };
1024
+
1025
+ module.exports = thebodcon;