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.js CHANGED
@@ -2285,7 +2285,7 @@ const generateTheme = (theme = 'blue', fontFamily = 'Arial', isMobile) => {
2285
2285
  let themeColor = theme.split('-');
2286
2286
  let color, gradient, darkMode;
2287
2287
  if (themeColor.length === 1) {
2288
- color = themeColor[0];
2288
+ color = themeColor[0] == 'default' ? 'blue' : themeColor[0];
2289
2289
  } else if (themeColor.length === 2) {
2290
2290
  color = themeColor[0];
2291
2291
  gradient = themeColor[1];
@@ -7672,7 +7672,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7672
7672
  bannerContainer: {
7673
7673
  width: '100%',
7674
7674
  background: '#EB5757',
7675
- color: theme?.colors?.font1,
7675
+ color: theme?.colors?.white,
7676
7676
  textAlign: 'center',
7677
7677
  padding: '10px 10px 23px 40px',
7678
7678
  wordWrap: 'break-word',
@@ -8174,7 +8174,7 @@ const useCoursePromotionPage = createUseStyles(theme => {
8174
8174
  bannerContainer: {
8175
8175
  width: '100%',
8176
8176
  background: '#EB5757',
8177
- color: theme?.colors.font1,
8177
+ color: theme?.colors?.white,
8178
8178
  textAlign: 'center',
8179
8179
  padding: '10px 10px 23px 40px',
8180
8180
  wordWrap: 'break-word',