colors refactor

This commit is contained in:
Daniel Shleifman
2021-06-26 12:44:45 +03:00
parent ba284e7bda
commit d5458a112e
3 changed files with 43 additions and 31 deletions

View File

@@ -33,11 +33,12 @@ export const useMaterialUITheme = () => {
createMuiTheme({
typography,
palette: {
type: isDarkMode ? 'dark' : 'light',
// type: isDarkMode ? 'dark' : 'light',
type: 'light',
primary,
},
}),
[isDarkMode],
[],
)
return [isDarkMode, muiTheme]