Skip to content

Commit

Permalink
style: account side drawer hover color
Browse files Browse the repository at this point in the history
  • Loading branch information
RabeeAbuBaker committed Jun 24, 2024
1 parent e77f5d8 commit 6a33de3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/components/AccountDrawer/AccountDrawer.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
}

.drawerLink:hover {
background-color: alpha(var(--mantine-color-dark-7), 0.5);
background-color: var(--mantine-hover-color);
text-decoration: none;
}
8 changes: 7 additions & 1 deletion app/components/AccountDrawer/AccountDrawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,13 @@ const AccountDrawer = ({ user }: AccountDrawerProps) => {
</React.Fragment>
))}
{/* eslint-disable-next-line jsx-a11y/anchor-has-content */}
<NavLink aria-label="Sign out" label="Sign out" p={8} onClick={logout} />
<NavLink
aria-label="Sign out"
className={classes.drawerLink}
label="Sign out"
p={8}
onClick={logout}
/>
</Stack>
</Drawer>
<UnstyledButton onClick={() => setIsDrawerOpen(true)}>
Expand Down

0 comments on commit 6a33de3

Please sign in to comment.