Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix: theme switcher in account page (#21377)

Jonathan Summers-Muir954b831a77f2
diff --git a/apps/studio/components/interfaces/Account/Preferences/ThemeSettingsOld.tsx b/apps/studio/components/interfaces/Account/Preferences/ThemeSettingsOld.tsx
index 383883c1cbb..e3900f5d501 100644
--- a/apps/studio/components/interfaces/Account/Preferences/ThemeSettingsOld.tsx
+++ b/apps/studio/components/interfaces/Account/Preferences/ThemeSettingsOld.tsx
@@ -22,9 +22,7 @@ const ThemeSettings = () => {
.filter(
(theme: Theme) =>
// temporary fix to exclude new themes
- theme.name.includes('light') ||
- theme.name.includes('dark') ||
- theme.name.includes('system')
+ theme.value === 'light' || theme.value === 'dark' || theme.value === 'system'
)
.map((theme: Theme) => (
<Listbox.Option key={theme.value} label={theme.name} value={theme.value}>