fix app background
This commit is contained in:
parent
b621253482
commit
d56fc90e4d
@ -16,7 +16,7 @@ export default async function RootLayout({ children }: Readonly<PropsWithChildre
|
||||
|
||||
return (
|
||||
<html lang={locale}>
|
||||
<body className="bg-muted dark:bg-zinc-900">
|
||||
<body className="bg-app-background">
|
||||
<I18nProvider>
|
||||
<ThemeProvider>
|
||||
<AuthProvider>
|
||||
|
||||
@ -4,6 +4,7 @@
|
||||
|
||||
@layer base {
|
||||
:root {
|
||||
--app-background: 240 4.8% 95.9%;
|
||||
--background: 0 0% 100%;
|
||||
--foreground: 240 10% 3.9%;
|
||||
--card: 0 0% 100%;
|
||||
@ -32,6 +33,7 @@
|
||||
}
|
||||
|
||||
.dark {
|
||||
--app-background: 240 3.7% 7%;
|
||||
--background: 240 10% 3.9%;
|
||||
--foreground: 0 0% 98%;
|
||||
--card: 240 10% 3.9%;
|
||||
|
||||
@ -35,6 +35,7 @@ const config = {
|
||||
DEFAULT: 'hsl(var(--accent))',
|
||||
foreground: 'hsl(var(--accent-foreground))',
|
||||
},
|
||||
'app-background': 'hsl(var(--app-background))',
|
||||
background: 'hsl(var(--background))',
|
||||
border: 'hsl(var(--border))',
|
||||
card: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user