Skip to content

Commit

Permalink
fix: Explore link inactive/hover state (#1269)
Browse files Browse the repository at this point in the history
Because

- the Explore link lacked the inactive and hover states

This commit

- added Explore link inactive and hover states
  • Loading branch information
orangecoloured authored Jul 1, 2024
1 parent 0f28e4c commit 6b40fcd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/toolkit/src/components/top-bar/ExploreLink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@ export const ExploreLink = () => {
<Link
href="/hub"
className={cn(
"-mb-2 flex h-8 flex-row gap-x-2 border-b-2 text-base font-semibold",
isActive ? "border-semantic-accent-default" : "border-transparent",
"-mb-2 flex h-8 flex-row gap-x-2 border-b-2 text-base font-semibold text-semantic-fg-disabled hover:text-semantic-accent-default",
isActive
? "text-semantic-fg-primary border-semantic-accent-default"
: "border-transparent",
)}
>
Explore
Expand Down

0 comments on commit 6b40fcd

Please sign in to comment.