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

Highlight color of comments is hard to read #61

Closed
teddybradford opened this issue Nov 21, 2017 · 6 comments · Fixed by #253
Closed

Highlight color of comments is hard to read #61

teddybradford opened this issue Nov 21, 2017 · 6 comments · Fixed by #253

Comments

@teddybradford
Copy link

teddybradford commented Nov 21, 2017

The find highlight color, selection highlight color, and selection highlight of a find highlighted color for comments are a bit difficult to read. Maybe they should be adjusted to improve readability?

screen shot 2017-11-21 at 2 43 43 am

@dsifford
Copy link
Member

I agree. It's a tricky situation though because VSCode stacks highlight color matches. So, for example, if editor.selectionBackground has some color with 50% opacity and editor.selectionHighlightBackground has some color with 50% opacity, the end result is two layers totaling 75% opacity over top of the text layer.

Feel free to open a PR if you've got any ideas.

@jbpotonnier
Copy link

Maybe add a border can help editor.selectionHighlightBorder

@fungilation
Copy link

Just use a different background color that's contrasting to font color, while still a harmonious color of course. Like a soft shade of orange.

@dsifford
Copy link
Member

Not possible to specify highlight background color based on semantics. It's a one-shot deal. So if background color is orange then the highlight color across the board will be orange. That also still leaves the issue of multiple overlaying highlight colors as described above.

@beeb
Copy link

beeb commented Mar 11, 2020

Similar to my other issue #134 , one could change the comments color to a lighter shade with reduced opacity, e.g. #8aa1e59b which gives:

Screenshot 2020-03-11 at 08 00 55

This is just the principle, the actual color theory behind I'm not so familiar with but I think you should be able to manage to achieve the exact same result (unselected) as the original solid color, while the selected shades will be improved.

EDIT: closest I could get is #839be5a0 when on background #282a36.
Screenshot 2020-03-11 at 08 17 31

@MaddyGuthridge
Copy link

Just bumping to ask if there's going to be a fix for this? To me, it looks like selections are exactly the same colour as the highlights that VS Code does for matching words. Any guesses on which ones of these I have selected and which ones are highlighted? I'm not even sure anymore and I was the one that made the selections.
image

@luxonauta luxonauta linked a pull request Jul 17, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

6 participants