Skip to content

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

214 B
Raw Blame
export const THEME_DOM_VALUES = {
  dark: 'dark',
  light: 'light',
  'classic-dark': 'dark',
}

export function migrateLegacyTheme(theme: string | undefined) {
  return theme === 'classic-dark' ? 'dark' : theme
}