How to change Visual Studio 2012 Razor colors

seanjacob picture seanjacob · Mar 18, 2013 · Viewed 10.1k times · Source

I would like to change the yellow background color of the Razor tags in VS12.

Answer

seanjacob picture seanjacob · Mar 18, 2013

Optional: Install the color theme editor: http://visualstudiogallery.msdn.microsoft.com/366ad100-0003-4c9a-81a8-337d4e7ace05

In the theme editor or Tools > Options > Environment > Fonts and Colors

Search for: 'HTML Server-Side Script' to edit the foreground & background of @ and other tags.

Search for: 'Razor Code' to edit the background of the Razor code.