1
0
Fork 0

Update emacs themes

This commit is contained in:
Jeremy Kaplan 2016-07-14 20:28:44 -04:00
commit 1db4e520be
2 changed files with 75 additions and 29 deletions

View file

@ -1,28 +1,72 @@
(deftheme jdkaplan-light "jdkaplan's light theme") (deftheme jdkaplan-light "jdkaplan's light theme")
(let (
(black "#1e1e1e")
(lightblack "#262626")
(darkgray "#3a3a3a")
(gray "#444444")
(lightgray "#aaaaaa")
(lightergray "#c7c7c7")
(darkwhite "#e4e4e4")
(white "#eeeeee")
(red "#ab4642")
(lightorange "#dc9656")
(orange "#f67f4e")
(goldenrod "#ccac62")
(paleyellow "#f7ca88")
(yellow "#e0d000")
(lime "#38ce35")
(palegreen "#a1d06c")
(darkpalegreen "#00a37a")
(green "#00a000")
(seagreen "#04d4a0")
(teal "#3ecae0")
(brightblue "#00c7ff")
(paleblue "#66C4FF")
(bluegray "#8bcef0")
(darkbluegray "#4c90b2")
(blue "#027cc9")
(purple "#b98fff")
(darkpurple "#7e2ffc")
(tan "#d49804")
(brown "#a87f00")
(neutralbrown "#c78f6b")
)
(send-string-to-terminal "\033]11;white\007")
(send-string-to-terminal "\033]12;black\007")
(custom-theme-set-faces (custom-theme-set-faces
'jdkaplan-light 'jdkaplan-light
'(default ((t (:background "#e4e4e4" :foreground "#262626" )))) `(default ((t (:foreground ,lightblack :background ,darkwhite ))))
'(fringe ((t (:background "#eeeeee" )))) `(cursor ((t (:background ,black :foreground ,white ))))
'(cursor ((t (:background "#262626" )))) `(fringe ((t (:background ,darkwhite ))))
'(mode-line-inactive ((t (:background "#eeeeee" :foreground "#444444" )))) `(mode-line ((t (:foreground ,black :background ,lightgray ))))
'(mode-line ((t (:background "#bbbbbb" :foreground "#1e1e1e" )))) `(mode-line-inactive ((t (:foreground ,lightgray :background ,white ))))
'(vertical-border ((t (:background "#dddddd" :foreground "#262626" )))) `(vertical-border ((t (:foreground ,lightgray :background ,darkwhite ))))
'(region ((t (:background "#dddddd" )))) `(region ((t (:background ,lightergray ))))
'(secondary-selection ((t (:background "#e1e1e1" )))) `(secondary-selection ((t (:background ,white ))))
'(font-lock-builtin-face ((t (:foreground "#bf4e1e" )))) `(font-lock-builtin-face ((t (:foreground ,lightorange ))))
'(font-lock-comment-face ((t (:foreground "#888888" )))) `(font-lock-comment-face ((t (:foreground ,lightgray ))))
'(font-lock-function-name-face ((t (:foreground "#00bccd" )))) `(font-lock-function-name-face ((t (:foreground ,blue ))))
'(font-lock-keyword-face ((t (:foreground "#138211" )))) `(font-lock-keyword-face ((t (:foreground ,green ))))
'(font-lock-string-face ((t (:foreground "#a87f00" )))) `(font-lock-string-face ((t (:foreground ,tan ))))
'(font-lock-type-face ((t (:foreground "#bca600" )))) `(font-lock-type-face ((t (:foreground ,brown ))))
'(font-lock-constant-face ((t (:foreground "#9158df" )))) `(font-lock-constant-face ((t (:foreground ,darkpurple ))))
'(font-lock-variable-name-face ((t (:foreground "#00bccd" )))) `(font-lock-variable-name-face ((t (:foreground ,blue ))))
'(minibuffer-prompt ((t (:foreground "#1e1e1e" :bold t )))) `(minibuffer-prompt ((t (:foreground ,gray :bold t ))))
'(font-lock-warning-face ((t (:foreground "red" :bold t )))) `(font-lock-warning-face ((t (:foreground ,red :bold t ))))
'(hl-line ((t (:background "#eeeeee")))) `(hl-line ((t (:background "gray80"))))
'(isearch ((t (:background "#d8d8d8"))))
'(show-paren-match-face ((t (:foreground "orange")))) `(web-mode-html-attr-name-face ((t (:foreground ,darkpalegreen ))))
`(web-mode-html-attr-equal-face ((t (:foreground "gray30" ))))
`(web-mode-html-tag-bracket-face ((t (:foreground "gray30" ))))
`(web-mode-html-tag-face ((t (:foreground ,darkbluegray :bold t ))))
`(web-mode-block-delimiter-face ((t (:foreground ,orange ))))
`(show-paren-match-face ((t (:foreground ,teal :bold t ))))
)
) )
(provide-theme 'jdkaplan-light) (provide-theme 'jdkaplan-light)

View file

@ -5,8 +5,8 @@
(lightblack "#262626") (lightblack "#262626")
(darkgray "#3a3a3a") (darkgray "#3a3a3a")
(gray "#444444") (gray "#444444")
(lightgray "#c7c7c7") (lightgray "#aaaaaa")
(lightergray "#aaaaaa") (lightergray "#c7c7c7")
(darkwhite "#e4e4e4") (darkwhite "#e4e4e4")
(white "#eeeeee") (white "#eeeeee")
@ -30,6 +30,9 @@
(neutralbrown "#c78f6b") (neutralbrown "#c78f6b")
) )
(send-string-to-terminal "\033]11;black\007")
(send-string-to-terminal "\033]12;white\007")
(custom-theme-set-faces (custom-theme-set-faces
'jdkaplan 'jdkaplan
`(default ((t (:foreground ,darkwhite :background ,lightblack )))) `(default ((t (:foreground ,darkwhite :background ,lightblack ))))
@ -41,14 +44,14 @@
`(region ((t (:background ,darkgray )))) `(region ((t (:background ,darkgray ))))
`(secondary-selection ((t (:background ,black )))) `(secondary-selection ((t (:background ,black ))))
`(font-lock-builtin-face ((t (:foreground ,lightorange )))) `(font-lock-builtin-face ((t (:foreground ,lightorange ))))
`(font-lock-comment-face ((t (:foreground ,lightergray )))) `(font-lock-comment-face ((t (:foreground ,lightgray ))))
`(font-lock-function-name-face ((t (:foreground ,paleblue )))) `(font-lock-function-name-face ((t (:foreground ,paleblue ))))
`(font-lock-keyword-face ((t (:foreground ,lime )))) `(font-lock-keyword-face ((t (:foreground ,lime ))))
`(font-lock-string-face ((t (:foreground ,goldenrod )))) `(font-lock-string-face ((t (:foreground ,goldenrod ))))
`(font-lock-type-face ((t (:foreground ,yellow )))) `(font-lock-type-face ((t (:foreground ,yellow ))))
`(font-lock-constant-face ((t (:foreground ,purple )))) `(font-lock-constant-face ((t (:foreground ,purple ))))
`(font-lock-variable-name-face ((t (:foreground ,paleblue )))) `(font-lock-variable-name-face ((t (:foreground ,paleblue ))))
`(minibuffer-prompt ((t (:foreground ,lightgray :bold t )))) `(minibuffer-prompt ((t (:foreground ,lightergray :bold t ))))
`(font-lock-warning-face ((t (:foreground ,red :bold t )))) `(font-lock-warning-face ((t (:foreground ,red :bold t ))))
`(hl-line ((t (:background "black")))) `(hl-line ((t (:background "black"))))
@ -60,6 +63,5 @@
`(show-paren-match-face ((t (:foreground ,teal :bold t )))) `(show-paren-match-face ((t (:foreground ,teal :bold t ))))
) )
) )
(provide-theme 'jdkaplan) (provide-theme 'jdkaplan)