Visual Studio Fonts and Colors

For quite some time I've been working with a modified version of Scott Hanselman's "Dark Theme" for Visual Studio. The reason for my modifications is that the HTML and CSS settings were very difficult to read. Here is the complete list of changes I've made in Tools > Options > Environment > Fonts and Colors:

  • Plain Text font to Monaco, 9pt font size, white foreground, and the background to {42, 42, 42}
  • Comment: {0, 217, 108}
  • Compiler Error: Red
  • CSS Comment: {0, 217, 108}
  • CSS Keyword: Cyan
  • CSS Property Value: Cyan
  • CSS Selector: White
  • CSS String Value: {238, 125, 125}
  • HTML Attribute Name: {255, 120, 120}
  • HTML Attribute Value: {108, 182, 255}
  • HTML Comment: {0, 217, 108}
  • HTML Element Name: Red
  • HTML Entity: {128, 128, 255}
  • HTML Operator: Silver
  • HTML Server-Side Script: Silver for the foreground and {128, 64, 0} for the background
  • HTML Tag Delimiter: Silver
  • Identifier: {253, 223, 57}
  • Keyword: {244, 122, 0}
  • String: {238, 125, 125}
  • String (C# @ Verbatim): {238, 125, 125}
  • User Types: {179, 179, 0}
  • User Types (Delegates): {179, 179, 0}
  • User Types (Enums): {179, 179, 0}
  • User Types (Interfaces): {179, 179, 0}
  • User Types (Value Types): {179, 179, 0}
  • Visual Basic Read Only Marker: Black
  • Warning: {0, 166, 0}

The color values above in {brackets} are the custom {R, G, B} values. All color values are for the foreground unless otherwise noted.

Here is an example of what the source code file would look like (from a sample VB project):

VBFileSourceCode

Here is an example of what the HTML file would look like (from a sample ASP.NET project):

HTMLSourceCode

You can download the complete theme from: http://jasongaylord.com/downloads/DarkSettings-August2008.zip.

Published Thursday, August 07, 2008 2:49 PM by Jason N. Gaylord

Comments

# re: Visual Studio Fonts and Colors

Friday, August 08, 2008 12:06 PM by jstengel

I like it.  I had a custom dark theme that I lost and this give me my excuse to go back to "the dark side".  I prefer the Consolas font, but other than that, this is pretty much how I like it.

# re: Visual Studio Fonts and Colors

Wednesday, August 13, 2008 9:08 PM by William

Forgive me for asking, but i'm new to this stuff. Is this theme for VS2005? When using the import settings wisard, i get a error message saying something about beeing created with an unsupported version?

# re: Visual Studio Fonts and Colors

Friday, August 15, 2008 9:13 AM by Jason N. Gaylord

Nope. This theme was built in VS2008. I've provided my settings above, however, so you can get it to work in VS2003 and VS2005.

Leave a Comment

(required) 
(required) 
(optional)
(required)