Skip to content

Commit e32c1e7

Browse files
committed
feat: remove color from background and let it be blank through default
Signed-off-by: Antonette Caldwell <[email protected]>
1 parent 52bfc6f commit e32c1e7

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed
+9-6
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
import { Components, Theme } from '@mui/material';
2-
import { DARK_BLUE_GRAY } from '../colors';
32

43
export const MuiDrawer: Components<Theme>['MuiDrawer'] = {
54
styleOverrides: {
6-
root: {
7-
'& .MuiDrawer-paper': {
8-
boxSize: 'border-box',
9-
background: DARK_BLUE_GRAY
10-
}
5+
root: ({ theme }) => {
6+
const {
7+
palette: {
8+
background: { default: defaultBackground }
9+
}
10+
} = theme;
11+
return {
12+
background: defaultBackground
13+
};
1114
}
1215
}
1316
};

0 commit comments

Comments
 (0)