Color and I18n support

This commit is contained in:
oitsjustjose 2022-04-17 22:31:41 -05:00
commit ba82c13fe1
19 changed files with 630 additions and 303 deletions

View file

@ -1,9 +1,16 @@
import React from 'react';
import { ChakraProvider, theme } from '@chakra-ui/react';
import { ChakraProvider, extendTheme } from '@chakra-ui/react';
import { Provider } from 'react-redux';
import Routes from './Routes';
import store from './redux/store';
const theme = extendTheme({
config: {
initialColorMode: window.localStorage.getItem('color-mode') || 'light',
useSystemColorMode: false,
},
});
export default () => (
<React.StrictMode>
<Provider store={store}>