How to set the Arduino IDE to dark mode
Contents
Dark Mode
This is a memorandum of how I changed the Arduino IDE to dark mode (dark background color).
Please refer to the article on changing the Spyder to dark colors in the Python integrated development environment.
Environment
The environment we tried is as follows.
OS | Windows 10 Home(64 Bit) |
Arduino IDE | 1.8.13 |
Default setting
By default, the background color is black text on a white background.

How to change
Get the dark theme
Go to jeffThompson’s Github here and download the dark theme using Code -> Download ZIP.
The file name is “DarkArduinoTheme-master.zip”.
As mentioned in README.md, Jeff Thompson no longer maintains this theme, so use it with understanding.

Unzip it
When you unzip the downloaded DarkArduinoTheme-master.zip, you will see the following folder structure.
├─DarkArduinoTheme-master
│ │
│ ├─DarkArduinoTheme-master
│ │ │
│ │ ├──theme ・・・ Use the folder here
│ │ │ │
Replacing the theme
Replacing the theme
Overwrite the theme folder in the folder where Arduino IDE is installed (C:\Program Files (x86)\Arduino\lib\theme by default) with the new theme folder, but rename and save the original theme before doing so.
Before you do this, rename the original theme and save it.
Copy the theme by folder.

Restarting the Arduino IDE
If you quit and restart the Arduino IDE, it has changed to a dark theme.

More color changes
Change the background color, function names, comments, etc. to the color you want.
Correction point
C:\Program Files (x86)\Arduino\lib¥theme\theme.txt
editor.bgcolor | Change background color #202020 → #2a2b24 |
editor.reserved_word.style | Change the function name #5E6D03,plain → #a6e22e,plain |
editor.reserved_word_2.style | Change reserved characters #00979C,plain → #f92672,plain |
editor.comment1.style | Changing comments(// comment) #aaaaaa,plain → #75715e,plain |
editor.comment2.style | Changing comments(/* comment */) #aaaaaa,plain → #75715e,plain |
Comparison before and after change
The color on the left is before modification, and the color on the right is after modification.
I was able to change the color to the one I generally like.

That concludes this article.
I hope this article will be useful to someone somewhere.
Recent Comments