Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/belak/emacs-monokai-pro-theme
https://github.com/belak/emacs-monokai-pro-theme
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/belak/emacs-monokai-pro-theme
- Owner: belak
- License: mit
- Created: 2019-01-16T23:38:12.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-11-20T16:22:35.000Z (about 1 year ago)
- Last Synced: 2024-10-19T05:50:53.884Z (3 months ago)
- Language: Emacs Lisp
- Size: 404 KB
- Stars: 46
- Watchers: 3
- Forks: 11
- Open Issues: 1
-
Metadata Files:
- Readme: README.org
- License: LICENSE
Awesome Lists containing this project
README
[[http://melpa.org/#/monokai-pro-theme][file: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 [[https://melpa.org/#/monokai-pro-theme][MELPA]].
You can install it with the following command:
#+begin_src text
M-x package-install monokai-pro-theme
#+end_srcTo load one of the themes on emacs startup, add this to your init
file:#+begin_src emacs-lisp
(load-theme 'monokai-pro t)
#+end_src*** use-package
The use-package block is fairly similar to package.el.
#+begin_src emacs-lisp
(use-package monokai-pro-theme
:ensure t
:config
(load-theme 'monokai-pro t))
#+end_srcNote that use-package tries to defer packages if at all possible, so
you may need to add =:demand= to the use-package block.** Variants
All of the variants are available as separate themes. Simply use =load-theme=
with the proper flavor: =monokai-pro-classic=, =monokai-pro-machine=,
=monokai-pro-octagon=, =monokai-pro-ristretto=, or =monokai-pro-spectrum=.** 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:#+begin_src emacs-lisp
(use-package monokai-pro-theme
:ensure nil
:load-path "site-lisp/monokai-pro-theme"
:config
(load-theme 'monokai-pro t))
#+end_srcThis block assumes the repo is cloned to
~/.emacs.d/site-lisp/monokai-pro-theme. That needs to be added to the
load path (You may also need to specify =:ensure nil= so use-package
doesn't try to grab the package from melpa).* Credits
Current maintainer: [[https://github.com/belak][belak]]