From bc75a37bfba157e4bdc880790aac22bedbc01027 Mon Sep 17 00:00:00 2001 From: LHaghfoss Date: Mon, 23 Nov 2026 19:43:26 +0100 Subject: [PATCH] fix(desktop): make the header's Preview button a pill --- apps/desktop/src/ui/ThreadPreview.tsx | 2 +- docs/design.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/desktop/src/ui/ThreadPreview.tsx b/apps/desktop/src/ui/ThreadPreview.tsx index 147320469..7af51a9f6 100644 --- a/apps/desktop/src/ui/ThreadPreview.tsx +++ b/apps/desktop/src/ui/ThreadPreview.tsx @@ -23,7 +23,7 @@ export function ThreadPreview({ threadId }: { threadId: string }) { const [open, setOpen] = useState(false); return ( - + Preview {open && } diff --git a/docs/design.md b/docs/design.md index 75421dd95..021576d0c 100644 --- a/docs/design.md +++ b/docs/design.md @@ -660,7 +660,7 @@ rounded rectangle.** Pills (`rounded-full`): labelled buttons (`Pill`, never a circle), segmented controls and their items, status chips, toolbar clusters, switches, selects, the composer's footer chips, and the chat header's machine pill and side-panel toggle (a quiet pill that names the tab it opens, the -panel icon after the name). A labelled button with an icon always has a fill; +panel icon before the name). A labelled button with an icon always has a fill; `quiet` (no fill at rest) is for text-only actions. Settings' `Action` is `Pill`, so every labelled button in the app shares one shape. Rounded rectangles from the scale: text fields (`rounded-lg`), icon