Skip to content

Commit cf7309d

Browse files
committed
feat: default to light theme
1 parent d48db01 commit cf7309d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/contexts/MainContextProvider/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React, { useReducer, createContext } from 'react';
22
import MainReducer from '../../reducers/MainReducer';
33

4-
const themeIndex = typeof window !== 'undefined' && localStorage.themeIndex ? parseFloat(localStorage.themeIndex) : 1;
4+
const themeIndex = typeof window !== 'undefined' && localStorage.themeIndex ? parseFloat(localStorage.themeIndex) : 0;
55
const themeColorIndex = typeof window !== 'undefined' && localStorage.themeColorIndex
66
? parseFloat(localStorage.themeColorIndex)
77
: 0;

0 commit comments

Comments
 (0)