Skip to content

Commit

Permalink
fix: hover-off transition on color toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
wackerow committed Aug 30, 2024
1 parent 81b80c6 commit 47c36f6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/components/Nav/Desktop/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ const DesktopNavMenu = ({ toggleColorMode }: DesktopNavMenuProps) => {
variant="ghost"
isSecondary
px={{ base: "2", xl: "3" }}
sx={{
"& > svg": {
transition: "transform 0.5s, color 0.2s",
},
}}
_hover={desktopHoverFocusStyles}
_focus={desktopHoverFocusStyles}
onClick={toggleColorMode}
Expand Down

0 comments on commit 47c36f6

Please sign in to comment.