Go Down

Topic: Dark Theme confusion (Read 30 times) previous topic - next topic

dougp

So I'd like to try the dark theme - greyed out comments are just weird.

I load Jeff Thompsons' darktheme from github and it's in the 'Arduino/lib/theme/syntax' folder. The description states "Revised for Arduino version 1.6.6+, not tested with earlier versions." at the top. I've got v 1.8.2. Further down it is stated "The newest version of the Arduino IDE makes creating custom themes trickier: you now need to edit the  theme.txt  file, an XML file inside the  syntax  folder, and the button files. "

From a cursory scan of the default file and the dark file they appear structurally the same but the color settings are, of course, different.

Is there a setting somewhere to select the theme file?

Do I need to rename dark to default?

Basically, what are the mechanics of changing the theme?




pert

Is there a setting somewhere to select the theme file?
Not that I know of, you just need to replace the current theme files with the new ones. I don't think there's any easy way to switch between multiple installed themes.

Do I need to rename dark to default?
No.

Basically, what are the mechanics of changing the theme?


Here are a collection of some other themes that can be installed the same way:
https://github.com/per1234/ino-themes

Here's some documentation and a test sketch if you want to modify the Arduino IDE theme:
https://github.com/per1234/ThemeTest

Go Up