Skip to content

Instantly share code, notes, and snippets.

@mnrtks
Last active December 17, 2015 11:49
Show Gist options
  • Save mnrtks/5604916 to your computer and use it in GitHub Desktop.
Save mnrtks/5604916 to your computer and use it in GitHub Desktop.
Molokai based color theme for emacs.
;; molokai based color theme
(deftheme my-molokai
"customized molokai theme")
(custom-theme-set-faces
'my-molokai
'(cursor ((t (:background "#f8f8f0"))))
'(font-lock-builtin-face ((t (:foreground "#66D9EF"))))
'(font-lock-function-name-face ((t (:foreground "#97E020"))))
'(font-lock-type-face ((t (:foreground "#89BDFF"))))
'(font-lock-warning-face ((t (:background "9b870c"))))
'(error ((t (:background "#a2121b" :foreground "#f8f8f2"))))
'(font-lock-keyword-face ((t (:foreground "#F5005F"))))
'(font-lock-delimiter-face ((t (:foreground "#8f8f8f"))))
'(font-lock-constant-face ((t (:foreground "#9166F5"))))
'(font-lock-string-face ((t (:foreground "#DFD874"))))
'(font-lock-comment-delimiter-face ((t (:inherit font-lock-comment-face))))
'(font-lock-comment-face ((t (:foreground "#85816D"))))
'(show-paren-match ((t (:background "#fd971f" :foreground "#000000"))))
'(esk-paren-face ((t (:foreground "grey50"))))
'(whitespace-tab ((t (:background "#272822"))))
'(mode-line ((t (:background "#808080" :foreground "#000000" :box nil))))
'(mode-line-inactive ((t (:inherit (mode-line) :background "#080808" :foreground "#75715e" :box nil))))
'(highlight ((t (:background "#403d3d" :inverse-video t))))
'(region ((t (:inherit highlight :background "#505045" :inverse-video nil))))
'(markdown-header-delimiter-face ((t (:inherit font-lock-delimiter-face))))
'(markdown-list-face ((t (:inherit font-lock-keyword-face))))
'(markdown-link-face ((t (:foreground "#808080" :underline t))))
'(markdown-header-face ((t (:foreground "#ef5939" :weight bold))))
'(markdown-url-face ((t (:inherit font-lock-builtin-face))))
'(hl-line ((t (:background "#1A1A1A" :inverse-video nil))))
'(font-lock-number-face ((t (:foreground "#ae81ff"))))
'(font-lock-variable-name-face ((t (:foreground "#A6E22A"))))
'(font-lock-preprocessor-face ((t (:foreground "#a6e22e"))))
'(ido-subdir ((t (:foreground "#F1266F"))))
'(default ((t (:background "#1b1d1e" :foreground "#f8f8f2")))))
(when load-file-name
(add-to-list 'custom-theme-load-path
(file-name-as-directory (file-name-directory load-file-name))))
(provide-theme 'my-molokai)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment