From faa52e8002860c4cb0ea6db4c81a960352d4ba9d Mon Sep 17 00:00:00 2001 From: Louis Knight-Webb Date: Fri, 29 Aug 2025 00:31:29 +0100 Subject: [PATCH] Input style (#588) * input style * button styling * fmt --- frontend/src/components/ui/checkbox.tsx | 2 +- frontend/src/styles/index.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/ui/checkbox.tsx b/frontend/src/components/ui/checkbox.tsx index 4f559ed2..3f8e24c4 100644 --- a/frontend/src/components/ui/checkbox.tsx +++ b/frontend/src/components/ui/checkbox.tsx @@ -22,7 +22,7 @@ const Checkbox = React.forwardRef( aria-checked={checked} ref={ref} className={cn( - 'peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50', + 'peer h-4 w-4 shrink-0 rounded-sm border border-primary-foreground ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50', checked && 'bg-primary text-primary-foreground', className )} diff --git a/frontend/src/styles/index.css b/frontend/src/styles/index.css index 2fdb5357..0472c3c7 100644 --- a/frontend/src/styles/index.css +++ b/frontend/src/styles/index.css @@ -53,7 +53,7 @@ --_accent: var(--_background); --_accent-foreground: 210 40% 98%; --_destructive: 0 62.8% 50.6%; - --_destructive-foreground: var(--_background); + --_destructive-foreground: var(--_background-foreground); --_border: 60 2% 25%; --_input: var(--_border); --_ring: 212.7 26.8% 83.9%;