├── .gitignore ├── INSTALL.md ├── LICENSE ├── README.md ├── screenshot.png ├── setup.sh └── theme ├── buttons.svg ├── close.svg ├── lock.svg ├── newwindow.svg ├── resize.svg ├── syntax └── default.xml ├── tab-sel-left.svg ├── tab-sel-menu.svg ├── tab-sel-mid.svg ├── tab-sel-right.svg ├── tab-unsel-left.svg ├── tab-unsel-menu.svg ├── tab-unsel-mid.svg ├── tab-unsel-right.svg └── theme.txt /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dracula/arduino-ide/7a59785fac81b65f022a576acc1a70167936d024/screenshot.png -------------------------------------------------------------------------------- /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/buttons.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /theme/close.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /theme/lock.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /theme/newwindow.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /theme/resize.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /theme/tab-sel-menu.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /theme/tab-sel-mid.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /theme/tab-sel-right.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /theme/tab-unsel-left.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /theme/tab-unsel-menu.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /theme/tab-unsel-mid.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /theme/tab-unsel-right.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /theme/theme.txt: -------------------------------------------------------------------------------- 1 | ############################################################################### 2 | # GUI # 3 | ############################################################################### 4 | 5 | # BUTTONS 6 | buttons.status.font = Monaco,plain,12 7 | buttons.bgcolor = #191A22 8 | buttons.status.color = #F8F8F2 9 | 10 | # TABS 11 | # settings for the tabs at the top 12 | # (tab images are stored in the lib/theme folder) 13 | header.text.font = Monaco,plain,12 14 | header.bgcolor = #191A22 15 | header.text.selected.color = #F8F8F2 16 | header.text.unselected.color = #6272A4 17 | 18 | # STATUS 19 | status.font = Monaco,plain,12 20 | status.notice.fgcolor = #F8F8F2 21 | status.notice.bgcolor = #424450 22 | status.error.fgcolor = #424450 23 | status.error.bgcolor = #FF5555 24 | status.edit.fgcolor = #424450 25 | status.edit.bgcolor = #FFB86C 26 | 27 | # CONSOLE 28 | console.font = Monaco,plain,12 29 | console.font.macosx = Monaco,plain,12 30 | console.color = #191A21 31 | console.output.color = #F8F8F2 32 | console.error.color = #FF5555 33 | 34 | # LINESTATUS 35 | # editor line number status bar at the bottom of the screen 36 | linestatus.font = Monaco,plain,10 37 | linestatus.height = 20 38 | linestatus.color = #F8F8F2 39 | linestatus.bgcolor = #424450 40 | 41 | # PLOTTING 42 | # color cycle created via colorbrewer2.org 43 | plotting.bgcolor = #F8F8F2 44 | plotting.color = #F8F8F2 45 | plotting.graphcolor.size = 4 46 | plotting.graphcolor.00 = #2C7BB6 47 | plotting.graphcolor.01 = #FFB86C 48 | plotting.graphcolor.02 = #FF5555 49 | plotting.graphcolor.03 = #8BE9FD 50 | 51 | ############################################################################### 52 | # EDITOR # 53 | ############################################################################### 54 | 55 | # FOREGROUND/BACKGROUND 56 | editor.fgcolor = #F8F8F2 57 | editor.bgcolor = #282A36 58 | 59 | # FONTS 60 | editor.font = Monaco,plain,12 61 | editor.font.macosx = Monaco,plain,12 62 | 63 | # SELECTION 64 | editor.selection.color = #424450 65 | 66 | # CURRENT LINE HIGHLIGHT 67 | editor.linehighlight.color=#44475A 68 | # highlight for the current line 69 | editor.linehighlight=true 70 | 71 | # BRACKET/BRACES HIGHLIGHT 72 | editor.brackethighlight = true 73 | editor.brackethighlight.color = #FF5555 74 | 75 | # CURSOR 76 | editor.caret.color = #F8F8F0 77 | 78 | # EXTERNAL EDITOR 79 | editor.external.bgcolor = #21222C 80 | 81 | # INVALID 82 | # area that's not in use by the text (replaced with tildes) 83 | editor.invalid.style = #FFB86C,bold 84 | 85 | # EOLMARKERS 86 | # little pooties at the end of lines that show where they finish 87 | editor.eolmarkers = false 88 | editor.eolmarkers.color = #999999 89 | 90 | ############################################################################### 91 | # TEXT # 92 | ############################################################################### 93 | 94 | # COMMENTS 95 | editor.comment1.style = #6272A4,plain 96 | editor.comment2.style = #6272A4,plain 97 | 98 | # FUNCTIONS 99 | editor.keyword1.style = #50FA7B,bold 100 | editor.data_type.style = #8BE9FD,bold 101 | 102 | # METHODS 103 | editor.keyword2.style = #50FA7B,plain 104 | editor.function.style = #FF5555,plain 105 | 106 | # STRUCTURES 107 | editor.keyword3.style = #FF79C6,plain 108 | editor.reserved_word.style = #FF79C6,plain 109 | 110 | # LITERALS 111 | editor.literal1.style = #8BE9FD,plain 112 | editor.literal2.style = #8BE9FD,plain 113 | editor.variable.style = #8BE9FD,plain 114 | editor.reserved_word_2.style = #8BE9FD,plain 115 | editor.literal_boolean.style = #BD93F9,plain 116 | editor.literal_char.style = #F1FA8C,plain 117 | editor.literal_string_double_quote.style = #F1FA8C,plain 118 | editor.preprocessor.style = #FF79C6,plain 119 | 120 | # HYPERLINKS 121 | editor.url.style = #2C7BB6,plain 122 | 123 | # OPERATORS 124 | editor.operator.style = #FF79C6,plain 125 | 126 | # LABELS 127 | # ?? maybe this is for words followed by a colon 128 | # like in case statements or goto 129 | editor.label.style = #FF79C6,bold --------------------------------------------------------------------------------