Line data Source code
1 : import { cn } from '@comfyorg/tailwind-utils'
2 :
3 : import { menuContentClass } from '@comfyorg/design-system/lib/menu/menuStyles'
4 :
5 24 : export const chipClass =
6 : 'shrink-0 gap-1.5 rounded-lg bg-popover px-2.5 py-1 hover:bg-muted'
7 :
8 24 : export const formPanelClass =
9 : 'max-h-80 flex flex-col gap-0.5 p-1.5 rounded-lg border-border bg-popover'
10 :
11 24 : export const menuPanelClass = cn(
12 : menuContentClass,
13 : 'flex max-h-80 w-48 flex-col'
14 : )
15 :
16 270 : export function actionClass(active: boolean) {
17 270 : return cn('shrink-0 gap-1.5 px-2 py-1', active && 'bg-muted')
18 : }
|