Fix share toggle to include fonts/background in active profile theme

ThemeSelector was constructing a new ThemeConfig with only colors when
sharing, discarding the fonts and background from the customTheme.
Now passes the full customTheme (which already is a ThemeConfig).
This commit is contained in:
Alex Gleason
2026-02-26 14:50:20 -06:00
parent 3b15044919
commit fbcd40e164
+1 -1
View File
@@ -118,7 +118,7 @@ export function ThemeSelector() {
try {
if (checked) {
const colors = getEffectiveColors(theme, customTheme);
await setActiveTheme({ themeConfig: { colors } });
await setActiveTheme({ themeConfig: customTheme ?? { colors } });
toast({ title: 'Theme shared', description: 'Your theme is now visible on your profile.' });
} else {
await clearActiveTheme();