diy-template-components 1.1.7 → 1.1.9

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.es.js CHANGED
@@ -2269,7 +2269,7 @@ const generateTheme = (theme = 'blue', fontFamily = 'Arial', isMobile) => {
2269
2269
  let themeColor = theme.split('-');
2270
2270
  let color, gradient, darkMode;
2271
2271
  if (themeColor.length === 1) {
2272
- color = themeColor[0];
2272
+ color = themeColor[0] == 'default' ? 'blue' : themeColor[0];
2273
2273
  } else if (themeColor.length === 2) {
2274
2274
  color = themeColor[0];
2275
2275
  gradient = themeColor[1];
@@ -7656,7 +7656,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7656
7656
  bannerContainer: {
7657
7657
  width: '100%',
7658
7658
  background: '#EB5757',
7659
- color: theme?.colors?.font1,
7659
+ color: theme?.colors?.white,
7660
7660
  textAlign: 'center',
7661
7661
  padding: '10px 10px 23px 40px',
7662
7662
  wordWrap: 'break-word',
@@ -8158,7 +8158,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
8158
8158
  bannerContainer: {
8159
8159
  width: '100%',
8160
8160
  background: '#EB5757',
8161
- color: theme?.colors.font1,
8161
+ color: theme?.colors?.white,
8162
8162
  textAlign: 'center',
8163
8163
  padding: '10px 10px 23px 40px',
8164
8164
  wordWrap: 'break-word',