From 937b73d8db69fef2bb6d257759ef2efa25630334 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonard=20U=C5=9Bcinowicz?= Date: Sun, 22 Nov 2026 21:31:12 +0100 Subject: [PATCH 1/4] Das war mega dumm --- CLAUDE.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 28e87544..48cf1bf8 100755 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -72,10 +72,6 @@ ## Git rules -**Pull requests that still need work are opened as drafts** – work in progress, CI not yet -green, or open questions. Mark a PR *ready for review* only when the work is done, the -documentation is in it and its CI is green; a draft cannot be merged by accident. - Always add, commit, and **push** after each successful and test-passing functionality implementation. If a push is rejected because the remote moved, tell the user immediately and ask them to run `! git pull --no-rebase && git push` From 6684b83617991dbde3c17b844211310e03bc824d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonard=20U=C5=9Bcinowicz?= Date: Sun, 22 Nov 2026 21:31:18 +0100 Subject: [PATCH 2/4] booger aids From 9a4a42e8b4bdab3bcd423265ece2363161110e1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonard=20U=C5=9Bcinowicz?= Date: Sun, 22 Nov 2026 21:31:23 +0100 Subject: [PATCH 3/4] booger aids From bb757e2bbc49552e3f8fca979e88c5595c3e85ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonard=20U=C5=9Bcinowicz?= Date: Sun, 22 Nov 2026 21:32:17 +0100 Subject: [PATCH 4/4] Fix CI: no hex colours in the comment of the shared selection rule The no-literal-colours guard of shared/css/ also reads comments; the comment added in #436 quoted two hex colours, so assets::tests::shared_components_use_no_literal_colours failed in every test job (Linux PostgreSQL 16 and 18, Windows) since 8b7d199. Co-Authored-By: Claude Opus 5.5 --- CHANGELOG.md | 6 ++++++ shared/css/components.css | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8bb48d14..245b86bf 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,12 @@ see the notices in the README. ## [Unreleased] +### Fixed + +- CI on `main` is green again: the comment of the shared text-selection rule + (#436) quoted two hex colours, which the no-literal-colours guard of + `shared/css/` counts as colours in the stylesheet. + ## [0.2.12] - 2026-11-22 ### Security diff --git a/shared/css/components.css b/shared/css/components.css index 8337ef83..e8d50f42 100755 --- a/shared/css/components.css +++ b/shared/css/components.css @@ -5,7 +5,7 @@ /* Selected text, in both apps and every skin: the primary colour with its * text colour, as the OS shows a selection. --selected (the background of a * selected row) was used before, but in the dark skins it is barely lighter - * than --input-bg (CachyOS: #003b33 on #000e0e), so text selected in a field + * than --input-bg (CachyOS: about 1.6 : 1), so text selected in a field * – Ctrl+A in the server address – looked unselected. The contrast test * (src/domain/mod.rs, skins_meet_contrast) checks --on-primary on --primary * in every skin. */