have dark backdrop only for drawer and dialogs

This commit is contained in:
Abhinav 2022-07-06 10:41:04 +05:30
parent 50af782b61
commit bdb0e73886

View file

@ -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)',
},