I'm in my mid-60s and find those "pastel on pastel" schemes that are popular these days hard to read. I even resorted to using an external editor for my Arduino programming.
Today I did a number of web searches on how people deal with this issue and found out a few things that allowed me to changes fonts, colors and so on. I thought this would be a good place to list my notes as they might be helpful to others. My system is a Windows 7 PC.
The default fonts and colors are hard to read and user allowed options are minimal. If you go to preferences, it states that you can make more changes by editing “preferences.txt” and gives a link to its location, which in Windows 7 is at:
C:\Users\nickrk\AppData\Roaming\Arduino15
Where "nickrk" is my user name, of course.
However, there’s a lot of stuff that’s not in that file either. It turns out there’s a file called “themes.txt” under your Arduino program directory, in W7 it’s here:
C:\Program Files (x86)\Arduino\lib\theme
Editing it is tricky due to protection. I make a backup copy and save my edited file to the desktop, then drag it in to the above directory and give an OK as Administrator to over-write the original. Note that in one case after I did an edit, the IDE would not start up, so the backup is essential.
I reversed the colors of the background and text for the screen, giving me white on black. Then I searched out some color coding information and changed “comments” so they’d be more visible too. I found info on colors versus the 6-digit hex codes here:
http://www.javascripter.net/faq/rgbtohex.htm
I also wanted to change the font itself but wasn’t sure what’s available. Turns out there are some font files in:
C:\Program Files (x86)\Arduino\java\lib\fonts
They are all Lucida something or other. I opened my “preferences.txt” file and changed the editor font from “editor.font=Monospaced, plain,16” to “editor.font=LucidaSansRegular,plain,16”, which I think looks a lot better. Could I have just used a Windows system font? I don’t know
.
I found that my old cursor could barely be seen so I changed it to bold yellow on black in "theme.txt". It’s called “caret”, I changed editor.caret.color from #333300 to #ffff00.
Note that I also downloaded an Arduino “themes editor” but it didn’t pan out because it wasn’t aware of the latest file locations in W7 installations, apparently.
Regards,
Nick