From be4f340b1923fab37c8124818d9ca5d6e938b703 Mon Sep 17 00:00:00 2001 From: Pontus Abrahamsson Date: Sat, 2 Dec 2023 11:42:57 +0100 Subject: [PATCH] Light mode --- apps/dashboard/src/components/theme-provider.tsx | 2 +- apps/website/src/app/layout.tsx | 2 +- apps/website/src/components/startpage.tsx | 2 +- apps/website/src/components/theme-provider.tsx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/dashboard/src/components/theme-provider.tsx b/apps/dashboard/src/components/theme-provider.tsx index 08c7e516a9..5c596f24a9 100644 --- a/apps/dashboard/src/components/theme-provider.tsx +++ b/apps/dashboard/src/components/theme-provider.tsx @@ -1,8 +1,8 @@ "use client"; import { ThemeProvider as NextThemesProvider } from "next-themes"; -import { type ThemeProviderProps } from "next-themes/dist/types"; import * as React from "react"; +type ThemeProviderProps = Parameters[0]; export function ThemeProvider({ children, ...props }: ThemeProviderProps) { return {children}; diff --git a/apps/website/src/app/layout.tsx b/apps/website/src/app/layout.tsx index 4b1092ba7e..ee9c6d9900 100644 --- a/apps/website/src/app/layout.tsx +++ b/apps/website/src/app/layout.tsx @@ -23,7 +23,7 @@ export const metadata: Metadata = { export default function Layout({ children }: { children: ReactElement }) { return ( - + +
diff --git a/apps/website/src/components/theme-provider.tsx b/apps/website/src/components/theme-provider.tsx index 08c7e516a9..5c596f24a9 100644 --- a/apps/website/src/components/theme-provider.tsx +++ b/apps/website/src/components/theme-provider.tsx @@ -1,8 +1,8 @@ "use client"; import { ThemeProvider as NextThemesProvider } from "next-themes"; -import { type ThemeProviderProps } from "next-themes/dist/types"; import * as React from "react"; +type ThemeProviderProps = Parameters[0]; export function ThemeProvider({ children, ...props }: ThemeProviderProps) { return {children};