Skip to content

Commit

Permalink
Merge pull request #13755 from ethereum/icon-transition
Browse files Browse the repository at this point in the history
fix: hover-off transition on color toggle
  • Loading branch information
corwintines authored Sep 4, 2024
2 parents bf84b58 + 47c36f6 commit 04ecab9
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 04ecab9

Please sign in to comment.