Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve readability of virtual text with 'noctis' theme #10910

Merged
merged 1 commit into from
Jun 11, 2024

Conversation

emilyyyylime
Copy link
Contributor

@emilyyyylime emilyyyylime commented Jun 9, 2024

This affects both goto_word and LSP inlay hints.
Before:
https://webaim.org/resources/contrastchecker/?fcolor=073A40&bcolor=00262A
After:
https://webaim.org/resources/contrastchecker/?fcolor=0D6772&bcolor=00262A

I just chose a similar colour from the pallet defined by noctis; Notably, the new colours still don't pass the accessibility contrast threshold for WCAG 2.0 level AA. This might be something to consider, but perhaps is acceptable as these elements are meant to not stick out.

@the-mikedavis
Copy link
Member

\cc @0rphee what do you think?

@the-mikedavis the-mikedavis added the A-theme Area: Theme and appearence related label Jun 10, 2024
@0rphee
Copy link
Contributor

0rphee commented Jun 11, 2024

It seems fine, thanks @emilyyyylime!

@the-mikedavis the-mikedavis merged commit a64dbf8 into helix-editor:master Jun 11, 2024
6 checks passed
mxxntype pushed a commit to mxxntype/helix that referenced this pull request Jun 12, 2024
smortime pushed a commit to smortime/helix that referenced this pull request Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-theme Area: Theme and appearence related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants