Coherence: one component per idea, one spelling per word, one truth per claim

Claude-Session: https://claude.ai/code/session_01Ms2FbjQy31TVf3CEvQhGM8
This commit is contained in:
Gabriel Brown
2026-08-25 02:21:45 -04:00
parent 06c53d6c21
commit bd2fd12de2
87 changed files with 660 additions and 766 deletions
@@ -7,7 +7,7 @@
// whole family with it rather than leaving twelve tokens pointing at the old
// one.
//
// One eyedropper process and one colour wheel are shared by all four wells --
// One eyedropper process and one color wheel are shared by all four wells --
// the target is remembered rather than duplicated four times.
import QtQuick
@@ -46,7 +46,7 @@ Grid {
function apply(which: string, hex: string): void {
const value = String(hex).trim().toLowerCase();
if (!/^#[0-9a-f]{6}$/.test(value)) {
root.lastError = "That is not a colour this theme can use.";
root.lastError = "That is not a color this theme can use.";
return;
}
root.lastError = "";
@@ -97,7 +97,7 @@ Grid {
ColorDialog {
id: wheel
title: "Choose a colour"
title: "Choose a color"
// Qt hands back a color value, not a string; toString() on it is
// "#aarrggbb" when there is alpha, so the channels are read directly.
onAccepted: root.apply(root.target, Qt.rgba(
@@ -113,7 +113,7 @@ Grid {
}
onExited: (exitCode, exitStatus) => {
if (exitCode !== 0)
root.lastError = "Screen colour picking was cancelled or unavailable.";
root.lastError = "Screen color picking was cancelled or unavailable.";
}
}
}