mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-01 21:39:06 +08:00
re-theme ui (#349)
This commit is contained in:
1 parent
ea1de7fa2c
commit
e907bc5c71
4 files changed
+82
-22
No files matched your search
@@ -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',
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in new issue
Block a user