Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE Initial commit Jan 16, 2019
README.org Add preview image to README Apr 25, 2019
monokai-pro-theme.el Update based on Steve Purcell's notes Apr 25, 2019
preview.png Add preview image to README Apr 25, 2019

README.org

http://melpa.org/packages/monokai-pro-theme-badge.svg

Monokai Pro themes for Emacs

Preview

./preview.png

Installation

package.el

monokai-pro-theme is available in MELPA.

You can install it with the following command:

M-x package-install monokai-pro-theme

To load one of the themes on emacs startup, add this to your init file:

(load-theme 'monokai-pro t)

use-package

The use-package block is fairly similar to package.el.

(use-package monokai-pro-theme
  :ensure t
  :config
  (load-theme 'monokai-pro t))

Note that use-package tries to defer packages if at all possible, so you may need to add :demand to the use-package block.

Development

Above, there’s a use-package block listed for general use, but if you want to run these themes out of the git repo, there’s a bit more work which needs to be done. I use something similar to the following:

(use-package monokai-pro-theme
  :ensure nil
  :load-path "site-lisp/monokai-pro-theme"
  :config
  (load-theme 'monokai-pro t))

This block assumes the repo is cloned to ~/.emacs.d/site-lisp/monokai-pro-theme. That needs to be added to the load path (along with specifying :ensure nil if needed so use-package doesn’t try to grab the package from melpa). Additionally, the build directory needs to be added to the custom-theme-load-path to ensure load-theme can find the themes.

Credits

Current maintainer: belak

You can’t perform that action at this time.