What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 131 Stack Exchange communities.

I'm pretty sure stackoverflow already uses the same color as VS for everything except comments, which are displayed gray:

/* Test */

I think it's much better to display them in green-ish (same exact color as the default theme in Visual Studio).. Very often they contain useful information that should be easy to read, and gray on gray is not.

I recently made a prettify.css for my blog, so here it is. Everything is straight from VS except for numbers (abc = 5;) that are red instead of black.

.com { color: #008000; } /* <-- color of comments */
.str, .tag { color: #A31515; }
.kwd, .atv { color: #0000FF; }
.typ { color: #2B91AF; }
.lit, .atn { color: #FF0000; }
.pun, .pln { color: #000000; }
.dec { color: purple; }
share|improve this question

closed as too localized by GEOCHET, Ladybug Killer, perbert, alex, random Feb 2 '10 at 1:16

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

5  
The code looks pretty generic enough. I like VS colours but not everyone uses VS. –  Finglas Feb 1 '10 at 10:02
    
@Finglas: the color scheme is already VS's, except for comments, which would look better in green for the reasons specified above. –  Andreas Bonini Feb 1 '10 at 10:53
    
They may be default colours, but certainly are not standard. As a side note I do prefer green for comments however. –  Finglas Feb 1 '10 at 11:36
    
you haven't asked a question –  Matt Feb 1 '10 at 12:56
5  
@Matt, this is Meta. They don't always have to ask a question. –  Brandon Feb 1 '10 at 13:04
    
@Brandon - okay, didnt know that :) –  Matt Feb 1 '10 at 14:37

2 Answers 2

up vote 4 down vote accepted

Prettify just creates elements in the DOM that match up with a style sheet. As always, your browser will allow you to override any style definition you want in your own sheet.

share|improve this answer

I prefer gray as the comments' color.

share|improve this answer
1  
Me too; it makes it possible to squint slightly and only see the code, while the comments fade away into the darkness. –  Ether Feb 1 '10 at 19:46

Not the answer you're looking for? Browse other questions tagged .