Skip to content

Commit

Permalink
Change active drop down button color
Browse files Browse the repository at this point in the history
  • Loading branch information
nekiro committed Dec 6, 2024
1 parent ae37911 commit d028635
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/DropdownButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const DropdownButton = ({ hasMenu = false, text, href, list }: DropdownButtonPro
<Menu isOpen={isOpen} onOpen={onOpen} onClose={onClose}>
<MenuButton
color={isActive ? "black" : "white"}
bg={isActive ? "#c3a6d9" : ""}
bg={isActive ? "violet.300" : ""}
as={Button}
h="100%"
borderRadius={0}
Expand Down Expand Up @@ -58,7 +58,7 @@ const DropdownButton = ({ hasMenu = false, text, href, list }: DropdownButtonPro
<Button
h="100%"
color={isActive ? "black" : "white"}
bg={isActive ? "#c3a6d9" : ""}
bg={isActive ? "violet.300" : ""}
borderRadius={0}
fontWeight="normal"
_hover={{ bgColor: "rgba(255, 255, 255, 0.3)" }}
Expand Down

0 comments on commit d028635

Please sign in to comment.