From a4e90fc3bdc79e3133550ab0825d85154fec1a3a Mon Sep 17 00:00:00 2001 From: Kiet Ho Date: Sun, 29 Mar 2026 23:19:05 -0700 Subject: [PATCH 1/2] fix(desktop): match dropdown trigger color to run button state The combo dropdown chevron on the WorkspaceRunButton stayed a static color while the main button changed between idle, running (emerald), and unconfigured (muted) states. Apply the same conditional color classes to the dropdown trigger so both halves look consistent. --- .../components/WorkspaceRunButton/WorkspaceRunButton.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/components/TopBar/components/WorkspaceRunButton/WorkspaceRunButton.tsx b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/components/TopBar/components/WorkspaceRunButton/WorkspaceRunButton.tsx index e82367a9885..bc498b3651c 100644 --- a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/components/TopBar/components/WorkspaceRunButton/WorkspaceRunButton.tsx +++ b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/components/TopBar/components/WorkspaceRunButton/WorkspaceRunButton.tsx @@ -142,6 +142,10 @@ export const WorkspaceRunButton = memo(function WorkspaceRunButton({ "focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring", "active:scale-[0.98]", isPending && "opacity-50 pointer-events-none", + isRunning + ? "text-emerald-300 border-emerald-500/25 bg-emerald-500/10 hover:bg-emerald-500/20" + : !hasRunCommand && + "text-muted-foreground/80 border-border/40 bg-secondary/40", )} > From 4718564d5e53f60806fd17567e85a3554aa77bb9 Mon Sep 17 00:00:00 2001 From: Kiet Ho Date: Sun, 29 Mar 2026 23:21:22 -0700 Subject: [PATCH 2/2] Lint --- .../TopBar/components/WorkspaceRunButton/WorkspaceRunButton.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/components/TopBar/components/WorkspaceRunButton/WorkspaceRunButton.tsx b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/components/TopBar/components/WorkspaceRunButton/WorkspaceRunButton.tsx index bc498b3651c..d06844c65d1 100644 --- a/apps/desktop/src/renderer/routes/_authenticated/_dashboard/components/TopBar/components/WorkspaceRunButton/WorkspaceRunButton.tsx +++ b/apps/desktop/src/renderer/routes/_authenticated/_dashboard/components/TopBar/components/WorkspaceRunButton/WorkspaceRunButton.tsx @@ -145,7 +145,7 @@ export const WorkspaceRunButton = memo(function WorkspaceRunButton({ isRunning ? "text-emerald-300 border-emerald-500/25 bg-emerald-500/10 hover:bg-emerald-500/20" : !hasRunCommand && - "text-muted-foreground/80 border-border/40 bg-secondary/40", + "text-muted-foreground/80 border-border/40 bg-secondary/40", )} >