What makes a really good color theme for your code? I don’t even know. I’m blindly following other people’s examples and trying to find something that works for me. Sometimes I’ll stumble across awesome text editors that have great default themes, and sometimes I’ll bump into threads on forums that have a bunch of screenshots.
I tried to write out what I’d like in list form, and this is what I came up with:
- I’d like a dark theme, as I do a lot of late-night coding. White backdrops just hurt the eyes with brightness!
- I know that a flat-black backdrop makes for some quick eyestrain.
- I don’t like it when a particular element really grabs my attention; if boolean values are bright orange, I get angry!
- I personally like earth-tones; browns and greens.
- I also like the old flourescent-green monitors of yester-year and also The Matrix.
- I want the main body of text – the things I’ll be looking at the most – to be easily readable.
After searching for a while I decided I’d build my own theme. I had seemed to find those elements separately in other themes, but never together in one package.
Here’s what I came up with:
This is actually my third attempt at making a theme and I think it’s the best one yet… But it’s always evolving. I’d be interested to hear what other people look for in a theme (and any comments on this one in particular)! Maybe someday I’ll come across something I can consider perfect.
I used to have a thing for making my comments bright yellow, but I’m veering away from that for the first time as a test. :)
Download here! If you have FlashDevelop installed, just double click the file and re-start the application. I’ve only coded the AS3 language extension, so if you use Haxe or something you won’t get this effect.