├── .gitignore ├── screenshot.png ├── theme ├── tab-sel-mid.svg ├── tab-unsel-mid.svg ├── tab-sel-menu.svg ├── tab-unsel-left.svg ├── tab-unsel-menu.svg ├── tab-unsel-right.svg ├── tab-sel-left.svg ├── tab-sel-right.svg ├── newwindow.svg ├── lock.svg ├── close.svg ├── resize.svg ├── syntax │ └── default.xml ├── theme.txt └── buttons.svg ├── README.md ├── LICENSE ├── INSTALL.md └── setup.sh /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | -------------------------------------------------------------------------------- /screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dracula/arduino-ide/HEAD/screenshot.png -------------------------------------------------------------------------------- /theme/tab-sel-mid.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /theme/tab-unsel-mid.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /theme/tab-sel-menu.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /theme/tab-unsel-left.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /theme/tab-unsel-menu.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /theme/tab-unsel-right.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /theme/tab-sel-left.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /theme/tab-sel-right.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /theme/newwindow.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /theme/lock.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /theme/close.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Dracula for [Arduino IDE](https://www.arduino.cc/en/main/software) 2 | 3 | > A dark theme for [Arduino IDE](https://www.arduino.cc/en/main/software). 4 | 5 | ![Screenshot](./screenshot.png) 6 | 7 | ## Install 8 | 9 | All instructions can be found at [draculatheme.com/arduino-ide](https://draculatheme.com/arduino-ide). 10 | 11 | ## Team 12 | 13 | This theme is maintained by the following person(s) and a bunch of 14 | [awesome contributors](https://github.com/dracula/arduino-ide/graphs/contributors). 15 | 16 | [![Neoptolemos Kyriakou](https://avatars2.githubusercontent.com/u/23358296?v=3&s=70)](https://github.com/STiXzoOR) | 17 | :---: | 18 | [Neoptolemos Kyriakou](https://github.com/STiXzoOR) | 19 | 20 | ## Community 21 | 22 | * [Twitter](https://twitter.com/draculatheme) - Best for getting updates about themes and new stuff. 23 | * [GitHub](https://github.com/dracula/dracula-theme/discussions) - Best for asking questions and discussing issues. 24 | * [Discord](https://draculatheme.com/discord-invite) - Best for hanging out with the community. 25 | 26 | ## License 27 | 28 | [MIT License](./LICENSE) 29 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019 Neoptolemos Kyriakou 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /INSTALL.md: -------------------------------------------------------------------------------- 1 | ### [Arduino IDE](https://www.arduino.cc/en/main/software) 2 | 3 | #### Install using Git (only for mac) 4 | 5 | You can install the theme and keep up to date by cloning the repo: 6 | 7 | ``` 8 | git clone https://github.com/dracula/arduino-ide.git 9 | ``` 10 | 11 | and then run the **setup.sh** by entering: 12 | 13 | ``` 14 | ./setup.sh --install 15 | ``` 16 | 17 | #### Install manually 18 | 19 | Download using the [GitHub .zip download](https://github.com/dracula/arduino-ide/archive/master.zip) option and unzip them. 20 | 21 | **Windows:** 22 | - Navigate to `C:/Program Files (x86)/Arduino/lib/` 23 | - Rename **theme** folder to **theme.bak**. 24 | - Copy the `./arduino/theme` folder to the `C:/Program Files (x86)/Arduino/lib/` directory on your local machine. 25 | - Close and re-open Arduino IDE! 26 | 27 | **MacOS:** 28 | - Navigate to `/Applications/Arduino.app/Contents/Java/lib/` 29 | - Rename **theme** folder to **theme.bak**. 30 | - Copy the `./arduino/theme` folder to the `/Applications/Arduino.app/Contents/Java/lib/` directory on your local machine. 31 | - Close and re-open Arduino IDE! 32 | 33 | **Linux:** 34 | - Navigate to `/usr/lib64/arduino/lib/` 35 | - Rename **theme** folder to **theme.bak**. 36 | - Copy the `./arduino/theme` folder to the `/usr/lib64/arduino/lib/` directory on your local machine. 37 | - Close and re-open Arduino IDE! 38 | -------------------------------------------------------------------------------- /theme/resize.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /setup.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | repo_dir=$(dirname $0) 4 | arduino_theme_dir=/Applications/Arduino.app/Contents/Java/lib 5 | repo_theme=$repo_dir/theme 6 | original_theme="$arduino_theme_dir/theme" 7 | backup_theme="$arduino_theme_dir/theme_backup" 8 | 9 | function showOptions() { 10 | echo "-i, --install, Install dracula theme." 11 | echo "-u, --uninstall, Uninstall dracula theme." 12 | echo "-h, --help, Show this help message." 13 | echo "Usage: $(basename $0) [Options]" 14 | echo "Example: $(basename $0) --install" 15 | } 16 | 17 | function install() { 18 | if [[ ! -d "$backup_theme" ]]; then 19 | osascript -e 'tell application "Arduino" to quit' 20 | echo -n "Backing up default theme... " 21 | mv "$original_theme" "$backup_theme" 22 | echo " Done." 23 | echo -n "Installing dracula theme..." 24 | cp -R "$repo_theme" "$original_theme" 25 | echo " Done." 26 | else 27 | echo "Dracula theme is already installed." 28 | echo 29 | showOptions 30 | exit 1 31 | fi 32 | } 33 | 34 | function uninstall() { 35 | if [[ -d "$backup_theme" ]]; then 36 | osascript -e 'tell application "Arduino" to quit' 37 | echo -n "Uninstalling dracula theme..." 38 | rm -rf "$original_theme" 39 | echo " Done." 40 | echo -n "Restoring default theme..." 41 | mv "$backup_theme" "$original_theme" 42 | echo " Done." 43 | else 44 | echo "Dracula theme is not installed." 45 | echo 46 | showOptions 47 | exit 1 48 | fi 49 | } 50 | 51 | case "$1" in 52 | --install|-i) 53 | install 54 | ;; 55 | --uninstall|-u) 56 | uninstall 57 | ;; 58 | --help|-h|*) 59 | showOptions 60 | esac 61 | -------------------------------------------------------------------------------- /theme/syntax/default.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | --------------------------------------------------------------------------------