Skip to content

Commit 0b602dc

Browse files
committed
feat: update menu-variants
1 parent a0f8ccc commit 0b602dc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/ui/src/components/menu/menu-variants.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,10 @@ export const menuVariants = tv({
1919
],
2020
group: '',
2121
item: [
22-
`relative flex items-center rounded-sm outline-none transition-colors duration-200 cursor-default select-none`,
22+
`relative flex font-medium items-center rounded-sm outline-none transition-colors duration-200 cursor-default select-none`,
2323
`focus:bg-accent focus:text-accent-foreground`,
24-
`data-[disabled]:pointer-events-none data-[disabled]:opacity-50`
24+
`data-[disabled]:pointer-events-none data-[disabled]:opacity-50`,
25+
`data-[state=open]:bg-accent data-[state=open]:text-accent-foreground`
2526
],
2627
itemIcon: `shrink-0 text-muted-foreground`,
2728
itemIndicator: `absolute flex items-center justify-center text-primary`,

0 commit comments

Comments
 (0)