have dark backdrop only for drawer and dialogs
This commit is contained in:
parent
50af782b61
commit
bdb0e73886
|
@ -84,16 +84,21 @@ const darkThemeOptions = createTheme({
|
|||
},
|
||||
},
|
||||
|
||||
MuiBackdrop: {
|
||||
MuiDrawer: {
|
||||
styleOverrides: {
|
||||
root: {
|
||||
'.MuiBackdrop-root': {
|
||||
backgroundColor: 'rgba(0,0,0,0.65)',
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
MuiDialog: {
|
||||
styleOverrides: {
|
||||
root: {
|
||||
'.MuiBackdrop-root': {
|
||||
backgroundColor: 'rgba(0,0,0,0.65)',
|
||||
},
|
||||
'& .MuiDialog-paper': {
|
||||
boxShadow: '0px 0px 10px 0px rgba(0, 0, 0, 0.25)',
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue