I have written an extension for Visual Studio. Unfortunately when a user has a dark theme the colour is a jarring white and light blue.
How do I set the colour of a ListView in an extension to be relative the the theme?
Related
I'm developing a Visual Studio extension that extended menus, and I've added some .xaml vector icon to the menu commands.
But Visual Studio has several theme, the prime example are Light and Dark. I can't make an icon that fit both themes at same time.
I found some extensions that can adapt the icon color to different themes. Such as Resharper.
So how can I do that?
I got it!
Visual Studio will auto reverse the color if it's gray.
I just need to make a design that adapt the light theme.
During the day I find the bright standard theme of Visual Studio pleasant, while in the evening I often switch to the dark theme when the ambient light decreases.
In Visual Studio Code there are plugins to switch between themes time-controlled.
Is there anything equivalent in Visual Studio 2019?
There is an extension for Visual Studio 2019 called Auto Theme Switcher for Win10 Dark Mode (can be found in the extensions menu or #microsoft here).
Then you can configure your light and dark theme in the options.
Note: I'm not the author of this extension, just a user that was in the same situation and found that extension.
Set the color theme for the Visual Studio IDE
The default color theme for Visual Studio's user interface is called Blue. Let's change it to Dark.
On the menu bar, which is the row of menus such as File and Edit,
choose Tools > Options.
On the Environment > General options page, change the Color theme
selection to Dark, and then choose OK.
The color theme for the entire Visual Studio development environment (IDE) changes to Dark.
I have loaded the extension Color Theme Editor for Visual Studio 2017 and want to change the color of the blinking text caret. Where can I find this setting or what is this called in the color theme editor?
Does Visual Studio 2013 have a built-in way to set an overall theme with dark text on a light background?
It is the very first thing shown by selecting the Tools, Options menu item. Select the Light theme and you get dark text on a light background.
I recently changed the theme of Windows 7 to High Contrast Black and I have some problems with tooltips in Visual Studio, if I click on classes or variables I have a tooltip with foreground black and background black, so I can't read.
For information I use Productivity Power Tools and Resharper and Dev Express.
I know that in Environment>Fonts and Colors I can edit properties but I don't know which to choose.