refactor(web): 工作区布局 - 侧边栏搜索框占位文字调淡与搜索框配色一致

This commit is contained in:
sikongyue
2026-08-19 23:51:22 +08:00
parent 10f4a0f672
commit d509cd88c3

View File

@@ -308,7 +308,7 @@ export function WorkspaceSidebarNav({ onNavigate, onOpenSearch }: { onNavigate:
<button
type="button"
onClick={onOpenSearch}
className="group flex h-9 w-full items-center gap-2 rounded-[var(--r-lg)] bg-foreground/5 px-3 text-left text-[var(--fs-caption)] text-foreground/35 transition-colors hover:bg-foreground/[.07] hover:text-foreground/60"
className="group flex h-9 w-full items-center gap-2 rounded-[var(--r-lg)] bg-foreground/5 px-3 text-left text-[var(--fs-caption)] text-foreground/30 transition-colors hover:bg-foreground/[.07] hover:text-foreground/55"
>
<Search className="size-4 shrink-0 text-foreground/45 group-hover:text-foreground/70" strokeWidth={1.6} />
<span className="flex-1 truncate">快速搜索</span>