Skip to content

Commit

Permalink
fix: button in light mode
Browse files Browse the repository at this point in the history
  • Loading branch information
afonsojramos committed Jul 5, 2024
1 parent 93d3a89 commit 6664dd0
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 25 deletions.
10 changes: 5 additions & 5 deletions src/components/buttons/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@ const buttonVariants = cva(
{
variants: {
variant: {
default: 'bg-gray-300 text-white dark:text-black hover:opacity-90',
default: 'bg-gray-300 dark:text-black hover:opacity-90',
destructive: 'bg-red-600 text-white hover:opacity-90',
outline:
'border-zinc-300 hover:text-white border bg-transparent hover:bg-zinc-100 dark:hover:bg-zinc-600',
ghost: 'hover:bg-zinc-100 dark:hover:bg-zinc-600 hover:text-white',
'border-zinc-300 hover:text-inherit dark:hover:text-white border bg-transparent hover:bg-zinc-100 dark:hover:bg-zinc-600',
ghost: 'hover:bg-zinc-100 dark:hover:bg-zinc-600 dark:hover:text-white',
link: 'underline-offset-2 hover:underline',
},
size: {
default: 'min-w-20 h-10 px-2 py-1',
default: 'min-w-20 h-10 px-4 py-1',
xs: 'h-6 rounded-md px-2',
sm: 'h-9 rounded-md px-2',
sm: 'h-9 rounded-md px-2 py-1',
lg: 'h-11 rounded-md px-8',
icon: 'h-10 w-10',
},
Expand Down
8 changes: 4 additions & 4 deletions src/components/buttons/__snapshots__/Button.test.tsx.snap

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions src/routes/__snapshots__/Login.test.tsx.snap

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions src/routes/__snapshots__/LoginWithOAuthApp.test.tsx.snap

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 6664dd0

Please sign in to comment.