Reputation: 8605
When I'm searching for something in VSCode
the text is not readable anymore. Is it possible to only change this highlight background?
If yes, what is the required variable?
Upvotes: 7
Views: 2855
Reputation: 686
That was just the hint I needed to sort out what I wanted. I liked the Monokai Dimmed, but the Find All in a file colours just made the text illegible. I also used the alpha (transparency) channel so ended up with:
The settings.json ended up containing:
"workbench.colorCustomizations": {
"[Monokai Dimmed]": {
"editor.findMatchHighlightBackground": "#9c9c783c",
"editor.findMatchBackground": "#fbfbbf"
}
}
Upvotes: 3
Reputation: 2708
Open your Settings in JSON format
and add the below property to the main object
"workbench.colorCustomizations": {
"selection.background": "#202020"
}
Here #202020
is a shade of black. You can use the color code of your choice.
Refer Base Colors for all the base color properties and Input-Control for all the input control specific properties.
Additional Reference: Customizing Color Theme - Docs
Upvotes: 7