diff --git a/Makefile b/Makefile index bc27f73..dd190aa 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,8 @@ vendor: \ vendor/escreen.el \ vendor/hideshowvis.el \ vendor/linum+.el \ - vendor/rubocopfmt.el + vendor/rubocopfmt.el \ + vendor/tomorrow-night-paradise-theme.el .PHONY: update_vendor update_vendor: \ @@ -23,7 +24,8 @@ update_vendor: \ update_vendor/escreen.el \ update_vendor/hideshowvis.el \ update_vendor/linum+.el \ - update_vendor/rubocopfmt.el + update_vendor/rubocopfmt.el \ + update_vendor/tomorrow-night-paradise-theme.el # # Internals @@ -51,3 +53,4 @@ $(eval $(call vendored,vendor/escreen.el,"https://github.com/renard/escreen-el/r $(eval $(call vendored,vendor/hideshowvis.el,"https://www.emacswiki.org/emacs/download/hideshowvis.el")) $(eval $(call vendored,vendor/linum+.el,"http://www.emacswiki.org/emacs/download/linum%2b.el")) $(eval $(call vendored,vendor/rubocopfmt.el,"https://github.com/jimeh/rubocopfmt.el/raw/master/rubocopfmt.el")) +$(eval $(call vendored,vendor/tomorrow-night-paradise-theme.el,"https://github.com/jimeh/tomorrow-night-paradise-theme.el/raw/master/tomorrow-night-paradise-theme.el")) diff --git a/vendor/tomorrow-night-paradise-theme.el b/vendor/tomorrow-night-paradise-theme.el new file mode 100644 index 0000000..207bae3 --- /dev/null +++ b/vendor/tomorrow-night-paradise-theme.el @@ -0,0 +1,129 @@ +;;; tomorrow-night-paradise-theme.el --- custom theme for faces + +;;; Commentary: +;; +;;; Tomorrow Night Paradise Theme +;; +;; My customized version of Chris Kempson's Tomorrow Night Bright theme: +;; https://github.com/ChrisKempson/Tomorrow-Theme +;; +;; Particularly colors have been adjusted to look right in a xterm-256color +;; terminal. Additionally window borders have been given a more minimal look +;; and face definitions have been added for various packages I use on a daily +;; basis. +;; +;; --Jim Myhrberg (@jimeh) + +;;; Code: + +(deftheme tomorrow-night-paradise + "A Pastel Coloured Theme") + +(let ((background "#000000") + (selection "#3a3a3a") + (foreground "#dadada") + (comment "#585858") + (cursor "#949494") + (gray "#303030") (gray-2 "#1c1c1c") (gray-3 "#121212") + (gray-4 "#080808") + (red "#d54e53") (red-2 "#cd0000") (red-3 "#5f0000") + (yellow "#e7c547") (yellow-2 "#cdcd00") + (orange "#e78700") + (green "#afd75f") + (aqua "#00cdcd") + (blue "#5f87d7") + (purple "#af87d7")) + + (custom-theme-set-faces + 'tomorrow-night-paradise + + ;; Basics + `(default ((t (:background ,background :foreground ,foreground)))) + `(region ((t (:background ,selection)))) + `(fringe ((t (:background ,gray-2)))) + `(minibuffer-prompt ((t (:foreground ,blue)))) + `(hl-line ((t (:background ,gray-3)))) + + ;; Font-lock stuff + `(font-lock-builtin-face ((t (:foreground ,blue)))) + `(font-lock-comment-face ((t (:foreground ,comment)))) + `(font-lock-constant-face ((t (:foreground ,green)))) + `(font-lock-doc-face ((t (:foreground ,comment)))) + `(font-lock-doc-string-face ((t (:foreground ,comment)))) + `(font-lock-function-name-face ((t (:foreground ,blue)))) + `(font-lock-keyword-face ((t (:foreground ,purple)))) + `(font-lock-negation-char-face ((t (:foreground ,aqua)))) + `(font-lock-preprocessor-face ((t (:foreground ,red)))) + `(font-lock-string-face ((t (:foreground ,green)))) + `(font-lock-type-face ((t (:foreground ,yellow)))) + `(font-lock-variable-name-face ((t (:foreground ,aqua)))) + `(font-lock-warning-face ((t (:foreground ,red)))) + + ;; UI related + `(mode-line ((t (:background ,selection :foreground ,foreground)))) + `(mode-line-inactive ((t (:background ,gray-3)))) + `(vertical-border ((t (:background ,background :foreground ,selection)))) + + ;; Linum + `(linum ((t (:background ,background :foreground ,gray)))) + + ;; show-paren-mode + `(show-paren-match ((t (:background ,purple :foreground ,gray-2)))) + `(show-paren-mismatch ((t (:background ,orange :foreground ,gray-2)))) + + ;; ido + `(ido-only-match ((t (:foreground ,orange)))) + `(ido-subdir ((t (:foreground ,purple)))) + + ;; whitespace-mode + `(whitespace-empty ((t (:background ,yellow-2 :foreground ,red)))) + `(whitespace-hspace ((t (:foreground ,gray-2)))) + `(whitespace-indentation ((t (:foreground ,gray-2)))) + `(whitespace-line ((t (:background ,gray-2)))) + `(whitespace-newline ((t (:foreground ,gray-2)))) + `(whitespace-space ((t (:foreground ,gray-2)))) + `(whitespace-space-after-tab ((t (:foreground ,gray-2)))) + `(whitespace-tab ((t (:foreground ,gray-2)))) + `(whitespace-trailing ((t (:background ,red-3 :foreground ,yellow)))) + + ;; flyspell-mode + `(flyspell-incorrect ((t (:foreground ,orange :underline ,orange)))) + `(flyspell-duplicate ((t (:foreground ,orange :underline ,orange)))) + + ;; magit + `(magit-diff-add ((t (:foreground ,green)))) + `(magit-diff-del ((t (:foreground ,red)))) + `(magit-item-highlight ((t (:background ,gray-2)))) + + ;; highlight-indentation-mode + `(highlight-indentation-face ((t (:background ,gray-4)))) + `(highlight-indentation-current-column-face ((t (:background ,gray-3)))) + + ;; ECB + `(ecb-default-highlight-face ((t (:background ,background :foreground ,red-2)))) + + ;; org-mode + `(org-date ((t (:foreground ,purple)))) + `(org-done ((t (:foreground ,green)))) + `(org-hide ((t (:foreground ,gray-2)))) + `(org-link ((t (:foreground ,blue)))) + `(org-todo ((t (:foreground ,red)))) + ) + + (custom-theme-set-variables + 'tomorrow-night-paradise + + ;; Fill Column Indicator mode + `(fci-rule-color ,gray-2) + `(fci-rule-character-color ,gray-2) + + `(ansi-color-names-vector + ;; black, red, green, yellow, blue, magenta, cyan, white + [,background ,red ,green ,yellow ,blue ,purple ,blue ,foreground]) + `(ansi-term-color-vector + ;; black, red, green, yellow, blue, magenta, cyan, white + [unspecified ,background ,red ,green ,yellow ,blue ,purple ,blue ,foreground]))) + +(provide-theme 'tomorrow-night-paradise) + +;;; tomorrow-night-paradise-theme.el ends here