Skip to content

fix(colors): make selection-bar text readable on every accent#119

Merged
soleynn merged 1 commit into
mainfrom
fix/selection-contrast
Jun 20, 2026
Merged

fix(colors): make selection-bar text readable on every accent#119
soleynn merged 1 commit into
mainfrom
fix/selection-contrast

Conversation

@soleynn

@soleynn soleynn commented Jun 20, 2026

Copy link
Copy Markdown
Collaborator

the [Colors:Selection] link was the same color as the selection bar so it rendered invisible, and visited/status colors were low-contrast, across all 56 flavour×accent combos. now all selection foregrounds use one readable token: crust on the accents, white on Latte's red/mauve/blue where crust is too low-contrast. worst-case contrast goes from ~1.0 to 4.77 (WCAG AA).

Closes #115

Reference images I made in html btw, incase anyone wants to see before and after. Not all colors were bad contrast but a very large majority were:

Screenshot_20260620_025103 Screenshot_20260620_025113 Screenshot_20260620_025122 Screenshot_20260620_025131

[Colors:Selection] put accent-family colors on the accent background, so
the link (= the accent) rendered invisible and visited/status colors were
unreadable on all 56 flavour x accent combos. point all selection
foregrounds at one readable token (--selFg): crust on the accents, white
on Latte's red/mauve/blue where crust is too low-contrast. worst-case
contrast is now 4.77 (WCAG AA) across all combos.

Closes #115
@soleynn soleynn merged commit 3fd2dec into main Jun 20, 2026
2 checks passed
@soleynn soleynn deleted the fix/selection-contrast branch June 20, 2026 06:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Links and visited links not visible in Mocha Blue

1 participant