diff --git a/app/layout.tsx b/app/layout.tsx index 5e92573..b37091b 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -1,11 +1,16 @@ import "@/styles/globals.css"; import { fontSans } from "@/lib/fonts"; import { cn } from "@/lib/utils"; +import { ThemeProvider } from "@/components/ui/theme-provider"; export const metadata = { title: "M-OAuth", description: "Access token generator for Akkoma, Pleroma, Mastodon, Misskey APIs.", + themeColor: [ + { media: "(prefers-color-scheme: light)", color: "white" }, + { media: "(prefers-color-scheme: dark)", color: "black" }, + ], }; export default function RootLayout({ @@ -18,11 +23,13 @@ export default function RootLayout({ - {children} + + {children} + ); diff --git a/components/Brand.tsx b/components/Brand.tsx index 203e693..6a1e351 100644 --- a/components/Brand.tsx +++ b/components/Brand.tsx @@ -12,7 +12,7 @@ const headlines = [ ]; const Brand = () => { return ( -
+

M-OAuth

@@ -68,7 +68,7 @@ const Brand = () => { width="15" height="15" alt="Github" - className="mr-2" + className="mr-2 dark:invert" /> Github @@ -80,7 +80,7 @@ const Brand = () => { width="15" height="15" alt="Codeberg" - className="mr-2" + className="mr-2 dark:invert" /> Codeberg @@ -89,7 +89,7 @@ const Brand = () => {