Skip to content

Commit 360487d

Browse files
t3dotggclaude
andcommitted
refactor(web): give the parked pill its own ghost-outline Button variant
Co-Authored-By: Claude Fable 5.1 <[email protected]>
1 parent 8b6116c commit 360487d

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

‎apps/web/src/components/chat/ChatHeader.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -418,11 +418,11 @@ export const ChatHeader = memo(function ChatHeader({
418418
render={
419419
<Button
420420
size="pill"
421-
variant="ghost-muted"
421+
variant="ghost-outline"
422422
data-thread-parked={parkedState.kind}
423423
disabled={parkedState.releasing}
424424
onClick={parkedState.onRelease}
425-
className="ml-2 border-border/80 [:hover,[data-pressed]]:border-foreground/40"
425+
className="ml-2"
426426
/>
427427
}
428428
>

‎apps/web/src/components/ui/button.tsx‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ const buttonVariants = cva(
5151
"[--control-icon-color:var(--contrast-muted-foreground)] border-transparent text-foreground data-pressed:bg-accent [:hover,[data-pressed]]:bg-accent",
5252
"ghost-muted":
5353
"[--control-icon-color:var(--contrast-muted-foreground)] border-transparent text-muted-foreground data-pressed:bg-accent [:hover,[data-pressed]]:bg-accent [:hover,[data-pressed]]:text-foreground",
54+
"ghost-outline":
55+
"[--control-icon-color:var(--contrast-muted-foreground)] border-border/80 text-muted-foreground [:hover,[data-pressed]]:border-foreground/40 [:hover,[data-pressed]]:text-foreground",
5456
glass:
5557
"surface-glass [--control-icon-color:var(--contrast-muted-foreground)] border-border/60 text-foreground shadow-sm [:hover,[data-pressed]]:border-border",
5658
link: "border-transparent underline-offset-4 [:hover,[data-pressed]]:underline",

0 commit comments

Comments
 (0)