├── .gitignore ├── LICENSE.md ├── README.md └── darkokai-theme.el /.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore PSD used to brainstorm colours. 2 | themedesign.psd 3 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017 Simon Manning 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 | # Darkokai 🌑 2 | A dark variant of [oneKelvinSmith’s Monokai port](https://github.com/oneKelvinSmith/monokai-emacs) for Emacs. This came about as I had an ever-growing unorganised list of overrides and tweaks on Monokai which eventually began to emerge into its own style. 3 | 4 | ## Screenshots 5 | 6 | ![darkokai-elixir-preview](/../screenshots/elixir-example.png) 7 | ![darkokai-elisp-preview](/../screenshots/elisp-example.png) 8 | ![darkokai-android-preview](/../screenshots/android-example.png) 9 | 10 | ## Installation 11 | 12 | #### MELPA (`package.el`) 13 | 14 | Darkokai has been merged into [MELPA](http://melpa.org) and should appear in your `package-list-packages` pretty soon. You can install it with `M-x package-install darkokai-theme`, and load it on startup by placing this in your init file: 15 | 16 | ```elisp 17 | (load-theme 'darkokai t) 18 | ``` 19 | 20 | #### [`use-package`](https://github.com/jwiegley/use-package) 21 | 22 | With MELPA configured in your `package-archives`: 23 | 24 | ```elisp 25 | (use-package darkokai-theme 26 | :ensure t 27 | :config (load-theme 'darkokai t)) 28 | ``` 29 | 30 | #### Manual 31 | 32 | Place `darkokai-theme.el` in your `custom-theme-load-path` and load on init. For example: 33 | 34 | ```elisp 35 | (add-to-list 'custom-theme-load-path "~/.emacs.d/etc/themes") 36 | (load-theme 'darkokai t) 37 | ``` 38 | 39 | ## Notes 40 | 41 | To disable the padded mode-line and use the normal mode-line look: 42 | 43 | ```elisp 44 | (setq darkokai-mode-line-padding 1) ;; Default mode-line box width 45 | (load-theme 'darkokai t) 46 | ``` 47 | 48 | Terminal support is there, but some of the base terminal colours still need to be updated to match the GUI colours. If the colours look particularly bad in terminal, make sure you’re using a 256 color term by adding the following to your `.zshrc` or `.bashrc`: 49 | 50 | ```bash 51 | export TERM=xterm-256color 52 | ``` 53 | 54 | ## Additions and suggestions 55 | 56 | Pull requests and suggestions for improvement are always welcome! 57 | --------------------------------------------------------------------------------