hard coded the background colors in theme to keep them consistent between light and dark modes

This commit is contained in:
Carter 2024-11-18 15:47:07 -06:00
parent c04b9b0adb
commit 61922f28ee
4 changed files with 41 additions and 14 deletions

View file

@ -5,7 +5,7 @@ import HTTPProvider from 'providers/http'
import { useState } from 'react'
import LoadingScreen from './LoadingScreen'
import UserWrapper from './UserWrapper'
import { Theme, ThemeProvider } from '@mui/material'
import { CssBaseline, Theme, ThemeProvider } from '@mui/material'
import { CreateTheme } from '../theme/theme'
import { getThemeType, setThemeType } from '../theme/themeType'
@ -40,6 +40,7 @@ function App() {
cacheLocation='localstorage'
>
<ThemeProvider theme={palette}>
<CssBaseline />
<AuthWrapper setToken={setToken}>
{ token ?
<HTTPProvider token={token}>