re-theme ui (#349)

This commit is contained in:
Matthew Tancik authored and GitHub committed 2022-09-06 10:45:16 -07:00
1 parent ea1de7fa2c
commit e907bc5c71
4 files changed
+82 -22

No files matched your search

+38
View File
@@ -0,0 +1,38 @@
import { createTheme } from '@mui/material/styles';
export const appTheme = createTheme({
palette: {
primary: { main: '#d1d4db' },
secondary: { main: '#ffd65c' },
text: {
primary: '#d1d4db',
secondary: '#ff8600',
},
},
components: {
MuiTextField: {
styleOverrides: {
root: {
'& label': {
color: '#606980',
},
'& label.Mui-focused': {
color: '#ff8600',
},
'& .MuiOutlinedInput-root': {
'& fieldset': {
borderColor: '#373c4b',
},
'&:hover fieldset': {
borderColor: '#606980',
borderWidth: '0.15rem',
},
'&.Mui-focused fieldset': {
borderColor: '#ff8600',
},
},
},
},
},
},
});