@trafilea/afrodita-components 5.0.0-beta.23 → 5.0.0-beta.230
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 +1213 -79
- package/build/index.esm.css +4 -1
- package/build/index.esm.js +6907 -3272
- package/build/index.esm.js.map +1 -1
- package/build/index.js +6937 -3274
- package/build/index.js.map +1 -1
- package/build/theme/revel.theme.d.ts +611 -0
- package/build/theme/revel.theme.js +951 -0
- package/build/theme/shapermint.theme.d.ts +196 -1
- package/build/theme/shapermint.theme.js +220 -1
- package/build/theme/truekind.theme.d.ts +196 -1
- package/build/theme/truekind.theme.js +211 -0
- package/build/theme/tsd.theme.d.ts +611 -0
- package/build/theme/tsd.theme.js +1017 -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,168 @@ 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
|
+
};
|
|
549
|
+
copyrightText: {
|
|
550
|
+
fontSize: string;
|
|
551
|
+
fontWeight: number;
|
|
552
|
+
lineHeight: string;
|
|
553
|
+
color: string;
|
|
554
|
+
};
|
|
555
|
+
textButton: {
|
|
556
|
+
fontWeight: number;
|
|
557
|
+
lineHeight: string;
|
|
558
|
+
};
|
|
559
|
+
deliveryDetails: {
|
|
560
|
+
note: {
|
|
561
|
+
accentColor: string;
|
|
562
|
+
color: string;
|
|
563
|
+
backgroundColor: string;
|
|
564
|
+
};
|
|
565
|
+
SectionDetails?: {
|
|
566
|
+
marginLeft: string;
|
|
567
|
+
};
|
|
568
|
+
};
|
|
569
|
+
text: {
|
|
570
|
+
orderHeader: {
|
|
571
|
+
color: string;
|
|
572
|
+
};
|
|
573
|
+
};
|
|
384
574
|
};
|
|
385
575
|
declare type ThemeTypography = {
|
|
386
576
|
config: {
|
|
@@ -407,6 +597,11 @@ declare type ThemeAssets = {
|
|
|
407
597
|
images: {
|
|
408
598
|
favicon: string;
|
|
409
599
|
logo: string;
|
|
600
|
+
logoSize?: {
|
|
601
|
+
width: string;
|
|
602
|
+
height: string;
|
|
603
|
+
};
|
|
604
|
+
logoMobile?: string;
|
|
410
605
|
};
|
|
411
606
|
[key: string]: any;
|
|
412
607
|
};
|
|
@@ -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 truekind = {
|
|
30
56
|
name: 'Truekind',
|
|
31
57
|
fontSizes: [10, 12, 14, 16, 18, 20, 24, 30, 36, 42, 52, 60, 68, 72, 76],
|
|
@@ -103,6 +129,7 @@ var truekind = {
|
|
|
103
129
|
50: { color: '#efefef', contrast: '--colors-shades-700-color' },
|
|
104
130
|
100: { color: '#e5e5e5', contrast: '--colors-shades-700-color' },
|
|
105
131
|
150: { color: '#d1d1d1', contrast: '--colors-shades-700-color' },
|
|
132
|
+
175: { color: '#c4c4c4', contrast: '--colors-shades-700-color' },
|
|
106
133
|
200: { color: '#bbbbbb', contrast: '--colors-shades-700-color' },
|
|
107
134
|
250: { color: '#a6a6a6', contrast: '--colors-shades-700-color' },
|
|
108
135
|
300: { color: '#9e9e9e', contrast: '--colors-shades-700-color' },
|
|
@@ -269,6 +296,10 @@ var truekind = {
|
|
|
269
296
|
border: 'none',
|
|
270
297
|
borderRadius: '1.5rem',
|
|
271
298
|
fontWeight: 700,
|
|
299
|
+
lineHeight: 'normal',
|
|
300
|
+
letterSpacing: 'normal',
|
|
301
|
+
minWidth: 'unset',
|
|
302
|
+
minHeight: 'unset',
|
|
272
303
|
size: {
|
|
273
304
|
small: {
|
|
274
305
|
fontSize: '1rem',
|
|
@@ -315,6 +346,12 @@ var truekind = {
|
|
|
315
346
|
lineHeight: '1.5rem',
|
|
316
347
|
border: '0.063rem solid #BBBBBB',
|
|
317
348
|
boxShadow: '0 0 0 0.25rem #D9EEFF',
|
|
349
|
+
errorBorder: '0.09375rem solid #d3373c',
|
|
350
|
+
},
|
|
351
|
+
inputPlaceholder: {
|
|
352
|
+
fontSize: '0.875rem',
|
|
353
|
+
padding: '1.125rem 0.9375rem 0 0.9375rem',
|
|
354
|
+
focusBorder: '0.09375rem solid #1990c6',
|
|
318
355
|
},
|
|
319
356
|
inputCustom: {
|
|
320
357
|
button: {
|
|
@@ -347,6 +384,12 @@ var truekind = {
|
|
|
347
384
|
border: 'none',
|
|
348
385
|
color: '#FFFFFF',
|
|
349
386
|
},
|
|
387
|
+
noStock: {
|
|
388
|
+
fontWeight: 600,
|
|
389
|
+
background: 'transparent',
|
|
390
|
+
border: '1px solid #3a3a3a4d',
|
|
391
|
+
color: '#3a3a3a4d',
|
|
392
|
+
},
|
|
350
393
|
disabled: {
|
|
351
394
|
border: '0.063rem solid #E5E5E5',
|
|
352
395
|
},
|
|
@@ -400,10 +443,13 @@ var truekind = {
|
|
|
400
443
|
},
|
|
401
444
|
card: {
|
|
402
445
|
borderRadius: '1.5rem',
|
|
446
|
+
backgroundColor: '#f7ece4',
|
|
403
447
|
},
|
|
404
448
|
radio: {
|
|
405
449
|
borderColor: '#686872',
|
|
406
450
|
background: '#FFFFFF',
|
|
451
|
+
textSize: '16px',
|
|
452
|
+
lineHeight: 'normal',
|
|
407
453
|
size: {
|
|
408
454
|
large: {
|
|
409
455
|
borderWidth: '0.094rem',
|
|
@@ -432,6 +478,7 @@ var truekind = {
|
|
|
432
478
|
},
|
|
433
479
|
},
|
|
434
480
|
label: {
|
|
481
|
+
color: '--colors-pallete-secondary-color',
|
|
435
482
|
fontSize: {
|
|
436
483
|
small: '0.625rem',
|
|
437
484
|
medium: '0.75rem',
|
|
@@ -540,11 +587,13 @@ var truekind = {
|
|
|
540
587
|
fontWeight: 600,
|
|
541
588
|
lineHeight: '1.125rem',
|
|
542
589
|
padding: '0.5rem 0.75rem 0.5rem 1rem',
|
|
590
|
+
optionPadding: '0.75rem 1rem 0.625rem 0.75rem',
|
|
543
591
|
color: '#292929',
|
|
544
592
|
fill: '#292929',
|
|
545
593
|
options: {
|
|
546
594
|
borderColor: '#8BBEEA',
|
|
547
595
|
color: '#292929',
|
|
596
|
+
borderRadius: '0.5rem',
|
|
548
597
|
},
|
|
549
598
|
},
|
|
550
599
|
modal: {
|
|
@@ -558,6 +607,164 @@ var truekind = {
|
|
|
558
607
|
selectedContrast: '--colors-semantic-positive-contrast',
|
|
559
608
|
tagColor: '--colors-semantic-attention-color',
|
|
560
609
|
},
|
|
610
|
+
slideNavigation: {
|
|
611
|
+
slideDots: {
|
|
612
|
+
unselectedDotColor: '--colors-shades-700-color:',
|
|
613
|
+
selectedDotColor: '--colors-shades-white-color',
|
|
614
|
+
dotsOpacity: 0.6,
|
|
615
|
+
},
|
|
616
|
+
},
|
|
617
|
+
beforeAfter: {
|
|
618
|
+
size: {
|
|
619
|
+
small: {
|
|
620
|
+
image: {
|
|
621
|
+
minHeight: 'auto',
|
|
622
|
+
minWidth: '92px',
|
|
623
|
+
mobile: {
|
|
624
|
+
minHeight: '138px',
|
|
625
|
+
minWidth: '128px',
|
|
626
|
+
},
|
|
627
|
+
},
|
|
628
|
+
imageContainer: {
|
|
629
|
+
maxWidth: '214px',
|
|
630
|
+
padding: '12px',
|
|
631
|
+
mobile: {
|
|
632
|
+
maxWidth: '286px',
|
|
633
|
+
},
|
|
634
|
+
},
|
|
635
|
+
userInfoText: {
|
|
636
|
+
fontSize: '12px',
|
|
637
|
+
mobile: {
|
|
638
|
+
fontSize: '12px',
|
|
639
|
+
},
|
|
640
|
+
},
|
|
641
|
+
},
|
|
642
|
+
medium: {
|
|
643
|
+
image: {
|
|
644
|
+
minHeight: '200px',
|
|
645
|
+
minWidth: '187px',
|
|
646
|
+
mobile: {
|
|
647
|
+
minHeight: '157px',
|
|
648
|
+
minWidth: '150px',
|
|
649
|
+
},
|
|
650
|
+
},
|
|
651
|
+
imageContainer: {
|
|
652
|
+
maxWidth: '427px',
|
|
653
|
+
padding: '18px',
|
|
654
|
+
mobile: {
|
|
655
|
+
maxWidth: '342px',
|
|
656
|
+
},
|
|
657
|
+
},
|
|
658
|
+
userInfoText: {
|
|
659
|
+
fontSize: '18px',
|
|
660
|
+
mobile: {
|
|
661
|
+
fontSize: '14px',
|
|
662
|
+
},
|
|
663
|
+
},
|
|
664
|
+
},
|
|
665
|
+
large: {
|
|
666
|
+
image: {
|
|
667
|
+
minHeight: '200px',
|
|
668
|
+
minWidth: '187px',
|
|
669
|
+
mobile: {
|
|
670
|
+
minHeight: '157px',
|
|
671
|
+
minWidth: '150px',
|
|
672
|
+
},
|
|
673
|
+
},
|
|
674
|
+
imageContainer: {
|
|
675
|
+
maxWidth: '427px',
|
|
676
|
+
padding: '18px',
|
|
677
|
+
mobile: {
|
|
678
|
+
maxWidth: '342px',
|
|
679
|
+
},
|
|
680
|
+
},
|
|
681
|
+
userInfoText: {
|
|
682
|
+
fontSize: '18px',
|
|
683
|
+
mobile: {
|
|
684
|
+
fontSize: '14px',
|
|
685
|
+
},
|
|
686
|
+
},
|
|
687
|
+
},
|
|
688
|
+
},
|
|
689
|
+
},
|
|
690
|
+
total: {
|
|
691
|
+
basicTotal: {
|
|
692
|
+
amount: {
|
|
693
|
+
color: '--colors-shades-550-color',
|
|
694
|
+
fontSize: '24px',
|
|
695
|
+
},
|
|
696
|
+
currency: {
|
|
697
|
+
color: '--colors-shades-550-color',
|
|
698
|
+
fontSize: '14px',
|
|
699
|
+
lineHeight: '22px',
|
|
700
|
+
alignSelf: 'flex-end',
|
|
701
|
+
},
|
|
702
|
+
savings: {
|
|
703
|
+
textFontSize: '16px',
|
|
704
|
+
textLineHeight: '24px',
|
|
705
|
+
amountFontSize: '16px',
|
|
706
|
+
amountFontWeight: 600,
|
|
707
|
+
amountLineHeight: '24px',
|
|
708
|
+
color: '--colors-semantic-positive-color',
|
|
709
|
+
},
|
|
710
|
+
},
|
|
711
|
+
},
|
|
712
|
+
subTotal: {
|
|
713
|
+
basicSubTotal: {
|
|
714
|
+
family: 'Jost',
|
|
715
|
+
size: '14px',
|
|
716
|
+
weight: 600,
|
|
717
|
+
lineHeight: '22px',
|
|
718
|
+
color: '--colors-shades-550-color',
|
|
719
|
+
},
|
|
720
|
+
},
|
|
721
|
+
pricing: {
|
|
722
|
+
priceLabel: {
|
|
723
|
+
price: {
|
|
724
|
+
size: ComponentSize.Small,
|
|
725
|
+
originalPriceColor: '--colors-shades-300-color',
|
|
726
|
+
actualPriceColor: '--colors-semantic-urgent-color',
|
|
727
|
+
},
|
|
728
|
+
},
|
|
729
|
+
},
|
|
730
|
+
orderSummary: {
|
|
731
|
+
headingTextAlign: 'left',
|
|
732
|
+
backgroundColor: '--colors-shades-5-color',
|
|
733
|
+
padding: '',
|
|
734
|
+
borderRadius: '',
|
|
735
|
+
maxWidth: '460px',
|
|
736
|
+
onMobile: {
|
|
737
|
+
maxWidth: '100%',
|
|
738
|
+
padding: '15px',
|
|
739
|
+
},
|
|
740
|
+
},
|
|
741
|
+
expressCheckout: {
|
|
742
|
+
fontFamily: '-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica,Arial, sans-serif',
|
|
743
|
+
fontWeight: 500,
|
|
744
|
+
lineHeight: '16px',
|
|
745
|
+
},
|
|
746
|
+
copyrightText: {
|
|
747
|
+
fontSize: '16px',
|
|
748
|
+
fontWeight: 400,
|
|
749
|
+
lineHeight: '24px',
|
|
750
|
+
color: '--colors-pallete-secondary-color',
|
|
751
|
+
},
|
|
752
|
+
textButton: {
|
|
753
|
+
fontWeight: 500,
|
|
754
|
+
lineHeight: 'normal',
|
|
755
|
+
},
|
|
756
|
+
deliveryDetails: {
|
|
757
|
+
note: {
|
|
758
|
+
accentColor: '--colors-semantic-urgent-color',
|
|
759
|
+
color: '--colors-text-color',
|
|
760
|
+
backgroundColor: '--colors-pallete-primary-20-color',
|
|
761
|
+
},
|
|
762
|
+
},
|
|
763
|
+
text: {
|
|
764
|
+
orderHeader: {
|
|
765
|
+
color: '--colors-pallete-primary-color',
|
|
766
|
+
},
|
|
767
|
+
},
|
|
561
768
|
},
|
|
562
769
|
fonts: {
|
|
563
770
|
url: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/fonts/truekind',
|
|
@@ -684,6 +891,10 @@ var truekind = {
|
|
|
684
891
|
images: {
|
|
685
892
|
favicon: 'https://cdn.shopify.com/s/files/1/2679/8624/files/shapermint_favicon-128x128.png',
|
|
686
893
|
logo: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/images/shapermint/shapermint_logo_black.svg',
|
|
894
|
+
logoSize: {
|
|
895
|
+
width: '230',
|
|
896
|
+
height: '46',
|
|
897
|
+
},
|
|
687
898
|
},
|
|
688
899
|
},
|
|
689
900
|
};
|