We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I want a dark theme for Processing and there are various discussions and schemes. I've tried some, and this is what I'm doing.
Reverse the default colours in theme.txt
editor.fgcolor = #FFFFFF
editor.bgcolor = #000010
Tweak the 16 editor colour items in preferences.txt. (Preferences.txt gets written out by processing, without comments, so I'm keeping my own master file and copying it into place before running Processing.)
Here are my test settings, everything that I've identified as being able to adjust the colour is set to 008000 (dark green). All the items that apparently change nothing are set to FFFF00 (yellow). (There may be program elements that I haven't encountered today.)
editor.token.comment1.style=#008000,plain # comments
editor.token.comment2.style=#008000,plain # comments
editor.token.function1.style=#008000,plain # print, println, frameRate, background
editor.token.function2.style=#008000,plain # size, format
editor.token.function3.style=#008000,plain # for, if
editor.token.function4.style=#008000,bold # draw, setup
editor.token.invalid.style=#ffff00,bold # NOTHING?
editor.token.keyword1.style=#008000,plain # void, true, false.
editor.token.keyword2.style=#008000,plain # (String.)length
editor.token.keyword3.style=#008000,plain # else
editor.token.keyword4.style=#008000,plain # frameCount
editor.token.keyword5.style=#008000,plain # int, String, boolean, float
editor.token.keyword6.style=#ffff00,plain # NOTHING?
editor.token.label.style=#008000,bold # NOTHING?
editor.token.literal1.style=#008000,plain # "Quoted Strings"
editor.token.literal2.style=#ffff00,plain # NOTHING?
Surprises/Questions: - Colour of 'if' and 'else' are controlled by different items. - All these use the default colour from theme.txt - variable names - operators - brackets - numeric contstants.
Looking at the example CircleCollision with above test scheme, there is too much white remaining. Would like to change the colour of those 4 types of item.
Answers
Interesting, @RichardDL. Thank you for sharing these tests.
The settings that I know about are taken from these two files:
I don't think you are missing any. For reference of people in this thread, here are the core system defaults from defaults.txt:
https://github.com/PrismJS/prism-themes