How to set the Arduino IDE to dark mode | そう備忘録

How to set the Arduino IDE to dark mode

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.

default color

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.

Get the Arduino IDE dark theme

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.

Copy the theme by folder

Restarting the Arduino IDE

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

Dark Color 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.

Before/after comparison

That concludes this article.

Finally.

I hope this article will be useful to someone somewhere.

souichirou kikuchi

I'm Japanese. A reminder to remember what I've done. I'm blogging in the hope that it will be helpful to others who want to do similar things. I mainly write blogs about LEGO, AWS (Amazon Web Services), WordPress, Deep Learning and Raspberry Pi. At work, I'm working on installing collaborative robots and IoT in factories. I passed the JDLA (Japan Deep Learning Association) Deep Learning for GENERAL in July 2019. If you have any questions, please leave them in the comments at the bottom of the article.

comment

Name, Email, and Website are optional.
and, your Email address will not be published.