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 82ba4e6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 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
2 changes: 1 addition & 1 deletion src/layout/TopBar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export const TopBar = () => {
<HStack>
<Link href="/" style={{ height: "100%", textDecoration: "none" }}>
<TopBarItem paddingLeft={0} userSelect="none" pointerEvents="none">
<Image height="70%" src="/images/header.png" alt="shibaac" />
<Image height="35px" boxSize="35px" src="/images/header.png" alt="shibaac" />
<Text fontSize="lg" color="white" ml="10px">
Shibaac
</Text>
Expand Down
4 changes: 2 additions & 2 deletions src/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ BigInt.prototype.toJSON = function () {
return int ?? this.toString();
};

const MyApp = ({ Component, pageProps }: any) => {
const App = ({ Component, pageProps }: any) => {
return (
<ChakraProvider theme={Theme}>
<Layout>
Expand All @@ -20,4 +20,4 @@ const MyApp = ({ Component, pageProps }: any) => {
);
};

export default trpc.withTRPC(MyApp);
export default trpc.withTRPC(App);

0 comments on commit 82ba4e6

Please sign in to comment.