Skip to content

Commit

Permalink
Swap hover and regular colors for dark <Button>s
Browse files Browse the repository at this point in the history
  • Loading branch information
mybearworld committed Jul 20, 2024
1 parent 817ab0f commit 82b8a5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const Button = forwardRef<HTMLButtonElement, ButtonProps>(
"rounded-lg border px-2 py-1 font-bold transition-[background-color] disabled:cursor-not-allowed disabled:opacity-70",
props.secondary ?
"border-gray-400 bg-gray-200 dark:border-gray-500 dark:bg-gray-600 [&:not(:disabled):hover]:bg-gray-300 dark:[&:not(:disabled):hover]:bg-gray-700"
: "border-lime-500 bg-lime-300 dark:border-lime-600 dark:bg-lime-700 [&:not(:disabled):hover]:bg-lime-400 dark:[&:not(:disabled):hover]:bg-lime-800",
: "border-lime-500 bg-lime-300 dark:border-lime-600 dark:bg-lime-800 [&:not(:disabled):hover]:bg-lime-400 dark:[&:not(:disabled):hover]:bg-lime-700",
props.className,
)}
>
Expand Down

0 comments on commit 82b8a5e

Please sign in to comment.