From 8cf5dcb6a4159d6709b9e356790eff915b6ed692 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=B5=9C=ED=98=84=EC=9A=B0?= Date: Wed, 13 Dec 2023 09:49:40 +0900 Subject: [PATCH] fix(colormode) : default light mode --- src/app/ChakraLayout.tsx | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/src/app/ChakraLayout.tsx b/src/app/ChakraLayout.tsx index 21a3fc0..534e378 100644 --- a/src/app/ChakraLayout.tsx +++ b/src/app/ChakraLayout.tsx @@ -19,11 +19,6 @@ const ChakraProvider = dynamic(() => // }); export function ChakraLayout({ children }: { children: React.ReactNode }) { - const config: ThemeConfig = { - initialColorMode: "light", - useSystemColorMode: false, - }; - // const [mount, setMount] = useState(false); // useLayoutEffect(() => { @@ -34,15 +29,8 @@ export function ChakraLayout({ children }: { children: React.ReactNode }) { // return <>; // } - const theme = extendTheme({ - config, - // fonts: { - // body: BMJUA.style.fontFamily, - // }, - }); - return ( - + {children}