diff --git a/components/GlobalStyles.tsx b/components/GlobalStyles.tsx index be3d93e..7b75139 100644 --- a/components/GlobalStyles.tsx +++ b/components/GlobalStyles.tsx @@ -35,6 +35,8 @@ const GlobalStyles = createGlobalStyle` html { position: relative; min-height: 100%; + background: var(--background) !important; + color: var(--text) !important; } ul, ol { @@ -43,8 +45,6 @@ const GlobalStyles = createGlobalStyle` body { margin: 0 0 100px; - background: var(--background); - color: var(--text); transition: color 250ms ease-in-out, background 250ms ease-in-out; scroll-behavior: smooth; diff --git a/pages/_app.tsx b/pages/_app.tsx index ae4bf75..285b38d 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -1,6 +1,7 @@ import { useEffect } from 'react'; import type { AppProps } from 'next/app'; +import Script from 'next/script'; import Head from 'next/head'; import { useRouter } from 'next/router'; @@ -35,7 +36,80 @@ const App = ({ Component, pageProps }: AppProps) => { return ( <> + -