So, long story short, I am trying to make a decent theme that would match my workmood. I am doing this through "Microsoft Visual Studio Color Theme Designer" in both ways (through GUI menu && by adjusting the .vstheme markdown code itself).
The problem is that whenever I select a string, or any code block, code selection occurs as if it were "under the code" rather than "above the code layer". Below you can see a couple of examples of how it should be and what happens.

I'd like to point out! I made sure that in the theme code, the 'background' parameter of each object is set to "00000000", which should leave the objects with only Foreground color.

When I select any block of code, I expect to see the selection above all the layers.
Like that:

P.S.
Also, just noticed that in the filetypes '.vstheme', '.json' everything works great, but somewhy in '.cs' filetype everything breaks down:

link for a theme download & debug link for a github to lurk for the code
Haha! I've solved it! I did a research on how does it work on all other well-known themes, so I found few GitHub .vstheme projects and compared the code.
All working themes have their object's background color set to "CT_INVALID" type.
Solution:
Go to your .vstheme project and press 'View Code (F7)'

Go to desired objects, change background's type of "CT_RAW" type to "CT_INVALID"

Result:

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With