@@ -25,7 +25,7 @@ const ContextMenuSubTrigger = React.forwardRef<
2525 < ContextMenuPrimitive . SubTrigger
2626 ref = { ref }
2727 className = { cn (
28- "flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent- foreground data-[state=open]:bg-accent data-[state=open]:text-accent -foreground" ,
28+ "flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-bg-hover focus:text-foreground data-[state=open]:bg-bg-hover data-[state=open]:text-foreground" ,
2929 inset && "pl-8" ,
3030 className
3131 ) }
@@ -44,7 +44,7 @@ const ContextMenuSubContent = React.forwardRef<
4444 < ContextMenuPrimitive . SubContent
4545 ref = { ref }
4646 className = { cn (
47- "z-[1001] min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover -foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-context-menu-content-transform-origin]" ,
47+ "z-[1001] min-w-[8rem] overflow-hidden rounded-md border border-border bg-bg-dark p-1 text-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-context-menu-content-transform-origin]" ,
4848 className
4949 ) }
5050 { ...props }
@@ -60,7 +60,7 @@ const ContextMenuContent = React.forwardRef<
6060 < ContextMenuPrimitive . Content
6161 ref = { ref }
6262 className = { cn (
63- "z-[1001] max-h-[--radix-context-menu-content-available-height] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover p-1 text-popover -foreground shadow-md animate-in fade-in-80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-context-menu-content-transform-origin]" ,
63+ "z-[1001] max-h-[--radix-context-menu-content-available-height] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border border-border bg-bg-dark p-1 text-foreground shadow-md animate-in fade-in-80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-context-menu-content-transform-origin]" ,
6464 className
6565 ) }
6666 { ...props }
@@ -78,7 +78,7 @@ const ContextMenuItem = React.forwardRef<
7878 < ContextMenuPrimitive . Item
7979 ref = { ref }
8080 className = { cn (
81- "relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent -foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50" ,
81+ "relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-bg-hover focus:text-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50" ,
8282 inset && "pl-8" ,
8383 className
8484 ) }
@@ -94,7 +94,7 @@ const ContextMenuCheckboxItem = React.forwardRef<
9494 < ContextMenuPrimitive . CheckboxItem
9595 ref = { ref }
9696 className = { cn (
97- "relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent -foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50" ,
97+ "relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-bg-hover focus:text-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50" ,
9898 className
9999 ) }
100100 checked = { checked }
@@ -117,7 +117,7 @@ const ContextMenuRadioItem = React.forwardRef<
117117 < ContextMenuPrimitive . RadioItem
118118 ref = { ref }
119119 className = { cn (
120- "relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent -foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50" ,
120+ "relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-bg-hover focus:text-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50" ,
121121 className
122122 ) }
123123 { ...props }
0 commit comments