diy-template-components 1.1.8 → 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] === 'default' ? 'blue' : 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];