Skip to content

Commit 989bc33

Browse files
chore: replace color with color tokens
Signed-off-by: Vidit Kushwaha <[email protected]>
1 parent a944250 commit 989bc33

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/custom/Panel/style.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { ListItemProps } from '@mui/material';
22
import { Box, IconButton, ListItem } from '../../base';
33
import { PanelDragHandleIcon } from '../../icons/PanelDragHandle';
4-
import { styled } from '../../theme';
4+
import { accentGrey, black, styled } from '../../theme';
55
import { PanelProps } from './Panel';
66

77
export const ListHeader = styled(ListItem)(({ theme }) => ({
@@ -68,7 +68,7 @@ export const DrawerHeader = styled('div')(({ theme }) => ({
6868

6969
export const PanelBody = styled(Box)(({ theme }) => ({
7070
padding: theme.spacing(2),
71-
backgroundColor: '#15272F',
71+
backgroundColor: accentGrey[10],
7272
overflow: 'auto',
7373
flex: 1,
7474
minHeight: 0
@@ -89,7 +89,7 @@ export const PanelContainer = styled(Box)<{ intitialPosition: PanelProps['intiti
8989
zIndex: 99999,
9090
position: 'absolute',
9191
backgroundColor: theme.palette.background.blur?.light,
92-
boxShadow: '0 4px 16px black',
92+
boxShadow: `0 4px 16px ${black}`,
9393
maxHeight: '80%',
9494
display: 'flex',
9595
boxSizing: 'border-box',

0 commit comments

Comments
 (0)