@propknot/shared-ui 1.0.20 → 1.0.21

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/dist/index.mjs CHANGED
@@ -1587,7 +1587,7 @@ var CustomThemeProvider = ({ children }) => {
1587
1587
  }
1588
1588
  return (user == null ? void 0 : user.preferredBrandingColor) || 0;
1589
1589
  };
1590
- const effectiveTheme = user ? currentTheme : "light";
1590
+ const effectiveTheme = user || isEmbedded ? currentTheme : "light";
1591
1591
  const themeObject = effectiveTheme === "dark" ? darkTheme : lightTheme;
1592
1592
  const isDarkMode = effectiveTheme === "dark";
1593
1593
  const effectiveBrandingColor = getEffectiveBrandingColor();