Skip to content

Commit

Permalink
fix: error button text color
Browse files Browse the repository at this point in the history
  • Loading branch information
reneaaron committed Jul 25, 2023
1 parent 49de1c2 commit 1d4762a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/Button/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const Button = forwardRef(
: outline
? "bg-white text-gray-700 border-2 border-primary dark:text-primary dark:bg-surface-02dp"
: error
? "bg-white text-gray-700 border-2 border-red-500 dark:text-red-500 dark:bg-surface-02dp"
? "bg-white text-red-500 border-2 border-red-500 dark:text-red-500 dark:bg-surface-02dp"
: `bg-white text-gray-700 dark:bg-surface-02dp dark:text-neutral-200 dark:border-neutral-800`,
primary && !disabled && "hover:bg-primary-gradient-hover",
!primary &&
Expand Down

0 comments on commit 1d4762a

Please sign in to comment.