Reputation: 2875
I am using the Dark theme
of Visual studio
and there is one particular color which in my opinion is too weak.
I have tried to change it but couldn't really succeed.
When you click on an object in the designer, the XAML editor
will try to mark the code by changing the objects background:
Now if you pay attention, then the background of <ComboBox... >
is changed, but the difference is not that much. And I want to change that.
In the next sample the same code is shown with another theme:
In the sample above it is much more clear. And I want to make the same for the Dark theme.
Does anybody know how to do that ?
I have tried Tools >> Options >> Environment >> Fonts and Colors:
There are so many possibilities, and I have clicked on all of them, but couldn't really find the particular color I wanted.
Upvotes: 3
Views: 1002
Reputation: 10339
In Tools >> Options >> Environment >> Fonts and Colors
you need to select TextEditor
in the Show settings for:
combo, and the option under Display items:
responsible for that color is called Inactive Selected Text
(it's the 3rd option from the top in my VS). You can then use the Item background:
color picker to select preferred color. Note though that this will change the background color of inactive selected text in all text editors, not just in the XAML editor. Here's a screenshot:
Upvotes: 4