There were no Pitch Black themes available for Arduino IDE at the time when I was looking for one. All the existing dark themes were grey-coloured themes with dull text colours. So, I made this 100% true black theme for Arduino IDE with vibrant colours, which is easy on the eyes and looks great on an OLED screen.
Below are the steps required to setup the theme for your Arduino IDE.
1. Download the theme filesHead over to: https://github.com/JairajJangle/Arduino-Black-Theme and click on the Code button and click on Download ZIP.
Open and Extract/Expand the downloaded .zip file on your system.
The below steps vary from OS to OS, so, in this tutorial, I will go over the steps for each of these OSes: macOS, Linux and Windows.
Click on the below links to go to the respective section:
For macOS2. BackupJust in case something goes wrong, by doing a backup you can restore the original state of Arduino IDE or revert the changes.
1. Go to the Applications in Finder > Right-click on Arduino.app > Click Show Package Contents > A folder named Contents will be revealed.
2. Go to Contents/Java/lib and copy the theme folder somewhere else (eg in Documents) to take a backup.
Before performing this step, make sure to close the Arduino application if it is running.
To install the new theme, you need to replace the theme folder in Arduino.app/Contents with the theme folder extracted from the downloaded .zip file.
1. Copy the extracted theme folder from the downloaded .zip file.
2. Copy it inside this location: Contents/Java/lib/, below prompt will be displayed, select Replace.
Open the Arduino IDE
Just in case something goes wrong, by doing a backup you can restore the original state of Arduino IDE or revert the changes.
1. Go the your Arduino installation directory(eg: /home/user_name/arduino-.../). In it, go to the lib folder and take a backup of the theme folder.
Before performing this step, make sure to close the Arduino application if it is running.
To install the new theme, you need to replace the theme folder in <your_arduino_installation_path>/lib/ with the theme folder extracted from the downloaded .zip file.
1. Copy the extracted theme folder from the downloaded .zip file.
2. Copy it inside this location: <your_arduino_installation_path>/lib/,replace/overwriteifaskedfor.
Ta-da!Open the Arduino IDE
Just in case something goes wrong, by doing a backup you can restore the original state of Arduino IDE or revert the changes.
1. Go to your Arduino installation directory(eg: Default installation directory for Windows: C:\Program Files (x86)\Arduino). In it, go to the lib folder and take a backup of the theme folder.
Before performing this step, make sure to close the Arduino application if it is running.
To install the new theme, you will need to replace the theme folder in <your_arduino_installation_path>\lib\ with the theme folder extracted from the downloaded .zip file.
1. Copy the extracted theme folder from the downloaded .zip file.
2. Copy it inside this location: <your_arduino_installation_path>\lib\, click Replace.
Open the Arduino IDE
Before playing with the theme files do not forget to take a backup of the theme folder.
Edit the theme.txt file, .xml files inside the syntax folder and the image files in the folder extracted from the downloaded .zip file.
Unfortunately, for me, not all the changes done in the theme.txt file got reflected in the Arduino IDE, so if you can't get a style to be applied, try changing other files.
Thanks to https://github.com/jeffThompson/DarkArduinoTheme for the inspiration.
And lastly, if you like the theme...
Feel free to suggest any improvements to the theme in the comments below.
Comments