From dcbe962dd0a229eeb6d063f33110d62e52a877f8 Mon Sep 17 00:00:00 2001 From: Eugene Chybisov Date: Wed, 14 Jun 2023 17:28:13 +0200 Subject: [PATCH] fix: drawer button icon color in dark theme --- packages/widget/src/AppDrawer.style.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/widget/src/AppDrawer.style.tsx b/packages/widget/src/AppDrawer.style.tsx index d8d9e580f..878f435fb 100644 --- a/packages/widget/src/AppDrawer.style.tsx +++ b/packages/widget/src/AppDrawer.style.tsx @@ -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 }) => ({