char-fork/llama.cpp

git clone https://git.t4t.associates/char-fork/llama.cpp

Aleksander Grygierui: Chat Conversation Tabbed navigation (#27263)8144f3192

char/aliceai-t5-moe
1.2 KiB36 linesraw
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/75
6    ${BOX_BORDER}
7    shadow-sm
8    outline-none
9    text-foreground
10`;
11
12export const PANEL_CLASSES = `
13    bg-background
14    border border-border/30 dark:border-border/20
15    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';