diff --git a/app/globals.css b/app/globals.css index db426f6..97b64d6 100644 --- a/app/globals.css +++ b/app/globals.css @@ -4,10 +4,10 @@ @layer base { body { - @apply bg-background; + @apply bg-background dark:bg-background-dark; font-size: 16px; min-height: 100vh; - color: #1f2937; + @apply text-foreground dark:text-foreground-dark; } } diff --git a/app/layout.tsx b/app/layout.tsx index 7d2582c..e6d38f0 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -2,6 +2,7 @@ import type { Metadata } from "next"; import { Inter } from "next/font/google"; import "./globals.css"; import PWARegister from "@/components/PWARegister"; +import { ThemeProvider } from "@/components/ThemeProvider"; const inter = Inter({ subsets: ["latin"] }); @@ -29,14 +30,21 @@ export default function RootLayout({ children: React.ReactNode; }>) { return ( - +
- {children} -Nom du réseau
+Nom du réseau
{wifiName || "Chargement..."}
+
{wifiPassword}
{error}
+{error}