Repository navigation
Conversation
Text selection used the background of selected rows, which in the dark skins is barely lighter than a text field. In the CachyOS skin, Ctrl+A in the server address of Switch server selected the text but showed nothing. A selection now takes the primary colour with its text colour (a pair the contrast test checks in every skin). The rule moves from desktop/ui/app.css and static/style.css into shared/css/components.css. Docs: CHANGELOG, shared/README.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
rudalabs
added a commit
that referenced
this pull request
Nov 22, 2026
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 <noreply@anthropic.com>
rudalabs
added a commit
that referenced
this pull request
Nov 22, 2026
) Every test job on main has failed since 8b7d199 (#436) on one test, assets::tests::shared_components_use_no_literal_colours: the comment of the shared ::selection rule in shared/css/components.css quoted two hex colours, and the guard reads comments too. The comment now gives the contrast instead. All other tests passed (1622 of 1623 on PostgreSQL 16, coverage 93.11 %). Also on this branch: your own commits (CLAUDE.md, 4 lines removed). 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Selected text is visible in every skin (desktop app and web).
In the CachyOS skin, Ctrl+A in the server address of Switch server… selected the text but showed nothing. Text selection used
--selected, the background of selected rows, which in the dark skins is barely lighter than a text field (CachyOS:#003b33on--input-bg#000e0e, about 1.6 : 1; Arch and TeamCraft Night are similar). A selection now takes--primarywith--on-primary, as the OS shows one – a pairskins_meet_contrastalready checks (≥ 4.5 : 1) in every skin.The rule moves from
desktop/ui/app.cssandstatic/style.cssintoshared/css/components.css, so both apps share one rule (the drift guards only compare classes, so their lists are unchanged).Docs: CHANGELOG (Fixed),
shared/README.md.Also on this branch (the maintainer's own commits, included on purpose): file mode 644 → 755 for 84 files, and
.claude/settings.local.json.Not checked by eye after the change – please select text in a field under the CachyOS skin once (desktop and web).
🤖 Generated with Claude Code