feat: enhance global styles and component themes with new semantic colors; integrate ThemeProvider for improved theme management and update color usage across various components for consistency
This commit is contained in:
808
app/globals.css
808
app/globals.css
File diff suppressed because it is too large
Load Diff
@@ -5,6 +5,7 @@ import "./globals.css";
|
||||
import { AuthSessionProvider } from "@/components/providers/session-provider";
|
||||
import { QueryProvider } from "@/components/providers/query-provider";
|
||||
import { BackgroundProvider } from "@/components/providers/background-provider";
|
||||
import { ThemeProvider } from "@/components/theme-provider";
|
||||
|
||||
const _geist = Geist({ subsets: ["latin"] });
|
||||
const _geistMono = Geist_Mono({ subsets: ["latin"] });
|
||||
@@ -22,12 +23,19 @@ export default function RootLayout({
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
return (
|
||||
<html lang="fr">
|
||||
<html lang="fr" suppressHydrationWarning>
|
||||
<body className="font-sans antialiased">
|
||||
<BackgroundProvider />
|
||||
<QueryProvider>
|
||||
<AuthSessionProvider>{children}</AuthSessionProvider>
|
||||
</QueryProvider>
|
||||
<ThemeProvider
|
||||
attribute="class"
|
||||
defaultTheme="system"
|
||||
enableSystem
|
||||
disableTransitionOnChange
|
||||
>
|
||||
<BackgroundProvider />
|
||||
<QueryProvider>
|
||||
<AuthSessionProvider>{children}</AuthSessionProvider>
|
||||
</QueryProvider>
|
||||
</ThemeProvider>
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user