Visual Studio Theme Colors Viewer

Tool window that shows the current Visual Studio theme colors to help you with identifying the relevant resource key to use in your Visual Studio plug-in to support themes. You can also filter the colors by RGB or by using the color picker to easily identify the color key you need.

This plug-in was born from the need to support theme colors for a Visual Studio plug-in we developed for a customer.

To enable themes in your code you need to add reference to Shell assembly in your xaml:

xmlns:vsfx="clr-namespace:Microsoft.VisualStudio.Shell;assembly=Microsoft.VisualStudio.Shell.12.0"

After that you can use the colors in your xaml like this:

<Setter Property="Background" Value="{DynamicResource {x:Static vsfx:VsBrushes.MenuKey}}"/>

 Read more about it in our blog: http://blog.delegen.com/2013/08/supporting-themes-in-visual-studio-plug.html.

Last edited Aug 12, 2013 at 5:04 PM by dududelegen, version 8