commit 056dc06fb5b876d24d6cdf75a28a6f65f103457a
parent 4691ab349aa781f2aa0bf292e081b7206f51d33e
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Wed, 14 Oct 2026 16:03:27 -0400
umtool: the cut page's last Signal outlines — the plan compare is an outline, a copy button hovers in ink, a moved count is Meter
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/umtool/components/CopyButton.tsx b/umtool/components/CopyButton.tsx
@@ -60,7 +60,7 @@ export default function CopyButton({ text, url, label = "copy", title, className
data-state={state}
className={
className ??
- "rounded border border-[var(--color-line)] px-2 py-0.5 text-[11px] text-[var(--color-dim)] hover:border-[var(--color-sel)] hover:text-[var(--color-sel)]"
+ "rounded border border-[var(--color-line)] px-2 py-0.5 text-[11px] text-[var(--color-dim)] hover:border-muted hover:text-[var(--color-text)]"
}
>
{state === "done" ? "copied" : state === "busy" ? "…" : label}
diff --git a/umtool/components/PlanDiffPanel.tsx b/umtool/components/PlanDiffPanel.tsx
@@ -2,6 +2,7 @@
import Link from "next/link";
import { useState } from "react";
+import { buttonVariants } from "@/components/ui/button";
import type { PlanDelta, PlanDiff } from "@/lib/plandiff";
// Which notes actually differ between two arrangements.
@@ -17,7 +18,7 @@ type Result = PlanDiff & { summary: string; deltaCount: number; truncated: numbe
const KIND_TONE: Record<PlanDelta["kind"], string> = {
swapped: "text-[var(--color-dirty)]",
- moved: "text-[var(--color-sel)]",
+ moved: "text-[var(--color-text)]",
added: "text-[var(--color-good)]",
removed: "text-[var(--color-bad)]",
same: "text-[var(--color-dim)]",
@@ -79,7 +80,7 @@ export default function PlanDiffPanel({
onClick={() => void compare()}
disabled={busy || !a || !b || a === b}
data-plandiff
- className="rounded border border-[var(--color-sel)] px-2 py-0.5 text-[11px] text-[var(--color-sel)] disabled:opacity-40"
+ className={buttonVariants({ size: "sm" })}
>
{busy ? "aligning…" : "compare"}
</button>
@@ -122,7 +123,7 @@ export default function PlanDiffPanel({
<td className="num border-b border-[var(--color-line)] px-2 py-1 text-right text-[var(--color-dirty)]" data-swapped={v.swapped}>
{v.swapped}
</td>
- <td className="num border-b border-[var(--color-line)] px-2 py-1 text-right text-[var(--color-sel)]" data-moved={v.moved}>
+ <td className="num border-b border-[var(--color-line)] px-2 py-1 text-right text-[var(--color-meter)]" data-moved={v.moved}>
{v.moved}
</td>
<td className="num border-b border-[var(--color-line)] px-2 py-1 text-right text-[var(--color-good)]" data-added={v.added}>