Team Ai
Modelpublic

Felipe97/llama-cpp-compiled

sourceHugging Faceupdated 21d agoView on Hugging Face
0likes1.2kdownloads
css-classes.constants.ts37 linesDownload Raw Back to constants
1export const BOX_BORDER =2	'border border-border/30 focus-within:border-border  dark:border-border/20 dark:focus-within:border-border';3 4export const INPUT_CLASSES = `5    bg-muted/60 dark:bg-muted/756    ${BOX_BORDER}7    shadow-sm8    outline-none9    text-foreground10`;11 12export const PANEL_CLASSES = `13    bg-background14    border border-border/30 dark:border-border/2015    shadow-sm backdrop-blur-lg!16    rounded-t-lg!17`;18 19export const CHAT_FORM_POPOVER_MAX_HEIGHT = 'max-h-80';20export const DIALOG_SUBMENU_CONTENT = 'w-60';21 22/** Selects the focused chat-form input (either renderer) to restore focus after model actions. */23export const CHAT_INPUT_FOCUS_SELECTOR =24	'[data-slot="input-area"] textarea, [data-slot="input-area"] [contenteditable="true"]';25 26/** Default Tailwind size class for inline icon components (lucide, etc.). */27export const ICON_CLASS_DEFAULT = 'h-4 w-4';28 29/** Small Tailwind size class for inline icons. */30export const ICON_CLASS_SM = 'h-3.5 w-3.5';31 32/** Extra-small Tailwind size class for inline icons. */33export const ICON_CLASS_XS = 'h-3 w-3';34 35/** Icon size + spinning animation; used for live-streaming tool indicators. */36export const ICON_CLASS_SPIN = 'h-4 w-4 animate-spin';37