improve: dark theme

This commit is contained in:
Mahyar Khanbolooki
2025-08-12 21:44:04 +03:30
parent aa9414193e
commit 7b2eae1a21
7 changed files with 58 additions and 20 deletions
+16
View File
@@ -0,0 +1,16 @@
import PreferenceWrapper from '@/components/wrapper/PreferenceWrapper';
import React from 'react'
type Props = {
children: React.ReactElement
}
function layout({ children }: Props) {
return (
<PreferenceWrapper>
{children}
</PreferenceWrapper>
)
}
export default layout
+2 -1
View File
@@ -34,7 +34,8 @@ export default async function RootLayout({
<html
lang='fa'
dir='rtl'
className="h-svh overflow-hidden">
className="h-svh overflow-hidden"
data-theme="light" >
<body
className={`antialiased bg-background h-svh overflow-hidden`}