style(webui): refine composer surface and workspace hover (#6444)
* style(webui): refine the chat composer surface Use a themed card background with a subtle edge and soft shadow. Keep focus stable without a darker frame while preserving Goal and drag rings. Align the startup composer surface and add composer-scoped browser coverage. * style(webui): align workspace hover with access control Keep the workspace trigger background clear on hover and use its existing text-color feedback, matching the adjacent access control. Preserve focus, disabled, and directory-picker behavior.
This commit is contained in:
1 parent
e7e94bda1c
commit
4f7c4f0885
6 files changed
+83
-6
No files matched your search
@@ -2641,11 +2641,11 @@ export function ThreadComposer({
|
||||
data-compact={compactIdle || undefined}
|
||||
style={paletteBeside ? { maxHeight: slashPaletteLayout.maxHeight, overflowY: "auto" } : undefined}
|
||||
className={cn(
|
||||
"thread-composer-surface group/composer relative mx-auto flex w-full flex-col overflow-visible transition-all duration-200",
|
||||
"thread-composer-surface group/composer relative mx-auto flex w-full flex-col overflow-visible bg-card",
|
||||
paletteBeside && "col-start-1 row-start-1",
|
||||
isHero
|
||||
? "max-w-[var(--composer-content-width,58rem)] rounded-prominent bg-muted/80 focus-within:bg-muted dark:bg-card dark:focus-within:bg-white/[0.06]"
|
||||
: "max-w-[var(--composer-content-width,49.5rem)] rounded-panel bg-muted/80 focus-within:bg-muted dark:bg-card dark:focus-within:bg-white/[0.06]",
|
||||
? "max-w-[var(--composer-content-width,58rem)] rounded-prominent"
|
||||
: "max-w-[var(--composer-content-width,49.5rem)] rounded-panel",
|
||||
compactWhenIdle && "thread-composer-collapsible transition-colors motion-reduce:transition-none",
|
||||
interactionDisabled && "opacity-60",
|
||||
sessionDragPreview && "ring-1 ring-primary/25",
|
||||
|
||||
Reference in new issue
Block a user