Skip to content

Commit

Permalink
fix(theme): add missing data-[hover=true]:
Browse files Browse the repository at this point in the history
  • Loading branch information
wingkwong committed Sep 15, 2024
1 parent 2c9c817 commit 5270f4f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/core/theme/src/components/button.ts
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,10 @@ const button = tv({
{
variant: "ghost",
color: "danger",
class: [colorVariants.ghost.danger, "data-[hover=true]:!bg-danger !text-danger-foreground"],
class: [
colorVariants.ghost.danger,
"data-[hover=true]:!bg-danger data-[hover=true]:!text-danger-foreground",
],
},
// isInGroup / radius / size <-- radius not provided
{
Expand Down

0 comments on commit 5270f4f

Please sign in to comment.