├── .github ├── issue_template.md └── pull_request_template.md ├── INSTALL.md ├── LICENSE ├── README.md ├── sample └── sample.js └── screenshot.png /.github/issue_template.md: -------------------------------------------------------------------------------- 1 | > If you're reporting an UI issue, make sure you take a screenshot that shows the actual bug. -------------------------------------------------------------------------------- /.github/pull_request_template.md: -------------------------------------------------------------------------------- 1 | > If you're fixing a UI issue, make sure you take two screenshots. One that shows the actual bug and another that shows how you fixed it. -------------------------------------------------------------------------------- /INSTALL.md: -------------------------------------------------------------------------------- 1 | ### [DOOM Emacs](https://github.com/hlissner/doom-emacs) 2 | 3 | #### Installing theme 4 | 5 | 1. Open your `.doom.d/config.el`; 6 | 2. Add the following lines after the comments: 7 | ```lisp 8 | ;; There are two ways to load a theme. Both assume the theme is installed and 9 | ;; available. You can either set `doom-theme' or manually load a theme with the 10 | ;; `load-theme' function. This is the default: 11 | (setq doom-theme 'doom-dracula) ;; << This line enables the theme 12 | ``` 13 | 14 | #### Activating theme 15 | 16 | 1. Press `M-x` and select `doom/reload` to apply the changes; 17 | 2. If changes doesn't apply, close and re-open the Emacs. 18 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2020 Dracula Theme 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 [DOOM Emacs](https://github.com/hlissner/doom-emacs) 2 | 3 | > A dark theme for [DOOM Emacs](https://github.com/hlissner/doom-emacs). 4 | 5 | ![Screenshot](./screenshot.png) 6 | 7 | ## Install 8 | 9 | All instructions can be found at [draculatheme.com/doom-emacs](https://draculatheme.com/doom-emacs). 10 | 11 | ## Team 12 | 13 | This theme is maintained by the following person(s) and a bunch of [awesome contributors](https://github.com/dracula/doom-emacs/graphs/contributors). 14 | 15 | | [![Helder B. Berto](https://avatars1.githubusercontent.com/u/862575?v=3&s=70)](https://github.com/helderberto) | 16 | | --------------------------------------------------------------------------------------------------------------- | 17 | | [Helder B. Berto](https://github.com/helderberto) | 18 | 19 | ## Community 20 | 21 | - [Twitter](https://twitter.com/draculatheme) - Best for getting updates about themes and new stuff. 22 | - [GitHub](https://github.com/dracula/dracula-theme/discussions) - Best for asking questions and discussing issues. 23 | - [Discord](https://draculatheme.com/discord-invite) - Best for hanging out with the community. 24 | 25 | ## License 26 | 27 | [MIT License](./LICENSE) 28 | -------------------------------------------------------------------------------- /sample/sample.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Once upon a time... 3 | */ 4 | 5 | class Vampire { 6 | constructor(props) { 7 | this.location = props.location; 8 | this.birthDate = props.birthDate; 9 | this.deathDate = props.deathDate; 10 | this.weaknesses = props.weaknesses; 11 | } 12 | 13 | get age() { 14 | return this.calcAge(); 15 | } 16 | 17 | calcAge() { 18 | return this.deathDate - this.birthDate; 19 | } 20 | } 21 | 22 | // ...there was a guy named Vlad 23 | 24 | const Dracula = new Vampire({ 25 | location: 'Transylvania', 26 | birthDate: 1428, 27 | deathDate: 1476, 28 | weaknesses: ['Sunlight', 'Garlic'] 29 | }); -------------------------------------------------------------------------------- /screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dracula/doom-emacs/cb3ff8fecadaad0de6dbc44791e257e614be47c1/screenshot.png --------------------------------------------------------------------------------