diff --git a/app/globals.d.ts b/app/globals.d.ts new file mode 100644 index 0000000..35306c6 --- /dev/null +++ b/app/globals.d.ts @@ -0,0 +1 @@ +declare module '*.css'; diff --git a/app/layout.tsx b/app/layout.tsx index f7bd3fb..eda4bba 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -2,6 +2,8 @@ import type { Metadata } from "next"; import "./styles/globals.css"; import { GeistSans } from "geist/font/sans"; +import { ColorModeScript } from "@chakra-ui/react"; +import { theme } from "./styles/theme"; import { Providers } from "./providers"; import { GoogleAnalytics } from "@next/third-parties/google"; import IconLink from "./components/IconLink"; @@ -34,9 +36,10 @@ export default function RootLayout({