From a648f2d37a48aa2d1b65d91e93ce1495912fcc84 Mon Sep 17 00:00:00 2001 From: Jeremy Kaplan Date: Wed, 6 Jul 2016 17:57:22 -0400 Subject: [PATCH] New emacs theme --- emacs/themes/jdkaplan-theme.el | 84 ++++++++++++++++++++++++---------- 1 file changed, 61 insertions(+), 23 deletions(-) diff --git a/emacs/themes/jdkaplan-theme.el b/emacs/themes/jdkaplan-theme.el index c4b5237..c90ad01 100644 --- a/emacs/themes/jdkaplan-theme.el +++ b/emacs/themes/jdkaplan-theme.el @@ -1,27 +1,65 @@ (deftheme jdkaplan "jdkaplan's theme") -(custom-theme-set-faces - 'jdkaplan - '(default ((t (:foreground "#e4e4e4" :background "#262626" )))) - '(cursor ((t (:background "#eeeeee" )))) - '(fringe ((t (:background "#262626" )))) - '(mode-line ((t (:foreground "#eeeeee" :background "#444444" )))) - '(mode-line-inactive ((t (:foreground "#444444" :background "#1e1e1e" )))) - '(vertical-border ((t (:foreground "#444444" :background "#262626" )))) - '(region ((t (:background "#3a3a3a" )))) - '(secondary-selection ((t (:background "#1e1e1e" )))) - '(font-lock-builtin-face ((t (:foreground "#f67f4e" )))) - '(font-lock-comment-face ((t (:foreground "#aaaaaa" )))) - '(font-lock-function-name-face ((t (:foreground "#00c7ff" )))) - '(font-lock-keyword-face ((t (:foreground "#3cc93a" )))) - '(font-lock-string-face ((t (:foreground "#a87f00" )))) - '(font-lock-type-face ((t (:foreground "#e8cf0e" )))) - '(font-lock-constant-face ((t (:foreground "#b987ff" )))) - '(font-lock-variable-name-face ((t (:foreground "#00c7ff" )))) - '(minibuffer-prompt ((t (:foreground "#c7c7c7" :bold t )))) - '(font-lock-warning-face ((t (:foreground "red" :bold t )))) - '(hl-line ((t (:background "black")))) - '(show-paren-match-face ((t (:foreground "orange" :background "black")))) - ) +(let ( + (black "#1e1e1e") + (lightblack "#262626") + (darkgray "#3a3a3a") + (gray "#444444") + (lightgray "#c7c7c7") + (lightergray "#aaaaaa") + (darkwhite "#e4e4e4") + (white "#eeeeee") + (red "#ab4642") + (lightorange "#dc9656") + (orange "#f67f4e") + (goldenrod "#ccac62") + (paleyellow "#f7ca88") + (yellow "#e0d000") + (lime "#38ce35") + (palegreen "#a1d06c") + (green "#0cc91c") + (seagreen "#04d4a0") + (teal "#3ecae0") + (brightblue "#00c7ff") + (paleblue "#66C4FF") + (bluegray "#8bcef0") + (purple "#b98fff") + (tan "#d49804") + (brown "#a87f00") + (neutralbrown "#c78f6b") + ) + + (custom-theme-set-faces + 'jdkaplan + `(default ((t (:foreground ,darkwhite :background ,lightblack )))) + `(cursor ((t (:background ,white )))) + `(fringe ((t (:background ,lightblack )))) + `(mode-line ((t (:foreground ,white :background ,gray )))) + `(mode-line-inactive ((t (:foreground ,gray :background ,black )))) + `(vertical-border ((t (:foreground ,gray :background ,lightblack )))) + `(region ((t (:background ,darkgray )))) + `(secondary-selection ((t (:background ,black )))) + `(font-lock-builtin-face ((t (:foreground ,lightorange )))) + `(font-lock-comment-face ((t (:foreground ,lightergray )))) + `(font-lock-function-name-face ((t (:foreground ,paleblue )))) + `(font-lock-keyword-face ((t (:foreground ,lime )))) + `(font-lock-string-face ((t (:foreground ,goldenrod )))) + `(font-lock-type-face ((t (:foreground ,yellow )))) + `(font-lock-constant-face ((t (:foreground ,purple )))) + `(font-lock-variable-name-face ((t (:foreground ,paleblue )))) + `(minibuffer-prompt ((t (:foreground ,lightgray :bold t )))) + `(font-lock-warning-face ((t (:foreground ,red :bold t )))) + `(hl-line ((t (:background "black")))) + + `(web-mode-html-attr-name-face ((t (:foreground ,palegreen )))) + `(web-mode-html-attr-equal-face ((t (:foreground "gray60" )))) + `(web-mode-html-tag-bracket-face ((t (:foreground "gray60" )))) + `(web-mode-html-tag-face ((t (:foreground ,bluegray )))) + `(web-mode-block-delimiter-face ((t (:foreground ,orange )))) + + `(show-paren-match-face ((t (:foreground ,white :background ,brown :bold t )))) + ) + + ) (provide-theme 'jdkaplan)