Author
Topic: Coding Color (Read 8868 times)

I use Solarized Dark (in bright rooms I might switch to Solarized Light) - themes I created based on the official Solarized website reference color values. But mostly I use my own custom Pascal Dark theme (which I've been using for over a decade). My font is always "Raize" (a bitmapped font), but if I need to work with Unicode glyphs (hardly ever in code), then I'll temporarily switch to "DejaVu Sans Mono"

I can't code with a white background - it is just way to bright to stare at all day long.

:-) The only thought I have it was to choose something with even contrast across all the source code, and something I can stare at for 14 hours a day without inducing headaches.

Attached is another screenshot of the Pascal Dark, but this time showing other code elements like IFDEF's, numbers, strings etc. The IFDEF's might be a bit on the bright side, but luckily my code normally contains very little IFDEF's. The screenshot was from MSEide. See "pascal_dark_2.png".

Under Lazarus IDE I also have the current editor line in a different color (the background color of the Solarized Dark theme), and inactive code (eg: none active IFDEF's) is a dimmed color of the original. Okay, a picture speaks a thousand works, see "pascal_dark_3.png".

I also adapted the colors in the outline markup for Solarized Dark. So they do not look the same as in trunk or 1.8 RC1.In the furture there will be an extension to the editor options to make the colors customizable by the user.

I don't like a white coding background but I experienced problems with PDF-Readers when I use a black or green background color. Maybe it's a rendering problem of LIBRE OFFICE... Anyway to be sure that this cannot happen I decided to do a WhiteBackgroundCodingColor: