fix(button): a11y issue with "danger" button (#79)

Co-authored-by: shadcn <m@shadcn.com>
This commit is contained in:
Pedro Filho
2023-02-19 06:11:08 +00:00
committed by GitHub
parent bbdb0b2a9f
commit 6e93b93922
2 changed files with 2 additions and 2 deletions

View File

@@ -11,7 +11,7 @@ const buttonVariants = cva(
default:
"bg-slate-900 text-white hover:bg-slate-700 dark:bg-slate-50 dark:text-slate-900",
destructive:
"bg-red-500 text-white hover:bg-red-600 dark:hover:bg-red-600",
"bg-red-600 text-white hover:bg-red-600 dark:hover:bg-red-600",
outline:
"bg-transparent border border-slate-200 hover:bg-slate-100 dark:border-slate-700 dark:text-slate-100",
subtle: