improve: dark theme
This commit is contained in:
@@ -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
@@ -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`}
|
||||
|
||||
Reference in New Issue
Block a user