diff --git a/public/logo.png b/public/logo.png index 13be521..10373bd 100644 Binary files a/public/logo.png and b/public/logo.png differ diff --git a/src/App.js b/src/App.js index fc1b609..9b7cbe5 100644 --- a/src/App.js +++ b/src/App.js @@ -1,12 +1,32 @@ import { useEffect } from 'react'; import { Routes, Route, Navigate, useNavigate } from 'react-router-dom' import { useDispatch } from 'react-redux' +import { createTheme, ThemeProvider } from '@mui/material/styles'; import { setAccessToken, setUserInfo, setSelectInfo } from "./business/userSlice.js" import { useCookies } from 'react-cookie'; import LoginPage from './LoginPage'; import MainPage from './MainPage'; import yzs from "./business/request.js"; +const theme = createTheme({ + status: { + danger: '#e53e3e', + }, + palette: { + primary: { + main: '#FF595A', + darker: '#FF595A', + }, + neutral: { + main: '#64748B', + contrastText: '#fff', + }, + black: { + main: "#222222", + } + }, +}); + function App() { const dispatch = useDispatch(); const navigate = useNavigate(); @@ -32,10 +52,12 @@ function App() { return (