@thryveai/theme-interfaces 2.3.14 → 2.3.15

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.
Files changed (40) hide show
  1. package/README.md +29 -29
  2. package/package.json +18 -18
  3. package/dist/index.d.ts +0 -25
  4. package/dist/index.js +0 -29
  5. package/dist/interfaces/admin-images-interfaces.d.ts +0 -11
  6. package/dist/interfaces/admin-images-interfaces.js +0 -2
  7. package/dist/interfaces/admin-settings-interfaces.d.ts +0 -51
  8. package/dist/interfaces/admin-settings-interfaces.js +0 -2
  9. package/dist/interfaces/default-settings.interfaces.d.ts +0 -78
  10. package/dist/interfaces/default-settings.interfaces.js +0 -2
  11. package/dist/interfaces/default-theme.interface.d.ts +0 -694
  12. package/dist/interfaces/default-theme.interface.js +0 -2
  13. package/dist/interfaces/icons.interfaces.d.ts +0 -7
  14. package/dist/interfaces/icons.interfaces.js +0 -124
  15. package/dist/interfaces/retailer-settings.interfaces.d.ts +0 -373
  16. package/dist/interfaces/retailer-settings.interfaces.js +0 -2
  17. package/dist/interfaces/sts-settings.interfaces.d.ts +0 -6
  18. package/dist/interfaces/sts-settings.interfaces.js +0 -2
  19. package/dist/interfaces/theme.interfaces.d.ts +0 -695
  20. package/dist/interfaces/theme.interfaces.js +0 -2
  21. package/dist/storefront/SFUIImagesTemplate.AdminUi.d.ts +0 -2
  22. package/dist/storefront/SFUIImagesTemplate.AdminUi.js +0 -112
  23. package/dist/storefront/SFUISettingsTemplate.AdminUi.d.ts +0 -3
  24. package/dist/storefront/SFUISettingsTemplate.AdminUi.js +0 -868
  25. package/dist/storefront/SFUIThemesTemplate.AdminUi.d.ts +0 -3
  26. package/dist/storefront/SFUIThemesTemplate.AdminUi.js +0 -113
  27. package/dist/storefront/defaultImagesStorefront.d.ts +0 -3
  28. package/dist/storefront/defaultImagesStorefront.js +0 -96
  29. package/dist/storefront/defaultSettingsStorefront.d.ts +0 -3
  30. package/dist/storefront/defaultSettingsStorefront.js +0 -257
  31. package/dist/storefront/defaultThemeStorefront.d.ts +0 -5
  32. package/dist/storefront/defaultThemeStorefront.js +0 -1155
  33. package/dist/sts/STSImagesTemplate.AdminUi.d.ts +0 -2
  34. package/dist/sts/STSImagesTemplate.AdminUi.js +0 -50
  35. package/dist/sts/STSSettingsTemplate.AdminUi.d.ts +0 -2
  36. package/dist/sts/STSSettingsTemplate.AdminUi.js +0 -30
  37. package/dist/sts/defaultSettingsSts.d.ts +0 -3
  38. package/dist/sts/defaultSettingsSts.js +0 -9
  39. package/dist/theme-templates/index.d.ts +0 -3
  40. package/dist/theme-templates/index.js +0 -8
