Skip to content

Commit

Permalink
fix(drawer-item): hover effect background color (#4440)
Browse files Browse the repository at this point in the history
  • Loading branch information
seb-zabielski authored Jul 27, 2024
1 parent c1495ea commit f34f9a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/Drawer/DrawerItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ const DrawerItem = ({
? isV3
? theme.colors.secondaryContainer
: color(theme.colors.primary).alpha(0.12).rgb().string()
: 'transparent';
: undefined;
const contentColor = active
? isV3
? theme.colors.onSecondaryContainer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ exports[`renders DrawerItem with icon 1`] = `
"marginVertical": 4,
},
{
"backgroundColor": "transparent",
"backgroundColor": undefined,
"borderRadius": 28,
},
{
Expand Down Expand Up @@ -376,7 +376,7 @@ exports[`renders basic DrawerItem 1`] = `
"marginVertical": 4,
},
{
"backgroundColor": "transparent",
"backgroundColor": undefined,
"borderRadius": 28,
},
{
Expand Down

0 comments on commit f34f9a8

Please sign in to comment.