Input style (#588)

* input style

* button styling

* fmt
This commit is contained in:
Louis Knight-Webb
2025-08-29 00:31:29 +01:00
committed by GitHub
parent b42986a55f
commit faa52e8002
2 changed files with 2 additions and 2 deletions

View File

@@ -22,7 +22,7 @@ const Checkbox = React.forwardRef<HTMLButtonElement, CheckboxProps>(
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
)}

View File

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