@thryveai/theme-interfaces 2.7.23 → 2.7.25
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/README.md
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
#V8 Theme Interfaces
|
|
2
|
-
|
|
3
|
-
interfaces for all MI9 Retailer Themes.
|
|
4
|
-
|
|
5
|
-
###icons.interfaces
|
|
6
|
-
List of all icons used inside the ui projects.
|
|
7
|
-
|
|
8
|
-
###retailer-settings.interfaces
|
|
9
|
-
more info here
|
|
10
|
-
https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo
|
|
11
|
-
###theme.interfaces
|
|
12
|
-
The interface for each theme, colors, fonts, sizes and other css properties.
|
|
13
|
-
|
|
14
|
-
#To Build Project
|
|
15
|
-
|
|
16
|
-
```
|
|
17
|
-
npm install
|
|
18
|
-
npm run build
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
#To Publish npm package
|
|
22
|
-
```
|
|
23
|
-
npm login
|
|
24
|
-
npm publish
|
|
25
|
-
```
|
|
26
|
-
or
|
|
27
|
-
```
|
|
28
|
-
npm run push
|
|
29
|
-
```
|
|
1
|
+
#V8 Theme Interfaces
|
|
2
|
+
|
|
3
|
+
interfaces for all MI9 Retailer Themes.
|
|
4
|
+
|
|
5
|
+
###icons.interfaces
|
|
6
|
+
List of all icons used inside the ui projects.
|
|
7
|
+
|
|
8
|
+
###retailer-settings.interfaces
|
|
9
|
+
more info here
|
|
10
|
+
https://mi9retail.atlassian.net/wiki/spaces/FDS/pages/1594065051/Storefront+configuration+-+from+theme+repo
|
|
11
|
+
###theme.interfaces
|
|
12
|
+
The interface for each theme, colors, fonts, sizes and other css properties.
|
|
13
|
+
|
|
14
|
+
#To Build Project
|
|
15
|
+
|
|
16
|
+
```
|
|
17
|
+
npm install
|
|
18
|
+
npm run build
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
#To Publish npm package
|
|
22
|
+
```
|
|
23
|
+
npm login
|
|
24
|
+
npm publish
|
|
25
|
+
```
|
|
26
|
+
or
|
|
27
|
+
```
|
|
28
|
+
npm run push
|
|
29
|
+
```
|
|
@@ -443,6 +443,16 @@ export interface IDefaultThemeInterface {
|
|
|
443
443
|
focus: IInputFields;
|
|
444
444
|
disabled: IInputFields;
|
|
445
445
|
};
|
|
446
|
+
dropdown: {
|
|
447
|
+
iconColor: string;
|
|
448
|
+
static: IDropdownFields;
|
|
449
|
+
hover: IDropdownFields;
|
|
450
|
+
open: IDropdownFields;
|
|
451
|
+
options: {
|
|
452
|
+
static: IDropdownFields;
|
|
453
|
+
hover: IDropdownFields;
|
|
454
|
+
};
|
|
455
|
+
};
|
|
446
456
|
productGrid: {
|
|
447
457
|
borderColor: string;
|
|
448
458
|
};
|
|
@@ -451,6 +461,17 @@ export interface IDefaultThemeInterface {
|
|
|
451
461
|
default?: string;
|
|
452
462
|
disabled?: string;
|
|
453
463
|
};
|
|
464
|
+
cms: {
|
|
465
|
+
heading: {
|
|
466
|
+
color: string;
|
|
467
|
+
};
|
|
468
|
+
subheading: {
|
|
469
|
+
color: string;
|
|
470
|
+
};
|
|
471
|
+
bodyText: {
|
|
472
|
+
color: string;
|
|
473
|
+
};
|
|
474
|
+
};
|
|
454
475
|
logoHeight: IDefaultThemeLogoHeights;
|
|
455
476
|
stsThemeStyles?: ISTSDefaultThemeInterface;
|
|
456
477
|
stsLogoWidth?: string;
|
|
@@ -484,6 +505,11 @@ interface IInputFields {
|
|
|
484
505
|
color: string;
|
|
485
506
|
placeholderColor: string;
|
|
486
507
|
}
|
|
508
|
+
interface IDropdownFields {
|
|
509
|
+
bgColor: string;
|
|
510
|
+
borderColor: string;
|
|
511
|
+
color: string;
|
|
512
|
+
}
|
|
487
513
|
interface ICouponClippedBtnColorType extends IQSButtonColorType {
|
|
488
514
|
clippedIconColor: string;
|
|
489
515
|
}
|
|
@@ -464,6 +464,17 @@ export interface IThemeInterface {
|
|
|
464
464
|
default?: string;
|
|
465
465
|
disabled?: string;
|
|
466
466
|
};
|
|
467
|
+
cms?: {
|
|
468
|
+
heading: {
|
|
469
|
+
color: string;
|
|
470
|
+
};
|
|
471
|
+
subheading: {
|
|
472
|
+
color: string;
|
|
473
|
+
};
|
|
474
|
+
bodyText: {
|
|
475
|
+
color: string;
|
|
476
|
+
};
|
|
477
|
+
};
|
|
467
478
|
logoHeight?: IThemeLogoHeights;
|
|
468
479
|
stsThemeStyles?: ISTSThemeInterface;
|
|
469
480
|
stsLogoWidth?: string;
|
|
@@ -1075,9 +1075,50 @@ var DefaultThemeSFUI = function (colors) {
|
|
|
1075
1075
|
placeholderColor: colors.greyscale2,
|
|
1076
1076
|
},
|
|
1077
1077
|
},
|
|
1078
|
+
dropdown: {
|
|
1079
|
+
iconColor: colors.greyscale4,
|
|
1080
|
+
static: {
|
|
1081
|
+
bgColor: colors.greyscale1,
|
|
1082
|
+
borderColor: colors.greyscale3,
|
|
1083
|
+
color: colors.greyscale4,
|
|
1084
|
+
},
|
|
1085
|
+
hover: {
|
|
1086
|
+
bgColor: colors.greyscale1,
|
|
1087
|
+
borderColor: colors.greyscale3,
|
|
1088
|
+
color: colors.greyscale5,
|
|
1089
|
+
},
|
|
1090
|
+
open: {
|
|
1091
|
+
bgColor: colors.tertiary1,
|
|
1092
|
+
borderColor: colors.primary1,
|
|
1093
|
+
color: colors.greyscale4,
|
|
1094
|
+
},
|
|
1095
|
+
options: {
|
|
1096
|
+
static: {
|
|
1097
|
+
bgColor: colors.greyscale1,
|
|
1098
|
+
borderColor: colors.greyscale3,
|
|
1099
|
+
color: colors.greyscale4,
|
|
1100
|
+
},
|
|
1101
|
+
hover: {
|
|
1102
|
+
bgColor: colors.tertiary1,
|
|
1103
|
+
borderColor: colors.greyscale3,
|
|
1104
|
+
color: colors.greyscale4,
|
|
1105
|
+
},
|
|
1106
|
+
},
|
|
1107
|
+
},
|
|
1078
1108
|
productGrid: {
|
|
1079
1109
|
borderColor: colors.greyscale2,
|
|
1080
1110
|
},
|
|
1111
|
+
cms: {
|
|
1112
|
+
heading: {
|
|
1113
|
+
color: colors.greyscale5,
|
|
1114
|
+
},
|
|
1115
|
+
subheading: {
|
|
1116
|
+
color: colors.greyscale4,
|
|
1117
|
+
},
|
|
1118
|
+
bodyText: {
|
|
1119
|
+
color: colors.greyscale5,
|
|
1120
|
+
},
|
|
1121
|
+
},
|
|
1081
1122
|
logoHeight: {
|
|
1082
1123
|
header: {
|
|
1083
1124
|
desktop: "34px",
|