The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
hp theme (#22836)
Francesco Sansalvadore1de60e4bc7c8
diff --git a/apps/www/lib/theme.utils.ts b/apps/www/lib/theme.utils.tsindex d724e802406..184b7b0886b 100644--- a/apps/www/lib/theme.utils.ts+++ b/apps/www/lib/theme.utils.ts@@ -7,12 +7,13 @@ export function useForceDeepDark() {const { resolvedTheme, theme } = useTheme()const isDarkTheme = resolvedTheme?.includes('dark')+ const forceDarkMode = router.pathname === '/' || router.pathname.startsWith('/launch-week')const isGaSection = router.pathname.includes('/ga-week') || router.pathname === '/ga'useEffect(() => {const handleDocumentLoad = () => {// Update the HTML element attributes- const theme = isDarkTheme ? (isGaSection ? 'deep-dark' : 'dark') : 'light'+ const theme = forceDarkMode || isDarkTheme ? (isGaSection ? 'deep-dark' : 'dark') : 'light'document.documentElement.setAttribute('data-theme', theme)document.documentElement.style.colorScheme = theme