File tree Expand file tree Collapse file tree 2 files changed +14
-3
lines changed
Expand file tree Collapse file tree 2 files changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -211,6 +211,14 @@ public void setupGUI() {
211211 theme .load (modeTheme );
212212 }
213213
214+ // Against my better judgement, adding the ability to override themes
215+ // https://github.com/processing/processing/issues/5445
216+ File sketchbookTheme =
217+ new File (Base .getSketchbookFolder (), "theme.txt" );
218+ if (sketchbookTheme .exists ()) {
219+ theme .load (sketchbookTheme );
220+ }
221+
214222 // other things that have to be set explicitly for the defaults
215223 theme .setColor ("run.window.bgcolor" , SystemColor .control );
216224
Original file line number Diff line number Diff line change 1- 0265 (3.3.7 or 3.4)
1+ 0265 (3.4)
2+ X make it possible to override theme.txt with a file in the sketchbook folder
3+ X https://github.com/processing/processing/issues/5445
4+ _ https://github.com/processing/processing/wiki/Dark-Theme-for-PDE
25
36
47contrib
@@ -14,8 +17,8 @@ X https://github.com/processing/processing/issues/3912
1417X submit the form (as if 'get started' clicked) when closing the window
1518X whether hitting ESC or the close box on the window
1619X https://github.com/processing/processing/issues/3911
17- _ Welcome dialog rewritten in Swing
18- _ https://github.com/processing/processing/pull/5210
20+ o Welcome dialog rewritten in Swing
21+ X https://github.com/processing/processing/pull/5210
1922_ Welcome screen doesn't size properly for HiDPI screens
2023_ https://github.com/processing/processing/issues/4896
2124
You can’t perform that action at this time.
0 commit comments