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

@@ -1,6 +1,5 @@
<!DOCTYPE html>
<html lang="en">
<html lang="en" class="dark">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />

View File

@@ -45,6 +45,7 @@
"input-otp": "^1.2.4",
"lucide-react": "^0.462.0",
"next-themes": "^0.3.0",
"pocketbase": "^0.26.1",
"react": "^18.3.1",
"react-day-picker": "^8.10.1",
"react-dom": "^18.3.1",
@@ -5798,6 +5799,12 @@
"node": ">= 6"
}
},
"node_modules/pocketbase": {
"version": "0.26.1",
"resolved": "https://registry.npmjs.org/pocketbase/-/pocketbase-0.26.1.tgz",
"integrity": "sha512-fjcPDpxyqTZCwqGUTPUV7vssIsNMqHxk9GxbhxYHPEf18RqX2d9cpSqbbHk7aas30jqkgptuKfG7aY/Mytjj3g==",
"license": "MIT"
},
"node_modules/postcss": {
"version": "8.4.47",
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.47.tgz",

View File

@@ -1 +1 @@
5fbf12469d224a93954efecb5886e8a6
08d93e7b725ac442f35af92973131ea7

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%;