Skip to content

Commit

Permalink
fix(Toggle): default variant - state=on style
Browse files Browse the repository at this point in the history
  • Loading branch information
BrickheadJohnny committed Jul 11, 2024
1 parent bfb3a45 commit 55e5f94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/v2/components/ui/Toggle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const toggleVariants = cva(
variants: {
variant: {
default:
"text-secondary-foreground hover:bg-secondary active:bg-secondary-hover",
"text-secondary-foreground hover:bg-secondary data-[state=on]:bg-secondary active:bg-secondary-hover",
primary:
"bg-transparent hover:bg-accent/50 hover:text-accent-foreground data-[state=on]:bg-primary data-[state=on]:text-primary-foreground",
mono: "text-white hover:bg-white/10 data-[state=on]:bg-white/15 hover:text-white data-[state=on]:text-white",
Expand Down

0 comments on commit 55e5f94

Please sign in to comment.