commit 6f56329c2eddaa55cd05941c2ca95a1e551eee63
parent 82e2737cb7ccb05840755961b5e181a828ce9832
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Sun, 1 Nov 2026 15:59:57 -0500
umtool Markers editor: a subsection row's colour box says "parent's" when blank (it wears its section's colour, not amber), and its title says a colour there colours the flag only
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/umtool/components/projects/MarkersEditor.tsx b/umtool/components/projects/MarkersEditor.tsx
@@ -189,8 +189,8 @@ export default function MarkersEditor({
data-testid={`marker-color-${i}`}
list="marker-palette"
value={r.color}
- placeholder="amber"
- title="a palette key (amber, accent, fg, muted, dim) or #hex"
+ placeholder={r.level === 2 ? "parent's" : "amber"}
+ title={r.level === 2 ? "blank: its section's colour; a palette key (amber, accent, fg, muted, dim) or #hex colours its flag only (the rail keeps its section's)" : "a palette key (amber, accent, fg, muted, dim) or #hex"}
onChange={(e) => put(i, { color: e.target.value })}
className={`${input} w-20 font-mono`}
/>