From 81848906ae83349322dfb4586d77ef8da2e15deb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9B=90=EB=8D=94?= Date: Tue, 5 Jan 2021 22:46:34 +0900 Subject: [PATCH] fix: darkmode --- components/Container.tsx | 9 ++++++--- pages/_app.tsx | 4 +--- pages/_document.tsx | 2 +- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/components/Container.tsx b/components/Container.tsx index 3e37aa4..4c50c01 100644 --- a/components/Container.tsx +++ b/components/Container.tsx @@ -1,12 +1,15 @@ -const Container = ({ className, children }:ContainerProps): JSX.Element => { +const Container = ({ ignoreColor, className, children }:ContainerProps): JSX.Element => { return ( -
- {children} +
+
+ {children} +
) } interface ContainerProps { + ignoreColor?: boolean className?: string children: JSX.Element | JSX.Element[] } diff --git a/pages/_app.tsx b/pages/_app.tsx index b4d21a0..e8802dd 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -48,9 +48,7 @@ export default function App({ Component, pageProps }: AppProps): JSX.Element { -
- -
+