From 392ca295072966765add61d73911e757b14ab8b5 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Sirois Date: Fri, 27 Sep 2019 19:24:09 -0400 Subject: [PATCH] feat: default to darkmode instead of lightmode --- src/ThemeProvider.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ThemeProvider.tsx b/src/ThemeProvider.tsx index 4836f9e..f637c08 100644 --- a/src/ThemeProvider.tsx +++ b/src/ThemeProvider.tsx @@ -17,7 +17,7 @@ interface IScopedDownChildren { export const ThemeContext = createContext(null) const ThemeProvider: FC = ({ children }) => { - const [theme, setTheme] = useLocalStorage("theme", "light") + const [theme, setTheme] = useLocalStorage("theme", "dark") const themeObject = useMemo( () => (theme === "dark" ? darkTheme : lightTheme),