Comment Not a coder but... (Score 1) 763
...when I was a boy scout I learned that red light is the least damaging to your night vision. Perhaps a red text on black background scheme may work well for you (reducing the intensity of the light coming from your screen and limiting it to the least damaging colors), YMMV. Also low ambient light like the torch style (upward facing) lamps that illuminate a room more from diffusion should work good. I use a little program for my MacBook Pro called Nocturne that helps with the color changing and is quite handy and can be personalized quite easily.