# Could syntax highlighting be improved?

I noticed the syntax highlighting on CR was different than that on SO:

## Stack Overflow

Syntax highlighting isn't perfect - the blue and the red could be a little brighter, but overall it's fairly representative of what we have in our IDE's and it's "good enough":

(oops just noticed I forgot the on keyword in my inner join stub...)

## Code Review

On CR however, everything we're used to see blue shows up in some kind of muddy brown that's reasonably hard to tell from the comment-gray, or even the string-red:

## Actual

In VS2012 Express, without any customization, code is highlighted like this:

In SSMS2012 Express, without any customization, TSQL is highlighted like this:

I think I made my point: I don't mind gray comments (although I don't see a reason why they shouldn't be showing up in green), but blue should be blue, and red could be a little bit brighter (SSMS2012 is a little bit intense, but somewhere between that and VS2012 would be perfect).

## Update

Inspecting the CSS with FireBug is quite interesting - it seems the color for the "kwd" class is intended to be #00008B (blue), but that gets overwritten by #8A4A0B (mud-brown), so fixing the colors is - as I thought - pretty easy; just by disabling the overwriting CSS rules and using #008B00 for comments, I get it to look like this:

So the solution is essentially to remove the CSS rules that were added on top of the correct-looking ones. Come on guys, unless I missed something, effort is next to none here!

• Or maybe I need better glasses? – Mathieu Guindon Nov 2 '13 at 3:38

pre .com {color:black; font-style:italic;}