Add token background colors to themes#212294
Add token background colors to themes#212294mattmundell wants to merge 5 commits intomicrosoft:mainfrom
Conversation
|
|
Thank you! While this is straight-forward to implement, I have always had 2 major concerns why I didn't implement this:
|
With 1291b04 the token backgrounds go below the decoration layer, so selection etc are always visible. Here's the plain case. Cursor is at the start of line 17. The light blue is the line highlight. Tokens with backgrounds are on lines 12-14. Here's with word highlight over the background. And with the selection over the background. Note that the line highlight is removed whenever there's a selection.
Good point. Perhaps a flag on the theme could control whether backgrounds are used in rules. |
vary the intensity in some other way, e.g. invert the colors, or intensify them, or do a color shift; maybe give a new option mode how people want selection be displayed ("invert", "shift", "intensify", "blur" whatever).
When the themes had no token background colors defined before, then nothing changes. What about an option "NoBackgroundColor" - or, vice versa, "WithBackgroundColor" for those who want to intentionally enable that feature. |
|
why is this still blocked? |
Have you considered vscodium upstream? thank you for this, bless you |
|
What are we waiting for? Can someone with proper entitlements review this, so we can close this one 9 year old issue #3429 ? |
|
It's a very useful customization feature, please give it some attention |




Add support for background colors to theme rules.
Closes #3429.
I did this before noticing #3429. Maybe helps someone wanting to patch their own version.
Example