fix: repair custom theme

This commit is contained in:
Gabe Farrell 2025-11-18 18:32:50 -05:00
parent a436bf5c2f
commit 1087f58a9a

View file

@ -90,6 +90,7 @@ export function ThemeProvider({
localStorage.setItem('custom-theme', JSON.stringify(customTheme)); localStorage.setItem('custom-theme', JSON.stringify(customTheme));
applyCustomThemeVars(customTheme); applyCustomThemeVars(customTheme);
setThemeName('custom'); setThemeName('custom');
localStorage.setItem('theme', 'custom')
setCurrentTheme(customTheme); setCurrentTheme(customTheme);
}, []); }, []);