Skip to content

Commit f671ad2

Browse files
Bigger checkbox
1 parent cfeb3c4 commit f671ad2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/js/components/ui/checkbox.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ const Checkbox = React.forwardRef<React.ElementRef<typeof CheckboxPrimitive.Root
99
<CheckboxPrimitive.Root
1010
ref={ref}
1111
className={cn(
12-
'peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground',
12+
'peer size-5 shrink-0 rounded-sm border border-input ring-offset-background focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground data-[state=checked]:border-accent-foreground',
1313
className,
1414
)}
1515
{...props}
1616
>
1717
<CheckboxPrimitive.Indicator className={cn('flex items-center justify-center text-current')}>
18-
<Check className="h-4 w-4" />
18+
<Check className="size-3.5 stroke-[3]" />
1919
</CheckboxPrimitive.Indicator>
2020
</CheckboxPrimitive.Root>
2121
),

0 commit comments

Comments
 (0)