committed by
GitHub
parent
b42986a55f
commit
faa52e8002
@@ -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
|
||||
)}
|
||||
|
||||
@@ -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%;
|
||||
|
||||
Reference in New Issue
Block a user