Skip to content

Commit

Permalink
fix(ui): change button of primary variant background on hover from bg…
Browse files Browse the repository at this point in the history
…-gray-200 to bg-gray-alpha-200
  • Loading branch information
ZeynalliZeynal committed Jan 10, 2025
1 parent 058eca9 commit 818337f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/ui/button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export const Button = forwardRef<HTMLButtonElement, ButtonProps>(
'size-10 text-sm': size === 'md' && iconOnly,
'size-8 text-sm': size === 'sm' && iconOnly,
'size-6 text-xs': size === 'xs' && iconOnly,
'data-[hover]:text-foreground data-[hover]:bg-gray-200 data-[hover]:border-gray-alpha-200':
'data-[hover]:text-foreground data-[hover]:bg-gray-alpha-200 data-[hover]:border-gray-alpha-200':
variant === 'primary' && hovering,
'disabled:text-gray-700 disabled:bg-gray-100 disabled:border-gray-400':
variant === 'primary' || (variant === 'secondary' && disabled),
Expand Down

0 comments on commit 818337f

Please sign in to comment.