Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

composerInlineChip.ts

9 lines729 Bytes

1export const COMPOSER_INLINE_CHIP_CLASS_NAME =
2 "inline-flex max-w-full select-none items-center gap-1 rounded-md border border-border/70 bg-accent/40 px-1.5 py-px font-medium text-[12px] leading-[1.1] text-foreground align-middle";
3​
4export const COMPOSER_INLINE_CHIP_ICON_CLASS_NAME = "size-3.5 shrink-0 opacity-85";
5​
6export const COMPOSER_INLINE_CHIP_LABEL_CLASS_NAME = "truncate select-none leading-tight";
7​
8export const COMPOSER_INLINE_CHIP_DISMISS_BUTTON_CLASS_NAME =
9 "ml-0.5 inline-flex size-3.5 shrink-0 cursor-pointer items-center justify-center rounded-sm text-muted-foreground/72 transition-colors hover:bg-foreground/6 hover:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring";