Skip to content

Commit c99d773

Browse files
committed
fix(ui): 🐛 re-add selected button variant
1 parent 2401466 commit c99d773

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/components/ui/button.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ const buttonVariants = cva(
1919
ghost:
2020
"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",
2121
link: "text-primary underline-offset-4 hover:underline",
22+
selected:
23+
"bg-selected text-primary-foreground shadow-xs hover:bg-selected/90",
2224
},
2325
size: {
2426
default: "h-9 px-4 py-2 has-[>svg]:px-3",

0 commit comments

Comments
 (0)