Skip to content

Commit

Permalink
fix: drawer button icon color in dark theme
Browse files Browse the repository at this point in the history
  • Loading branch information
chybisov committed Jun 14, 2023
1 parent 183d16a commit dcbe962
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/widget/src/AppDrawer.style.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,12 @@ export const DrawerButton = styled(Button, {
? theme.palette.common.black
: theme.palette.common.white,
},
svg: {
color:
theme.palette.mode === 'light'
? theme.palette.common.white
: theme.palette.common.black,
},
}));

export const DrawerButtonTypography = styled(Typography)(({ theme }) => ({
Expand Down

0 comments on commit dcbe962

Please sign in to comment.