From 391ddcfeb833d5ff06a1dfe35261648332f2bcda Mon Sep 17 00:00:00 2001 From: Adam Malczewski Date: Thu, 15 Oct 2026 09:47:12 +0900 Subject: feat(ui): Artix-style inset wells (chat thinking/tool blocks + sidebar views) and darkstrap navbar header in theme colours --- src/features/chat/ui.test.ts | 3 +-- src/features/chat/ui/LazyCollapse.svelte | 4 +++- src/features/chat/ui/ToolCard.svelte | 4 +++- 3 files changed, 7 insertions(+), 4 deletions(-) (limited to 'src/features/chat') diff --git a/src/features/chat/ui.test.ts b/src/features/chat/ui.test.ts index 6a00e49..91585e2 100644 --- a/src/features/chat/ui.test.ts +++ b/src/features/chat/ui.test.ts @@ -285,8 +285,7 @@ describe("ChatView", () => { expect(collapse).not.toHaveClass("collapse-arrow"); // no indicator icon expect(collapse).not.toHaveClass("collapse-plus"); // Visible bubble, like tool cards. - expect(collapse).toHaveClass("bg-base-200"); - expect(collapse).toHaveClass("rounded-box"); + expect(collapse).toHaveClass("inset-well"); // shared recessed panel (app.css) expect(screen.getByRole("checkbox", { name: "Toggle thoughts" })).toBeInTheDocument(); }); diff --git a/src/features/chat/ui/LazyCollapse.svelte b/src/features/chat/ui/LazyCollapse.svelte index 912adb4..3ce34dd 100644 --- a/src/features/chat/ui/LazyCollapse.svelte +++ b/src/features/chat/ui/LazyCollapse.svelte @@ -31,7 +31,9 @@ }); -
+ +
{@render title()} diff --git a/src/features/chat/ui/ToolCard.svelte b/src/features/chat/ui/ToolCard.svelte index 0a72bb5..10f8528 100644 --- a/src/features/chat/ui/ToolCard.svelte +++ b/src/features/chat/ui/ToolCard.svelte @@ -231,7 +231,9 @@ .output-controls { padding-block: 0.5rem; color: var(--color-base-content); - background: var(--color-base-200); + /* Same fill as the LazyCollapse inset well this sits in (opaque, so + scrolled output never shows through the sticky bar). */ + background: var(--inset-well-bg, var(--color-base-200)); } .sticky-controls { position: sticky; -- cgit v1.2.3