Skip to content

Commit 2516ac4

Browse files
committed
checkbox: Update checkbox component
1 parent 1171416 commit 2516ac4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/ruby_ui/checkbox/checkbox.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ def default_attrs
1717
action: "change->ruby-ui--checkbox-group#onChange change->ruby-ui--form-field#onInput invalid->ruby-ui--form-field#onInvalid"
1818
},
1919
class: [
20-
"peer h-4 w-4 shrink-0 rounded-sm border-input ring-offset-background accent-primary",
20+
"peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background accent-primary",
2121
"disabled:cursor-not-allowed disabled:opacity-50",
22-
"checked:bg-primary checked:text-primary-foreground dark:checked:bg-secondary checked:text-primary checked:border-primary",
22+
"checked:bg-primary checked:text-primary-foreground",
2323
"aria-disabled:cursor-not-allowed aria-disabled:opacity-50 aria-disabled:pointer-events-none",
2424
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2"
2525
]

0 commit comments

Comments
 (0)