mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-13 21:01:21 +08:00
Soften assistant thread surface.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
42e10ce944
commit
f8b95d5a08
@ -522,7 +522,7 @@ const ComposerStaticInput: FC<{ placeholder?: string, autoFocus?: boolean }> = (
|
||||
const Composer: FC<{ placeholder?: ComposerPlaceholder, autoFocus?: boolean }> = ({ placeholder, autoFocus = true }) => {
|
||||
const attachmentsEnabled = useComposerAttachmentsEnabled();
|
||||
return (
|
||||
<ComposerPrimitive.Root className="group/composer relative flex w-full flex-col rounded-2xl border border-border/20 dark:border-foreground/[0.08] bg-background/95 dark:bg-background/80 shadow-sm ring-1 ring-foreground/[0.04] transition-all duration-150 hover:transition-none focus-within:ring-2 focus-within:ring-blue-500/20 focus-within:border-blue-500/30">
|
||||
<ComposerPrimitive.Root className="group/composer relative flex w-full flex-col rounded-2xl border border-black/[0.08] dark:border-foreground/[0.08] bg-white/95 dark:bg-background/80 shadow-sm ring-1 ring-black/[0.06] dark:ring-white/[0.06] transition-all duration-150 hover:transition-none focus-within:ring-2 focus-within:ring-blue-500/20 focus-within:border-blue-500/30">
|
||||
{attachmentsEnabled && <ComposerAttachmentsRow />}
|
||||
{typeof placeholder === "object" ? (
|
||||
<ComposerAnimatedInput
|
||||
|
||||
Loading…
Reference in New Issue
Block a user