Attachment 'zenburn-theme.el'
Download 1 ;;; zenburn-theme.el --- A low contrast color theme for Emacs.
2
3 ;; Copyright (C) 2011-2013 Bozhidar Batsov
4
5 ;; Author: Bozhidar Batsov <bozhidar@batsov.com>
6 ;; URL: http://github.com/bbatsov/zenburn-emacs
7 ;; Version: 2.1
8
9 ;; This program is free software; you can redistribute it and/or modify
10 ;; it under the terms of the GNU General Public License as published by
11 ;; the Free Software Foundation, either version 3 of the License, or
12 ;; (at your option) any later version.
13
14 ;; This program is distributed in the hope that it will be useful,
15 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
16 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 ;; GNU General Public License for more details.
18
19 ;; You should have received a copy of the GNU General Public License
20 ;; along with this program. If not, see <http://www.gnu.org/licenses/>.
21
22 ;;; Commentary:
23
24 ;; A port of the popular Vim theme Zenburn for Emacs 24, built on top
25 ;; of the new built-in theme support in Emacs 24.
26
27 ;;; Credits:
28
29 ;; Jani Nurminen created the original theme for vim on such this port
30 ;; is based.
31
32 ;;; Code:
33
34 (deftheme zenburn "The Zenburn color theme")
35
36 ;;; Color Palette
37
38 (defvar zenburn-colors-alist
39 '(("zenburn-fg+1" . "#FFFFEF")
40 ("zenburn-fg" . "#DCDCCC")
41 ("zenburn-fg-1" . "#656555")
42 ("zenburn-bg-2" . "#000000")
43 ("zenburn-bg-1" . "#2B2B2B")
44 ("zenburn-bg-05" . "#383838")
45 ("zenburn-bg" . "#3F3F3F")
46 ("zenburn-bg+1" . "#4F4F4F")
47 ("zenburn-bg+2" . "#5F5F5F")
48 ("zenburn-bg+3" . "#6F6F6F")
49 ("zenburn-red+1" . "#DCA3A3")
50 ("zenburn-red" . "#CC9393")
51 ("zenburn-red-1" . "#BC8383")
52 ("zenburn-red-2" . "#AC7373")
53 ("zenburn-red-3" . "#9C6363")
54 ("zenburn-red-4" . "#8C5353")
55 ("zenburn-orange" . "#DFAF8F")
56 ("zenburn-yellow" . "#F0DFAF")
57 ("zenburn-yellow-1" . "#E0CF9F")
58 ("zenburn-yellow-2" . "#D0BF8F")
59 ("zenburn-green-1" . "#5F7F5F")
60 ("zenburn-green" . "#7F9F7F")
61 ("zenburn-green+1" . "#8FB28F")
62 ("zenburn-green+2" . "#9FC59F")
63 ("zenburn-green+3" . "#AFD8AF")
64 ("zenburn-green+4" . "#BFEBBF")
65 ("zenburn-cyan" . "#93E0E3")
66 ("zenburn-blue+1" . "#94BFF3")
67 ("zenburn-blue" . "#8CD0D3")
68 ("zenburn-blue-1" . "#7CB8BB")
69 ("zenburn-blue-2" . "#6CA0A3")
70 ("zenburn-blue-3" . "#5C888B")
71 ("zenburn-blue-4" . "#4C7073")
72 ("zenburn-blue-5" . "#366060")
73 ("zenburn-magenta" . "#DC8CC3"))
74 "List of Zenburn colors.
75 Each element has the form (NAME . HEX).
76
77 `+N' suffixes indicate a color is lighter.
78 `-N' suffixes indicate a color is darker.")
79
80 (defmacro zenburn-with-color-variables (&rest body)
81 "`let' bind all colors defined in `zenburn-colors-alist' around BODY.
82 Also bind `class' to ((class color) (min-colors 89))."
83 (declare (indent 0))
84 `(let ((class '((class color) (min-colors 89)))
85 ,@(mapcar (lambda (cons)
86 (list (intern (car cons)) (cdr cons)))
87 zenburn-colors-alist))
88 ,@body))
89
90 ;;; Theme Faces
91 (zenburn-with-color-variables
92 (custom-theme-set-faces
93 'zenburn
94 ;;;; Built-in
95 ;;;;; basic coloring
96 '(button ((t (:underline t))))
97 `(link ((t (:foreground ,zenburn-yellow :underline t :weight bold))))
98 `(link-visited ((t (:foreground ,zenburn-yellow-2 :underline t :weight normal))))
99 `(default ((t (:foreground ,zenburn-fg :background ,zenburn-bg))))
100 `(cursor ((t (:foreground ,zenburn-fg :background ,zenburn-fg+1))))
101 `(escape-glyph ((t (:foreground ,zenburn-yellow :bold t))))
102 `(fringe ((t (:foreground ,zenburn-fg :background ,zenburn-bg+1))))
103 `(header-line ((t (:foreground ,zenburn-yellow
104 :background ,zenburn-bg-1
105 :box (:line-width -1 :style released-button)))))
106 `(highlight ((t (:background ,zenburn-bg-05))))
107 `(success ((t (:foreground ,zenburn-green :weight bold))))
108 `(warning ((t (:foreground ,zenburn-orange :weight bold))))
109 ;;;;; compilation
110 `(compilation-column-face ((t (:foreground ,zenburn-yellow))))
111 `(compilation-enter-directory-face ((t (:foreground ,zenburn-green))))
112 `(compilation-error-face ((t (:foreground ,zenburn-red-1 :weight bold :underline t))))
113 `(compilation-face ((t (:foreground ,zenburn-fg))))
114 `(compilation-info-face ((t (:foreground ,zenburn-blue))))
115 `(compilation-info ((t (:foreground ,zenburn-green+4 :underline t))))
116 `(compilation-leave-directory-face ((t (:foreground ,zenburn-green))))
117 `(compilation-line-face ((t (:foreground ,zenburn-yellow))))
118 `(compilation-line-number ((t (:foreground ,zenburn-yellow))))
119 `(compilation-message-face ((t (:foreground ,zenburn-blue))))
120 `(compilation-warning-face ((t (:foreground ,zenburn-orange :weight bold :underline t))))
121 `(compilation-mode-line-exit ((t (:foreground ,zenburn-green+2 :weight bold))))
122 `(compilation-mode-line-fail ((t (:foreground ,zenburn-red :weight bold))))
123 `(compilation-mode-line-run ((t (:foreground ,zenburn-yellow :weight bold))))
124 ;;;;; grep
125 `(grep-context-face ((t (:foreground ,zenburn-fg))))
126 `(grep-error-face ((t (:foreground ,zenburn-red-1 :weight bold :underline t))))
127 `(grep-hit-face ((t (:foreground ,zenburn-blue))))
128 `(grep-match-face ((t (:foreground ,zenburn-orange :weight bold))))
129 `(match ((t (:background ,zenburn-bg-1 :foreground ,zenburn-orange :weight bold))))
130 ;;;;; isearch
131 `(isearch ((t (:foreground ,zenburn-yellow-2 :weight bold :background ,zenburn-bg-1))))
132 `(isearch-fail ((t (:foreground ,zenburn-fg :background ,zenburn-red-4))))
133 `(lazy-highlight ((t (:foreground ,zenburn-yellow-2 :weight bold :background ,zenburn-bg-05))))
134
135 `(menu ((t (:foreground ,zenburn-fg :background ,zenburn-bg))))
136 `(minibuffer-prompt ((t (:foreground ,zenburn-yellow))))
137 `(mode-line
138 ((,class (:foreground ,zenburn-green+1
139 :background ,zenburn-bg-1
140 :box (:line-width -1 :style released-button)))
141 (t :inverse-video t)))
142 `(mode-line-buffer-id ((t (:foreground ,zenburn-yellow :weight bold))))
143 `(mode-line-inactive
144 ((t (:foreground ,zenburn-green-1
145 :background ,zenburn-bg-05
146 :box (:line-width -1 :style released-button)))))
147 `(region ((,class (:background ,zenburn-bg-1))
148 (t :inverse-video t)))
149 `(secondary-selection ((t (:background ,zenburn-bg+2))))
150 `(trailing-whitespace ((t (:background ,zenburn-red))))
151 `(vertical-border ((t (:foreground ,zenburn-fg))))
152 ;;;;; font lock
153 `(font-lock-builtin-face ((t (:foreground ,zenburn-fg :weight bold))))
154 `(font-lock-comment-face ((t (:foreground ,zenburn-green))))
155 `(font-lock-comment-delimiter-face ((t (:foreground ,zenburn-green-1))))
156 `(font-lock-constant-face ((t (:foreground ,zenburn-green+4))))
157 `(font-lock-doc-face ((t (:foreground ,zenburn-green+2))))
158 `(font-lock-function-name-face ((t (:foreground ,zenburn-cyan))))
159 `(font-lock-keyword-face ((t (:foreground ,zenburn-yellow :weight bold))))
160 `(font-lock-negation-char-face ((t (:foreground ,zenburn-yellow :weight bold))))
161 `(font-lock-preprocessor-face ((t (:foreground ,zenburn-blue+1))))
162 `(font-lock-regexp-grouping-construct ((t (:foreground ,zenburn-yellow :weight bold))))
163 `(font-lock-regexp-grouping-backslash ((t (:foreground ,zenburn-green :weight bold))))
164 `(font-lock-string-face ((t (:foreground ,zenburn-red))))
165 `(font-lock-type-face ((t (:foreground ,zenburn-blue-1))))
166 `(font-lock-variable-name-face ((t (:foreground ,zenburn-orange))))
167 `(font-lock-warning-face ((t (:foreground ,zenburn-yellow-2 :weight bold))))
168
169 `(c-annotation-face ((t (:inherit font-lock-constant-face))))
170 ;;;;; newsticker
171 `(newsticker-date-face ((t (:foreground ,zenburn-fg))))
172 `(newsticker-default-face ((t (:foreground ,zenburn-fg))))
173 `(newsticker-enclosure-face ((t (:foreground ,zenburn-green+3))))
174 `(newsticker-extra-face ((t (:foreground ,zenburn-bg+2 :height 0.8))))
175 `(newsticker-feed-face ((t (:foreground ,zenburn-fg))))
176 `(newsticker-immortal-item-face ((t (:foreground ,zenburn-green))))
177 `(newsticker-new-item-face ((t (:foreground ,zenburn-blue))))
178 `(newsticker-obsolete-item-face ((t (:foreground ,zenburn-red))))
179 `(newsticker-old-item-face ((t (:foreground ,zenburn-bg+3))))
180 `(newsticker-statistics-face ((t (:foreground ,zenburn-fg))))
181 `(newsticker-treeview-face ((t (:foreground ,zenburn-fg))))
182 `(newsticker-treeview-immortal-face ((t (:foreground ,zenburn-green))))
183 `(newsticker-treeview-listwindow-face ((t (:foreground ,zenburn-fg))))
184 `(newsticker-treeview-new-face ((t (:foreground ,zenburn-blue :weight bold))))
185 `(newsticker-treeview-obsolete-face ((t (:foreground ,zenburn-red))))
186 `(newsticker-treeview-old-face ((t (:foreground ,zenburn-bg+3))))
187 `(newsticker-treeview-selection-face ((t (:background ,zenburn-bg-1 :foreground ,zenburn-yellow))))
188 ;;;; Third-party
189 ;;;;; ace-jump
190 `(ace-jump-face-background
191 ((t (:foreground ,zenburn-fg-1 :background ,zenburn-bg :inverse-video nil))))
192 `(ace-jump-face-foreground
193 ((t (:foreground ,zenburn-green+2 :background ,zenburn-bg :inverse-video nil))))
194 ;;;;; anzu
195 `(anzu-mode-line ((t (:foreground ,zenburn-cyan :weight bold))))
196 ;;;;; full-ack
197 `(ack-separator ((t (:foreground ,zenburn-fg))))
198 `(ack-file ((t (:foreground ,zenburn-blue))))
199 `(ack-line ((t (:foreground ,zenburn-yellow))))
200 `(ack-match ((t (:foreground ,zenburn-orange :background ,zenburn-bg-1 :weight bold))))
201 ;;;;; auctex
202 `(font-latex-bold-face ((t (:inherit bold))))
203 `(font-latex-warning-face ((t (:foreground nil :inherit font-lock-warning-face))))
204 `(font-latex-sectioning-5-face ((t (:foreground ,zenburn-red :weight bold ))))
205 `(font-latex-sedate-face ((t (:foreground ,zenburn-yellow))))
206 `(font-latex-italic-face ((t (:foreground ,zenburn-cyan :slant italic))))
207 `(font-latex-string-face ((t (:inherit ,font-lock-string-face))))
208 `(font-latex-math-face ((t (:foreground ,zenburn-orange))))
209 ;;;;; auto-complete
210 `(ac-candidate-face ((t (:background ,zenburn-bg+3 :foreground ,zenburn-bg-2))))
211 `(ac-selection-face ((t (:background ,zenburn-blue-4 :foreground ,zenburn-fg))))
212 `(popup-tip-face ((t (:background ,zenburn-yellow-2 :foreground ,zenburn-bg-2))))
213 `(popup-scroll-bar-foreground-face ((t (:background ,zenburn-blue-5))))
214 `(popup-scroll-bar-background-face ((t (:background ,zenburn-bg-1))))
215 `(popup-isearch-match ((t (:background ,zenburn-bg :foreground ,zenburn-fg))))
216 ;;;;; android mode
217 `(android-mode-debug-face ((t (:foreground ,zenburn-green+1))))
218 `(android-mode-error-face ((t (:foreground ,zenburn-orange :weight bold))))
219 `(android-mode-info-face ((t (:foreground ,zenburn-fg))))
220 `(android-mode-verbose-face ((t (:foreground ,zenburn-green))))
221 `(android-mode-warning-face ((t (:foreground ,zenburn-yellow))))
222 ;;;;; bm
223 `(bm-face ((t (:background ,zenburn-yellow-1 :foreground ,zenburn-bg))))
224 `(bm-fringe-face ((t (:background ,zenburn-yellow-1 :foreground ,zenburn-bg))))
225 `(bm-fringe-persistent-face ((t (:background ,zenburn-green-1 :foreground ,zenburn-bg))))
226 `(bm-persistent-face ((t (:background ,zenburn-green-1 :foreground ,zenburn-bg))))
227 ;;;;; clojure-test-mode
228 `(clojure-test-failure-face ((t (:foreground ,zenburn-orange :weight bold :underline t))))
229 `(clojure-test-error-face ((t (:foreground ,zenburn-red :weight bold :underline t))))
230 `(clojure-test-success-face ((t (:foreground ,zenburn-green+1 :weight bold :underline t))))
231 ;;;;; coq
232 `(coq-solve-tactics-face ((t (:foreground nil :inherit font-lock-constant-face))))
233 ;;;;; ctable
234 `(ctbl:face-cell-select ((t (:background ,zenburn-blue :foreground ,zenburn-bg))))
235 `(ctbl:face-continue-bar ((t (:background ,zenburn-bg-05 :foreground ,zenburn-bg))))
236 `(ctbl:face-row-select ((t (:background ,zenburn-cyan :foreground ,zenburn-bg))))
237 ;;;;; diff
238 `(diff-added ((,class (:foreground ,zenburn-green+4 :background nil))
239 (t (:foreground ,zenburn-green-1 :background nil))))
240 `(diff-changed ((t (:foreground ,zenburn-yellow))))
241 `(diff-removed ((,class (:foreground ,zenburn-red :background nil))
242 (t (:foreground ,zenburn-red-3 :background nil))))
243 `(diff-refine-added ((t :inherit diff-added :weight bold)))
244 `(diff-refine-change ((t :inherit diff-changed :weight bold)))
245 `(diff-refine-removed ((t :inherit diff-removed :weight bold)))
246 `(diff-header ((,class (:background ,zenburn-bg+2))
247 (t (:background ,zenburn-fg :foreground ,zenburn-bg))))
248 `(diff-file-header
249 ((,class (:background ,zenburn-bg+2 :foreground ,zenburn-fg :bold t))
250 (t (:background ,zenburn-fg :foreground ,zenburn-bg :bold t))))
251 ;;;;; dired+
252 `(diredp-display-msg ((t (:foreground ,zenburn-blue))))
253 `(diredp-compressed-file-suffix ((t (:foreground ,zenburn-orange))))
254 `(diredp-date-time ((t (:foreground ,zenburn-magenta))))
255 `(diredp-deletion ((t (:foreground ,zenburn-yellow))))
256 `(diredp-deletion-file-name ((t (:foreground ,zenburn-red))))
257 `(diredp-dir-heading ((t (:foreground ,zenburn-blue :background ,zenburn-bg-1))))
258 `(diredp-dir-priv ((t (:foreground ,zenburn-cyan))))
259 `(diredp-exec-priv ((t (:foreground ,zenburn-red))))
260 `(diredp-executable-tag ((t (:foreground ,zenburn-green+1))))
261 `(diredp-file-name ((t (:foreground ,zenburn-blue))))
262 `(diredp-file-suffix ((t (:foreground ,zenburn-green))))
263 `(diredp-flag-mark ((t (:foreground ,zenburn-yellow))))
264 `(diredp-flag-mark-line ((t (:foreground ,zenburn-orange))))
265 `(diredp-ignored-file-name ((t (:foreground ,zenburn-red))))
266 `(diredp-link-priv ((t (:foreground ,zenburn-yellow))))
267 `(diredp-mode-line-flagged ((t (:foreground ,zenburn-yellow))))
268 `(diredp-mode-line-marked ((t (:foreground ,zenburn-orange))))
269 `(diredp-no-priv ((t (:foreground ,zenburn-fg))))
270 `(diredp-number ((t (:foreground ,zenburn-green+1))))
271 `(diredp-other-priv ((t (:foreground ,zenburn-yellow-1))))
272 `(diredp-rare-priv ((t (:foreground ,zenburn-red-1))))
273 `(diredp-read-priv ((t (:foreground ,zenburn-green-1))))
274 `(diredp-symlink ((t (:foreground ,zenburn-yellow))))
275 `(diredp-write-priv ((t (:foreground ,zenburn-magenta))))
276 ;;;;; ediff
277 `(ediff-current-diff-A ((t (:foreground ,zenburn-fg :background ,zenburn-red-4))))
278 `(ediff-current-diff-Ancestor ((t (:foreground ,zenburn-fg :background ,zenburn-red-4))))
279 `(ediff-current-diff-B ((t (:foreground ,zenburn-fg :background ,zenburn-green-1))))
280 `(ediff-current-diff-C ((t (:foreground ,zenburn-fg :background ,zenburn-blue-5))))
281 `(ediff-even-diff-A ((t (:background ,zenburn-bg+1))))
282 `(ediff-even-diff-Ancestor ((t (:background ,zenburn-bg+1))))
283 `(ediff-even-diff-B ((t (:background ,zenburn-bg+1))))
284 `(ediff-even-diff-C ((t (:background ,zenburn-bg+1))))
285 `(ediff-fine-diff-A ((t (:foreground ,zenburn-fg :background ,zenburn-red-2 :weight bold))))
286 `(ediff-fine-diff-Ancestor ((t (:foreground ,zenburn-fg :background ,zenburn-red-2 weight bold))))
287 `(ediff-fine-diff-B ((t (:foreground ,zenburn-fg :background ,zenburn-green :weight bold))))
288 `(ediff-fine-diff-C ((t (:foreground ,zenburn-fg :background ,zenburn-blue-3 :weight bold ))))
289 `(ediff-odd-diff-A ((t (:background ,zenburn-bg+2))))
290 `(ediff-odd-diff-Ancestor ((t (:background ,zenburn-bg+2))))
291 `(ediff-odd-diff-B ((t (:background ,zenburn-bg+2))))
292 `(ediff-odd-diff-C ((t (:background ,zenburn-bg+2))))
293 ;;;;; ert
294 `(ert-test-result-expected ((t (:foreground ,zenburn-green+4 :background ,zenburn-bg))))
295 `(ert-test-result-unexpected ((t (:foreground ,zenburn-red :background ,zenburn-bg))))
296 ;;;;; eshell
297 `(eshell-prompt ((t (:foreground ,zenburn-yellow :weight bold))))
298 `(eshell-ls-archive ((t (:foreground ,zenburn-red-1 :weight bold))))
299 `(eshell-ls-backup ((t (:inherit font-lock-comment-face))))
300 `(eshell-ls-clutter ((t (:inherit font-lock-comment-face))))
301 `(eshell-ls-directory ((t (:foreground ,zenburn-blue+1 :weight bold))))
302 `(eshell-ls-executable ((t (:foreground ,zenburn-red+1 :weight bold))))
303 `(eshell-ls-unreadable ((t (:foreground ,zenburn-fg))))
304 `(eshell-ls-missing ((t (:inherit font-lock-warning-face))))
305 `(eshell-ls-product ((t (:inherit font-lock-doc-face))))
306 `(eshell-ls-special ((t (:foreground ,zenburn-yellow :weight bold))))
307 `(eshell-ls-symlink ((t (:foreground ,zenburn-cyan :weight bold))))
308 ;;;;; flx
309 `(flx-highlight-face ((t (:foreground ,zenburn-green+2 :weight bold))))
310 ;;;;; flycheck
311 `(flycheck-error
312 ((((supports :underline (:style wave)))
313 (:underline (:style wave :color ,zenburn-red-1) :inherit unspecified))
314 (t (:foreground ,zenburn-red-1 :weight bold :underline t))))
315 `(flycheck-warning
316 ((((supports :underline (:style wave)))
317 (:underline (:style wave :color ,zenburn-yellow) :inherit unspecified))
318 (t (:foreground ,zenburn-yellow :weight bold :underline t))))
319 `(flycheck-info
320 ((((supports :underline (:style wave)))
321 (:underline (:style wave :color ,zenburn-cyan) :inherit unspecified))
322 (t (:foreground ,zenburn-cyan :weight bold :underline t))))
323 `(flycheck-fringe-error ((t (:foreground ,zenburn-red-1 :weight bold))))
324 `(flycheck-fringe-warning ((t (:foreground ,zenburn-yellow :weight bold))))
325 `(flycheck-fringe-info ((t (:foreground ,zenburn-cyan :weight bold))))
326 ;;;;; flymake
327 `(flymake-errline
328 ((((supports :underline (:style wave)))
329 (:underline (:style wave :color ,zenburn-red)
330 :inherit unspecified :foreground unspecified :background unspecified))
331 (t (:foreground ,zenburn-red-1 :weight bold :underline t))))
332 `(flymake-warnline
333 ((((supports :underline (:style wave)))
334 (:underline (:style wave :color ,zenburn-orange)
335 :inherit unspecified :foreground unspecified :background unspecified))
336 (t (:foreground ,zenburn-orange :weight bold :underline t))))
337 `(flymake-infoline
338 ((((supports :underline (:style wave)))
339 (:underline (:style wave :color ,zenburn-green)
340 :inherit unspecified :foreground unspecified :background unspecified))
341 (t (:foreground ,zenburn-green-1 :weight bold :underline t))))
342 ;;;;; flyspell
343 `(flyspell-duplicate
344 ((((supports :underline (:style wave)))
345 (:underline (:style wave :color ,zenburn-orange) :inherit unspecified))
346 (t (:foreground ,zenburn-orange :weight bold :underline t))))
347 `(flyspell-incorrect
348 ((((supports :underline (:style wave)))
349 (:underline (:style wave :color ,zenburn-red) :inherit unspecified))
350 (t (:foreground ,zenburn-red-1 :weight bold :underline t))))
351 ;;;;; erc
352 `(erc-action-face ((t (:inherit erc-default-face))))
353 `(erc-bold-face ((t (:weight bold))))
354 `(erc-current-nick-face ((t (:foreground ,zenburn-blue :weight bold))))
355 `(erc-dangerous-host-face ((t (:inherit font-lock-warning-face))))
356 `(erc-default-face ((t (:foreground ,zenburn-fg))))
357 `(erc-direct-msg-face ((t (:inherit erc-default))))
358 `(erc-error-face ((t (:inherit font-lock-warning-face))))
359 `(erc-fool-face ((t (:inherit erc-default))))
360 `(erc-highlight-face ((t (:inherit hover-highlight))))
361 `(erc-input-face ((t (:foreground ,zenburn-yellow))))
362 `(erc-keyword-face ((t (:foreground ,zenburn-blue :weight bold))))
363 `(erc-nick-default-face ((t (:foreground ,zenburn-yellow :weight bold))))
364 `(erc-my-nick-face ((t (:foreground ,zenburn-red :weight bold))))
365 `(erc-nick-msg-face ((t (:inherit erc-default))))
366 `(erc-notice-face ((t (:foreground ,zenburn-green))))
367 `(erc-pal-face ((t (:foreground ,zenburn-orange :weight bold))))
368 `(erc-prompt-face ((t (:foreground ,zenburn-orange :background ,zenburn-bg :weight bold))))
369 `(erc-timestamp-face ((t (:foreground ,zenburn-green+1))))
370 `(erc-underline-face ((t (:underline t))))
371 ;;;;; git-gutter
372 `(git-gutter:added ((t (:foreground ,zenburn-green :weight bold :inverse-video t))))
373 `(git-gutter:deleted ((t (:foreground ,zenburn-red :weight bold :inverse-video t))))
374 `(git-gutter:modified ((t (:foreground ,zenburn-magenta :weight bold :inverse-video t))))
375 `(git-gutter:unchanged ((t (:foreground ,zenburn-fg :weight bold :inverse-video t))))
376 ;;;;; git-gutter-fr
377 `(git-gutter-fr:added ((t (:foreground ,zenburn-green :weight bold))))
378 `(git-gutter-fr:deleted ((t (:foreground ,zenburn-red :weight bold))))
379 `(git-gutter-fr:modified ((t (:foreground ,zenburn-magenta :weight bold))))
380 ;;;;; gnus
381 `(gnus-group-mail-1 ((t (:bold t :inherit gnus-group-mail-1-empty))))
382 `(gnus-group-mail-1-empty ((t (:inherit gnus-group-news-1-empty))))
383 `(gnus-group-mail-2 ((t (:bold t :inherit gnus-group-mail-2-empty))))
384 `(gnus-group-mail-2-empty ((t (:inherit gnus-group-news-2-empty))))
385 `(gnus-group-mail-3 ((t (:bold t :inherit gnus-group-mail-3-empty))))
386 `(gnus-group-mail-3-empty ((t (:inherit gnus-group-news-3-empty))))
387 `(gnus-group-mail-4 ((t (:bold t :inherit gnus-group-mail-4-empty))))
388 `(gnus-group-mail-4-empty ((t (:inherit gnus-group-news-4-empty))))
389 `(gnus-group-mail-5 ((t (:bold t :inherit gnus-group-mail-5-empty))))
390 `(gnus-group-mail-5-empty ((t (:inherit gnus-group-news-5-empty))))
391 `(gnus-group-mail-6 ((t (:bold t :inherit gnus-group-mail-6-empty))))
392 `(gnus-group-mail-6-empty ((t (:inherit gnus-group-news-6-empty))))
393 `(gnus-group-mail-low ((t (:bold t :inherit gnus-group-mail-low-empty))))
394 `(gnus-group-mail-low-empty ((t (:inherit gnus-group-news-low-empty))))
395 `(gnus-group-news-1 ((t (:bold t :inherit gnus-group-news-1-empty))))
396 `(gnus-group-news-2 ((t (:bold t :inherit gnus-group-news-2-empty))))
397 `(gnus-group-news-3 ((t (:bold t :inherit gnus-group-news-3-empty))))
398 `(gnus-group-news-4 ((t (:bold t :inherit gnus-group-news-4-empty))))
399 `(gnus-group-news-5 ((t (:bold t :inherit gnus-group-news-5-empty))))
400 `(gnus-group-news-6 ((t (:bold t :inherit gnus-group-news-6-empty))))
401 `(gnus-group-news-low ((t (:bold t :inherit gnus-group-news-low-empty))))
402 `(gnus-header-content ((t (:inherit message-header-other))))
403 `(gnus-header-from ((t (:inherit message-header-from))))
404 `(gnus-header-name ((t (:inherit message-header-name))))
405 `(gnus-header-newsgroups ((t (:inherit message-header-other))))
406 `(gnus-header-subject ((t (:inherit message-header-subject))))
407 `(gnus-summary-cancelled ((t (:foreground ,zenburn-orange))))
408 `(gnus-summary-high-ancient ((t (:foreground ,zenburn-blue))))
409 `(gnus-summary-high-read ((t (:foreground ,zenburn-green :weight bold))))
410 `(gnus-summary-high-ticked ((t (:foreground ,zenburn-orange :weight bold))))
411 `(gnus-summary-high-unread ((t (:foreground ,zenburn-fg :weight bold))))
412 `(gnus-summary-low-ancient ((t (:foreground ,zenburn-blue))))
413 `(gnus-summary-low-read ((t (:foreground ,zenburn-green))))
414 `(gnus-summary-low-ticked ((t (:foreground ,zenburn-orange :weight bold))))
415 `(gnus-summary-low-unread ((t (:foreground ,zenburn-fg))))
416 `(gnus-summary-normal-ancient ((t (:foreground ,zenburn-blue))))
417 `(gnus-summary-normal-read ((t (:foreground ,zenburn-green))))
418 `(gnus-summary-normal-ticked ((t (:foreground ,zenburn-orange :weight bold))))
419 `(gnus-summary-normal-unread ((t (:foreground ,zenburn-fg))))
420 `(gnus-summary-selected ((t (:foreground ,zenburn-yellow :weight bold))))
421 `(gnus-cite-1 ((t (:foreground ,zenburn-blue))))
422 `(gnus-cite-10 ((t (:foreground ,zenburn-yellow-1))))
423 `(gnus-cite-11 ((t (:foreground ,zenburn-yellow))))
424 `(gnus-cite-2 ((t (:foreground ,zenburn-blue-1))))
425 `(gnus-cite-3 ((t (:foreground ,zenburn-blue-2))))
426 `(gnus-cite-4 ((t (:foreground ,zenburn-green+2))))
427 `(gnus-cite-5 ((t (:foreground ,zenburn-green+1))))
428 `(gnus-cite-6 ((t (:foreground ,zenburn-green))))
429 `(gnus-cite-7 ((t (:foreground ,zenburn-red))))
430 `(gnus-cite-8 ((t (:foreground ,zenburn-red-1))))
431 `(gnus-cite-9 ((t (:foreground ,zenburn-red-2))))
432 `(gnus-group-news-1-empty ((t (:foreground ,zenburn-yellow))))
433 `(gnus-group-news-2-empty ((t (:foreground ,zenburn-green+3))))
434 `(gnus-group-news-3-empty ((t (:foreground ,zenburn-green+1))))
435 `(gnus-group-news-4-empty ((t (:foreground ,zenburn-blue-2))))
436 `(gnus-group-news-5-empty ((t (:foreground ,zenburn-blue-3))))
437 `(gnus-group-news-6-empty ((t (:foreground ,zenburn-bg+2))))
438 `(gnus-group-news-low-empty ((t (:foreground ,zenburn-bg+2))))
439 `(gnus-signature ((t (:foreground ,zenburn-yellow))))
440 `(gnus-x ((t (:background ,zenburn-fg :foreground ,zenburn-bg))))
441 ;;;;; guide-key
442 `(guide-key/highlight-command-face ((t (:foreground ,zenburn-blue))))
443 `(guide-key/key-face ((t (:foreground ,zenburn-green))))
444 `(guide-key/prefix-command-face ((t (:foreground ,zenburn-green+1))))
445 ;;;;; helm
446 `(helm-header
447 ((t (:foreground ,zenburn-green
448 :background ,zenburn-bg
449 :underline nil
450 :box nil))))
451 `(helm-source-header
452 ((t (:foreground ,zenburn-yellow
453 :background ,zenburn-bg-1
454 :underline nil
455 :weight bold
456 :box (:line-width -1 :style released-button)))))
457 `(helm-selection ((t (:background ,zenburn-bg+1 :underline nil))))
458 `(helm-selection-line ((t (:background ,zenburn-bg+1))))
459 `(helm-visible-mark ((t (:foreground ,zenburn-bg :background ,zenburn-yellow-2))))
460 `(helm-candidate-number ((t (:foreground ,zenburn-green+4 :background ,zenburn-bg-1))))
461 `(helm-separator ((t (:foreground ,zenburn-red :background ,zenburn-bg))))
462 `(helm-time-zone-current ((t (:foreground ,zenburn-green+2 :background ,zenburn-bg))))
463 `(helm-time-zone-home ((t (:foreground ,zenburn-red :background ,zenburn-bg))))
464 `(helm-bookmark-addressbook ((t (:foreground ,zenburn-orange :background ,zenburn-bg))))
465 `(helm-bookmark-directory ((t (:foreground nil :background nil :inherit helm-ff-directory))))
466 `(helm-bookmark-file ((t (:foreground nil :background nil :inherit helm-ff-file))))
467 `(helm-bookmark-gnus ((t (:foreground ,zenburn-magenta :background ,zenburn-bg))))
468 `(helm-bookmark-info ((t (:foreground ,zenburn-green+2 :background ,zenburn-bg))))
469 `(helm-bookmark-man ((t (:foreground ,zenburn-yellow :background ,zenburn-bg))))
470 `(helm-bookmark-w3m ((t (:foreground ,zenburn-magenta :background ,zenburn-bg))))
471 `(helm-buffer-not-saved ((t (:foreground ,zenburn-red :background ,zenburn-bg))))
472 `(helm-buffer-process ((t (:foreground ,zenburn-cyan :background ,zenburn-bg))))
473 `(helm-buffer-saved-out ((t (:foreground ,zenburn-fg :background ,zenburn-bg))))
474 `(helm-buffer-size ((t (:foreground ,zenburn-fg-1 :background ,zenburn-bg))))
475 `(helm-ff-directory ((t (:foreground ,zenburn-cyan :background ,zenburn-bg :weight bold))))
476 `(helm-ff-file ((t (:foreground ,zenburn-fg :background ,zenburn-bg :weight normal))))
477 `(helm-ff-executable ((t (:foreground ,zenburn-green+2 :background ,zenburn-bg :weight normal))))
478 `(helm-ff-invalid-symlink ((t (:foreground ,zenburn-red :background ,zenburn-bg :weight bold))))
479 `(helm-ff-symlink ((t (:foreground ,zenburn-yellow :background ,zenburn-bg :weight bold))))
480 `(helm-ff-prefix ((t (:foreground ,zenburn-bg :background ,zenburn-yellow :weight normal))))
481 `(helm-grep-cmd-line ((t (:foreground ,zenburn-cyan :background ,zenburn-bg))))
482 `(helm-grep-file ((t (:foreground ,zenburn-fg :background ,zenburn-bg))))
483 `(helm-grep-finish ((t (:foreground ,zenburn-green+2 :background ,zenburn-bg))))
484 `(helm-grep-lineno ((t (:foreground ,zenburn-fg-1 :background ,zenburn-bg))))
485 `(helm-grep-match ((t (:foreground nil :background nil :inherit helm-match))))
486 `(helm-grep-running ((t (:foreground ,zenburn-red :background ,zenburn-bg))))
487 `(helm-moccur-buffer ((t (:foreground ,zenburn-cyan :background ,zenburn-bg))))
488 `(helm-mu-contacts-address-face ((t (:foreground ,zenburn-fg-1 :background ,zenburn-bg))))
489 `(helm-mu-contacts-name-face ((t (:foreground ,zenburn-fg :background ,zenburn-bg))))
490 ;;;;; hl-line-mode
491 `(hl-line-face ((,class (:background ,zenburn-bg-05))
492 (t :weight bold)))
493 `(hl-line ((,class (:background ,zenburn-bg-05)) ; old emacsen
494 (t :weight bold)))
495 ;;;;; hl-sexp
496 `(hl-sexp-face ((,class (:background ,zenburn-bg+1))
497 (t :weight bold)))
498 ;;;;; ido-mode
499 `(ido-first-match ((t (:foreground ,zenburn-yellow :weight bold))))
500 `(ido-only-match ((t (:foreground ,zenburn-orange :weight bold))))
501 `(ido-subdir ((t (:foreground ,zenburn-yellow))))
502 `(ido-indicator ((t (:foreground ,zenburn-yellow :background ,zenburn-red-4))))
503 ;;;;; iedit-mode
504 `(iedit-occurrence ((t (:background ,zenburn-bg+2 :weight bold))))
505 ;;;;; js2-mode
506 `(js2-warning ((t (:underline ,zenburn-orange))))
507 `(js2-error ((t (:foreground ,zenburn-red :weight bold))))
508 `(js2-jsdoc-tag ((t (:foreground ,zenburn-green-1))))
509 `(js2-jsdoc-type ((t (:foreground ,zenburn-green+2))))
510 `(js2-jsdoc-value ((t (:foreground ,zenburn-green+3))))
511 `(js2-function-param ((t (:foreground, zenburn-green+3))))
512 `(js2-external-variable ((t (:foreground ,zenburn-orange))))
513 ;;;;; jabber-mode
514 `(jabber-roster-user-away ((t (:foreground ,zenburn-green+2))))
515 `(jabber-roster-user-online ((t (:foreground ,zenburn-blue-1))))
516 `(jabber-roster-user-dnd ((t (:foreground ,zenburn-red+1))))
517 `(jabber-rare-time-face ((t (:foreground ,zenburn-green+1))))
518 `(jabber-chat-prompt-local ((t (:foreground ,zenburn-blue-1))))
519 `(jabber-chat-prompt-foreign ((t (:foreground ,zenburn-red+1))))
520 `(jabber-activity-face((t (:foreground ,zenburn-red+1))))
521 `(jabber-activity-personal-face ((t (:foreground ,zenburn-blue+1))))
522 `(jabber-title-small ((t (:height 1.1 :weight bold))))
523 `(jabber-title-medium ((t (:height 1.2 :weight bold))))
524 `(jabber-title-large ((t (:height 1.3 :weight bold))))
525 ;;;;; ledger-mode
526 `(ledger-font-payee-uncleared-face ((t (:foreground ,zenburn-red-1 :weight bold))))
527 `(ledger-font-payee-cleared-face ((t (:foreground ,zenburn-fg :weight normal))))
528 `(ledger-font-xact-highlight-face ((t (:background ,zenburn-bg+1))))
529 `(ledger-font-pending-face ((t (:foreground ,zenburn-orange weight: normal))))
530 `(ledger-font-other-face ((t (:foreground ,zenburn-fg))))
531 `(ledger-font-posting-account-face ((t (:foreground ,zenburn-blue-1))))
532 `(ledger-font-posting-account-cleared-face ((t (:foreground ,zenburn-fg))))
533 `(ledger-font-posting-account-pending-face ((t (:foreground ,zenburn-orange))))
534 `(ledger-font-posting-amount-face ((t (:foreground ,zenburn-orange))))
535 `(ledger-font-posting-account-pending-face ((t (:foreground ,zenburn-orange))))
536 `(ledger-occur-narrowed-face ((t (:foreground ,zenburn-fg-1 :invisible t))))
537 `(ledger-occur-xact-face ((t (:background ,zenburn-bg+1))))
538 `(ledger-font-comment-face ((t (:foreground ,zenburn-green))))
539 `(ledger-font-reconciler-uncleared-face ((t (:foreground ,zenburn-red-1 :weight bold))))
540 `(ledger-font-reconciler-cleared-face ((t (:foreground ,zenburn-fg :weight normal))))
541 `(ledger-font-reconciler-pending-face ((t (:foreground ,zenburn-orange :weight normal))))
542 `(ledger-font-report-clickable-face ((t (:foreground ,zenburn-orange :weight normal))))
543 ;;;;; linum-mode
544 `(linum ((t (:foreground ,zenburn-green+2 :background ,zenburn-bg))))
545 ;;;;; macrostep
546 `(macrostep-gensym-1
547 ((t (:foreground ,zenburn-green+2 :background ,zenburn-bg-1))))
548 `(macrostep-gensym-2
549 ((t (:foreground ,zenburn-red+1 :background ,zenburn-bg-1))))
550 `(macrostep-gensym-3
551 ((t (:foreground ,zenburn-blue+1 :background ,zenburn-bg-1))))
552 `(macrostep-gensym-4
553 ((t (:foreground ,zenburn-magenta :background ,zenburn-bg-1))))
554 `(macrostep-gensym-5
555 ((t (:foreground ,zenburn-yellow :background ,zenburn-bg-1))))
556 `(macrostep-expansion-highlight-face
557 ((t (:inherit highlight))))
558 `(macrostep-macro-face
559 ((t (:underline t))))
560 ;;;;; magit
561 `(magit-section-title ((t (:foreground ,zenburn-yellow :weight bold))))
562 `(magit-branch ((t (:foreground ,zenburn-orange :weight bold))))
563 `(magit-item-highlight ((t (:background ,zenburn-bg+1 :bold nil))))
564 ;;;;; egg
565 `(egg-text-base ((t (:foreground ,zenburn-fg))))
566 `(egg-help-header-1 ((t (:foreground ,zenburn-yellow))))
567 `(egg-help-header-2 ((t (:foreground ,zenburn-green+3))))
568 `(egg-branch ((t (:foreground ,zenburn-yellow))))
569 `(egg-branch-mono ((t (:foreground ,zenburn-yellow))))
570 `(egg-term ((t (:foreground ,zenburn-yellow))))
571 `(egg-diff-add ((t (:foreground ,zenburn-green+4))))
572 `(egg-diff-del ((t (:foreground ,zenburn-red+1))))
573 `(egg-diff-file-header ((t (:foreground ,zenburn-yellow-2))))
574 `(egg-section-title ((t (:foreground ,zenburn-yellow))))
575 `(egg-stash-mono ((t (:foreground ,zenburn-green+4))))
576 ;;;;; message-mode
577 `(message-cited-text ((t (:inherit font-lock-comment-face))))
578 `(message-header-name ((t (:foreground ,zenburn-green+1))))
579 `(message-header-other ((t (:foreground ,zenburn-green))))
580 `(message-header-to ((t (:foreground ,zenburn-yellow :weight bold))))
581 `(message-header-from ((t (:foreground ,zenburn-yellow :weight bold))))
582 `(message-header-cc ((t (:foreground ,zenburn-yellow :weight bold))))
583 `(message-header-newsgroups ((t (:foreground ,zenburn-yellow :weight bold))))
584 `(message-header-subject ((t (:foreground ,zenburn-orange :weight bold))))
585 `(message-header-xheader ((t (:foreground ,zenburn-green))))
586 `(message-mml ((t (:foreground ,zenburn-yellow :weight bold))))
587 `(message-separator ((t (:inherit font-lock-comment-face))))
588 ;;;;; mew
589 `(mew-face-header-subject ((t (:foreground ,zenburn-orange))))
590 `(mew-face-header-from ((t (:foreground ,zenburn-yellow))))
591 `(mew-face-header-date ((t (:foreground ,zenburn-green))))
592 `(mew-face-header-to ((t (:foreground ,zenburn-red))))
593 `(mew-face-header-key ((t (:foreground ,zenburn-green))))
594 `(mew-face-header-private ((t (:foreground ,zenburn-green))))
595 `(mew-face-header-important ((t (:foreground ,zenburn-blue))))
596 `(mew-face-header-marginal ((t (:foreground ,zenburn-fg :weight bold))))
597 `(mew-face-header-warning ((t (:foreground ,zenburn-red))))
598 `(mew-face-header-xmew ((t (:foreground ,zenburn-green))))
599 `(mew-face-header-xmew-bad ((t (:foreground ,zenburn-red))))
600 `(mew-face-body-url ((t (:foreground ,zenburn-orange))))
601 `(mew-face-body-comment ((t (:foreground ,zenburn-fg :slant italic))))
602 `(mew-face-body-cite1 ((t (:foreground ,zenburn-green))))
603 `(mew-face-body-cite2 ((t (:foreground ,zenburn-blue))))
604 `(mew-face-body-cite3 ((t (:foreground ,zenburn-orange))))
605 `(mew-face-body-cite4 ((t (:foreground ,zenburn-yellow))))
606 `(mew-face-body-cite5 ((t (:foreground ,zenburn-red))))
607 `(mew-face-mark-review ((t (:foreground ,zenburn-blue))))
608 `(mew-face-mark-escape ((t (:foreground ,zenburn-green))))
609 `(mew-face-mark-delete ((t (:foreground ,zenburn-red))))
610 `(mew-face-mark-unlink ((t (:foreground ,zenburn-yellow))))
611 `(mew-face-mark-refile ((t (:foreground ,zenburn-green))))
612 `(mew-face-mark-unread ((t (:foreground ,zenburn-red-2))))
613 `(mew-face-eof-message ((t (:foreground ,zenburn-green))))
614 `(mew-face-eof-part ((t (:foreground ,zenburn-yellow))))
615 ;;;;; mic-paren
616 `(paren-face-match ((t (:foreground ,zenburn-cyan :background ,zenburn-bg :weight bold))))
617 `(paren-face-mismatch ((t (:foreground ,zenburn-bg :background ,zenburn-magenta :weight bold))))
618 `(paren-face-no-match ((t (:foreground ,zenburn-bg :background ,zenburn-red :weight bold))))
619 ;;;;; mingus
620 `(mingus-directory-face ((t (:foreground ,zenburn-blue))))
621 `(mingus-pausing-face ((t (:foreground ,zenburn-magenta))))
622 `(mingus-playing-face ((t (:foreground ,zenburn-cyan))))
623 `(mingus-playlist-face ((t (:foreground ,zenburn-cyan ))))
624 `(mingus-song-file-face ((t (:foreground ,zenburn-yellow))))
625 `(mingus-stopped-face ((t (:foreground ,zenburn-red))))
626 ;;;;; nav
627 `(nav-face-heading ((t (:foreground ,zenburn-yellow))))
628 `(nav-face-button-num ((t (:foreground ,zenburn-cyan))))
629 `(nav-face-dir ((t (:foreground ,zenburn-green))))
630 `(nav-face-hdir ((t (:foreground ,zenburn-red))))
631 `(nav-face-file ((t (:foreground ,zenburn-fg))))
632 `(nav-face-hfile ((t (:foreground ,zenburn-red-4))))
633 ;;;;; mu4e
634 `(mu4e-cited-1-face ((t (:foreground ,zenburn-blue :slant italic))))
635 `(mu4e-cited-2-face ((t (:foreground ,zenburn-green+2 :slant italic))))
636 `(mu4e-cited-3-face ((t (:foreground ,zenburn-blue-2 :slant italic))))
637 `(mu4e-cited-4-face ((t (:foreground ,zenburn-green :slant italic))))
638 `(mu4e-cited-5-face ((t (:foreground ,zenburn-blue-4 :slant italic))))
639 `(mu4e-cited-6-face ((t (:foreground ,zenburn-green-1 :slant italic))))
640 `(mu4e-cited-7-face ((t (:foreground ,zenburn-blue :slant italic))))
641 `(mu4e-replied-face ((t (:foreground ,zenburn-bg+3))))
642 `(mu4e-trashed-face ((t (:foreground ,zenburn-bg+3 :strike-through t))))
643 ;;;;; mumamo
644 `(mumamo-background-chunk-major ((t (:background nil))))
645 `(mumamo-background-chunk-submode1 ((t (:background ,zenburn-bg-1))))
646 `(mumamo-background-chunk-submode2 ((t (:background ,zenburn-bg+2))))
647 `(mumamo-background-chunk-submode3 ((t (:background ,zenburn-bg+3))))
648 `(mumamo-background-chunk-submode4 ((t (:background ,zenburn-bg+1))))
649 ;;;;; org-mode
650 `(org-agenda-date-today
651 ((t (:foreground ,zenburn-fg+1 :slant italic :weight bold))) t)
652 `(org-agenda-structure
653 ((t (:inherit font-lock-comment-face))))
654 `(org-archived ((t (:foreground ,zenburn-fg :weight bold))))
655 `(org-checkbox ((t (:background ,zenburn-bg+2 :foreground ,zenburn-fg+1
656 :box (:line-width 1 :style released-button)))))
657 `(org-date ((t (:foreground ,zenburn-blue :underline t))))
658 `(org-deadline-announce ((t (:foreground ,zenburn-red-1))))
659 `(org-done ((t (:bold t :weight bold :foreground ,zenburn-green+3))))
660 `(org-formula ((t (:foreground ,zenburn-yellow-2))))
661 `(org-headline-done ((t (:foreground ,zenburn-green+3))))
662 `(org-hide ((t (:foreground ,zenburn-bg-1))))
663 `(org-level-1 ((t (:foreground ,zenburn-orange))))
664 `(org-level-2 ((t (:foreground ,zenburn-green+4))))
665 `(org-level-3 ((t (:foreground ,zenburn-blue-1))))
666 `(org-level-4 ((t (:foreground ,zenburn-yellow-2))))
667 `(org-level-5 ((t (:foreground ,zenburn-cyan))))
668 `(org-level-6 ((t (:foreground ,zenburn-green+2))))
669 `(org-level-7 ((t (:foreground ,zenburn-red-4))))
670 `(org-level-8 ((t (:foreground ,zenburn-blue-4))))
671 `(org-link ((t (:foreground ,zenburn-yellow-2 :underline t))))
672 `(org-scheduled ((t (:foreground ,zenburn-green+4))))
673 `(org-scheduled-previously ((t (:foreground ,zenburn-red-4))))
674 `(org-scheduled-today ((t (:foreground ,zenburn-blue+1))))
675 `(org-sexp-date ((t (:foreground ,zenburn-blue+1 :underline t))))
676 `(org-special-keyword ((t (:foreground ,zenburn-fg-1 :weight normal))))
677 `(org-table ((t (:foreground ,zenburn-green+2))))
678 `(org-tag ((t (:bold t :weight bold))))
679 `(org-time-grid ((t (:foreground ,zenburn-orange))))
680 `(org-todo ((t (:bold t :foreground ,zenburn-red :weight bold))))
681 `(org-upcoming-deadline ((t (:inherit font-lock-keyword-face))))
682 `(org-warning ((t (:bold t :foreground ,zenburn-red :weight bold :underline nil))))
683 `(org-column ((t (:background ,zenburn-bg-1))))
684 `(org-column-title ((t (:background ,zenburn-bg-1 :underline t :weight bold))))
685 `(org-mode-line-clock ((t (:foreground ,zenburn-fg :background ,zenburn-bg-1))))
686 `(org-mode-line-clock-overrun ((t (:foreground ,zenburn-bg :background ,zenburn-red-1))))
687 `(org-ellipsis ((t (:foreground ,zenburn-yellow-1 :underline t))))
688 `(org-footnote ((t (:foreground ,zenburn-cyan :underline t))))
689 ;;;;; outline
690 `(outline-1 ((t (:foreground ,zenburn-orange))))
691 `(outline-2 ((t (:foreground ,zenburn-green+4))))
692 `(outline-3 ((t (:foreground ,zenburn-blue-1))))
693 `(outline-4 ((t (:foreground ,zenburn-yellow-2))))
694 `(outline-5 ((t (:foreground ,zenburn-cyan))))
695 `(outline-6 ((t (:foreground ,zenburn-green+2))))
696 `(outline-7 ((t (:foreground ,zenburn-red-4))))
697 `(outline-8 ((t (:foreground ,zenburn-blue-4))))
698 ;;;;; p4
699 `(p4-depot-added-face ((t :inherit diff-added)))
700 `(p4-depot-branch-op-face ((t :inherit diff-changed)))
701 `(p4-depot-deleted-face ((t :inherit diff-removed)))
702 `(p4-depot-unmapped-face ((t :inherit diff-changed)))
703 `(p4-diff-change-face ((t :inherit diff-changed)))
704 `(p4-diff-del-face ((t :inherit diff-removed)))
705 `(p4-diff-file-face ((t :inherit diff-file-header)))
706 `(p4-diff-head-face ((t :inherit diff-header)))
707 `(p4-diff-ins-face ((t :inherit diff-added)))
708 ;;;;; perspective
709 `(persp-selected-face ((t (:foreground ,zenburn-yellow-2 :inherit mode-line))))
710 ;;;;; powerline
711 `(powerline-active1 ((t (:background ,zenburn-bg-05 :inherit mode-line))))
712 `(powerline-active2 ((t (:background ,zenburn-bg+2 :inherit mode-line))))
713 `(powerline-inactive1 ((t (:background ,zenburn-bg+1 :inherit mode-line-inactive))))
714 `(powerline-inactive2 ((t (:background ,zenburn-bg+3 :inherit mode-line-inactive))))
715 ;;;;; proofgeneral
716 `(proof-active-area-face ((t (:underline t))))
717 `(proof-boring-face ((t (:foreground ,zenburn-fg :background ,zenburn-bg+2))))
718 `(proof-command-mouse-highlight-face ((t (:inherit proof-mouse-highlight-face))))
719 `(proof-debug-message-face ((t (:inherit proof-boring-face))))
720 `(proof-declaration-name-face ((t (:inherit font-lock-keyword-face :foreground nil))))
721 `(proof-eager-annotation-face ((t (:foreground ,zenburn-bg :background ,zenburn-orange))))
722 `(proof-error-face ((t (:foreground ,zenburn-fg :background ,zenburn-red-4))))
723 `(proof-highlight-dependency-face ((t (:foreground ,zenburn-bg :background ,zenburn-yellow-1))))
724 `(proof-highlight-dependent-face ((t (:foreground ,zenburn-bg :background ,zenburn-orange))))
725 `(proof-locked-face ((t (:background ,zenburn-blue-5))))
726 `(proof-mouse-highlight-face ((t (:foreground ,zenburn-bg :background ,zenburn-orange))))
727 `(proof-queue-face ((t (:background ,zenburn-red-4))))
728 `(proof-region-mouse-highlight-face ((t (:inherit proof-mouse-highlight-face))))
729 `(proof-script-highlight-error-face ((t (:background ,zenburn-red-2))))
730 `(proof-tacticals-name-face ((t (:inherit font-lock-constant-face :foreground nil :background ,zenburn-bg))))
731 `(proof-tactics-name-face ((t (:inherit font-lock-constant-face :foreground nil :background ,zenburn-bg))))
732 `(proof-warning-face ((t (:foreground ,zenburn-bg :background ,zenburn-yellow-1))))
733 ;;;;; rainbow-delimiters
734 `(rainbow-delimiters-depth-1-face ((t (:foreground ,zenburn-fg))))
735 `(rainbow-delimiters-depth-2-face ((t (:foreground ,zenburn-green+4))))
736 `(rainbow-delimiters-depth-3-face ((t (:foreground ,zenburn-yellow-2))))
737 `(rainbow-delimiters-depth-4-face ((t (:foreground ,zenburn-cyan))))
738 `(rainbow-delimiters-depth-5-face ((t (:foreground ,zenburn-green+2))))
739 `(rainbow-delimiters-depth-6-face ((t (:foreground ,zenburn-blue+1))))
740 `(rainbow-delimiters-depth-7-face ((t (:foreground ,zenburn-yellow-1))))
741 `(rainbow-delimiters-depth-8-face ((t (:foreground ,zenburn-green+1))))
742 `(rainbow-delimiters-depth-9-face ((t (:foreground ,zenburn-blue-2))))
743 `(rainbow-delimiters-depth-10-face ((t (:foreground ,zenburn-orange))))
744 `(rainbow-delimiters-depth-11-face ((t (:foreground ,zenburn-green))))
745 `(rainbow-delimiters-depth-12-face ((t (:foreground ,zenburn-blue-5))))
746 ;;;;; rcirc
747 `(rcirc-my-nick ((t (:foreground ,zenburn-blue))))
748 `(rcirc-other-nick ((t (:foreground ,zenburn-orange))))
749 `(rcirc-bright-nick ((t (:foreground ,zenburn-blue+1))))
750 `(rcirc-dim-nick ((t (:foreground ,zenburn-blue-2))))
751 `(rcirc-server ((t (:foreground ,zenburn-green))))
752 `(rcirc-server-prefix ((t (:foreground ,zenburn-green+1))))
753 `(rcirc-timestamp ((t (:foreground ,zenburn-green+2))))
754 `(rcirc-nick-in-message ((t (:foreground ,zenburn-yellow))))
755 `(rcirc-nick-in-message-full-line ((t (:bold t))))
756 `(rcirc-prompt ((t (:foreground ,zenburn-yellow :bold t))))
757 `(rcirc-track-nick ((t (:inverse-video t))))
758 `(rcirc-track-keyword ((t (:bold t))))
759 `(rcirc-url ((t (:bold t))))
760 `(rcirc-keyword ((t (:foreground ,zenburn-yellow :bold t))))
761 ;;;;; rpm-mode
762 `(rpm-spec-dir-face ((t (:foreground ,zenburn-green))))
763 `(rpm-spec-doc-face ((t (:foreground ,zenburn-green))))
764 `(rpm-spec-ghost-face ((t (:foreground ,zenburn-red))))
765 `(rpm-spec-macro-face ((t (:foreground ,zenburn-yellow))))
766 `(rpm-spec-obsolete-tag-face ((t (:foreground ,zenburn-red))))
767 `(rpm-spec-package-face ((t (:foreground ,zenburn-red))))
768 `(rpm-spec-section-face ((t (:foreground ,zenburn-yellow))))
769 `(rpm-spec-tag-face ((t (:foreground ,zenburn-blue))))
770 `(rpm-spec-var-face ((t (:foreground ,zenburn-red))))
771 ;;;;; rst-mode
772 `(rst-level-1-face ((t (:foreground ,zenburn-orange))))
773 `(rst-level-2-face ((t (:foreground ,zenburn-green+1))))
774 `(rst-level-3-face ((t (:foreground ,zenburn-blue-1))))
775 `(rst-level-4-face ((t (:foreground ,zenburn-yellow-2))))
776 `(rst-level-5-face ((t (:foreground ,zenburn-cyan))))
777 `(rst-level-6-face ((t (:foreground ,zenburn-green-1))))
778 ;;;;; sh-mode
779 `(sh-heredoc ((t (:foreground ,zenburn-yellow :bold t))))
780 `(sh-quoted-exec ((t (:foreground ,zenburn-red))))
781 ;;;;; show-paren
782 `(show-paren-mismatch ((t (:foreground ,zenburn-red+1 :background ,zenburn-bg+3 :weight bold))))
783 `(show-paren-match ((t (:background ,zenburn-bg+3 :weight bold))))
784 ;;;;; smartparens
785 `(sp-show-pair-mismatch-face ((t (:foreground ,zenburn-red+1 :background ,zenburn-bg+3 :weight bold))))
786 `(sp-show-pair-match-face ((t (:background ,zenburn-bg+3 :weight bold))))
787 ;;;;; sml-mode-line
788 '(sml-modeline-end-face ((t :inherit default :width condensed)))
789 ;;;;; SLIME
790 `(slime-repl-output-face ((t (:foreground ,zenburn-red))))
791 `(slime-repl-inputed-output-face ((t (:foreground ,zenburn-green))))
792 `(slime-error-face
793 ((((supports :underline (:style wave)))
794 (:underline (:style wave :color ,zenburn-red)))
795 (t
796 (:underline ,zenburn-red))))
797 `(slime-warning-face
798 ((((supports :underline (:style wave)))
799 (:underline (:style wave :color ,zenburn-orange)))
800 (t
801 (:underline ,zenburn-orange))))
802 `(slime-style-warning-face
803 ((((supports :underline (:style wave)))
804 (:underline (:style wave :color ,zenburn-yellow)))
805 (t
806 (:underline ,zenburn-yellow))))
807 `(slime-note-face
808 ((((supports :underline (:style wave)))
809 (:underline (:style wave :color ,zenburn-green)))
810 (t
811 (:underline ,zenburn-green))))
812 `(slime-highlight-face ((t (:inherit highlight))))
813 ;;;;; speedbar
814 `(speedbar-button-face ((t (:foreground ,zenburn-green+2))))
815 `(speedbar-directory-face ((t (:foreground ,zenburn-cyan))))
816 `(speedbar-file-face ((t (:foreground ,zenburn-fg))))
817 `(speedbar-highlight-face ((t (:foreground ,zenburn-bg :background ,zenburn-green+2))))
818 `(speedbar-selected-face ((t (:foreground ,zenburn-red))))
819 `(speedbar-separator-face ((t (:foreground ,zenburn-bg :background ,zenburn-blue-1))))
820 `(speedbar-tag-face ((t (:foreground ,zenburn-yellow))))
821 ;;;;; tabbar
822 `(tabbar-button ((t (:foreground ,zenburn-fg
823 :background ,zenburn-bg))))
824 `(tabbar-selected ((t (:foreground ,zenburn-fg
825 :background ,zenburn-bg
826 :box (:line-width -1 :style pressed-button)))))
827 `(tabbar-unselected ((t (:foreground ,zenburn-fg
828 :background ,zenburn-bg+1
829 :box (:line-width -1 :style released-button)))))
830 ;;;;; term
831 `(term-color-black ((t (:foreground ,zenburn-bg
832 :background ,zenburn-bg-1))))
833 `(term-color-red ((t (:foreground ,zenburn-red-2
834 :background ,zenburn-red-4))))
835 `(term-color-green ((t (:foreground ,zenburn-green
836 :background ,zenburn-green+2))))
837 `(term-color-yellow ((t (:foreground ,zenburn-orange
838 :background ,zenburn-yellow))))
839 `(term-color-blue ((t (:foreground ,zenburn-blue-1
840 :background ,zenburn-blue-4))))
841 `(term-color-magenta ((t (:foreground ,zenburn-magenta
842 :background ,zenburn-red))))
843 `(term-color-cyan ((t (:foreground ,zenburn-cyan
844 :background ,zenburn-blue))))
845 `(term-color-white ((t (:foreground ,zenburn-fg
846 :background ,zenburn-fg-1))))
847 '(term-default-fg-color ((t (:inherit term-color-white))))
848 '(term-default-bg-color ((t (:inherit term-color-black))))
849 ;;;;; undo-tree
850 `(undo-tree-visualizer-active-branch-face ((t (:foreground ,zenburn-fg+1 :weight bold))))
851 `(undo-tree-visualizer-current-face ((t (:foreground ,zenburn-red-1 :weight bold))))
852 `(undo-tree-visualizer-default-face ((t (:foreground ,zenburn-fg))))
853 `(undo-tree-visualizer-register-face ((t (:foreground ,zenburn-yellow))))
854 `(undo-tree-visualizer-unmodified-face ((t (:foreground ,zenburn-cyan))))
855 ;;;;; volatile-highlights
856 `(vhl/default-face ((t (:background ,zenburn-bg-05))))
857 ;;;;; emacs-w3m
858 `(w3m-anchor ((t (:foreground ,zenburn-yellow :underline t
859 :weight bold))))
860 `(w3m-arrived-anchor ((t (:foreground ,zenburn-yellow-2
861 :underline t :weight normal))))
862 `(w3m-form ((t (:foreground ,zenburn-red-1 :underline t))))
863 `(w3m-header-line-location-title ((t (:foreground ,zenburn-yellow
864 :underline t :weight bold))))
865 '(w3m-history-current-url ((t (:inherit match))))
866 `(w3m-lnum ((t (:foreground ,zenburn-green+2 :background ,zenburn-bg))))
867 `(w3m-lnum-match ((t (:background ,zenburn-bg-1
868 :foreground ,zenburn-orange
869 :weight bold))))
870 `(w3m-lnum-minibuffer-prompt ((t (:foreground ,zenburn-yellow))))
871 ;;;;; web-mode
872 `(web-mode-builtin-face ((t (:inherit ,font-lock-builtin-face))))
873 `(web-mode-comment-face ((t (:inherit ,font-lock-comment-face))))
874 `(web-mode-constant-face ((t (:inherit ,font-lock-constant-face))))
875 `(web-mode-css-at-rule-face ((t (:foreground ,zenburn-orange ))))
876 `(web-mode-css-prop-face ((t (:foreground ,zenburn-orange))))
877 `(web-mode-css-pseudo-class-face ((t (:foreground ,zenburn-green+3 :weight bold))))
878 `(web-mode-css-rule-face ((t (:foreground ,zenburn-blue))))
879 `(web-mode-doctype-face ((t (:inherit ,font-lock-comment-face))))
880 `(web-mode-folded-face ((t (:underline t))))
881 `(web-mode-function-name-face ((t (:foreground ,zenburn-blue))))
882 `(web-mode-html-attr-name-face ((t (:foreground ,zenburn-orange))))
883 `(web-mode-html-attr-value-face ((t (:inherit ,font-lock-string-face))))
884 `(web-mode-html-tag-face ((t (:foreground ,zenburn-cyan))))
885 `(web-mode-keyword-face ((t (:inherit ,font-lock-keyword-face))))
886 `(web-mode-preprocessor-face ((t (:inherit ,font-lock-preprocessor-face))))
887 `(web-mode-string-face ((t (:inherit ,font-lock-string-face))))
888 `(web-mode-type-face ((t (:inherit ,font-lock-type-face))))
889 `(web-mode-variable-name-face ((t (:inherit ,font-lock-variable-name-face))))
890 `(web-mode-server-background-face ((t (:background ,zenburn-bg))))
891 `(web-mode-server-comment-face ((t (:inherit web-mode-comment-face))))
892 `(web-mode-server-string-face ((t (:inherit web-mode-string-face))))
893 `(web-mode-symbol-face ((t (:inherit font-lock-constant-face))))
894 `(web-mode-warning-face ((t (:inherit font-lock-warning-face))))
895 `(web-mode-whitespaces-face ((t (:background ,zenburn-red))))
896 ;;;;; whitespace-mode
897 `(whitespace-space ((t (:background ,zenburn-bg+1 :foreground ,zenburn-bg+1))))
898 `(whitespace-hspace ((t (:background ,zenburn-bg+1 :foreground ,zenburn-bg+1))))
899 `(whitespace-tab ((t (:background ,zenburn-red-1))))
900 `(whitespace-newline ((t (:foreground ,zenburn-bg+1))))
901 `(whitespace-trailing ((t (:background ,zenburn-red))))
902 `(whitespace-line ((t (:background ,zenburn-bg :foreground ,zenburn-magenta))))
903 `(whitespace-space-before-tab ((t (:background ,zenburn-orange :foreground ,zenburn-orange))))
904 `(whitespace-indentation ((t (:background ,zenburn-yellow :foreground ,zenburn-red))))
905 `(whitespace-empty ((t (:background ,zenburn-yellow))))
906 `(whitespace-space-after-tab ((t (:background ,zenburn-yellow :foreground ,zenburn-red))))
907 ;;;;; wanderlust
908 `(wl-highlight-folder-few-face ((t (:foreground ,zenburn-red-2))))
909 `(wl-highlight-folder-many-face ((t (:foreground ,zenburn-red-1))))
910 `(wl-highlight-folder-path-face ((t (:foreground ,zenburn-orange))))
911 `(wl-highlight-folder-unread-face ((t (:foreground ,zenburn-blue))))
912 `(wl-highlight-folder-zero-face ((t (:foreground ,zenburn-fg))))
913 `(wl-highlight-folder-unknown-face ((t (:foreground ,zenburn-blue))))
914 `(wl-highlight-message-citation-header ((t (:foreground ,zenburn-red-1))))
915 `(wl-highlight-message-cited-text-1 ((t (:foreground ,zenburn-red))))
916 `(wl-highlight-message-cited-text-2 ((t (:foreground ,zenburn-green+2))))
917 `(wl-highlight-message-cited-text-3 ((t (:foreground ,zenburn-blue))))
918 `(wl-highlight-message-cited-text-4 ((t (:foreground ,zenburn-blue+1))))
919 `(wl-highlight-message-header-contents-face ((t (:foreground ,zenburn-green))))
920 `(wl-highlight-message-headers-face ((t (:foreground ,zenburn-red+1))))
921 `(wl-highlight-message-important-header-contents ((t (:foreground ,zenburn-green+2))))
922 `(wl-highlight-message-header-contents ((t (:foreground ,zenburn-green+1))))
923 `(wl-highlight-message-important-header-contents2 ((t (:foreground ,zenburn-green+2))))
924 `(wl-highlight-message-signature ((t (:foreground ,zenburn-green))))
925 `(wl-highlight-message-unimportant-header-contents ((t (:foreground ,zenburn-fg))))
926 `(wl-highlight-summary-answered-face ((t (:foreground ,zenburn-blue))))
927 `(wl-highlight-summary-disposed-face ((t (:foreground ,zenburn-fg
928 :slant italic))))
929 `(wl-highlight-summary-new-face ((t (:foreground ,zenburn-blue))))
930 `(wl-highlight-summary-normal-face ((t (:foreground ,zenburn-fg))))
931 `(wl-highlight-summary-thread-top-face ((t (:foreground ,zenburn-yellow))))
932 `(wl-highlight-thread-indent-face ((t (:foreground ,zenburn-magenta))))
933 `(wl-highlight-summary-refiled-face ((t (:foreground ,zenburn-fg))))
934 `(wl-highlight-summary-displaying-face ((t (:underline t :weight bold))))
935 ;;;;; which-func-mode
936 `(which-func ((t (:foreground ,zenburn-green+4))))
937 ;;;;; yascroll
938 `(yascroll:thumb-text-area ((t (:background ,zenburn-bg-1))))
939 `(yascroll:thumb-fringe ((t (:background ,zenburn-bg-1 :foreground ,zenburn-bg-1))))
940 ))
941
942 ;;; Theme Variables
943 (zenburn-with-color-variables
944 (custom-theme-set-variables
945 'zenburn
946 ;;;;; ansi-color
947 `(ansi-color-names-vector [,zenburn-bg ,zenburn-red ,zenburn-green ,zenburn-yellow
948 ,zenburn-blue ,zenburn-magenta ,zenburn-cyan ,zenburn-fg])
949 ;;;;; fill-column-indicator
950 `(fci-rule-color ,zenburn-bg-05)
951 ;;;;; vc-annotate
952 `(vc-annotate-color-map
953 '(( 20. . ,zenburn-red-1)
954 ( 40. . ,zenburn-red)
955 ( 60. . ,zenburn-orange)
956 ( 80. . ,zenburn-yellow-2)
957 (100. . ,zenburn-yellow-1)
958 (120. . ,zenburn-yellow)
959 (140. . ,zenburn-green-1)
960 (160. . ,zenburn-green)
961 (180. . ,zenburn-green+1)
962 (200. . ,zenburn-green+2)
963 (220. . ,zenburn-green+3)
964 (240. . ,zenburn-green+4)
965 (260. . ,zenburn-cyan)
966 (280. . ,zenburn-blue-2)
967 (300. . ,zenburn-blue-1)
968 (320. . ,zenburn-blue)
969 (340. . ,zenburn-blue+1)
970 (360. . ,zenburn-magenta)))
971 `(vc-annotate-very-old-color ,zenburn-magenta)
972 `(vc-annotate-background ,zenburn-bg-1)
973 ))
974
975 ;;; Rainbow Support
976
977 (declare-function rainbow-mode 'rainbow-mode)
978 (declare-function rainbow-colorize-by-assoc 'rainbow-mode)
979
980 (defvar zenburn-add-font-lock-keywords nil
981 "Whether to add font-lock keywords for zenburn color names.
982 In buffers visiting library `zenburn-theme.el' the zenburn
983 specific keywords are always added. In all other Emacs-Lisp
984 buffers this variable controls whether this should be done.
985 This requires library `rainbow-mode'.")
986
987 (defvar zenburn-colors-font-lock-keywords nil)
988
989 ;; (defadvice rainbow-turn-on (after zenburn activate)
990 ;; "Maybe also add font-lock keywords for zenburn colors."
991 ;; (when (and (derived-mode-p 'emacs-lisp-mode)
992 ;; (or zenburn-add-font-lock-keywords
993 ;; (equal (file-name-nondirectory (buffer-file-name))
994 ;; "zenburn-theme.el")))
995 ;; (unless zenburn-colors-font-lock-keywords
996 ;; (setq zenburn-colors-font-lock-keywords
997 ;; `((,(regexp-opt (mapcar 'car zenburn-colors-alist) 'words)
998 ;; (0 (rainbow-colorize-by-assoc zenburn-colors-alist))))))
999 ;; (font-lock-add-keywords nil zenburn-colors-font-lock-keywords)))
1000
1001 ;; (defadvice rainbow-turn-off (after zenburn activate)
1002 ;; "Also remove font-lock keywords for zenburn colors."
1003 ;; (font-lock-remove-keywords nil zenburn-colors-font-lock-keywords))
1004
1005 ;;; Footer
1006
1007 ;;;###autoload
1008 (and load-file-name
1009 (boundp 'custom-theme-load-path)
1010 (add-to-list 'custom-theme-load-path
1011 (file-name-as-directory
1012 (file-name-directory load-file-name))))
1013
1014 (provide-theme 'zenburn)
1015
1016 ;;;###autoload
1017 (add-to-list 'safe-local-eval-forms
1018 '(when (require 'rainbow-mode nil t) (rainbow-mode 1)))
1019
1020 ;; Local Variables:
1021 ;; no-byte-compile: t
1022 ;; indent-tabs-mode: nil
1023 ;; eval: (when (require 'rainbow-mode nil t) (rainbow-mode 1))
1024 ;; End:
1025 ;;; zenburn-theme.el ends here
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.