Skip to content

Commit

Permalink
feat: remove color from background and let it be blank through default
Browse files Browse the repository at this point in the history
Signed-off-by: Antonette Caldwell <[email protected]>
  • Loading branch information
nebula-aac committed Apr 30, 2024
1 parent 9609c85 commit 29aa019
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions src/theme/components/drawer.modifier.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
import { Components, Theme } from '@mui/material';
import { DARK_BLUE_GRAY } from '../colors';

export const MuiDrawer: Components<Theme>['MuiDrawer'] = {
styleOverrides: {
root: {
'& .MuiDrawer-paper': {
boxSize: 'border-box',
background: DARK_BLUE_GRAY
}
root: ({ theme }) => {
const {
palette: {
background: { default: defaultBackground }
}
} = theme;
return {
background: defaultBackground
};
}
}
};

0 comments on commit 29aa019

Please sign in to comment.