Skip to content

The truly free, open-source, local-first, cross-platform CapCut replacement. Scriptable through a JSON-RPC API & MCP.

fix: the play button idles lime, not success green

Jareer19922733b52d
diff --git a/desktop/src/components/Icon.tsx b/desktop/src/components/Icon.tsx
index c8a80767..a1b299fd 100644
--- a/desktop/src/components/Icon.tsx
+++ b/desktop/src/components/Icon.tsx
@@ -436,11 +436,14 @@ export function IconButton({
size?: 7 | 9;
tone?: "default" | "danger" | "go";
}) {
+ // "go" idles in the same lime as active states, not the success green:
+ // the transport's play button is the one "go" and a green glyph beside
+ // lime-active tools read as two systems.
const idle =
tone === "danger"
? "text-danger hover:bg-hover"
: tone === "go"
- ? "text-success hover:bg-hover"
+ ? "text-tool-active hover:bg-hover"
: "text-primary hover:bg-hover";
// Active is the one lime everywhere - including the transport's play