Color and I18n support
This commit is contained in:
parent
523f537aa4
commit
ba82c13fe1
19 changed files with 630 additions and 303 deletions
|
|
@ -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}>
|
||||
|
|
|
|||
Loading…
Reference in a new issue