feat: default to darkmode instead of lightmode

This commit is contained in:
Jean-Philippe Sirois
2019-09-27 19:24:09 -04:00
parent 90e2341b97
commit 392ca29507
+1 -1
View File
@@ -17,7 +17,7 @@ interface IScopedDownChildren {
export const ThemeContext = createContext<IThemeContext | null>(null)
const ThemeProvider: FC<IScopedDownChildren> = ({ children }) => {
const [theme, setTheme] = useLocalStorage("theme", "light")
const [theme, setTheme] = useLocalStorage("theme", "dark")
const themeObject = useMemo(
() => (theme === "dark" ? darkTheme : lightTheme),