We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fed9d21 commit 773c5a9Copy full SHA for 773c5a9
1 file changed
src/custom/Panel/style.tsx
@@ -1,7 +1,7 @@
1
import { ListItemProps } from '@mui/material';
2
import { Box, IconButton, ListItem } from '../../base';
3
import { PanelDragHandleIcon } from '../../icons/PanelDragHandle';
4
-import { accentGrey, black, styled } from '../../theme';
+import { black, styled } from '../../theme';
5
import { PanelProps } from './Panel';
6
7
export const ListHeader = styled(ListItem)(({ theme }) => ({
@@ -68,7 +68,7 @@ export const DrawerHeader = styled('div')(({ theme }) => ({
68
69
export const PanelBody = styled(Box)(({ theme }) => ({
70
padding: theme.spacing(2),
71
- backgroundColor: theme.palette.mode === 'light' ? accentGrey[10] : accentGrey[100],
+ backgroundColor: theme.palette.background.surfaces,
72
overflow: 'auto',
73
flex: 1,
74
minHeight: 0
0 commit comments