Skip to content

Commit 56d556b

Browse files
authored
Make check in checkbox visible in lightmode (#240)
This tiny commit fixes the checkbox component by changing the checkbox indicator svg's stroke color from "black" to "currentcolor" so that the checkbox displays properly in light mode.
1 parent 23ef1c6 commit 56d556b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/components/ui/checkbox.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const Checkbox = React.forwardRef<
2626
className={cn('flex items-center justify-center text-current')}
2727
>
2828
<svg viewBox="0 0 8 8">
29-
<path d="M1,4 L3,6 L7,2" stroke="black" strokeWidth="1" fill="none" />
29+
<path d="M1,4 L3,6 L7,2" stroke="currentcolor" strokeWidth="1" fill="none" />
3030
</svg>
3131
</CheckboxPrimitive.Indicator>
3232
</CheckboxPrimitive.Root>

0 commit comments

Comments
 (0)