Make buttons black

This commit is contained in:
2025-07-04 17:29:04 +02:00
parent 926eff3aeb
commit 52a0aa104e
5 changed files with 23 additions and 17 deletions

View File

@@ -9,15 +9,15 @@ const buttonVariants = cva(
{
variants: {
variant: {
default: "bg-primary text-primary-foreground hover:bg-primary/90",
default: "bg-gray-800 text-gray-100 hover:bg-gray-700 dark:bg-gray-800 dark:text-gray-100 dark:hover:bg-gray-700",
destructive:
"bg-destructive text-destructive-foreground hover:bg-destructive/90",
"bg-red-900 text-destructive-foreground hover:bg-red-800 dark:bg-red-900 dark:hover:bg-red-800",
outline:
"border border-input bg-background hover:bg-accent hover:text-accent-foreground",
"border border-input bg-gray-800 text-gray-100 hover:bg-gray-700 dark:border-gray-600 dark:bg-gray-800 dark:text-gray-100 dark:hover:bg-gray-700",
secondary:
"bg-secondary text-secondary-foreground hover:bg-secondary/80",
ghost: "hover:bg-accent hover:text-accent-foreground",
link: "text-primary underline-offset-4 hover:underline",
"bg-gray-700 text-gray-100 hover:bg-gray-600 dark:bg-gray-700 dark:text-gray-100 dark:hover:bg-gray-600",
ghost: "text-gray-100 hover:bg-gray-800 hover:text-gray-100 dark:text-gray-100 dark:hover:bg-gray-800",
link: "text-gray-100 underline-offset-4 hover:underline dark:text-gray-100",
},
size: {
default: "h-10 px-4 py-2",

View File

@@ -20,14 +20,14 @@ All colors MUST be HSL.
--primary: 222.2 47.4% 11.2%;
--primary-foreground: 210 40% 98%;
--secondary: 210 40% 96.1%;
--secondary-foreground: 222.2 47.4% 11.2%;
--secondary: 217.2 32.6% 17.5%;
--secondary-foreground: 210 40% 98%;
--muted: 210 40% 96.1%;
--muted-foreground: 215.4 16.3% 46.9%;
--accent: 210 40% 96.1%;
--accent-foreground: 222.2 47.4% 11.2%;
--accent: 217.2 32.6% 17.5%;
--accent-foreground: 210 40% 98%;
--destructive: 0 84.2% 60.2%;
--destructive-foreground: 210 40% 98%;
@@ -65,16 +65,16 @@ All colors MUST be HSL.
--popover: 222.2 84% 4.9%;
--popover-foreground: 210 40% 98%;
--primary: 210 40% 98%;
--primary-foreground: 222.2 47.4% 11.2%;
--primary: 217.2 32.6% 17.5%;
--primary-foreground: 210 40% 98%;
--secondary: 217.2 32.6% 17.5%;
--secondary: 217.2 32.6% 12.5%;
--secondary-foreground: 210 40% 98%;
--muted: 217.2 32.6% 17.5%;
--muted-foreground: 215 20.2% 65.1%;
--accent: 217.2 32.6% 17.5%;
--accent: 217.2 32.6% 12.5%;
--accent-foreground: 210 40% 98%;
--destructive: 0 62.8% 30.6%;