@trafilea/afrodita-components 5.0.0-beta.25 → 5.0.0-beta.250
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.
- package/build/index.css +4 -1
- package/build/index.d.ts +1258 -80
- package/build/index.esm.css +4 -1
- package/build/index.esm.js +7046 -3270
- package/build/index.esm.js.map +1 -1
- package/build/index.js +7077 -3272
- package/build/index.js.map +1 -1
- package/build/theme/revel.theme.d.ts +638 -0
- package/build/theme/revel.theme.js +976 -0
- package/build/theme/shapermint.theme.d.ts +223 -1
- package/build/theme/shapermint.theme.js +245 -1
- package/build/theme/thespadr.theme.d.ts +638 -0
- package/build/theme/thespadr.theme.js +1064 -0
- package/build/theme/truekind.theme.d.ts +223 -1
- package/build/theme/truekind.theme.js +236 -0
- package/package.json +4 -2
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { CSSProperties } from 'react';
|
|
2
|
+
import { ComponentSize } from 'src/types/enums';
|
|
2
3
|
|
|
3
4
|
declare type Theme = {
|
|
4
5
|
name: string;
|
|
@@ -21,6 +22,7 @@ declare type Theme = {
|
|
|
21
22
|
};
|
|
22
23
|
declare type ThemeBreakpoints = {
|
|
23
24
|
mobile: number;
|
|
25
|
+
tablet?: number;
|
|
24
26
|
desktop: number;
|
|
25
27
|
};
|
|
26
28
|
declare type ThemeBasicPallete = {
|
|
@@ -28,7 +30,7 @@ declare type ThemeBasicPallete = {
|
|
|
28
30
|
contrast: string;
|
|
29
31
|
};
|
|
30
32
|
declare type ThemeColorPallete = ThemeBasicPallete & {
|
|
31
|
-
soft
|
|
33
|
+
soft?: ThemeBasicPallete;
|
|
32
34
|
};
|
|
33
35
|
declare type ThemeColorPrimaryPallete = ThemeColorPallete & {
|
|
34
36
|
20: ThemeColorPallete;
|
|
@@ -40,6 +42,7 @@ declare type ThemeColors = {
|
|
|
40
42
|
pallete: {
|
|
41
43
|
primary: ThemeColorPrimaryPallete;
|
|
42
44
|
secondary: ThemeColorPrimaryPallete;
|
|
45
|
+
tertiary?: ThemeColorPrimaryPallete;
|
|
43
46
|
} & Partial<Record<string, ThemeColorPallete>>;
|
|
44
47
|
shades: {
|
|
45
48
|
black: ThemeBasicPallete;
|
|
@@ -49,6 +52,7 @@ declare type ThemeColors = {
|
|
|
49
52
|
50: ThemeBasicPallete;
|
|
50
53
|
100: ThemeBasicPallete;
|
|
51
54
|
150: ThemeBasicPallete;
|
|
55
|
+
175: ThemeBasicPallete;
|
|
52
56
|
200: ThemeBasicPallete;
|
|
53
57
|
250: ThemeBasicPallete;
|
|
54
58
|
300: ThemeBasicPallete;
|
|
@@ -77,6 +81,8 @@ declare type ThemeColors = {
|
|
|
77
81
|
color: string;
|
|
78
82
|
disabled: string;
|
|
79
83
|
highlight: string;
|
|
84
|
+
shadow?: string;
|
|
85
|
+
isChecked?: string;
|
|
80
86
|
};
|
|
81
87
|
background: {
|
|
82
88
|
color: string;
|
|
@@ -92,6 +98,10 @@ declare type ThemeComponent = {
|
|
|
92
98
|
border: string;
|
|
93
99
|
borderRadius: string;
|
|
94
100
|
fontWeight: number;
|
|
101
|
+
lineHeight: string;
|
|
102
|
+
letterSpacing: string;
|
|
103
|
+
minWidth: string;
|
|
104
|
+
minHeight: string;
|
|
95
105
|
size: {
|
|
96
106
|
small: {
|
|
97
107
|
fontSize: string;
|
|
@@ -138,6 +148,12 @@ declare type ThemeComponent = {
|
|
|
138
148
|
lineHeight: string;
|
|
139
149
|
border: string;
|
|
140
150
|
boxShadow: string;
|
|
151
|
+
errorBorder: string;
|
|
152
|
+
};
|
|
153
|
+
inputPlaceholder: {
|
|
154
|
+
fontSize: string;
|
|
155
|
+
padding: string;
|
|
156
|
+
focusBorder: string;
|
|
141
157
|
};
|
|
142
158
|
inputCustom: {
|
|
143
159
|
button: {
|
|
@@ -170,6 +186,12 @@ declare type ThemeComponent = {
|
|
|
170
186
|
border: string;
|
|
171
187
|
color: string;
|
|
172
188
|
};
|
|
189
|
+
noStock: {
|
|
190
|
+
fontWeight: number;
|
|
191
|
+
background: string;
|
|
192
|
+
border: string;
|
|
193
|
+
color: string;
|
|
194
|
+
};
|
|
173
195
|
disabled: {
|
|
174
196
|
border: string;
|
|
175
197
|
};
|
|
@@ -223,10 +245,13 @@ declare type ThemeComponent = {
|
|
|
223
245
|
};
|
|
224
246
|
card: {
|
|
225
247
|
borderRadius: string;
|
|
248
|
+
backgroundColor: string;
|
|
226
249
|
};
|
|
227
250
|
radio: {
|
|
228
251
|
borderColor: string;
|
|
229
252
|
background: string;
|
|
253
|
+
textSize: string;
|
|
254
|
+
lineHeight: string;
|
|
230
255
|
size: {
|
|
231
256
|
small: {
|
|
232
257
|
borderWidth: string;
|
|
@@ -255,6 +280,7 @@ declare type ThemeComponent = {
|
|
|
255
280
|
};
|
|
256
281
|
};
|
|
257
282
|
label: {
|
|
283
|
+
color: string;
|
|
258
284
|
fontSize: {
|
|
259
285
|
small: string;
|
|
260
286
|
medium: string;
|
|
@@ -363,11 +389,13 @@ declare type ThemeComponent = {
|
|
|
363
389
|
fontWeight: number;
|
|
364
390
|
lineHeight: string;
|
|
365
391
|
padding: string;
|
|
392
|
+
optionPadding: string;
|
|
366
393
|
color: string;
|
|
367
394
|
fill: string;
|
|
368
395
|
options: {
|
|
369
396
|
borderColor: string;
|
|
370
397
|
color: string;
|
|
398
|
+
borderRadius: string;
|
|
371
399
|
};
|
|
372
400
|
};
|
|
373
401
|
modal: {
|
|
@@ -381,6 +409,180 @@ declare type ThemeComponent = {
|
|
|
381
409
|
selectedContrast: string;
|
|
382
410
|
tagColor: string;
|
|
383
411
|
};
|
|
412
|
+
slideNavigation: {
|
|
413
|
+
slideDots: {
|
|
414
|
+
unselectedDotColor: string;
|
|
415
|
+
selectedDotColor: string;
|
|
416
|
+
dotsOpacity: number;
|
|
417
|
+
};
|
|
418
|
+
};
|
|
419
|
+
beforeAfter: {
|
|
420
|
+
size: {
|
|
421
|
+
small: {
|
|
422
|
+
image: {
|
|
423
|
+
minHeight: string;
|
|
424
|
+
minWidth: string;
|
|
425
|
+
mobile: {
|
|
426
|
+
minHeight: string;
|
|
427
|
+
minWidth: string;
|
|
428
|
+
};
|
|
429
|
+
};
|
|
430
|
+
imageContainer: {
|
|
431
|
+
maxWidth: string;
|
|
432
|
+
padding: string;
|
|
433
|
+
mobile: {
|
|
434
|
+
maxWidth: string;
|
|
435
|
+
};
|
|
436
|
+
};
|
|
437
|
+
userInfoText: {
|
|
438
|
+
fontSize: string;
|
|
439
|
+
mobile: {
|
|
440
|
+
fontSize: string;
|
|
441
|
+
};
|
|
442
|
+
};
|
|
443
|
+
};
|
|
444
|
+
medium: {
|
|
445
|
+
image: {
|
|
446
|
+
minHeight: string;
|
|
447
|
+
minWidth: string;
|
|
448
|
+
mobile: {
|
|
449
|
+
minHeight: string;
|
|
450
|
+
minWidth: string;
|
|
451
|
+
};
|
|
452
|
+
};
|
|
453
|
+
imageContainer: {
|
|
454
|
+
maxWidth: string;
|
|
455
|
+
padding: string;
|
|
456
|
+
mobile: {
|
|
457
|
+
maxWidth: string;
|
|
458
|
+
};
|
|
459
|
+
};
|
|
460
|
+
userInfoText: {
|
|
461
|
+
fontSize: string;
|
|
462
|
+
mobile: {
|
|
463
|
+
fontSize: string;
|
|
464
|
+
};
|
|
465
|
+
};
|
|
466
|
+
};
|
|
467
|
+
large: {
|
|
468
|
+
image: {
|
|
469
|
+
minHeight: string;
|
|
470
|
+
minWidth: string;
|
|
471
|
+
mobile: {
|
|
472
|
+
minHeight: string;
|
|
473
|
+
minWidth: string;
|
|
474
|
+
};
|
|
475
|
+
};
|
|
476
|
+
imageContainer: {
|
|
477
|
+
maxWidth: string;
|
|
478
|
+
padding: string;
|
|
479
|
+
mobile: {
|
|
480
|
+
maxWidth: string;
|
|
481
|
+
};
|
|
482
|
+
};
|
|
483
|
+
userInfoText: {
|
|
484
|
+
fontSize: string;
|
|
485
|
+
mobile: {
|
|
486
|
+
fontSize: string;
|
|
487
|
+
};
|
|
488
|
+
};
|
|
489
|
+
};
|
|
490
|
+
};
|
|
491
|
+
};
|
|
492
|
+
total: {
|
|
493
|
+
basicTotal: {
|
|
494
|
+
amount: {
|
|
495
|
+
color: string;
|
|
496
|
+
fontSize: string;
|
|
497
|
+
};
|
|
498
|
+
currency: {
|
|
499
|
+
color: string;
|
|
500
|
+
fontSize: string;
|
|
501
|
+
lineHeight: string;
|
|
502
|
+
alignSelf?: string;
|
|
503
|
+
};
|
|
504
|
+
savings: {
|
|
505
|
+
textFontSize: string;
|
|
506
|
+
textLineHeight: string;
|
|
507
|
+
amountFontSize: string;
|
|
508
|
+
amountFontWeight: number;
|
|
509
|
+
amountLineHeight: string;
|
|
510
|
+
color?: string;
|
|
511
|
+
};
|
|
512
|
+
};
|
|
513
|
+
};
|
|
514
|
+
subTotal: {
|
|
515
|
+
basicSubTotal: {
|
|
516
|
+
family: string;
|
|
517
|
+
size: string;
|
|
518
|
+
weight: number;
|
|
519
|
+
lineHeight: string;
|
|
520
|
+
color: string;
|
|
521
|
+
};
|
|
522
|
+
};
|
|
523
|
+
pricing: {
|
|
524
|
+
priceLabel: {
|
|
525
|
+
price: {
|
|
526
|
+
size: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
|
|
527
|
+
originalPriceColor: string;
|
|
528
|
+
actualPriceColor: string;
|
|
529
|
+
};
|
|
530
|
+
};
|
|
531
|
+
};
|
|
532
|
+
orderSummary: {
|
|
533
|
+
headingTextAlign: string;
|
|
534
|
+
backgroundColor: string;
|
|
535
|
+
maxWidth?: string;
|
|
536
|
+
padding?: string;
|
|
537
|
+
borderRadius?: string;
|
|
538
|
+
onMobile: {
|
|
539
|
+
maxWidth?: string;
|
|
540
|
+
padding?: string;
|
|
541
|
+
backgroundColor?: string;
|
|
542
|
+
};
|
|
543
|
+
};
|
|
544
|
+
expressCheckout: {
|
|
545
|
+
fontFamily: string;
|
|
546
|
+
fontWeight: number;
|
|
547
|
+
lineHeight: string;
|
|
548
|
+
button: {
|
|
549
|
+
borderRadius: string;
|
|
550
|
+
};
|
|
551
|
+
};
|
|
552
|
+
copyrightText: {
|
|
553
|
+
fontSize: string;
|
|
554
|
+
fontWeight: number;
|
|
555
|
+
lineHeight: string;
|
|
556
|
+
color: string;
|
|
557
|
+
};
|
|
558
|
+
textButton: {
|
|
559
|
+
fontWeight: number;
|
|
560
|
+
lineHeight: string;
|
|
561
|
+
};
|
|
562
|
+
deliveryDetails: {
|
|
563
|
+
title: {
|
|
564
|
+
fontSize: string;
|
|
565
|
+
lineHeight: string;
|
|
566
|
+
weight: number;
|
|
567
|
+
};
|
|
568
|
+
note: {
|
|
569
|
+
accentColor: string;
|
|
570
|
+
color: string;
|
|
571
|
+
backgroundColor: string;
|
|
572
|
+
};
|
|
573
|
+
SectionDetails?: {
|
|
574
|
+
marginLeft: string;
|
|
575
|
+
};
|
|
576
|
+
};
|
|
577
|
+
text: {
|
|
578
|
+
orderHeader: {
|
|
579
|
+
color: string;
|
|
580
|
+
};
|
|
581
|
+
};
|
|
582
|
+
orderBar: {
|
|
583
|
+
backgroundColor: string;
|
|
584
|
+
fontColor: string;
|
|
585
|
+
};
|
|
384
586
|
};
|
|
385
587
|
declare type ThemeTypography = {
|
|
386
588
|
config: {
|
|
@@ -407,6 +609,26 @@ declare type ThemeAssets = {
|
|
|
407
609
|
images: {
|
|
408
610
|
favicon: string;
|
|
409
611
|
logo: string;
|
|
612
|
+
logoSize?: {
|
|
613
|
+
width: string;
|
|
614
|
+
height: string;
|
|
615
|
+
};
|
|
616
|
+
logoMobile?: string;
|
|
617
|
+
checkoutLogo?: {
|
|
618
|
+
url: string;
|
|
619
|
+
width: string;
|
|
620
|
+
height: string;
|
|
621
|
+
};
|
|
622
|
+
upsellLogo?: {
|
|
623
|
+
url: string;
|
|
624
|
+
width: string;
|
|
625
|
+
height: string;
|
|
626
|
+
};
|
|
627
|
+
tyLogo?: {
|
|
628
|
+
url: string;
|
|
629
|
+
width: string;
|
|
630
|
+
height: string;
|
|
631
|
+
};
|
|
410
632
|
};
|
|
411
633
|
[key: string]: any;
|
|
412
634
|
};
|
|
@@ -26,6 +26,32 @@ var __assign = function() {
|
|
|
26
26
|
return __assign.apply(this, arguments);
|
|
27
27
|
};
|
|
28
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
|
+
|
|
29
55
|
var shapermint = {
|
|
30
56
|
name: 'Shapermint',
|
|
31
57
|
fontSizes: [10, 12, 14, 16, 18, 20, 24, 30, 36, 42, 52, 60, 68, 72, 76],
|
|
@@ -120,6 +146,14 @@ var shapermint = {
|
|
|
120
146
|
contrast: '--colors-shades-700-color',
|
|
121
147
|
},
|
|
122
148
|
} }),
|
|
149
|
+
wine: {
|
|
150
|
+
color: '#882A2B',
|
|
151
|
+
contrast: '--colors-shades-white-color',
|
|
152
|
+
soft: {
|
|
153
|
+
color: '#DBBFBF',
|
|
154
|
+
contrast: '--colors-text-color',
|
|
155
|
+
},
|
|
156
|
+
},
|
|
123
157
|
creamy: {
|
|
124
158
|
color: '#FFE9D8',
|
|
125
159
|
contrast: '--colors-text-color',
|
|
@@ -145,6 +179,7 @@ var shapermint = {
|
|
|
145
179
|
50: { color: '#efefef', contrast: '--colors-shades-700-color' },
|
|
146
180
|
100: { color: '#e5e5e5', contrast: '--colors-shades-700-color' },
|
|
147
181
|
150: { color: '#d1d1d1', contrast: '--colors-shades-700-color' },
|
|
182
|
+
175: { color: '#c4c4c4', contrast: '--colors-shades-700-color' },
|
|
148
183
|
200: { color: '#bbbbbb', contrast: '--colors-shades-700-color' },
|
|
149
184
|
250: { color: '#a6a6a6', contrast: '--colors-shades-700-color' },
|
|
150
185
|
300: { color: '#9e9e9e', contrast: '--colors-shades-700-color' },
|
|
@@ -188,6 +223,10 @@ var shapermint = {
|
|
|
188
223
|
border: 'none',
|
|
189
224
|
borderRadius: '0.5rem',
|
|
190
225
|
fontWeight: 600,
|
|
226
|
+
lineHeight: 'normal',
|
|
227
|
+
letterSpacing: 'normal',
|
|
228
|
+
minWidth: 'unset',
|
|
229
|
+
minHeight: 'unset',
|
|
191
230
|
size: {
|
|
192
231
|
small: {
|
|
193
232
|
fontSize: '0.75rem',
|
|
@@ -234,6 +273,12 @@ var shapermint = {
|
|
|
234
273
|
lineHeight: '1.5rem',
|
|
235
274
|
border: '0.063rem solid var(--colors-shades-200-color)',
|
|
236
275
|
boxShadow: 'none',
|
|
276
|
+
errorBorder: '0.09375rem solid #d3373c',
|
|
277
|
+
},
|
|
278
|
+
inputPlaceholder: {
|
|
279
|
+
fontSize: '0.875rem',
|
|
280
|
+
padding: '1.125rem 0.9375rem 0 0.9375rem',
|
|
281
|
+
focusBorder: '0.09375rem solid #1990c6',
|
|
237
282
|
},
|
|
238
283
|
inputCustom: {
|
|
239
284
|
button: {
|
|
@@ -266,6 +311,12 @@ var shapermint = {
|
|
|
266
311
|
border: 'none',
|
|
267
312
|
color: '--colors-shades-white-color',
|
|
268
313
|
},
|
|
314
|
+
noStock: {
|
|
315
|
+
fontWeight: 600,
|
|
316
|
+
background: 'transparent',
|
|
317
|
+
border: '1px solid #3a3a3a4d',
|
|
318
|
+
color: '#3a3a3a4d',
|
|
319
|
+
},
|
|
269
320
|
disabled: {
|
|
270
321
|
border: 'none',
|
|
271
322
|
},
|
|
@@ -319,10 +370,13 @@ var shapermint = {
|
|
|
319
370
|
},
|
|
320
371
|
card: {
|
|
321
372
|
borderRadius: '0.5rem',
|
|
373
|
+
backgroundColor: '#f7ece4',
|
|
322
374
|
},
|
|
323
375
|
radio: {
|
|
324
376
|
borderColor: '--colors-shades-700-color',
|
|
325
377
|
background: '--colors-shades-white-color',
|
|
378
|
+
textSize: '16px',
|
|
379
|
+
lineHeight: 'normal',
|
|
326
380
|
size: {
|
|
327
381
|
large: {
|
|
328
382
|
borderWidth: '0.094rem',
|
|
@@ -351,6 +405,7 @@ var shapermint = {
|
|
|
351
405
|
},
|
|
352
406
|
},
|
|
353
407
|
label: {
|
|
408
|
+
color: '--colors-pallete-secondary-color',
|
|
354
409
|
fontSize: {
|
|
355
410
|
small: '0.75rem',
|
|
356
411
|
medium: '0.75rem',
|
|
@@ -459,11 +514,13 @@ var shapermint = {
|
|
|
459
514
|
fontWeight: 600,
|
|
460
515
|
lineHeight: '1.125rem',
|
|
461
516
|
padding: '0.5rem 0.75rem 0.5rem 1rem',
|
|
517
|
+
optionPadding: '0.75rem 1rem 0.625rem 0.75rem',
|
|
462
518
|
color: '--colors-shades-700-color',
|
|
463
519
|
fill: '--colors-shades-700-color',
|
|
464
520
|
options: {
|
|
465
521
|
borderColor: '--colors-shades-700-color',
|
|
466
522
|
color: '--colors-shades-700-color',
|
|
523
|
+
borderRadius: '0.5rem',
|
|
467
524
|
},
|
|
468
525
|
},
|
|
469
526
|
modal: {
|
|
@@ -477,6 +534,176 @@ var shapermint = {
|
|
|
477
534
|
selectedContrast: '--colors-semantic-positive-contrast',
|
|
478
535
|
tagColor: '--colors-semantic-attention-color',
|
|
479
536
|
},
|
|
537
|
+
slideNavigation: {
|
|
538
|
+
slideDots: {
|
|
539
|
+
unselectedDotColor: '--colors-shades-700-color',
|
|
540
|
+
selectedDotColor: '--colors-shades-white-color',
|
|
541
|
+
dotsOpacity: 0.6,
|
|
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-shades-550-color',
|
|
621
|
+
fontSize: '24px',
|
|
622
|
+
},
|
|
623
|
+
currency: {
|
|
624
|
+
color: '--colors-shades-550-color',
|
|
625
|
+
fontSize: '14px',
|
|
626
|
+
lineHeight: '22px',
|
|
627
|
+
alignSelf: 'flex-end',
|
|
628
|
+
},
|
|
629
|
+
savings: {
|
|
630
|
+
textFontSize: '16px',
|
|
631
|
+
textLineHeight: '24px',
|
|
632
|
+
amountFontSize: '16px',
|
|
633
|
+
amountFontWeight: 600,
|
|
634
|
+
amountLineHeight: '24px',
|
|
635
|
+
color: '--colors-semantic-positive-color',
|
|
636
|
+
},
|
|
637
|
+
},
|
|
638
|
+
},
|
|
639
|
+
subTotal: {
|
|
640
|
+
basicSubTotal: {
|
|
641
|
+
family: 'Jost',
|
|
642
|
+
size: '16px',
|
|
643
|
+
weight: 600,
|
|
644
|
+
lineHeight: '22px',
|
|
645
|
+
color: '--colors-shades-550-color',
|
|
646
|
+
},
|
|
647
|
+
},
|
|
648
|
+
pricing: {
|
|
649
|
+
priceLabel: {
|
|
650
|
+
price: {
|
|
651
|
+
size: ComponentSize.Small,
|
|
652
|
+
originalPriceColor: '--colors-shades-300-color',
|
|
653
|
+
actualPriceColor: '--colors-semantic-urgent-color',
|
|
654
|
+
},
|
|
655
|
+
},
|
|
656
|
+
},
|
|
657
|
+
orderSummary: {
|
|
658
|
+
headingTextAlign: 'left',
|
|
659
|
+
backgroundColor: '--colors-shades-5-color',
|
|
660
|
+
padding: '',
|
|
661
|
+
borderRadius: '',
|
|
662
|
+
maxWidth: '460px',
|
|
663
|
+
onMobile: {
|
|
664
|
+
maxWidth: '100%',
|
|
665
|
+
padding: '15px',
|
|
666
|
+
},
|
|
667
|
+
},
|
|
668
|
+
expressCheckout: {
|
|
669
|
+
fontFamily: '-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica,Arial, sans-serif',
|
|
670
|
+
fontWeight: 500,
|
|
671
|
+
lineHeight: '16px',
|
|
672
|
+
button: {
|
|
673
|
+
borderRadius: '4px',
|
|
674
|
+
},
|
|
675
|
+
},
|
|
676
|
+
copyrightText: {
|
|
677
|
+
fontSize: '16px',
|
|
678
|
+
fontWeight: 400,
|
|
679
|
+
lineHeight: '24px',
|
|
680
|
+
color: '--colors-pallete-secondary-color',
|
|
681
|
+
},
|
|
682
|
+
textButton: {
|
|
683
|
+
fontWeight: 500,
|
|
684
|
+
lineHeight: 'normal',
|
|
685
|
+
},
|
|
686
|
+
deliveryDetails: {
|
|
687
|
+
title: {
|
|
688
|
+
fontSize: '1rem',
|
|
689
|
+
lineHeight: '1.25rem',
|
|
690
|
+
weight: 600,
|
|
691
|
+
},
|
|
692
|
+
note: {
|
|
693
|
+
accentColor: '--colors-semantic-urgent-color',
|
|
694
|
+
color: '--colors-text-color',
|
|
695
|
+
backgroundColor: '--colors-pallete-primary-20-color',
|
|
696
|
+
},
|
|
697
|
+
},
|
|
698
|
+
text: {
|
|
699
|
+
orderHeader: {
|
|
700
|
+
color: '--colors-pallete-primary-color',
|
|
701
|
+
},
|
|
702
|
+
},
|
|
703
|
+
orderBar: {
|
|
704
|
+
backgroundColor: '#dfefeb',
|
|
705
|
+
fontColor: '--colors-shades-700-color',
|
|
706
|
+
},
|
|
480
707
|
},
|
|
481
708
|
typography: {
|
|
482
709
|
config: {
|
|
@@ -532,6 +759,14 @@ var shapermint = {
|
|
|
532
759
|
fontSize: 18,
|
|
533
760
|
lineHeight: '28px',
|
|
534
761
|
},
|
|
762
|
+
heading7: {
|
|
763
|
+
fontSize: 20,
|
|
764
|
+
lineHeight: '28px',
|
|
765
|
+
},
|
|
766
|
+
heading8: {
|
|
767
|
+
fontSize: 18,
|
|
768
|
+
lineHeight: '28px',
|
|
769
|
+
},
|
|
535
770
|
'body-regular': {
|
|
536
771
|
fontSize: 16,
|
|
537
772
|
lineHeight: '24px',
|
|
@@ -687,7 +922,16 @@ var shapermint = {
|
|
|
687
922
|
assets: {
|
|
688
923
|
images: {
|
|
689
924
|
favicon: 'https://cdn.shopify.com/s/files/1/2679/8624/files/shapermint_favicon-128x128.png',
|
|
690
|
-
logo: 'https://cdn.jsdelivr.net/gh/
|
|
925
|
+
logo: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/images/shapermint/shapermint_logo_black.svg',
|
|
926
|
+
logoSize: {
|
|
927
|
+
width: '230',
|
|
928
|
+
height: '46',
|
|
929
|
+
},
|
|
930
|
+
upsellLogo: {
|
|
931
|
+
url: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/images/shapermint/shapermint_logo_black.svg',
|
|
932
|
+
width: '210',
|
|
933
|
+
height: '40',
|
|
934
|
+
},
|
|
691
935
|
},
|
|
692
936
|
},
|
|
693
937
|
};
|