Skip to content

Commit f34f9a8

Browse files
fix(drawer-item): hover effect background color (#4440)
1 parent c1495ea commit f34f9a8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/components/Drawer/DrawerItem.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ const DrawerItem = ({
107107
? isV3
108108
? theme.colors.secondaryContainer
109109
: color(theme.colors.primary).alpha(0.12).rgb().string()
110-
: 'transparent';
110+
: undefined;
111111
const contentColor = active
112112
? isV3
113113
? theme.colors.onSecondaryContainer

src/components/__tests__/__snapshots__/DrawerItem.test.tsx.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ exports[`renders DrawerItem with icon 1`] = `
4444
"marginVertical": 4,
4545
},
4646
{
47-
"backgroundColor": "transparent",
47+
"backgroundColor": undefined,
4848
"borderRadius": 28,
4949
},
5050
{
@@ -376,7 +376,7 @@ exports[`renders basic DrawerItem 1`] = `
376376
"marginVertical": 4,
377377
},
378378
{
379-
"backgroundColor": "transparent",
379+
"backgroundColor": undefined,
380380
"borderRadius": 28,
381381
},
382382
{

0 commit comments

Comments
 (0)