@@ -1,1155 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DefaultThemeColors = exports.globalTheme = void 0;
4
- var DefaultThemeSFUI = function (colors) {
5
- if (colors === void 0) { colors = exports.DefaultThemeColors; }
6
- return ({
7
- colors: {
8
- brandColors: {
9
- primary1: colors.primary1,
10
- primary2: colors.primary2,
11
- primary3: colors.primary3,
12
- primary4: colors.primary4,
13
- primary5: colors.primary5,
14
- secondary1: colors.secondary1,
15
- secondary2: colors.secondary2,
16
- secondary3: colors.secondary3,
17
- secondary4: colors.secondary4,
18
- secondary5: colors.secondary5,
19
- tertiary1: colors.tertiary1,
20
- tertiary2: colors.tertiary2,
21
- tertiary3: colors.tertiary3,
22
- tertiary4: colors.tertiary4,
23
- tertiary5: colors.tertiary5
24
- },
25
- uiColors: {
26
- success: colors.success,
27
- successDark: colors.successDark,
28
- successLight: colors.successLight,
29
- warn: colors.warn,
30
- warnDark: colors.warnDark,
31
- warnLight: colors.warnLight,
32
- alert: colors.alert,
33
- alertDark: colors.alertDark,
34
- alertLight: colors.alertLight,
35
- promotion1: colors.promotion1,
36
- promotion2: colors.promotion2,
37
- greyscale1: colors.greyscale1,
38
- greyscale2: colors.greyscale2,
39
- greyscale3: colors.greyscale3,
40
- greyscale4: colors.greyscale4,
41
- greyscale5: colors.greyscale5,
42
- greyscale6: colors.greyscale6,
43
- greyscale7: colors.greyscale7
44
- }
45
- },
46
- header: {
47
- notifications: {
48
- counter: {
49
- backgroundColor: colors.alert,
50
- },
51
- text: {
52
- color: colors.greyscale1,
53
- hoverColor: colors.greyscale3,
54
- },
55
- seeAllNotifications: { color: colors.greyscale4 },
56
- },
57
- badge: {
58
- cart: {
59
- color: colors.secondary1,
60
- bgColor: colors.greyscale1
61
- }
62
- },
63
- topMenu: {
64
- color: colors.greyscale6,
65
- hoverColor: colors.greyscale6,
66
- backgroundColor: colors.greyscale2,
67
- links: {
68
- static: {
69
- color: colors.primary1,
70
- textDecoration: 'none'
71
- },
72
- hover: {
73
- color: colors.primary1,
74
- textDecoration: 'underline'
75
- },
76
- clicked: {
77
- color: colors.primary1,
78
- textDecoration: 'underline'
79
- },
80
- visited: {
81
- color: colors.primary1,
82
- textDecoration: 'none'
83
- }
84
- }
85
- },
86
- mainMenu: {
87
- color: colors.greyscale6,
88
- hoverColor: colors.greyscale6,
89
- backgroundColor: colors.greyscale1,
90
- links: {
91
- static: {
92
- color: colors.primary1,
93
- textDecoration: 'none'
94
- },
95
- hover: {
96
- color: colors.primary1,
97
- textDecoration: 'underline'
98
- },
99
- clicked: {
100
- color: colors.primary1,
101
- textDecoration: 'underline'
102
- },
103
- visited: {
104
- color: colors.primary1,
105
- textDecoration: 'none'
106
- }
107
- }
108
- },
109
- bottomMenu: {
110
- color: colors.greyscale6,
111
- hoverColor: colors.primary1,
112
- backgroundColor: colors.greyscale1,
113
- textTransform: 'capitalize',
114
- fontWeight: exports.globalTheme.FontWeight,
115
- links: {
116
- static: {
117
- color: colors.primary1,
118
- textDecoration: 'none'
119
- },
120
- hover: {
121
- color: colors.primary1,
122
- textDecoration: 'underline'
123
- },
124
- clicked: {
125
- color: colors.primary1,
126
- textDecoration: 'underline'
127
- },
128
- visited: {
129
- color: colors.primary1,
130
- textDecoration: 'none'
131
- }
132
- }
133
- },
134
- mobileMenu: {
135
- color: colors.primary1,
136
- hoverColor: colors.primary1,
137
- backgroundColor: colors.greyscale1,
138
- links: {
139
- static: {
140
- color: colors.primary1,
141
- textDecoration: 'none'
142
- },
143
- hover: {
144
- color: colors.primary1,
145
- textDecoration: 'underline'
146
- },
147
- clicked: {
148
- color: colors.primary1,
149
- textDecoration: 'underline'
150
- },
151
- visited: {
152
- color: colors.primary1,
153
- textDecoration: 'none'
154
- }
155
- }
156
- },
157
- search: {
158
- borderColor: colors.greyscale3,
159
- borderRadius: '4px',
160
- clearBtnColor: colors.greyscale3,
161
- searchButton: {
162
- desktop: {
163
- static: { color: colors.primary1, backgroundColor: 'transparent' },
164
- hover: { color: colors.primary1, backgroundColor: colors.greyscale2 },
165
- clicked: {
166
- color: colors.greyscale1,
167
- backgroundColor: colors.primary1
168
- }
169
- },
170
- tablet: {
171
- static: { color: colors.primary1 },
172
- clicked: {
173
- color: colors.greyscale1
174
- }
175
- },
176
- mobile: {
177
- static: { color: colors.primary1 }
178
- }
179
- },
180
- suggestions: {
181
- links: {
182
- color: {
183
- static: 'inherit',
184
- hover: 'inherit',
185
- visited: 'inherit'
186
- }
187
- }
188
- },
189
- multisearchBtn: {
190
- static: {
191
- color: colors.greyscale5,
192
- backgroundColor: colors.primary5
193
- },
194
- hover: {
195
- color: colors.primary1,
196
- backgroundColor: colors.primary5
197
- }
198
- }
199
- },
200
- storePopover: {
201
- backgroundColor: colors.primary5,
202
- activeBackgroundColor: colors.secondary5,
203
- color: colors.greyscale5,
204
- activeColor: colors.greyscale5,
205
- borderColor: 'transparent',
206
- borderRadius: '4px',
207
- reserveTimeIconPosition: 'center'
208
- },
209
- accountPopover: {
210
- backgroundColor: colors.greyscale2,
211
- borderColor: 'transparent',
212
- borderRadius: '4px',
213
- color: colors.greyscale5,
214
- links: {
215
- color: {
216
- static: colors.greyscale5,
217
- hover: 'inherit',
218
- visited: colors.greyscale5
219
- }
220
- }
221
- },
222
- headerActionLinks: {
223
- activeBackgroundColor: colors.greyscale2,
224
- activeColor: colors.primary1,
225
- backgroundColor: 'none',
226
- borderRadius: exports.globalTheme.BorderRadius,
227
- color: colors.greyscale5,
228
- hoverColor: colors.greyscale5,
229
- fontFamily: exports.globalTheme.FontFamily,
230
- fontWeight: exports.globalTheme.FontWeightBold,
231
- links: {
232
- static: {
233
- color: colors.primary1,
234
- textDecoration: 'none'
235
- },
236
- hover: {
237
- color: colors.primary1,
238
- textDecoration: 'underline'
239
- },
240
- clicked: {
241
- color: colors.primary1,
242
- textDecoration: 'underline'
243
- },
244
- visited: {
245
- color: colors.primary1,
246
- textDecoration: 'none'
247
- }
248
- }
249
- },
250
- headerLinks: {
251
- color: colors.greyscale5,
252
- hoverColor: colors.greyscale5,
253
- backgroundColor: 'none',
254
- activeColor: colors.greyscale5,
255
- activeBackgroundColor: colors.greyscale2,
256
- fontWeight: exports.globalTheme.FontWeightBold,
257
- borderRadius: exports.globalTheme.BorderRadius,
258
- links: {
259
- static: {
260
- color: colors.primary1,
261
- textDecoration: 'none'
262
- },
263
- hover: {
264
- color: colors.primary1,
265
- textDecoration: 'underline'
266
- },
267
- clicked: {
268
- color: colors.primary1,
269
- textDecoration: 'underline'
270
- },
271
- visited: {
272
- color: colors.primary1,
273
- textDecoration: 'none'
274
- }
275
- }
276
- },
277
- departments: {
278
- wrapCategoryTitle: false,
279
- backgroundColor: {
280
- active: 'inherit',
281
- static: colors.greyscale2
282
- },
283
- color: {
284
- static: colors.greyscale5,
285
- hover: colors.primary1
286
- },
287
- iconColor: {
288
- static: colors.greyscale3,
289
- hover: colors.greyscale3
290
- }
291
- }
292
- },
293
- body: {
294
- fontSize: exports.globalTheme.baseFontSize,
295
- color: exports.globalTheme.bodyFontColor,
296
- backgroundColor: exports.globalTheme.bodyBackgroundColor
297
- },
298
- footer: {
299
- mainFooter: {
300
- color: colors.greyscale6,
301
- hoverColor: colors.greyscale6,
302
- backgroundColor: colors.greyscale2,
303
- links: {
304
- static: {
305
- color: colors.primary1,
306
- textDecoration: 'none'
307
- },
308
- hover: {
309
- color: colors.primary1,
310
- textDecoration: 'underline'
311
- },
312
- clicked: {
313
- color: colors.primary1,
314
- textDecoration: 'underline'
315
- },
316
- visited: {
317
- color: colors.primary1,
318
- textDecoration: 'none'
319
- }
320
- }
321
- },
322
- bottomFooter: {
323
- color: colors.greyscale1,
324
- hoverColor: colors.greyscale1,
325
- backgroundColor: colors.greyscale5,
326
- links: {
327
- static: {
328
- color: colors.primary1,
329
- textDecoration: 'none'
330
- },
331
- hover: {
332
- color: colors.primary1,
333
- textDecoration: 'underline'
334
- },
335
- clicked: {
336
- color: colors.primary1,
337
- textDecoration: 'underline'
338
- },
339
- visited: {
340
- color: colors.primary1,
341
- textDecoration: 'none'
342
- }
343
- }
344
- },
345
- bottomFooterNavHeaderLink: {
346
- color: colors.greyscale6,
347
- hoverColor: colors.greyscale6,
348
- backgroundColor: 'transparent',
349
- links: {
350
- static: {
351
- color: colors.primary1,
352
- textDecoration: 'none'
353
- },
354
- hover: {
355
- color: colors.primary1,
356
- textDecoration: 'underline'
357
- },
358
- clicked: {
359
- color: colors.primary1,
360
- textDecoration: 'underline'
361
- },
362
- visited: {
363
- color: colors.primary1,
364
- textDecoration: 'none'
365
- }
366
- }
367
- },
368
- mediaIcons: {
369
- color: colors.greyscale5
370
- }
371
- },
372
- orderConfirmation: {
373
- iconColor: colors.greyscale1,
374
- backgroundColor: colors.successLight
375
- },
376
- minimalHeader: {
377
- desktop: {
378
- color: colors.secondary1,
379
- hoverColor: colors.secondary1,
380
- backgroundColor: colors.greyscale1,
381
- iconColor: colors.secondary1,
382
- links: {
383
- static: {
384
- color: colors.primary1,
385
- textDecoration: 'none'
386
- },
387
- hover: {
388
- color: colors.primary1,
389
- textDecoration: 'underline'
390
- },
391
- clicked: {
392
- color: colors.primary1,
393
- textDecoration: 'underline'
394
- },
395
- visited: {
396
- color: colors.primary1,
397
- textDecoration: 'none'
398
- }
399
- }
400
- },
401
- mobile: {
402
- color: colors.secondary1,
403
- hoverColor: colors.secondary1,
404
- backgroundColor: colors.greyscale1,
405
- iconColor: colors.secondary1,
406
- links: {
407
- static: {
408
- color: colors.primary1,
409
- textDecoration: 'none'
410
- },
411
- hover: {
412
- color: colors.primary1,
413
- textDecoration: 'underline'
414
- },
415
- clicked: {
416
- color: colors.primary1,
417
- textDecoration: 'underline'
418
- },
419
- visited: {
420
- color: colors.primary1,
421
- textDecoration: 'none'
422
- }
423
- }
424
- }
425
- },
426
- subHeaderBoxes: {
427
- backgroundColor: colors.greyscale2,
428
- color: colors.greyscale5,
429
- contentBorder: colors.greyscale2
430
- },
431
- breadcrumb: {
432
- textTransform: 'capitalize',
433
- backgroundColor: colors.greyscale2,
434
- color: colors.primary1,
435
- activeColor: colors.greyscale6,
436
- backIconColor: colors.greyscale4
437
- },
438
- breadcrumbTitle: {
439
- textTransform: 'capitalize',
440
- backgroundColor: colors.greyscale2,
441
- color: colors.primary1,
442
- activeColor: colors.greyscale6,
443
- backIconColor: colors.greyscale4
444
- },
445
- payment: {
446
- selectedCardBackground: colors.primary5,
447
- selectedCardColor: colors.greyscale5,
448
- summary: {
449
- listItemBackground: colors.greyscale2
450
- },
451
- checkoutCards: {
452
- borderRadius: '4px'
453
- }
454
- },
455
- productPage: {
456
- detailsBackgroundColor: colors.greyscale2,
457
- badges: {
458
- borderRadius: '4px'
459
- },
460
- priceReductionColor: colors.alert,
461
- previouslyPurchased: {
462
- color: colors.greyscale5,
463
- bgColor: colors.primary5
464
- }
465
- },
466
- accountPage: {
467
- passwordRequirements: {
468
- backgroundColor: colors.primary5
469
- }
470
- },
471
- favorites: {
472
- headerIconStyle: 'FavSolid',
473
- productColors: {
474
- static: {
475
- color: colors.greyscale3,
476
- hoverColor: colors.alert
477
- },
478
- active: {
479
- color: colors.alert,
480
- hoverColor: colors.alertDark
481
- }
482
- }
483
- },
484
- promoBadges: {
485
- backgroundColor: {
486
- promotion: colors.promotion1,
487
- pointsBasedPromo: colors.promotion2
488
- },
489
- fontWeight: exports.globalTheme.FontWeightBold,
490
- color: {
491
- promotion: colors.greyscale1,
492
- pointsBasedPromo: colors.greyscale1
493
- }
494
- },
495
- loyaltyCard: {
496
- backgroundColor: colors.primary5,
497
- borderColor: colors.primary5,
498
- borderRadius: '16px',
499
- cardTextColor: colors.greyscale5,
500
- dimensions: {
501
- width: 325,
502
- height: 190
503
- },
504
- input: {
505
- borderRadius: '4px',
506
- backgroundColor: colors.greyscale1,
507
- borderColor: colors.greyscale3,
508
- idFields: {
509
- staticBorder: colors.greyscale4,
510
- hoverBorder: colors.greyscale5,
511
- activeBorder: colors.primary1,
512
- errorBorder: colors.alert
513
- }
514
- },
515
- infoList: {
516
- color: colors.greyscale4,
517
- borderColor: colors.greyscale2
518
- }
519
- },
520
- typography: {
521
- webFonts: [
522
- 'https://fonts.googleapis.com/css?family=Cabin:400,400i,700,700i&display=swap'
523
- ],
524
- embeddedFonts: [],
525
- weights: {
526
- normal: exports.globalTheme.FontWeight,
527
- bold: exports.globalTheme.FontWeightBold
528
- },
529
- text: {
530
- body: {
531
- color: colors.greyscale6,
532
- fontFamily: exports.globalTheme.FontFamily,
533
- fontSize: '1rem',
534
- fontWeight: exports.globalTheme.FontWeight,
535
- capitalization: 'none',
536
- lineHeight: '1.1875rem',
537
- letterSpacing: 'normal'
538
- },
539
- fontXS: {
540
- fontFamily: exports.globalTheme.FontFamily,
541
- fontSize: '0.75rem',
542
- fontWeight: exports.globalTheme.FontWeight,
543
- capitalization: 'none',
544
- lineHeight: '0.9375rem',
545
- letterSpacing: 'normal'
546
- },
547
- fontSM: {
548
- fontFamily: exports.globalTheme.FontFamily,
549
- fontSize: '0.875rem',
550
- fontWeight: exports.globalTheme.FontWeightBold,
551
- capitalization: 'none',
552
- lineHeight: '1rem',
553
- letterSpacing: 'normal'
554
- },
555
- fontMD: {
556
- fontFamily: exports.globalTheme.FontFamily,
557
- fontSize: '1rem',
558
- fontWeight: exports.globalTheme.FontWeightBold,
559
- capitalization: 'none',
560
- lineHeight: '1.1875rem',
561
- letterSpacing: 'normal'
562
- },
563
- fontLG: {
564
- fontFamily: exports.globalTheme.HeadlineFontFamily,
565
- fontSize: '1.5rem',
566
- fontWeight: exports.globalTheme.HeadlineFontWeight,
567
- capitalization: 'none',
568
- lineHeight: '1.8125rem',
569
- letterSpacing: 'normal'
570
- },
571
- fontXL: {
572
- fontFamily: exports.globalTheme.HeadlineFontFamily,
573
- fontSize: '2rem',
574
- fontWeight: exports.globalTheme.HeadlineFontWeight,
575
- capitalization: 'none',
576
- lineHeight: '2.4375rem',
577
- letterSpacing: 'normal'
578
- }
579
- },
580
- links: {
581
- static: {
582
- color: colors.primary1,
583
- textDecoration: 'none'
584
- },
585
- hover: {
586
- color: colors.primary1,
587
- textDecoration: 'underline'
588
- },
589
- clicked: {
590
- color: colors.primary1,
591
- textDecoration: 'underline'
592
- },
593
- visited: {
594
- color: colors.primary1,
595
- textDecoration: 'none'
596
- }
597
- }
598
- },
599
- buttonLinks: { color: colors.primary1 },
600
- buttons: {
601
- globalThemeBorderRadius: exports.globalTheme.BorderRadius,
602
- globalThemeFontWeight: exports.globalTheme.FontWeightBold,
603
- globalThemeFontFamily: exports.globalTheme.FontFamily,
604
- iconPosition: 'left',
605
- miniCart: {
606
- textTransform: 'capitalize',
607
- backgroundColor: 'none',
608
- borderRadius: exports.globalTheme.BorderRadius,
609
- activeBackgroundColor: colors.secondary1,
610
- hoverBackgroundColor: colors.secondary5,
611
- tabletSettings: {
612
- enabled: false,
613
- backgroundColor: '',
614
- backgroundColorHover: '',
615
- iconColor: '',
616
- iconColorHover: '',
617
- showText: false,
618
- textColor: '',
619
- textColorHover: ''
620
- },
621
- color: colors.secondary1,
622
- activeColor: colors.greyscale1,
623
- mobileColor: colors.secondary1,
624
- iconColor: colors.secondary1,
625
- activeIconColor: colors.greyscale1,
626
- mobileIconColor: colors.secondary1,
627
- tabletIconColor: 'none',
628
- desktopIconSize: '16px',
629
- mobileIconSize: '24px'
630
- },
631
- primary: {
632
- borderRadius: exports.globalTheme.BorderRadius,
633
- fontWeight: exports.globalTheme.FontWeightBold,
634
- textTransform: 'none',
635
- static: {
636
- bgColor: colors.primary1,
637
- borderColor: colors.primary1,
638
- color: colors.greyscale1,
639
- iconColor: colors.greyscale1
640
- },
641
- hover: {
642
- bgColor: colors.primary2,
643
- borderColor: colors.primary2,
644
- color: colors.greyscale1,
645
- iconColor: colors.greyscale1
646
- },
647
- clicked: {
648
- bgColor: colors.primary3,
649
- borderColor: colors.primary3,
650
- color: colors.greyscale1,
651
- iconColor: colors.greyscale1
652
- },
653
- disabled: {
654
- bgColor: colors.primary4,
655
- borderColor: colors.primary4,
656
- color: colors.greyscale1,
657
- iconColor: colors.greyscale3
658
- }
659
- },
660
- primaryLight: {
661
- borderRadius: exports.globalTheme.BorderRadius,
662
- fontWeight: exports.globalTheme.FontWeightBold,
663
- textTransform: 'none',
664
- static: {
665
- bgColor: colors.greyscale1,
666
- borderColor: colors.greyscale1,
667
- color: colors.primary1,
668
- iconColor: colors.primary1
669
- },
670
- hover: {
671
- bgColor: colors.greyscale1,
672
- borderColor: colors.greyscale1,
673
- color: colors.primary2,
674
- iconColor: colors.primary2
675
- },
676
- clicked: {
677
- bgColor: colors.greyscale1,
678
- borderColor: colors.greyscale1,
679
- color: colors.primary3,
680
- iconColor: colors.primary3
681
- },
682
- disabled: {
683
- bgColor: colors.greyscale1,
684
- borderColor: colors.greyscale1,
685
- color: colors.greyscale3,
686
- iconColor: colors.greyscale3
687
- }
688
- },
689
- secondary: {
690
- borderRadius: exports.globalTheme.BorderRadius,
691
- fontWeight: exports.globalTheme.FontWeightBold,
692
- textTransform: 'none',
693
- static: {
694
- bgColor: colors.greyscale1,
695
- borderColor: colors.primary1,
696
- color: colors.primary1,
697
- iconColor: colors.primary1
698
- },
699
- hover: {
700
- bgColor: colors.primary1,
701
- borderColor: colors.primary1,
702
- color: colors.greyscale1,
703
- iconColor: colors.greyscale1
704
- },
705
- clicked: {
706
- bgColor: colors.primary2,
707
- borderColor: colors.primary2,
708
- color: colors.greyscale1,
709
- iconColor: colors.greyscale1
710
- },
711
- disabled: {
712
- bgColor: colors.greyscale1,
713
- borderColor: colors.greyscale3,
714
- color: colors.greyscale3,
715
- iconColor: colors.greyscale3
716
- }
717
- },
718
- secondaryLight: {
719
- borderRadius: exports.globalTheme.BorderRadius,
720
- fontWeight: exports.globalTheme.FontWeightBold,
721
- textTransform: 'none',
722
- static: {
723
- bgColor: 'transparent',
724
- borderColor: colors.greyscale1,
725
- color: colors.greyscale1,
726
- iconColor: colors.greyscale1
727
- },
728
- hover: {
729
- bgColor: colors.greyscale1,
730
- borderColor: colors.greyscale1,
731
- color: colors.primary1,
732
- iconColor: colors.primary1
733
- },
734
- clicked: {
735
- bgColor: colors.primary2,
736
- borderColor: colors.greyscale1,
737
- color: colors.greyscale1,
738
- iconColor: colors.greyscale1
739
- },
740
- disabled: {
741
- bgColor: 'transparent',
742
- borderColor: colors.greyscale3,
743
- color: colors.greyscale3,
744
- iconColor: colors.greyscale3
745
- }
746
- },
747
- tertiary: {
748
- borderRadius: exports.globalTheme.BorderRadius,
749
- fontWeight: exports.globalTheme.FontWeightBold,
750
- textTransform: 'none',
751
- static: {
752
- bgColor: colors.tertiary1,
753
- borderColor: colors.tertiary1,
754
- color: colors.greyscale5,
755
- iconColor: colors.greyscale5
756
- },
757
- hover: {
758
- bgColor: colors.tertiary1,
759
- borderColor: colors.tertiary1,
760
- color: colors.primary1,
761
- iconColor: colors.primary1
762
- },
763
- clicked: {
764
- bgColor: colors.tertiary1,
765
- borderColor: colors.primary1,
766
- color: colors.primary1,
767
- iconColor: colors.primary1
768
- },
769
- disabled: {
770
- bgColor: colors.greyscale2,
771
- borderColor: colors.greyscale2,
772
- color: colors.greyscale3,
773
- iconColor: colors.greyscale1
774
- }
775
- },
776
- checkout: {
777
- borderRadius: exports.globalTheme.BorderRadius,
778
- fontWeight: exports.globalTheme.FontWeightBold,
779
- iconColor: colors.greyscale5,
780
- textTransform: 'none',
781
- static: {
782
- bgColor: colors.secondary1,
783
- borderColor: colors.secondary1,
784
- color: colors.greyscale1
785
- },
786
- hover: {
787
- bgColor: colors.secondary2,
788
- borderColor: colors.secondary2,
789
- color: colors.greyscale1
790
- },
791
- clicked: {
792
- bgColor: colors.secondary3,
793
- borderColor: colors.secondary3,
794
- color: colors.greyscale1
795
- },
796
- disabled: {
797
- bgColor: colors.secondary4,
798
- borderColor: colors.secondary4,
799
- color: colors.greyscale1
800
- }
801
- },
802
- quantityStepper: {
803
- borderColor: colors.greyscale3,
804
- borderRadius: exports.globalTheme.BorderRadius,
805
- textTransform: 'none',
806
- numericInput: {
807
- fontWeight: exports.globalTheme.FontWeightBold,
808
- fontSize: '0.875rem',
809
- letterSpacing: 'normal',
810
- lineHeight: '1.1875rem',
811
- static: {
812
- bgColor: colors.greyscale1,
813
- color: colors.greyscale5
814
- },
815
- focused: {
816
- bgColor: colors.primary5,
817
- color: colors.greyscale5
818
- }
819
- },
820
- plusMinusButtons: {
821
- plusMinusIconBgColor: colors.greyscale1,
822
- plusMinusIconColor: colors.primary1
823
- }
824
- },
825
- coupon: {
826
- borderRadius: exports.globalTheme.BorderRadius,
827
- borderStyle: 'dashed',
828
- fontWeight: exports.globalTheme.FontWeightBold,
829
- static: {
830
- bgColor: colors.greyscale1,
831
- borderColor: colors.greyscale3,
832
- color: colors.greyscale5,
833
- couponIconColor: colors.primary1
834
- },
835
- hover: {
836
- bgColor: colors.greyscale1,
837
- borderColor: colors.greyscale3,
838
- color: colors.greyscale5,
839
- couponIconColor: colors.primary1
840
- },
841
- clicked: {
842
- bgColor: colors.greyscale1,
843
- borderColor: colors.greyscale3,
844
- color: colors.greyscale5,
845
- couponIconColor: colors.primary1
846
- },
847
- clipped: {
848
- bgColor: colors.greyscale1,
849
- borderColor: colors.greyscale3,
850
- color: colors.greyscale5,
851
- clippedIconColor: colors.success,
852
- couponIconColor: colors.greyscale5
853
- }
854
- },
855
- addToCart: {
856
- borderRadius: exports.globalTheme.BorderRadius,
857
- fontWeight: exports.globalTheme.FontWeightBold,
858
- textTransform: 'none',
859
- static: {
860
- bgColor: colors.primary1,
861
- borderColor: colors.primary1,
862
- color: colors.greyscale1,
863
- iconColor: colors.secondary1
864
- },
865
- hover: {
866
- bgColor: colors.primary2,
867
- borderColor: colors.primary1,
868
- color: colors.greyscale1,
869
- iconColor: colors.greyscale1
870
- },
871
- clicked: {
872
- bgColor: colors.primary3,
873
- borderColor: colors.primary2,
874
- color: colors.greyscale1,
875
- iconColor: colors.greyscale1
876
- },
877
- disabled: {
878
- bgColor: colors.primary4,
879
- borderColor: colors.primary4,
880
- color: colors.greyscale1,
881
- iconColor: colors.greyscale3
882
- }
883
- },
884
- pills: {
885
- borderRadius: '500px',
886
- textTransform: 'none',
887
- active: {
888
- fontWeight: exports.globalTheme.FontWeightBold,
889
- fontWeightHover: exports.globalTheme.FontWeightBold,
890
- color: colors.greyscale6,
891
- colorHover: colors.greyscale6,
892
- colorVisited: colors.greyscale6,
893
- backgroundColor: colors.primary5,
894
- borderColor: colors.primary1,
895
- borderColorSelected: colors.primary1,
896
- textDecoration: 'none',
897
- textDecorationHover: 'underline',
898
- padding: '4px 16px'
899
- },
900
- small: {
901
- fontWeight: exports.globalTheme.FontWeightBold,
902
- fontWeightHover: exports.globalTheme.FontWeight,
903
- color: colors.greyscale5,
904
- colorHover: colors.greyscale5,
905
- colorVisited: colors.greyscale5,
906
- backgroundColor: colors.primary5,
907
- borderColor: colors.primary5,
908
- borderColorSelected: colors.primary1,
909
- textDecoration: 'none',
910
- textDecorationHover: 'underline',
911
- padding: '2px 8px'
912
- },
913
- regular: {
914
- fontWeight: exports.globalTheme.FontWeight,
915
- fontWeightHover: exports.globalTheme.FontWeight,
916
- color: colors.primary1,
917
- colorHover: colors.primary1,
918
- colorVisited: colors.primary1,
919
- backgroundColor: colors.greyscale1,
920
- borderColor: colors.greyscale3,
921
- borderColorSelected: colors.primary1,
922
- textDecoration: 'none',
923
- textDecorationHover: 'underline',
924
- padding: '4px 16px'
925
- }
926
- },
927
- facets: {
928
- borderRadius: '500px',
929
- textTransform: 'none',
930
- fontWeight: 400,
931
- active: {
932
- iconColor: colors.greyscale6,
933
- fontWeight: exports.globalTheme.FontWeightBold,
934
- fontWeightHover: exports.globalTheme.FontWeightBold,
935
- color: colors.greyscale6,
936
- colorHover: colors.greyscale6,
937
- colorVisited: colors.greyscale6,
938
- backgroundColor: colors.primary5,
939
- borderColor: colors.primary1,
940
- borderColorSelected: colors.primary1,
941
- textDecoration: 'none',
942
- textDecorationHover: 'underline',
943
- padding: '4px 16px'
944
- },
945
- small: {
946
- iconColor: colors.greyscale6,
947
- fontWeight: exports.globalTheme.FontWeightBold,
948
- fontWeightHover: exports.globalTheme.FontWeight,
949
- color: colors.greyscale5,
950
- colorHover: colors.greyscale5,
951
- colorVisited: colors.greyscale5,
952
- backgroundColor: colors.primary5,
953
- borderColor: colors.primary5,
954
- borderColorSelected: colors.primary1,
955
- textDecoration: 'none',
956
- textDecorationHover: 'underline',
957
- padding: '2px 8px'
958
- },
959
- regular: {
960
- iconColor: colors.greyscale6,
961
- fontWeight: exports.globalTheme.FontWeight,
962
- fontWeightHover: exports.globalTheme.FontWeight,
963
- color: colors.primary1,
964
- colorHover: colors.greyscale5,
965
- colorVisited: colors.primary1,
966
- backgroundColor: colors.greyscale1,
967
- borderColor: colors.greyscale3,
968
- borderColorSelected: colors.primary1,
969
- textDecoration: 'none',
970
- textDecorationHover: 'underline',
971
- padding: '4px 16px'
972
- }
973
- },
974
- sliderArrows: {
975
- backgroundColor: colors.greyscale2,
976
- sideBorderColor: colors.greyscale3,
977
- iconColor: colors.greyscale4
978
- },
979
- filterSort: {
980
- color: colors.primary1,
981
- hoverColor: colors.primary2,
982
- borderRadius: exports.globalTheme.BorderRadius
983
- },
984
- activeAddress: {
985
- backgroundColor: colors.primary3,
986
- borderColor: colors.primary3
987
- },
988
- timeSlotPaginationDay: {
989
- selected: {
990
- backgroundColor: colors.tertiary1
991
- }
992
- },
993
- paginationNumber: {
994
- static: {
995
- color: colors.primary1,
996
- backgroundColor: "none",
997
- },
998
- hover: {
999
- color: colors.primary1,
1000
- backgroundColor: colors.primary5,
1001
- },
1002
- disabled: {
1003
- color: colors.greyscale1,
1004
- backgroundColor: colors.primary1,
1005
- },
1006
- visited: {
1007
- color: colors.primary1,
1008
- backgroundColor: "none",
1009
- },
1010
- },
1011
- },
1012
- carousel: {
1013
- bannerBackgroundColor: colors.greyscale5,
1014
- carouselPagination: {
1015
- dotBackground: colors.greyscale3,
1016
- activeDotBackground: colors.primary1,
1017
- wrapperBackground: 'transparent',
1018
- wrapperHeight: '24px'
1019
- },
1020
- carouselArrows: {
1021
- borderRadius: '50%',
1022
- backgroundColor: 'rgba(146, 146, 146, 0.5)',
1023
- activeBackgroundColor: colors.greyscale4,
1024
- iconColor: colors.greyscale1,
1025
- buttonDimension: 56
1026
- }
1027
- },
1028
- modal: {
1029
- header: {
1030
- mobileBackgroundColor: colors.greyscale2
1031
- },
1032
- storeIcon: {
1033
- bgColor: colors.tertiary1,
1034
- borderColor: colors.tertiary1,
1035
- color: colors.greyscale5,
1036
- hoverBGColor: colors.tertiary1,
1037
- hoverBorderColor: colors.tertiary1,
1038
- iconColor: colors.greyscale6
1039
- }
1040
- },
1041
- selectedOption: {
1042
- bgColor: colors.successLight
1043
- },
1044
- input: {
1045
- borderRadius: '4px',
1046
- static: {
1047
- bgColor: colors.greyscale1,
1048
- borderColor: colors.greyscale3,
1049
- color: colors.greyscale4,
1050
- placeholderColor: colors.greyscale4
1051
- },
1052
- hover: {
1053
- bgColor: colors.greyscale1,
1054
- borderColor: colors.greyscale3,
1055
- color: colors.greyscale6,
1056
- placeholderColor: colors.greyscale4
1057
- },
1058
- focus: {
1059
- bgColor: colors.tertiary1,
1060
- borderColor: colors.primary1,
1061
- color: colors.greyscale5,
1062
- placeholderColor: colors.greyscale5
1063
- },
1064
- disabled: {
1065
- bgColor: colors.greyscale2,
1066
- borderColor: colors.greyscale3,
1067
- color: colors.greyscale4,
1068
- placeholderColor: colors.greyscale2
1069
- }
1070
- },
1071
- productGrid: {
1072
- borderColor: colors.greyscale2
1073
- },
1074
- logoHeight: {
1075
- header: {
1076
- desktop: '34px',
1077
- tablet: '30px',
1078
- mobile: '26px'
1079
- },
1080
- modal: {
1081
- desktop: '34px',
1082
- tablet: '30px',
1083
- mobile: '30px'
1084
- },
1085
- content: {
1086
- desktop: '34px',
1087
- tablet: '30px',
1088
- mobile: '26px'
1089
- }
1090
- },
1091
- globalAnimations: {
1092
- confettiAnimation: {
1093
- successModals: {
1094
- colors: []
1095
- }
1096
- }
1097
- },
1098
- metadata: [
1099
- { name: 'msapplication-TileColor', content: '#ffffff' },
1100
- {
1101
- name: 'msapplication-TileImage',
1102
- content: "/favicons/ms-icon-144x144.png"
1103
- },
1104
- { name: 'theme-color', content: '#ffffff' }
1105
- ],
1106
- scripts: {}
1107
- });
1108
- };
1109
- exports.default = DefaultThemeSFUI;
1110
- exports.globalTheme = {
1111
- BorderRadius: '4px',
1112
- FontFamily: 'Cabin, sans-serif',
1113
- baseFontSize: '16px',
1114
- FontWeight: 400,
1115
- FontWeightBold: 700,
1116
- bodyFontColor: '#111111',
1117
- HeadlineFontFamily: 'Cabin, sans-serif',
1118
- HeadlineFontWeight: 700,
1119
- bodyBackgroundColor: '#f3f4f6'
1120
- };
1121
- exports.DefaultThemeColors = {
1122
- primary1: '#016abc',
1123
- primary2: '#004f8c',
1124
- primary3: '#002a4b',
1125
- primary4: '#80b4dd',
1126
- primary5: '#e6f0f8',
1127
- secondary1: '#d83A22',
1128
- secondary2: '#aa2003',
1129
- secondary3: '#5b1102',
1130
- secondary4: '#f19582',
1131
- secondary5: '#fceae6',
1132
- tertiary1: '#e6f0f8',
1133
- tertiary2: '#fcefe6',
1134
- tertiary3: '#09448A',
1135
- tertiary4: '',
1136
- tertiary5: '',
1137
- promotion1: '#bc3e31',
1138
- promotion2: '#09448A',
1139
- success: '#4fbf76',
1140
- successDark: '#2e7c49',
1141
- successLight: '#e6f6ec',
1142
- warn: '#fcc260',
1143
- warnDark: '#8f7344',
1144
- warnLight: '#fff6e6',
1145
- alert: '#bc3e31',
1146
- alertDark: '#8c2e24',
1147
- alertLight: '#ffe5e2',
1148
- greyscale1: '#ffffff',
1149
- greyscale2: '#f3f4f6',
1150
- greyscale3: '#ccced0',
1151
- greyscale4: '#71777b',
1152
- greyscale5: '#40464b',
1153
- greyscale6: '#111111',
1154
- greyscale7: '#31363A'
1155
- };