move paperColor to themeColors

This commit is contained in:
nikk gitanes
2023-03-29 02:39:02 +03:00
parent 324efe0370
commit 817fab1f1f
2 changed files with 4 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
import { createTheme, useMediaQuery } from '@material-ui/core'
import { useEffect, useMemo, useState } from 'react'
import { mainColors } from './colors'
import { mainColors, themeColors } from './colors'
export const THEME_MODES = { LIGHT: 'light', DARK: 'dark', AUTO: 'auto' }
@@ -60,7 +60,7 @@ export const useMaterialUITheme = () => {
},
MuiPaper: {
root: {
backgroundColor: mainColors[theme].paperColor,
backgroundColor: themeColors[theme].app.paperColor,
},
},
MuiInputBase: {