Skip to content

Commit

Permalink
Fix white checked checkbox when hover
Browse files Browse the repository at this point in the history
  • Loading branch information
bluzky committed Nov 7, 2024
1 parent 5fc2643 commit aa0b03d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/salad_ui/checkbox.ex
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ defmodule SaladUI.Checkbox do
type="checkbox"
class={
classes([
"peer h-4 w-4 shrink-0 rounded-sm border border-primary shadow focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 checked:bg-primary checked:text-primary-foreground",
"peer h-4 w-4 shrink-0 rounded-sm border border-primary shadow focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 checked:bg-primary checked:focus:bg-primary checked:hover:bg-primary checked:text-primary-foreground",
@class
])
}
Expand Down

0 comments on commit aa0b03d

Please sign in to comment.