1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-10-28 20:55:47 -04:00

consolidate theme context/provider types

This commit is contained in:
2022-04-08 12:36:19 -04:00
parent a8c1a3ba3c
commit d09cf7ab26
6 changed files with 56 additions and 64 deletions

View File

@@ -57,7 +57,7 @@ const App = ({ Component, pageProps }: AppProps) => {
const getLayout = Component.getLayout || ((page) => <Layout>{page}</Layout>);
return (
<ThemeProvider classNames={themeClassNames}>
<ThemeProvider classNames={themeClassNames} enableColorScheme={true}>
{/* all SEO config is in ../lib/config/seo.ts except for canonical URLs, which require access to next router */}
<DefaultSeo
{...defaultSeo}