Skip to content

Instantly share code, notes, and snippets.

@k2052
Created September 23, 2012 21:10
Show Gist options
  • Save k2052/3773049 to your computer and use it in GitHub Desktop.
Save k2052/3773049 to your computer and use it in GitHub Desktop.
(eval-when-compile
(require 'color-theme))
;;;###autoload
(defun color-theme-molokai ()
"Color theme based on the Molokai color scheme for vim."
(interactive)
(color-theme-install
'(color-theme-molokai
((foreground-color . "#F8F8F2")
(background-color . "#1B1D1E")
(cursor-color . "#F8F8F0")
(background-mode . dark))
(default ((t (:foreground "#F8F8F2" :background "#1B1D1E"))))
(bold ((t (:weight bold))))
(bold-italic ((t (:weight bold :slant italic))))
(custom-face-tag ((t (:foreground "#66D9EF" :weight bold))))
(custom-state ((t (:foreground "#A6E22E"))))
(italic ((t (:slant italic))))
(region ((t (:background "#403D3D"))))
(underline ((t (:underline t))))
(css-selector ((t (:foreground "#F92672"))))
(css-property ((t (:foreground "#66D9EF"))))
(diff-added ((t (:foreground "#A6E22E" :weight bold))))
(diff-context ((t (:foreground "#F8F8F2"))))
(diff-file-header ((t (:foreground "#66D9EF" :background nil))))
(diff-indicator-added ((t (:foreground "#A6E22E"))))
(diff-indicator-removed ((t (:foreground "#F92672"))))
(diff-header ((t (:foreground "#F8F8F2" :background "#232526"))))
(diff-hunk-header ((t (:foreground "#AE81FF" :background "#232526"))))
(diff-removed ((t (:foreground "#F92672" :weight bold))))
(escape-glyph ((t (:foreground "#E6DB74"))))
(minibuffer-prompt ((t (:foreground "#66D9EF"))))
(mode-line ((t (:foreground "#F8F8F2" :background "#000000"
:box (:line-width 1 :color "#000000" :style released-button)))))
(mode-line-buffer-id ((t (:foreground nil :background "#000000" :weight semi-bold))))
(mode-line-inactive ((t (:foreground "#BCBCBC" :background "#000000"
:box (:line-width 1 :color "#232526")))))
(mode-line-mousable ((t (:foreground "#BCBCBC" :background "#000000"))))
(mode-line-mousable-minor-mode ((t (:foreground "#BCBCBC" :background "#000000"))))
(font-lock-builtin-face ((t (:foreground "#A6E22E"))))
(font-lock-comment-face ((t (:foreground "#465457" :slant italic))))
(font-lock-comment-delimiter-face ((t (:foreground "#465457" :slant italic))))
(font-lock-constant-face ((t (:foreground "#AE81FF"))))
(font-lock-doc-face ((t (:foreground "#E6DB74" :slant italic))))
(font-lock-function-name-face ((t (:foreground "#F92672" :slant italic))))
(font-lock-keyword-face ((t (:foreground "#66D9EF"))))
(font-lock-negation-char-face ((t (:weight bold))))
(font-lock-preprocessor-face ((t (:foreground "#A6E22E"))))
(font-lock-regexp-grouping-backslash ((t (:weight bold))))
(font-lock-regexp-grouping-construct ((t (:weight bold))))
(font-lock-string-face ((t (:foreground "#E6DB74"))))
(font-lock-type-face ((t (:foreground "#66D9EF"))))
(font-lock-variable-name-face ((t (:foreground "#F92672"))))
(font-lock-warning-face ((t (:foreground "#FFFFFF"
:background "#333333"))))
(fringe ((t (:background "#232526"))))
(highlight ((t (:foreground "#000000" :background "#C4BE89"))))
(hl-line ((t (:background "#293739"))))
(icompletep-choices ((t (:foreground "#F92672"))))
(icompletep-determined ((t (:foreground "#A6E22E"))))
(icompletep-keys ((t (:foreground "#F92672"))))
(icompletep-nb-candidates ((t (:foreground "#AE81FF"))))
(isearch ((t (:foreground "#C4BE89" :background "#000000"))))
(isearch-fail ((t (:foreground "#FFFFFF" :background "#333333"))))
(lazy-highlight ((t (:foreground "#465457" :background "#000000"))))
;; Enhanced-Ruby-Mode
(ruby-string-delimiter-face ((t (:foreground "#5A6340"))))
(ruby-regexp-delimiter-face ((t (:foreground "orange"))))
(ruby-heredoc-delimiter-face ((t (:foreground "#9B859D"))))
(ruby-op-face ((t (:foreground "#CDA869"))))
(markdown-italic-face ((t (:slant italic))))
(markdown-bold-face ((t (:weight bold))))
(markdown-header-face ((t (:weight normal))))
(markdown-header-face-1 ((t (:foreground "#66D9EF"))))
(markdown-header-face-2 ((t (:foreground "#F92672"))))
(markdown-header-face-3 ((t (:foreground "#A6E22E"))))
(markdown-header-face-4 ((t (:foreground "#AE81FF"))))
(markdown-header-face-5 ((t (:foreground "#E6DB74"))))
(markdown-header-face-6 ((t (:foreground "#66D9EF"))))
(markdown-inline-code-face ((t (:foreground "#66D9EF"))))
(markdown-list-face ((t (:foreground "#A6E22E"))))
(markdown-blockquote-face ((t (:slant italic))))
(markdown-pre-face ((t (:foreground "#AE81FF"))))
(markdown-link-face ((t (:foreground "#66D9EF"))))
(markdown-reference-face ((t (:foreground "#66D9EF"))))
(markdown-url-face ((t (:foreground "#E6DB74"))))
(markdown-link-title-face ((t (:foreground "#F92672"))))
(markdown-comment-face ((t (:foreground "#465457"))))
(markdown-math-face ((t (:foreground "#AE81FF" :slant italic))))
(mumamo-background-chunk-major ((t (:background "#272822"))))
(mumamo-background-chunk-submode ((t (:background "#1B1D1E"))))
(outline-1 ((t (:foreground "#66D9EF"))))
(outline-2 ((t (:foreground "#F92672"))))
(outline-3 ((t (:foreground "#A6E22E"))))
(outline-4 ((t (:foreground "#AE81FF"))))
(outline-5 ((t (:foreground "#E6DB74"))))
(outline-6 ((t (:foreground "#66D9EF"))))
(outline-7 ((t (:foreground "#F92672"))))
(outline-8 ((t (:foreground "#A6E22E"))))
(secondary-selection ((t (:background "#272822"))))
(show-paren-match-face ((t (:foreground "#000000" :background "#FD971F"))))
(show-paren-mismatch-face ((t (:foreground "#960050" :background "#1E0010"))))
(widget-inactive-face ((t (:background "#ff0000"))))
(woman-addition ((t (:foreground "#AE81FF"))))
(woman-bold ((t (:foreground "#F92672"))))
(woman-italic ((t (:foreground "#A6E22E"))))
(woman-unknown ((t (:foreground "#66D9EF"))))
)))
(provide 'color-theme-molokai)
;;; color-theme-molokai.el ends here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment