zenburn-theme.el 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609
  1. ;;; zenburn-theme.el --- Dark and clean theme
  2. ;; Copyright (C) 2011 Free Software Foundation, Inc.
  3. ;; Author: Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
  4. ;; Created: 2011-05-02
  5. ;; This file is free software: you can redistribute it and/or modify
  6. ;; it under the terms of the GNU General Public License as published by
  7. ;; the Free Software Foundation, either version 3 of the License, or
  8. ;; (at your option) any later version.
  9. ;; This file is distributed in the hope that it will be useful,
  10. ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. ;; GNU General Public License for more details.
  13. ;; <http://www.gnu.org/licenses/>.
  14. ;; zenburn theme, a nice low-contrast theme
  15. (deftheme zenburn
  16. "The Zenburn theme.")
  17. (let ( (zenburn-fg "#dcdccc")
  18. (zenburn-bg-1 "#2b2b2b")
  19. (zenburn-bg "#3f3f3f")
  20. (zenburn-bg+1 "#4f4f4f")
  21. (zenburn-bg+2 "#5f5f5f")
  22. (zenburn-red+1 "#dca3a3")
  23. (zenburn-red "#cc9393")
  24. (zenburn-red-1 "#bc8383")
  25. (zenburn-red-2 "#ac7373")
  26. (zenburn-red-3 "#9c6363")
  27. (zenburn-red-4 "#8c5353")
  28. (zenburn-orange "#dfaf8f")
  29. (zenburn-yellow "#f0dfaf")
  30. (zenburn-yellow-1 "#e0cf9f")
  31. (zenburn-yellow-2 "#d0bf8f")
  32. (zenburn-green-4 "#2e3330")
  33. (zenburn-green-1 "#5f7f5f")
  34. (zenburn-green "#7f9f7f")
  35. (zenburn-green+1 "#8fb28f")
  36. (zenburn-green+2 "#9fc59f")
  37. (zenburn-green+3 "#afd8af")
  38. (zenburn-green+4 "#bfebbf")
  39. (zenburn-cyan "#93e0e3")
  40. (zenburn-blue+1 "#94bff3")
  41. (zenburn-blue "#8cd0d3")
  42. (zenburn-blue-1 "#7cb8bb")
  43. (zenburn-blue-2 "#6ca0a3")
  44. (zenburn-blue-3 "#5c888b")
  45. (zenburn-blue-4 "#4c7073")
  46. (zenburn-blue-5 "#366060")
  47. (zenburn-magenta "#dc8cc3"))
  48. (custom-theme-set-faces
  49. 'zenburn
  50. ;; setup for inheritance
  51. `(zenburn-background ((t (:background ,zenburn-bg))))
  52. `(zenburn-background-1 ((t (:background ,zenburn-bg+1))))
  53. `(zenburn-background-2 ((t (:background ,zenburn-bg+2))))
  54. `(zenburn-primary-1 ((t (:foreground ,zenburn-yellow-1 :weight bold))))
  55. `(zenburn-primary-2 ((t (:foreground ,zenburn-orange :weight bold))))
  56. '(zenburn-primary-3 ((t (:foreground "#dfdfbf" :weight bold))))
  57. '(zenburn-primary-4 ((t (:foreground "#dca3a3" :weight bold))))
  58. '(zenburn-primary-5 ((t (:foreground "#94bff3" :weight bold))))
  59. '(zenburn-highlight-damp ((t (:foreground "#88b090" :background "#2e3330"))))
  60. '(zenburn-highlight-alerting ((t (:foreground "#e37170" :background "#332323"))))
  61. '(zenburn-highlight-subtle ((t (:background "#464646"))))
  62. '(zenburn-lowlight-1 ((t (:foreground "#606060"))))
  63. '(zenburn-lowlight-2 ((t (:foreground "#708070"))))
  64. `(zenburn-yellow ((t (:foreground ,zenburn-yellow))))
  65. `(zenburn-orange ((t (:foreground ,zenburn-orange))))
  66. `(zenburn-red ((t (:foreground ,zenburn-red))))
  67. `(zenburn-red-1 ((t (:foreground ,zenburn-red-1))))
  68. `(zenburn-red-2 ((t (:foreground ,zenburn-red-2))))
  69. `(zenburn-red-3 ((t (:foreground ,zenburn-red-3))))
  70. `(zenburn-red-4 ((t (:foreground ,zenburn-red-4))))
  71. `(zenburn-green-1 ((t (:foreground ,zenburn-green-1))))
  72. `(zenburn-green ((t (:foreground ,zenburn-green))))
  73. `(zenburn-green+1 ((t (:foreground ,zenburn-green+1))))
  74. `(zenburn-green+2 ((t (:foreground ,zenburn-green+2))))
  75. `(zenburn-green+3 ((t (:foreground ,zenburn-green+3))))
  76. `(zenburn-green+4 ((t (:foreground ,zenburn-green+4))))
  77. `(zenburn-blue ((t (:foreground ,zenburn-blue))))
  78. `(zenburn-blue-1 ((t (:foreground ,zenburn-blue-1))))
  79. `(zenburn-blue-2 ((t (:foreground ,zenburn-blue-2))))
  80. `(zenburn-blue-3 ((t (:foreground ,zenburn-blue-3))))
  81. `(zenburn-blue-4 ((t (:foreground ,zenburn-blue-4))))
  82. '(zenburn-title ((t (:inherit 'variable-pitch :weight bold))))
  83. ;; basics
  84. '(Bold ((t (:weight bold))))
  85. '(bold-italic ((t (:slant italic :weight bold))))
  86. `(default ((t (:background ,zenburn-bg :foreground ,zenburn-fg))))
  87. '(fixed-pitch ((t (:weight bold))))
  88. '(italic ((t (:slant italic))))
  89. '(underline ((t (:underline t))))
  90. '(fringe ((t (:inherit 'default))))
  91. '(header-line ((t (:inherit 'zenburn-highlight-damp
  92. :box (:color "#2e3330" :line-width 2)))))
  93. '(highlight ((t (:weight bold :underline t))))
  94. '(hover-highlight ((t (:underline t :foreground "#f8f893"))))
  95. '(match ((t (:weight bold))))
  96. `(menu ((t (:background "#1e2320"))))
  97. `(mode-line-inactive ((t (:background ,zenburn-green-4 :foreground "#88b090"
  98. :box (:color "#2e3330" :line-width 2)))))
  99. '(mouse ((t (:inherit 'zenburn-foreground))))
  100. '(paren ((t (:inherit 'zenburn-lowlight-1))))
  101. '(trailing-whitespace ((t (:inherit font-lock-warning))))
  102. `(Buffer-menu-buffer ((t (:inherit 'zenburn-primary-1))))
  103. `(border ((t (:background ,zenburn-bg))))
  104. `(button ((t (:foreground ,zenburn-yellow :background "#506070"
  105. :weight bold :underline t))))
  106. `(cursor ((t (:background "#aaaaaa" :foreground nil))))
  107. `(escape-glyph-face ((t (:foreground ,zenburn-red))))
  108. `(minibuffer-prompt ((t (:foreground ,zenburn-yellow))))
  109. `(mode-line ((t (:foreground ,zenburn-yellow :background "#1e2320"
  110. :box (:color "#1e2320" :line-width 2)))))
  111. `(region ((t (:foreground nil :background ,zenburn-bg+2))))
  112. `(scroll-bar ((t (:background ,zenburn-bg+2))))
  113. `(secondary-selection ((t (:foreground nil :background ,zenburn-bg+2))))
  114. `(tool-bar ((t (:background ,zenburn-bg+2))))
  115. ;; apt-utils
  116. '(apt-utils-normal-package ((t (:inherit 'zenburn-primary-1))))
  117. '(apt-utils-virtual-package ((t (:inherit 'zenburn-primary-2))))
  118. '(apt-utils-field-keyword ((t (:inherit font-lock-doc))))
  119. '(apt-utils-field-contents ((t (:inherit font-lock-comment))))
  120. '(apt-utils-summary ((t (:inherit bold))))
  121. '(apt-utils-description ((t (:inherit default))))
  122. '(apt-utils-version ((t (:inherit 'zenburn-blue))))
  123. '(apt-utils-broken ((t (:inherit font-lock-warning))))
  124. ;; breakpoint
  125. '(breakpoint-enabled-bitmap ((t (:inherit 'zenburn-primary-1))))
  126. '(breakpoint-disabled-bitmap ((t (:inherit font-lock-comment))))
  127. ;; calendar
  128. '(calendar-today ((t (:underline nil :inherit 'zenburn-primary-2))))
  129. ;; change-log
  130. '(change-log-date ((t (:inherit 'zenburn-blue))))
  131. ;; circe
  132. '(circe-highlight-nick-face ((t (:inherit 'zenburn-primary-1))))
  133. '(circe-my-message-face ((t (:inherit 'zenburn-yellow))))
  134. '(circe-originator-face ((t (:inherit bold))))
  135. '(circe-prompt-face ((t (:inherit 'zenburn-primary-1))))
  136. '(circe-server-face ((t (:inherit font-lock-comment-face))))
  137. ;; comint
  138. '(comint-highlight-input ((t (:inherit 'zenburn-primary-1))))
  139. '(comint-highlight-prompt ((t (:inherit 'zenburn-primary-2))))
  140. ;; compilation
  141. '(compilation-info ((t (:inherit 'zenburn-primary-1))))
  142. '(compilation-warning ((t (:inherit font-lock-warning))))
  143. ;; cua
  144. '(cua-rectangle ((t (:inherit region))))
  145. ;; custom
  146. '(custom-button ((t (:inherit fancy-widget-button))))
  147. '(custom-button-pressed ((t (:inherit fancy-widget-button-pressed))))
  148. '(custom-changed ((t (:inherit 'zenburn-blue))))
  149. '(custom-comment ((t (:inherit font-lock-doc))))
  150. '(custom-comment-tag ((t (:inherit font-lock-doc))))
  151. '(custom-documentation ((t (:inherit font-lock-doc))))
  152. '(custom-link ((t (:inherit 'zenburn-yellow :underline t))))
  153. '(custom-tag ((t (:inherit 'zenburn-primary-2))))
  154. '(custom-group-tag ((t (:inherit 'zenburn-primary-1))))
  155. '(custom-group-tag-1 ((t (:inherit 'zenburn-primary-4))))
  156. '(custom-invalid ((t (:inherit font-lock-warning))))
  157. '(custom-modified ((t (:inherit 'zenburn-primary-3))))
  158. '(custom-rogue ((t (:inherit font-lock-warning))))
  159. '(custom-saved ((t (:underline t))))
  160. '(custom-set ((t (:inverse-video t :inherit 'zenburn-blue))))
  161. '(custom-state ((t (:inherit font-lock-comment))))
  162. '(custom-variable-button ((t (:weight bold :underline t))))
  163. '(custom-variable-tag ((t (:inherit 'zenburn-primary-2))))
  164. ;; diary
  165. '(diary ((t (:underline nil :inherit 'zenburn-primary-1))))
  166. ;; dictionary
  167. '(dictionary-button ((t (:inherit fancy-widget-button))))
  168. '(dictionary-reference ((t (:inherit 'zenburn-primary-1))))
  169. '(dictionary-word-entry ((t (:inherit font-lock-keyword))))
  170. ;; diff
  171. '(diff-header-face ((t (:inherit 'zenburn-highlight-subtle))))
  172. '(diff-index-face ((t (:inherit bold))))
  173. '(diff-file-header-face ((t (:inherit bold))))
  174. '(diff-hunk-header-face ((t (:inherit 'zenburn-highlight-subtle))))
  175. '(diff-added-face ((t (:inherit 'zenburn-primary-3))))
  176. '(diff-removed-face ((t (:inherit 'zenburn-blue))))
  177. '(diff-context-face ((t (:inherit font-lock-comment))))
  178. '(diff-refine-change-face ((t (:inherit 'zenburn-background-2))))
  179. ;; emms
  180. `(emms-pbi-song ((t (:foreground ,zenburn-yellow))))
  181. '(emms-pbi-current ((t (:inherit 'zenburn-primary-1))))
  182. '(emms-pbi-mark-marked ((t (:inherit 'zenburn-primary-2))))
  183. ;; erc
  184. '(erc-action-face ((t (:inherit erc-default))))
  185. '(erc-bold-face ((t (:weight bold))))
  186. '(erc-current-nick-face ((t (:inherit 'zenburn-primary-1))))
  187. '(erc-dangerous-host-face ((t (:inherit font-lock-warning))))
  188. '(erc-direct-msg-face ((t (:inherit erc-default))))
  189. '(erc-error-face ((t (:inherit font-lock-warning))))
  190. '(erc-fool-face ((t (:inherit 'zenburn-lowlight-1))))
  191. '(erc-highlight-face ((t (:inherit hover-highlight))))
  192. '(erc-keyword-face ((t (:inherit 'zenburn-primary-1))))
  193. '(erc-my-nick-face ((t (:inherit 'zenburn-red))))
  194. '(erc-nick-default-face ((t (:inherit bold))))
  195. '(erc-nick-msg-face ((t (:inherit erc-default))))
  196. '(erc-notice-face ((t (:inherit 'zenburn-green))))
  197. '(erc-pal-face ((t (:inherit 'zenburn-primary-3))))
  198. '(erc-prompt-face ((t (:inherit 'zenburn-primary-2))))
  199. '(erc-timestamp-face ((t (:inherit 'zenburn-green+1))))
  200. '(erc-underline-face ((t (:inherit underline))))
  201. `(erc-default-face ((t (:foreground ,zenburn-fg))))
  202. `(erc-input-face ((t (:foreground ,zenburn-yellow))))
  203. ;; eshell
  204. '(eshell-prompt ((t (:inherit 'zenburn-primary-1))))
  205. `(eshell-ls-archive ((t (:foreground ,zenburn-red-1 :weight bold))))
  206. '(eshell-ls-backup ((t (:inherit font-lock-comment))))
  207. '(eshell-ls-clutter ((t (:inherit font-lock-comment))))
  208. `(eshell-ls-directory ((t (:foreground ,zenburn-blue+1 :weight bold))))
  209. `(eshell-ls-executable ((t (:foreground ,zenburn-red+1 :weight bold))))
  210. '(eshell-ls-unreadable ((t (:inherit 'zenburn-lowlight-1))))
  211. '(eshell-ls-missing ((t (:inherit font-lock-warning))))
  212. '(eshell-ls-product ((t (:inherit font-lock-doc))))
  213. '(eshell-ls-special ((t (:inherit 'zenburn-primary-1))))
  214. `(eshell-ls-symlink ((t (:foreground ,zenburn-cyan :weight bold))))
  215. ;; flyspell
  216. `(flyspell-duplicate ((t (:foreground ,zenburn-yellow :weight bold))))
  217. `(flyspell-incorrect ((t (:foreground ,zenburn-red :weight bold))))
  218. ;; font-latex
  219. '(font-latex-bold ((t (:inherit bold))))
  220. '(font-latex-warning ((t (:inherit font-lock-warning))))
  221. '(font-latex-sedate ((t (:inherit 'zenburn-primary-1))))
  222. '(font-latex-title-4 ((t (:inherit 'zenburn-title))))
  223. ;; font-locking
  224. '(font-lock-builtin-face ((t (:inherit 'zenburn-blue))))
  225. `(font-lock-comment-face ((t (:foreground ,zenburn-green :slant italic))))
  226. `(font-lock-comment-delimiter-face ((t (:foreground ,zenburn-green))))
  227. '(font-lock-constant-face ((t (:inherit 'zenburn-primary-4))))
  228. '(font-lock-doc-face ((t (:inherit 'zenburn-green+1))))
  229. `(font-lock-doc-string-face ((t (:foreground ,zenburn-blue+1))))
  230. `(font-lock-function-name-face ((t (:foreground ,zenburn-blue))))
  231. '(font-lock-keyword-face ((t (:inherit 'zenburn-primary-1))))
  232. '(font-lock-negation-char-face ((t (:inherit 'zenburn-primary-1))))
  233. '(font-lock-preprocessor-face ((t (:inherit 'zenburn-red))))
  234. '(font-lock-string-face ((t (:inherit 'zenburn-red))))
  235. '(font-lock-type-face ((t (:inherit 'zenburn-primary-3))))
  236. `(font-lock-variable-name-face ((t (:foreground ,zenburn-yellow))))
  237. '(font-lock-warning-face ((t (:inherit 'zenburn-highlight-alerting))))
  238. '(font-lock-pseudo-keyword-face ((t (:inherit 'zenburn-primary-2))))
  239. '(font-lock-operator-face ((t (:inherit 'zenburn-primary-3))))
  240. ;; gnus
  241. '(gnus-group-mail-1-face ((t (:bold t :inherit gnus-group-mail-1-empty))))
  242. '(gnus-group-mail-1-empty-face ((t (:inherit gnus-group-news-1-empty))))
  243. '(gnus-group-mail-2-face ((t (:bold t :inherit gnus-group-mail-2-empty))))
  244. '(gnus-group-mail-2-empty-face ((t (:inherit gnus-group-news-2-empty))))
  245. '(gnus-group-mail-3-face ((t (:bold t :inherit gnus-group-mail-3-empty))))
  246. '(gnus-group-mail-3-empty-face ((t (:inherit gnus-group-news-3-empty))))
  247. '(gnus-group-mail-4-face ((t (:bold t :inherit gnus-group-mail-4-empty))))
  248. '(gnus-group-mail-4-empty-face ((t (:inherit gnus-group-news-4-empty))))
  249. '(gnus-group-mail-5-face ((t (:bold t :inherit gnus-group-mail-5-empty))))
  250. '(gnus-group-mail-5-empty-face ((t (:inherit gnus-group-news-5-empty))))
  251. '(gnus-group-mail-6-face ((t (:bold t :inherit gnus-group-mail-6-empty))))
  252. '(gnus-group-mail-6-empty-face ((t (:inherit gnus-group-news-6-empty))))
  253. '(gnus-group-mail-low-face ((t (:bold t :inherit gnus-group-mail-low-empty))))
  254. '(gnus-group-mail-low-empty-face ((t (:inherit gnus-group-news-low-empty))))
  255. '(gnus-group-news-1-face ((t (:bold t :inherit gnus-group-news-1-empty))))
  256. '(gnus-group-news-2-face ((t (:bold t :inherit gnus-group-news-2-empty))))
  257. '(gnus-group-news-3-face ((t (:bold t :inherit gnus-group-news-3-empty))))
  258. '(gnus-group-news-4-face ((t (:bold t :inherit gnus-group-news-4-empty))))
  259. '(gnus-group-news-5-face ((t (:bold t :inherit gnus-group-news-5-empty))))
  260. '(gnus-group-news-6-face ((t (:bold t :inherit gnus-group-news-6-empty))))
  261. '(gnus-group-news-low-face ((t (:bold t :inherit gnus-group-news-low-empty))))
  262. '(gnus-header-content-face ((t (:inherit message-header-other))))
  263. '(gnus-header-from-face ((t (:inherit message-header-from))))
  264. '(gnus-header-name-face ((t (:inherit message-header-name))))
  265. '(gnus-header-newsgroups-face ((t (:inherit message-header-other))))
  266. '(gnus-header-subject-face ((t (:inherit message-header-subject))))
  267. '(gnus-summary-cancelled-face ((t (:inherit 'zenburn-highlight-alerting))))
  268. '(gnus-summary-high-ancient-face ((t (:inherit 'zenburn-blue))))
  269. '(gnus-summary-high-read-face ((t (:inherit 'zenburn-green :weight bold))))
  270. '(gnus-summary-high-ticked-face ((t (:inherit 'zenburn-primary-2))))
  271. '(gnus-summary-high-unread-face ((t (:inherit 'zenburn-foreground :weight bold))))
  272. '(gnus-summary-low-ancient-face ((t (:inherit 'zenburn-blue :weight normal))))
  273. '(gnus-summary-low-read-face ((t (:inherit 'zenburn-green :weight normal))))
  274. '(gnus-summary-low-ticked-face ((t (:inherit 'zenburn-primary-2))))
  275. '(gnus-summary-low-unread-face ((t (:inherit 'zenburn-foreground :weight normal))))
  276. '(gnus-summary-normal-ancient-face ((t (:inherit 'zenburn-blue :weight normal))))
  277. '(gnus-summary-normal-read-face ((t (:inherit 'zenburn-green :weight normal))))
  278. '(gnus-summary-normal-ticked-face ((t (:inherit 'zenburn-primary-2))))
  279. '(gnus-summary-normal-unread-face ((t (:inherit 'zenburn-foreground :weight normal))))
  280. '(gnus-summary-selected-face ((t (:inherit 'zenburn-primary-1))))
  281. `(gnus-cite-1-face ((t (:foreground ,zenburn-blue))))
  282. `(gnus-cite-10-face ((t (:foreground ,zenburn-yellow-1))))
  283. `(gnus-cite-11-face ((t (:foreground ,zenburn-yellow))))
  284. `(gnus-cite-2-face ((t (:foreground ,zenburn-blue-1))))
  285. `(gnus-cite-3-face ((t (:foreground ,zenburn-blue-2))))
  286. `(gnus-cite-4-face ((t (:foreground ,zenburn-green+2))))
  287. `(gnus-cite-5-face ((t (:foreground ,zenburn-green+1))))
  288. `(gnus-cite-6-face ((t (:foreground ,zenburn-green))))
  289. `(gnus-cite-7-face ((t (:foreground ,zenburn-red))))
  290. `(gnus-cite-8-face ((t (:foreground ,zenburn-red-1))))
  291. `(gnus-cite-9-face ((t (:foreground ,zenburn-red-2))))
  292. `(gnus-group-news-1-empty-face ((t (:foreground ,zenburn-yellow))))
  293. `(gnus-group-news-2-empty-face ((t (:foreground ,zenburn-green+3))))
  294. `(gnus-group-news-3-empty-face ((t (:foreground ,zenburn-green+1))))
  295. `(gnus-group-news-4-empty-face ((t (:foreground ,zenburn-blue-2))))
  296. `(gnus-group-news-5-empty-face ((t (:foreground ,zenburn-blue-3))))
  297. `(gnus-group-news-6-empty-face ((t (:inherit 'zenburn-lowlight-1))))
  298. `(gnus-group-news-low-empty-face ((t (:inherit 'zenburn-lowlight-1))))
  299. `(gnus-signature-face ((t (:foreground ,zenburn-yellow))))
  300. `(gnus-x-face ((t (:background ,zenburn-fg :foreground ,zenburn-bg))))
  301. ;; help-argument
  302. '(help-argument-name ((t (:weight bold))))
  303. ;; hi-lock-mode
  304. `(hi-yellow ((t (:foreground ,zenburn-yellow))))
  305. `(hi-pink ((t (:foreground ,zenburn-red-4))))
  306. `(hi-green ((t (:foreground ,zenburn-green-1))))
  307. `(hi-blue ((t (:foreground ,zenburn-blue-5))))
  308. ;; highlight
  309. '(highlight-current-line ((t (:inherit 'zenburn-highlight-subtle))))
  310. ;; hightlight the current line
  311. `(hl-line ((t (:inherit nil :background ,zenburn-bg-1))))
  312. ;; holiday
  313. '(holiday ((t (:underline t :inherit 'zenburn-primary-4))))
  314. ;; ibuffer
  315. '(ibuffer-deletion ((t (:inherit 'zenburn-primary-2))))
  316. '(ibuffer-marked ((t (:inherit 'zenburn-primary-1))))
  317. '(ibuffer-special-buffer ((t (:inherit font-lock-doc))))
  318. '(ibuffer-help-buffer ((t (:inherit font-lock-comment))))
  319. ;; icomplete
  320. `(icompletep-choices ((t (:foreground ,zenburn-fg))))
  321. `(icompletep-determined ((t (:foreground ,zenburn-green+1))))
  322. `(icompletep-nb-candidates ((t (:foreground ,zenburn-green+3))))
  323. `(icompletep-keys ((t (:foreground ,zenburn-red))))
  324. ;; ido
  325. '(ido-first-match ((t (:inherit 'zenburn-primary-1))))
  326. '(ido-only-match ((t (:inherit 'zenburn-primary-2))))
  327. `(ido-subdir ((t (:foreground ,zenburn-yellow))))
  328. ;; imaxima
  329. '(imaxima-latex-error ((t (:inherit font-lock-warning))))
  330. ;; info
  331. `(info-xref ((t (:foreground ,zenburn-yellow :weight bold))))
  332. '(info-xref-visited ((t (:inherit info-xref :weight normal))))
  333. '(info-header-xref ((t (:inherit info-xref))))
  334. `(info-menu-star ((t (:foreground ,zenburn-orange :weight bold))))
  335. `(info-menu-5 ((t (:inherit info-menu-star))))
  336. '(info-node ((t (:weight bold))))
  337. '(info-header-node ((t (:weight normal))))
  338. ;; isearch
  339. `(isearch ((t (:foreground ,zenburn-yellow :background ,zenburn-bg-1))))
  340. `(isearch-fail ((t (:foreground ,zenburn-fg :background ,zenburn-red-4))))
  341. `(lazy-highlight ((t (:foreground ,zenburn-yellow :background ,zenburn-bg+2))))
  342. ;; jabber-mode
  343. '(jabber-roster-user-chatty ((t (:inherit 'zenburn-primary-1))))
  344. '(jabber-roster-user-online ((t (:inherit 'zenburn-primary-2))))
  345. '(jabber-roster-user-away ((t (:inherit font-lock-doc))))
  346. '(jabber-roster-user-xa ((t (:inherit font-lock-comment))))
  347. '(jabber-roster-user-offline ((t (:inherit 'zenburn-lowlight-1))))
  348. '(jabber-roster-user-dnd ((t (:inherit 'zenburn-primary-5))))
  349. '(jabber-roster-user-error ((t (:inherit font-lock-warning))))
  350. '(jabber-title-small ((t (:inherit 'zenburn-title :height 1.2))))
  351. '(jabber-title-medium ((t (:inherit jabber-title-small :height 1.2))))
  352. '(jabber-title-large ((t (:inherit jabber-title-medium :height 1.2))))
  353. '(jabber-chat-prompt-local ((t (:inherit 'zenburn-primary-1))))
  354. '(jabber-chat-prompt-foreign ((t (:inherit 'zenburn-primary-2))))
  355. '(jabber-rare-time-face ((t (:inherit 'zenburn-green+1))))
  356. ;; jde
  357. '(jde-java-font-lock-modifier-face ((t (:inherit 'zenburn-primary-2))))
  358. '(jde-java-font-lock-doc-tag-face ((t (:inherit 'zenburn-primary-1))))
  359. '(jde-java-font-lock-constant-face ((t (:inherit font-lock-constant))))
  360. '(jde-java-font-lock-package-face ((t (:inherit 'zenburn-primary-3))))
  361. '(jde-java-font-lock-number-face ((t (:inherit font-lock-constant))))
  362. '(jde-java-font-lock-operator-face ((t (:inherit font-lock-keyword))))
  363. '(jde-java-font-lock-link-face ((t (:inherit 'zenburn-primary-5 :underline t))))
  364. ;; keywiz
  365. '(keywiz-right-face ((t (:inherit 'zenburn-primary-1))))
  366. '(keywiz-wrong-face ((t (:inherit font-lock-warning))))
  367. '(keywiz-command-face ((t (:inherit 'zenburn-primary-2))))
  368. ;; magit
  369. '(magit-section-title ((t (:inherit 'zenburn-red))))
  370. '(magit-item-highlight ((t (:inherit 'zenburn-blue))))
  371. '(magit-branch ((t (:inherit 'zenburn-blue))))
  372. ;; makefile
  373. '(makefile-space ((t (:inherit font-lock-warning))))
  374. '(makefile-shell ((t (nil))))
  375. ;; message
  376. '(message-cited-text-face ((t (:inherit font-lock-comment))))
  377. '(message-header-name-face ((t (:inherit 'zenburn-green+1))))
  378. '(message-header-other-face ((t (:inherit 'zenburn-green))))
  379. '(message-header-to-face ((t (:inherit 'zenburn-primary-1))))
  380. '(message-header-from-face ((t (:inherit 'zenburn-primary-1))))
  381. '(message-header-cc-face ((t (:inherit 'zenburn-primary-1))))
  382. '(message-header-newsgroups-face ((t (:inherit 'zenburn-primary-1))))
  383. '(message-header-subject-face ((t (:inherit 'zenburn-primary-2))))
  384. '(message-header-xheader-face ((t (:inherit 'zenburn-green))))
  385. '(message-mml-face ((t (:inherit 'zenburn-primary-1))))
  386. '(message-separator-face ((t (:inherit font-lock-comment))))
  387. ;; minimap
  388. '(minimap-active-region-background ((t (:foreground nil :background "#233323"))))
  389. ;; org-mode
  390. `(org-agenda-clocking
  391. ((t (:background ,zenburn-green-4 :weight bold))) t)
  392. `(org-agenda-date-today
  393. ((t (:foreground ,zenburn-cyan :slant italic :weight bold))) t)
  394. `(org-agenda-date
  395. ((t (:foreground ,zenburn-blue))) t)
  396. `(org-agenda-date-weekend
  397. ((t (:foreground ,zenburn-blue+1))) t)
  398. '(org-agenda-structure
  399. ((t (:inherit font-lock-comment))))
  400. `(org-archived ((t (:foreground ,zenburn-fg :weight bold))))
  401. `(org-checkbox ((t (:background ,zenburn-bg+2 :foreground "white"
  402. :box (:line-width 1 :style released-button)))))
  403. `(org-date ((t (:foreground ,zenburn-blue :underline t))))
  404. `(org-deadline-announce ((t (:foreground ,zenburn-red-1))))
  405. `(org-done ((t (:bold t :weight bold :foreground ,zenburn-green+3))))
  406. `(org-formula ((t (:foreground ,zenburn-yellow-2))))
  407. `(org-headline-done ((t (:foreground ,zenburn-green+3))))
  408. `(org-hide ((t (:foreground ,zenburn-bg-1))))
  409. `(org-level-1 ((t (:foreground ,zenburn-orange))))
  410. `(org-level-2 ((t (:foreground ,zenburn-yellow))))
  411. `(org-level-3 ((t (:foreground ,zenburn-blue))))
  412. `(org-level-4 ((t (:foreground ,zenburn-cyan))))
  413. `(org-level-5 ((t (:foreground ,zenburn-blue-1))))
  414. `(org-level-6 ((t (:foreground ,zenburn-blue-2))))
  415. `(org-level-7 ((t (:foreground ,zenburn-blue-3))))
  416. `(org-level-8 ((t (:foreground ,zenburn-blue-4))))
  417. `(org-link ((t (:foreground ,zenburn-yellow-2 :underline t))))
  418. `(org-scheduled ((t (:foreground ,zenburn-green+4))))
  419. `(org-scheduled-previously ((t (:foreground ,zenburn-red-4))))
  420. `(org-scheduled-today ((t (:foreground ,zenburn-blue+1))))
  421. `(org-special-keyword ((t (:foreground ,zenburn-yellow-1))))
  422. `(org-table ((t (:foreground ,zenburn-green+2))))
  423. `(org-tag ((t (:bold t :weight bold))))
  424. `(org-time-grid ((t (:foreground ,zenburn-orange))))
  425. `(org-todo ((t (:bold t :foreground ,zenburn-red :weight bold))))
  426. '(org-upcoming-deadline ((t (:inherit font-lock-keyword-face))))
  427. `(org-warning ((t (:bold t :foreground ,zenburn-red :weight bold))))
  428. ;; outline
  429. '(outline-8 ((t (:inherit default))))
  430. '(outline-7 ((t (:inherit outline-8 :height 1.0))))
  431. '(outline-6 ((t (:inherit outline-7 :height 1.0))))
  432. '(outline-5 ((t (:inherit outline-6 :height 1.0))))
  433. '(outline-4 ((t (:inherit outline-5 :height 1.0))))
  434. '(outline-3 ((t (:inherit outline-4 :height 1.0))))
  435. '(outline-2 ((t (:inherit outline-3 :height 1.0))))
  436. '(outline-1 ((t (:inherit outline-2 :height 1.0))))
  437. ;; rainbow-delimiters
  438. `(rainbow-delimiters-depth-1-face ((t (:foreground ,zenburn-cyan))))
  439. `(rainbow-delimiters-depth-2-face ((t (:foreground ,zenburn-yellow))))
  440. `(rainbow-delimiters-depth-3-face ((t (:foreground ,zenburn-blue+1))))
  441. `(rainbow-delimiters-depth-4-face ((t (:foreground ,zenburn-red+1))))
  442. `(rainbow-delimiters-depth-5-face ((t (:foreground ,zenburn-green+1))))
  443. `(rainbow-delimiters-depth-6-face ((t (:foreground ,zenburn-blue-1))))
  444. `(rainbow-delimiters-depth-7-face ((t (:foreground ,zenburn-orange))))
  445. `(rainbow-delimiters-depth-8-face ((t (:foreground ,zenburn-magenta))))
  446. `(rainbow-delimiters-depth-9-face ((t (:foreground ,zenburn-yellow-2))))
  447. `(rainbow-delimiters-depth-10-face ((t (:foreground ,zenburn-green+2))))
  448. `(rainbow-delimiters-depth-11-face ((t (:foreground ,zenburn-blue+1))))
  449. `(rainbow-delimiters-depth-12-face ((t (:foreground ,zenburn-red-4))))
  450. ;; rcirc
  451. '(rcirc-my-nick ((t (:inherit 'zenburn-primary-1))))
  452. '(rcirc-other-nick ((t (:inherit bold))))
  453. '(rcirc-bright-nick ((t (:foreground "white" :inherit rcirc-other-nick))))
  454. '(rcirc-dim-nick ((t (:inherit font-lock-comment))))
  455. '(rcirc-nick-in-message ((t (:inherit bold))))
  456. '(rcirc-server ((t (:inherit font-lock-comment))))
  457. '(rcirc-server-prefix ((t (:inherit font-lock-comment-delimiter))))
  458. '(rcirc-timestamp ((t (:inherit font-lock-comment))))
  459. '(rcirc-prompt ((t (:inherit 'zenburn-primary-1))))
  460. '(rcirc-mode-line-nick ((t (:inherit 'zenburn-primary-1))))
  461. ;; show-paren
  462. '(show-paren-mismatch ((t (:inherit font-lock-warning :weight bold))))
  463. `(show-paren-match ((t (:background ,zenburn-blue-5 :underline nil))))
  464. ;; setnu
  465. '(setnu-line-number ((t (:inherit 'zenburn-lowlight-2))))
  466. ;; speedbar
  467. '(speedbar-button-face ((t (:inherit 'zenburn-primary-1))))
  468. '(speedbar-file-face ((t (:inherit 'zenburn-primary-2))))
  469. '(speedbar-directory-face ((t (:inherit 'zenburn-primary-5))))
  470. '(speedbar-tag-face ((t (:inherit font-lock-function-name))))
  471. '(speedbar-highlight-face ((t (:underline t))))
  472. ;; strokes
  473. '(strokes-char-face ((t (:inherit font-lock-keyword))))
  474. ;; todoo
  475. '(todoo-item-header-face ((t (:inherit 'zenburn-primary-1))))
  476. '(todoo-item-assigned-header-face ((t (:inherit 'zenburn-primary-2))))
  477. `(todoo-sub-item-header-face ((t (:foreground ,zenburn-yellow))))
  478. ;; tuareg
  479. '(tuareg-font-lock-governing-face ((t (:inherit 'zenburn-primary-2))))
  480. '(tuareg-font-lock-interactive-error-face ((t (:inherit font-lock-warning))))
  481. '(tuareg-font-lock-interactive-output-face ((t (:inherit 'zenburn-primary-3))))
  482. '(tuareg-font-lock-operator-face ((t (:inherit font-lock-operator))))
  483. ;; twittering-mode
  484. '(twittering-username-face ((t (:inherit 'zenburn-red-2))))
  485. '(twittering-uri-face ((t (:inherit 'zenburn-blue :underline t))))
  486. ;; w3m
  487. '(w3m-form-button-face ((t (:inherit widget-button))))
  488. '(w3m-form-button-pressed-face ((t (:inherit widget-button-pressed))))
  489. '(w3m-form-button-mouse-face ((t (:inherit widget-button-pressed))))
  490. '(w3m-tab-unselected-face ((t (:box (:line-width 1 :style released-button)))))
  491. '(w3m-tab-selected-face ((t (:box (:line-width 1 :style pressed-button)))))
  492. '(w3m-tab-unselected-retrieving-face
  493. ((t (:inherit w3m-tab-unselected widget-inactive))))
  494. '(w3m-tab-selected-retrieving-face
  495. ((t (:inherit w3m-tab-selected widget-inactive))))
  496. '(w3m-tab-background-face ((t (:inherit 'zenburn-highlight-subtle))))
  497. '(w3m-anchor-face ((t (:inherit 'zenburn-primary-1))))
  498. '(w3m-arrived-anchor-face ((t (:inherit 'zenburn-primary-2))))
  499. '(w3m-image-face ((t (:inherit 'zenburn-primary-3))))
  500. '(w3m-form-face ((t (:inherit widget-field))))
  501. ;; which
  502. '(which-func ((t (:inherit mode-line))))
  503. ;; wl (wanderlust)
  504. ;; some faces end with -face, while other don't; confusing
  505. '(wl-highlight-folder-few-face ((t (:inherit 'zenburn-red-2))))
  506. '(wl-highlight-folder-many-face ((t (:inherit 'zenburn-red-1))))
  507. '(wl-highlight-folder-path-face ((t (:inherit 'zenburn-orange))))
  508. '(wl-highlight-folder-unread-face ((t (:inherit 'zenburn-blue))))
  509. '(wl-highlight-folder-zero-face ((t (:inherit 'zenburn-fg))))
  510. '(wl-highlight-folder-unknown-face ((t (:inherit 'zenburn-blue))))
  511. '(wl-highlight-message-citation-header ((t (:inherit 'zenburn-red-1))))
  512. '(wl-highlight-message-cited-text-1 ((t (:inherit 'zenburn-red))))
  513. '(wl-highlight-message-cited-text-2 ((t (:inherit 'zenburn-green+2))))
  514. '(wl-highlight-message-cited-text-3 ((t (:inherit 'zenburn-blue))))
  515. '(wl-highlight-message-cited-text-4 ((t (:inherit 'zenburn-blue+))))
  516. '(wl-highlight-message-header-contents-face ((t (:inherit 'zenburn-green))))
  517. '(wl-highlight-message-headers-face ((t (:inherit 'zenburn-red+1))))
  518. '(wl-highlight-message-important-header-contents ((t (:inherit 'zenburn-green+2))))
  519. '(wl-highlight-message-header-contents ((t (:inherit 'zenburn-green+1))))
  520. '(wl-highlight-message-important-header-contents2 ((t (:inherit 'zenburn-green+2))))
  521. '(wl-highlight-message-signature ((t (:inherit 'zenburn-green))))
  522. '(wl-highlight-message-unimportant-header-contents ((t (:inherit 'zenburn-lowlight-2))))
  523. '(wl-highlight-summary-answered-face ((t (:inherit 'zenburn-blue))))
  524. '(wl-highlight-summary-disposed-face ((t (:inherit 'zenburn-lowlight-2
  525. :slant italic))))
  526. '(wl-highlight-summary-new-face ((t (:inherit 'zenburn-blue))))
  527. '(wl-highlight-summary-normal-face ((t (:inherit 'zenburn-fg))))
  528. `(wl-highlight-summary-thread-top-face ((t (:foreground ,zenburn-yellow))))
  529. `(wl-highlight-thread-indent-face ((t (:foreground ,zenburn-magenta))))
  530. '(wl-highlight-summary-refiled-face ((t (:inherit 'zenburn-lowlight-2))))
  531. '(wl-highlight-summary-displaying-face ((t (:underline t :weight bold))))
  532. ))
  533. (provide-theme 'zenburn)
  534. ;; Local Variables:
  535. ;; no-byte-compile: t
  536. ;; End: