visual-studio-code icon indicating copy to clipboard operation
visual-studio-code copied to clipboard

Adjust `editor.selectionBackground` & `editor.selectionHighlightBackground`

Open wenfangdu opened this issue 3 years ago • 2 comments

Currently, these two colors are almost indistinguishable, more contrast would be better.

image

Can't tell statusBar with the cursor is selected or not:

image

wenfangdu avatar Jul 03 '21 08:07 wenfangdu

I tried playing with this for a bit just now and it's unfortunately not as simple as just adjusting those two regions.

This gets tricky, particular in "smarter" synataxes (like javascript, for example) because editor.wordHighlightBackground and editor.wordHighlightStrongBackground seem to also play a role in this and that role appears to be of a higher priority.

So I'm not sure there is an easy fix. Feel free to propose a solution if you have one.

dsifford avatar Aug 02 '21 15:08 dsifford

@dsifford Fixing https://github.com/dracula/visual-studio-code/issues/184 would partially solve this issue.

As for

This gets tricky, particularly in "smarter" syntaxes (like javascript, for example) because editor.wordHighlightBackground and editor.wordHighlightStrongBackground seem to also play a role in this and that role appears to be of a higher priority.

We can fix this later if a better solution is raised.

wenfangdu avatar Aug 22 '21 03:08 wenfangdu