Update copyright year to 2014 by running admin/update-copyright.
[emacs.git] / etc / themes / leuven-theme.el
bloba6aa533bc065d1dd7fcbc2ad0afac8c10b93333b
1 ;;; leuven-theme.el --- Awesome Emacs color theme on white background
3 ;; Copyright (C) 2003-2014 Free Software Foundation, Inc.
5 ;; Author: Fabrice Niessen <(concat "fniessen" at-sign "pirilampo.org")>
6 ;; URL: https://github.com/fniessen/emacs-leuven-theme
7 ;; Version: 20130918.1010
8 ;; Keywords: color theme
10 ;; This file is part of GNU Emacs.
12 ;; GNU Emacs is free software: you can redistribute it and/or modify
13 ;; it under the terms of the GNU General Public License as published by
14 ;; the Free Software Foundation, either version 3 of the License, or
15 ;; (at your option) any later version.
17 ;; GNU Emacs is distributed in the hope that it will be useful,
18 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
19 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 ;; GNU General Public License for more details.
22 ;; You should have received a copy of the GNU General Public License
23 ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
25 ;;; Commentary:
27 ;; This Org-enhancing color theme "leuven" ROCKS!
28 ;; ... and not just for Org mode.
30 ;; To use it, put the following in your Emacs configuration file:
32 ;; (load-theme 'leuven t)
34 ;; Requirements: Emacs 24.
36 ;;; Code:
38 (deftheme leuven
39 "Face colors with a light background.
40 Basic, Font Lock, Isearch, Gnus, Message, Diff, Ediff, Flyspell,
41 Semantic, and Ansi-Color faces are included -- and much more...")
43 (let ((class '((class color) (min-colors 89)))
45 ;; Leuven generic colors
46 (cancel '(:slant italic :strike-through t :foreground "gray55"))
47 (clock-line '(:box (:line-width 1 :color "#335EA8") :foreground "black" :background "#EEC900"))
48 (code-block '(:foreground "#000088" :background "#FFFFE0"))
49 (code-inline '(:box (:line-width 1 :color "#DDDDDD") :foreground "#000088" :background "#FFFFE0"))
50 (column '(:height 1.0 :weight normal :slant normal :underline nil :strike-through nil :foreground "#E6AD4F" :background "#FFF2DE"))
51 (diff-added '(:foreground "#008000" :background "#DDFFDD"))
52 (diff-hunk-header '(:foreground "#990099" :background "#FFEEFF"))
53 (diff-none '(:foreground "gray33"))
54 (diff-removed '(:foreground "#A60000" :background "#FFDDDD"))
55 (directory '(:weight bold :foreground "blue" :background "#FFFFD2"))
56 (highlight-line '(:background "#FEFCAE")) ;; #F5F5F5 or #CCDEED
57 (link '(:underline t :foreground "#006DAF"))
58 (mail-header-name '(:weight bold :foreground "black"))
59 (marked-line '(:weight bold :foreground "white" :background "red"))
60 (match '(:background "#FBE448"))
61 (ol1 '(:height 1.3 :weight bold :overline "#A7A7A7" :foreground "#3C3C3C" :background "#F0F0F0"))
62 (ol2 '(:height 1.0 :weight bold :overline "#123555" :foreground "#123555" :background "#E5F4FB"))
63 (ol3 '(:height 1.0 :weight bold :foreground "#005522" :background "#EFFFEF"))
64 (ol4 '(:height 1.0 :weight bold :slant normal :foreground "#EA6300"))
65 (ol5 '(:height 1.0 :weight bold :slant normal :foreground "#E3258D"))
66 (ol6 '(:height 1.0 :weight bold :slant italic :foreground "#0077CC"))
67 (ol7 '(:height 1.0 :weight bold :slant italic :foreground "#2EAE2C"))
68 (ol8 '(:height 1.0 :weight bold :slant italic :foreground "#FD8008"))
69 (region '(:background "#ADD6FF")) ;; #CCCCCC
70 (shadow '(:foreground "#7F7F7F"))
71 (string '(:foreground "#FF4700")) ;; #D0372D or #23238E
72 (subject '(:weight bold :foreground "#CF5D60"))
73 (symlink '(:foreground "deep sky blue"))
74 (volatile-highlight '(:background "#FBE448"))
75 (vc-branch '(:box (:line-width 1 :color "#00CC33") :foreground "black" :background "#AAFFAA")))
77 (custom-theme-set-faces
78 'leuven
79 `(default ((,class (:foreground "#333333" :background "#FFFFFF"))))
80 `(bold ((,class (:weight bold :foreground "black"))))
81 `(bold-italic ((,class (:weight bold :slant italic :foreground "black"))))
82 `(italic ((,class (:slant italic :foreground "#1A1A1A"))))
83 `(underline ((,class (:underline t))))
84 `(cursor ((,class (:background "#15FF00"))))
86 ;; Highlighting faces
87 `(fringe ((,class (:foreground "#56B556" :background "#E2F9E2"))))
88 `(highlight ((,class ,volatile-highlight)))
89 `(region ((,class ,region)))
90 `(secondary-selection ((,class ,match))) ;; used by Org-mode for highlighting matched entries and keywords
91 `(isearch ((,class (:weight bold :foreground "#00AA00" :background "#99FF99"))))
92 `(isearch-fail ((,class (:weight bold :foreground "black" :background "#FF9999"))))
93 `(lazy-highlight ((,class (:weight bold :foreground "#990099" :background "#FF66FF"))))
94 `(trailing-whitespace ((,class (:background "#F6EBFE"))))
95 `(whitespace-line ((,class (:foreground "#CC0000" :background "#FFFF88"))))
96 `(whitespace-tab ((,class (:foreground "lightgray" :background "beige"))))
97 `(whitespace-indentation ((,class (:foreground "firebrick" :background "yellow"))))
98 `(whitespace-trailing ((,class (:weight bold :foreground "yellow" :background "red1"))))
99 `(whitespace-hspace ((,class (:background "#CCE8F6"))))
101 ;; Mode line faces
102 `(mode-line ((,class (:box (:line-width 1 :color "#1A2F54") :foreground "#85CEEB" :background "#335EA8"))))
103 `(mode-line-inactive ((,class (:box (:line-width 1 :color "#4E4E4C") :foreground "#F0F0EF" :background "#9B9C97"))))
104 `(mode-line-buffer-id ((,class (:weight bold :foreground "white"))))
105 `(mode-line-emphasis ((,class (:weight bold :foreground "white"))))
106 `(mode-line-highlight ((,class (:foreground "yellow"))))
108 ;; Escape and prompt faces
109 `(minibuffer-prompt ((,class (:weight bold :foreground "black" :background "gold"))))
110 `(minibuffer-noticeable-prompt ((,class (:weight bold :foreground "black" :background "gold"))))
111 `(escape-glyph ((,class (:foreground "#008ED1"))))
112 `(error ((,class (:foreground "red"))))
113 `(warning ((,class (:foreground "orange"))))
114 `(success ((,class (:foreground "green"))))
116 ;; Font lock faces
117 `(font-lock-builtin-face ((,class (:foreground "#006FE0"))))
118 `(font-lock-comment-delimiter-face ((,class (:foreground "#008200")))) ;; #696969
119 `(font-lock-comment-face ((,class (:slant italic :foreground "#008200")))) ;; #696969
120 `(font-lock-constant-face ((,class (:foreground "#6434A3"))))
121 `(font-lock-doc-face ((,class (:foreground "#008000"))))
122 `(font-lock-doc-string-face ((,class (:foreground "#008000"))))
123 `(font-lock-function-name-face ((,class (:foreground "#006699"))))
124 `(font-lock-keyword-face ((,class (:bold nil :foreground "#0000FF")))) ;; #3654DC
125 `(font-lock-preprocessor-face ((,class (:foreground "#808080"))))
126 `(font-lock-regexp-grouping-backslash ((,class (:weight bold :inherit nil))))
127 `(font-lock-regexp-grouping-construct ((,class (:weight bold :inherit nil))))
128 `(font-lock-string-face ((,class ,string)))
129 `(font-lock-type-face ((,class (:foreground "#666666"))))
130 `(font-lock-variable-name-face ((,class (:foreground "#BA36A5")))) ;; #800080
131 `(font-lock-warning-face ((,class (:weight bold :foreground "red"))))
133 ;; Button and link faces
134 `(link ((,class (:foreground "#8AC6F2" :underline t))))
135 `(link-visited ((,class (:foreground "#E5786D" :underline t))))
136 `(button ((,class (:underline t :foreground "#006DAF"))))
137 `(header-line ((,class (:weight bold :foreground "black" :background "#FFFF88" :underline "black" :overline "black"))))
139 ;; Gnus faces
140 `(gnus-cite-attribution-face ((,class (:foreground "#5050B0"))))
141 `(gnus-cite-face-1 ((,class (:foreground "#5050B0"))))
142 `(gnus-cite-face-10 ((,class (:foreground "#990000"))))
143 `(gnus-cite-face-2 ((,class (:foreground "#660066"))))
144 `(gnus-cite-face-3 ((,class (:foreground "#007777"))))
145 `(gnus-cite-face-4 ((,class (:foreground "#990000"))))
146 `(gnus-cite-face-5 ((,class (:foreground "#000099"))))
147 `(gnus-cite-face-6 ((,class (:foreground "#BB6600"))))
148 `(gnus-cite-face-7 ((,class (:foreground "#5050B0"))))
149 `(gnus-cite-face-8 ((,class (:foreground "#660066"))))
150 `(gnus-cite-face-9 ((,class (:foreground "#007777"))))
151 `(gnus-emphasis-bold ((,class (:weight bold))))
152 `(gnus-emphasis-highlight-words ((,class (:foreground "yellow" :background "black"))))
153 `(gnus-group-mail-1 ((,class (:weight bold :foreground "#FF50B0"))))
154 `(gnus-group-mail-1-empty ((,class (:foreground "#5050B0"))))
155 `(gnus-group-mail-2 ((,class (:weight bold :foreground "#FF0066"))))
156 `(gnus-group-mail-2-empty ((,class (:foreground "#660066"))))
157 `(gnus-group-mail-3 ((,class (:weight bold :foreground "black"))))
158 `(gnus-group-mail-3-empty ((,class (:foreground "#808080"))))
159 `(gnus-group-mail-low ((,class ,cancel)))
160 `(gnus-group-mail-low-empty ((,class ,cancel)))
161 `(gnus-group-news-1 ((,class (:weight bold :foreground "#FF50B0"))))
162 `(gnus-group-news-1-empty ((,class (:foreground "#5050B0"))))
163 `(gnus-group-news-2 ((,class (:weight bold :foreground "#FF0066"))))
164 `(gnus-group-news-2-empty ((,class (:foreground "#660066"))))
165 `(gnus-group-news-3 ((,class (:weight bold :foreground "black"))))
166 `(gnus-group-news-3-empty ((,class (:foreground "#808080"))))
167 `(gnus-group-news-4 ((,class (:weight bold :foreground "#FF0000"))))
168 `(gnus-group-news-4-empty ((,class (:foreground "#990000"))))
169 `(gnus-group-news-5 ((,class (:weight bold :foreground "#FF0099"))))
170 `(gnus-group-news-5-empty ((,class (:foreground "#000099"))))
171 `(gnus-group-news-6 ((,class (:weight bold :foreground "gray50"))))
172 `(gnus-group-news-6-empty ((,class (:foreground "#808080"))))
173 `(gnus-header-content ((,class (:family "Sans Serif" :foreground "#3399CC"))))
174 `(gnus-header-from ((,class (:family "Sans Serif" :foreground "blue"))))
175 `(gnus-header-name ((,class ,mail-header-name)))
176 `(gnus-header-newsgroups ((,class (:family "Sans Serif" :foreground "#3399CC"))))
177 `(gnus-header-subject ((,class ,subject)))
178 `(gnus-picon ((,class (:foreground "yellow" :background "white"))))
179 `(gnus-picon-xbm ((,class (:foreground "yellow" :background "white"))))
180 `(gnus-server-closed ((,class (:slant italic :foreground "blue" :background "white"))))
181 `(gnus-server-denied ((,class (:weight bold :foreground "red" :background "white"))))
182 `(gnus-server-opened ((,class (:foreground "white" :background "#83B869"))))
183 `(gnus-signature ((,class (:slant italic :foreground "#7F7F7F"))))
184 `(gnus-splash ((,class (:foreground "#FF8C00"))))
185 `(gnus-summary-cancelled ((,class ,cancel)))
186 `(gnus-summary-high-ancient ((,class (:weight normal :foreground "#808080" :background "#FFFFE6"))))
187 `(gnus-summary-high-read ((,class (:weight normal :foreground "#808080" :background "#FFFFE6"))))
188 `(gnus-summary-high-ticked ((,class (:weight normal :foreground "black" :background "#E7AEB0"))))
189 `(gnus-summary-high-unread ((,class (:weight normal :foreground "black" :background "#FFFFCC"))))
190 `(gnus-summary-low-ancient ((,class (:slant italic :foreground "gray55"))))
191 `(gnus-summary-low-read ((,class (:slant italic :foreground "gray55" :background "#E0E0E0"))))
192 `(gnus-summary-low-ticked ((,class (:slant italic :foreground "black" :background "#E7AEB0"))))
193 `(gnus-summary-low-unread ((,class (:slant italic :foreground "black"))))
194 `(gnus-summary-normal-ancient ((,class (:foreground "#808080"))))
195 `(gnus-summary-normal-read ((,class (:foreground "#808080"))))
196 `(gnus-summary-normal-ticked ((,class (:foreground "black" :background "#E7AEB0"))))
197 `(gnus-summary-normal-unread ((,class (:foreground "black"))))
198 `(gnus-summary-selected ((,class (:foreground "black" :background "#FFD0D0" :underline t))))
199 `(gnus-x-face ((,class (:foreground "black" :background "white"))))
201 ;; Message faces
202 `(message-header-name ((,class ,mail-header-name)))
203 `(message-header-cc ((,class (:family "Sans Serif" :foreground "blue"))))
204 `(message-header-other ((,class (:family "Sans Serif" :foreground "#3399CC"))))
205 `(message-header-subject ((,class ,subject)))
206 `(message-header-to ((,class (:family "Sans Serif" :foreground "blue"))))
207 `(message-cited-text ((,class (:foreground "#5050B0"))))
208 `(message-separator ((,class (:family "Sans Serif" :weight bold :foreground "red"))))
209 `(message-header-newsgroups ((,class (:family "Sans Serif" :foreground "#3399CC"))))
210 `(message-header-xheader ((,class (:family "Sans Serif" :foreground "#3399CC"))))
211 `(message-mml ((,class (:foreground "forest green"))))
213 ;; Diff
214 `(diff-added ((,class ,diff-added)))
215 `(diff-changed ((,class (:foreground "blue" :background "#DDDDFF"))))
216 `(diff-context ((,class ,diff-none)))
217 `(diff-file-header ((,class (:foreground "#0000CC" :background "#EAF2F5"))))
218 `(diff-file1-hunk-header ((,class (:foreground "dark magenta" :background "#EAF2F5"))))
219 `(diff-file2-hunk-header ((,class (:foreground "#2B7E2A" :background "#EAF2F5"))))
220 `(diff-header ((,class (:foreground "#999999" :background "#EAF2F5"))))
221 `(diff-hunk-header ((,class ,diff-hunk-header)))
222 `(diff-index ((,class (:foreground "#4183C4" :background "#EAF2F5")))) ;; my foreground is NOT applied!?
223 `(diff-indicator-added ((,class (:foreground "#008000" :background "#AAFFAA"))))
224 `(diff-indicator-changed ((,class (:foreground "black" :background "#AAAAFF"))))
225 `(diff-indicator-removed ((,class (:foreground "#A60000" :background "#FFAAAA"))))
226 `(diff-refine-change ((,class (:background "#DDDDFF"))))
227 `(diff-removed ((,class ,diff-removed)))
229 ;; SMerge
230 `(smerge-refined-change ((,class (:background "#AAAAFF"))))
232 ;; Ediff
233 `(ediff-current-diff-A ((,class (:foreground "gray33" :background "#FFDDDD"))))
234 `(ediff-current-diff-B ((,class (:foreground "gray33" :background "#DDFFDD"))))
235 `(ediff-current-diff-C ((,class (:foreground "black" :background "cyan"))))
236 `(ediff-even-diff-A ((,class (:foreground "black" :background "light grey"))))
237 `(ediff-even-diff-B ((,class (:foreground "black" :background "light grey"))))
238 `(ediff-fine-diff-A ((,class (:foreground "#A60000" :background "#FFAAAA"))))
239 `(ediff-fine-diff-B ((,class (:foreground "#008000" :background "#55FF55"))))
240 `(ediff-odd-diff-A ((,class (:foreground "black" :background "light grey"))))
241 `(ediff-odd-diff-B ((,class (:foreground "black" :background "light grey"))))
243 ;; Flyspell
244 `(flyspell-duplicate ((,class (:underline "#008000" :inherit nil))))
245 `(flyspell-incorrect ((,class (:underline "red" :inherit nil))))
247 ;; ;; Semantic faces
248 ;; `(semantic-decoration-on-includes ((,class (:underline ,cham-4))))
249 ;; `(semantic-decoration-on-private-members-face ((,class (:background ,alum-2))))
250 ;; `(semantic-decoration-on-protected-members-face ((,class (:background ,alum-2))))
251 ;; `(semantic-decoration-on-unknown-includes ((,class (:background ,choc-3))))
252 ;; `(semantic-decoration-on-unparsed-includes ((,class (:underline ,orange-3))))
253 ;; `(semantic-tag-boundary-face ((,class (:overline ,blue-1))))
254 ;; `(semantic-unmatched-syntax-face ((,class (:underline ,red-1))))
256 `(Info-title-1-face ((,class ,ol1)))
257 `(Info-title-2-face ((,class ,ol2)))
258 `(Info-title-3-face ((,class ,ol3)))
259 `(Info-title-4-face ((,class ,ol4)))
260 `(bbdb-company ((,class (:slant italic :foreground "steel blue"))))
261 `(bbdb-field-name ((,class (:weight bold :foreground "steel blue"))))
262 `(bbdb-field-value ((,class (:foreground "steel blue"))))
263 `(bbdb-name ((,class (:foreground "#FF6633" :underline t))))
264 `(browse-kill-ring-separator-face ((,class (:weight bold :foreground "slate gray"))))
265 `(calendar-today ((,class (:weight bold :foreground "#4F4A3D" :background "#FFFABE"))))
266 `(cfw:face-annotation ((,class (:foreground "green" :background "red"))))
267 `(cfw:face-day-title ((,class (:foreground "#C9C9C9"))))
268 `(cfw:face-default-content ((,class (:foreground "#2952A3"))))
269 `(cfw:face-default-day ((,class (:weight bold))))
270 `(cfw:face-disable ((,class (:foreground "DarkGray"))))
271 `(cfw:face-grid ((,class (:foreground "#DDDDDD"))))
272 `(cfw:face-header ((,class (:foreground "#1662AF" :background "white" :weight bold))))
273 `(cfw:face-holiday ((,class (:foreground "#777777" :background "#E4EBFE"))))
274 `(cfw:face-periods ((,class (:foreground "white" :background "#668CD9" :slant italic))))
275 `(cfw:face-saturday ((,class (:foreground "#4E4E4E" :background "white" :weight bold))))
276 `(cfw:face-select ((,class (:foreground "#4A95EB" :background "#EDF1FA"))))
277 `(cfw:face-sunday ((,class (:foreground "#4E4E4E" :background "white" :weight bold))))
278 `(cfw:face-title ((,class (:height 2.0 :foreground "#676767" :weight bold :inherit variable-pitch))))
279 `(cfw:face-today ((,class (:foreground "#4F4A3D" :background "#FFFABE"))))
280 `(cfw:face-today-title ((,class (:foreground "#4A95EB" :background "#FFFABE"))))
281 `(cfw:face-toolbar ((,class (:background "white"))))
282 `(cfw:face-toolbar-button-off ((,class (:foreground "#CFCFCF" :background "white"))))
283 `(cfw:face-toolbar-button-on ((,class (:foreground "#5E5E5E" :background "#F6F6F6"))))
284 `(change-log-date-face ((,class (:foreground "purple"))))
285 `(change-log-file ((,class (:weight bold :foreground "#4183C4"))))
286 `(circe-highlight-all-nicks-face ((,class (:foreground "blue" :background "#F0F0F0")))) ;; other nick names
287 `(circe-highlight-nick-face ((,class (:foreground "#009300" :background "#F0F0F0")))) ;; messages with my nick cited
288 `(circe-my-message-face ((,class (:foreground "#8B8B8B" :background "#F0F0F0"))))
289 `(circe-originator-face ((,class (:foreground "blue"))))
290 `(circe-prompt-face ((,class (:foreground "red"))))
291 `(circe-server-face ((,class (:foreground "#99CAE5"))))
292 `(comint-highlight-input ((,class ,code-block)))
293 `(comint-highlight-prompt ((,class (:foreground "#008ED1" :background "#EAEAFF"))))
294 `(compare-windows ((,class (:background "#FFFF00"))))
295 `(compilation-error ((,class (:weight bold :foreground "red"))))
296 `(compilation-info ((,class (:weight bold :foreground "#2A489E")))) ;; used for grep
297 `(compilation-line-number ((,class (:weight bold :foreground "#A535AE"))))
298 `(compilation-warning ((,class (:weight bold :foreground "orange"))))
299 `(css-property ((,class (:foreground "#00AA00"))))
300 `(css-selector ((,class (:weight bold :foreground "blue"))))
301 `(custom-button ((,class (:box (:line-width 2 :style released-button) :foreground "black" :background "lightgrey"))))
302 `(custom-button-mouse ((,class (:box (:line-width 2 :style released-button) :foreground "black" :background "grey90"))))
303 `(custom-button-pressed ((,class (:box (:line-width 2 :style pressed-button) :foreground "black" :background "light grey"))))
304 `(custom-button-pressed-unraised ((,class (:foreground "magenta4" :underline t))))
305 `(custom-button-unraised ((,class (:underline t))))
306 `(custom-changed ((,class (:foreground "white" :background "blue"))))
307 `(custom-comment ((,class (:background "gray85"))))
308 `(custom-comment-tag ((,class (:foreground "blue4"))))
309 `(custom-documentation ((,class (nil))))
310 `(custom-face-tag ((,class (:family "Sans Serif" :height 1.2 :weight bold))))
311 `(custom-group-tag ((,class (:height 1.2 :weight bold :foreground "blue1"))))
312 `(custom-group-tag-1 ((,class (:family "Sans Serif" :height 1.2 :weight bold :foreground "red1"))))
313 `(custom-invalid ((,class (:foreground "yellow" :background "red"))))
314 `(custom-link ((,class (:foreground "blue1" :underline t))))
315 `(custom-modified ((,class (:foreground "white" :background "blue"))))
316 `(custom-rogue ((,class (:foreground "pink" :background "black"))))
317 `(custom-saved ((,class (:underline t))))
318 `(custom-set ((,class (:foreground "blue" :background "white"))))
319 `(custom-state ((,class (:foreground "green4"))))
320 `(custom-themed ((,class (:foreground "white" :background "blue1"))))
321 `(custom-variable-button ((,class (:weight bold :underline t))))
322 `(custom-variable-tag ((,class (:family "Sans Serif" :height 1.2 :weight bold :foreground "blue1"))))
323 `(custom-visibility ((,class ,link)))
324 `(diary-face ((,class (:foreground "#87C9FC"))))
325 `(dircolors-face-asm ((,class (:foreground "black"))))
326 `(dircolors-face-backup ((,class (:foreground "black"))))
327 `(dircolors-face-compress ((,class (:foreground "red"))))
328 `(dircolors-face-dir ((,class ,directory)))
329 `(dircolors-face-doc ((,class (:foreground "black"))))
330 `(dircolors-face-dos ((,class (:foreground "green3"))))
331 `(dircolors-face-emacs ((,class (:foreground "black"))))
332 `(dircolors-face-exec ((,class (:foreground "green3"))))
333 `(dircolors-face-html ((,class (:foreground "black"))))
334 `(dircolors-face-img ((,class (:foreground "black"))))
335 `(dircolors-face-lang ((,class (:foreground "black"))))
336 `(dircolors-face-lang-interface ((,class (:foreground "black"))))
337 `(dircolors-face-make ((,class (:foreground "black"))))
338 `(dircolors-face-objet ((,class (:foreground "black"))))
339 `(dircolors-face-package ((,class (:foreground "red"))))
340 `(dircolors-face-paddb ((,class (:foreground "black"))))
341 `(dircolors-face-ps ((,class (:foreground "black"))))
342 `(dircolors-face-sound ((,class (:foreground "black"))))
343 `(dircolors-face-tar ((,class (:foreground "red"))))
344 `(dircolors-face-text ((,class (:foreground "black"))))
345 `(dircolors-face-yacc ((,class (:foreground "black"))))
346 `(dired-directory ((,class ,directory)))
347 `(dired-header ((,class ,directory)))
348 `(dired-ignored ((,class (:strike-through t :foreground "red"))))
349 `(dired-mark ((,class ,marked-line)))
350 `(dired-marked ((,class ,marked-line)))
351 `(dired-symlink ((,class ,symlink)))
352 `(diredp-compressed-file-suffix ((,class (:foreground "red"))))
353 `(diredp-date-time ((,class (:foreground "purple"))))
354 `(diredp-dir-heading ((,class ,directory)))
355 `(diredp-dir-priv ((,class ,directory)))
356 `(diredp-exec-priv ((,class (:background "#03C03C"))))
357 `(diredp-executable-tag ((,class (:foreground "green3" :background "white"))))
358 `(diredp-file-name ((,class (:foreground "black"))))
359 `(diredp-file-suffix ((,class (:foreground "#008000"))))
360 `(diredp-flag-mark-line ((,class ,marked-line)))
361 `(diredp-ignored-file-name ((,class ,shadow)))
362 `(diredp-read-priv ((,class (:background "#0A99FF"))))
363 `(diredp-write-priv ((,class (:foreground "white" :background "#FF4040"))))
364 `(file-name-shadow ((,class ,shadow)))
365 `(font-latex-bold-face ((,class (:weight bold :foreground "black"))))
366 `(font-latex-italic-face ((,class (:slant italic :foreground "#1A1A1A"))))
367 `(font-latex-math-face ((,class (:foreground "blue"))))
368 `(font-latex-sectioning-1-face ((,class (:family "Sans Serif" :height 2.7 :weight bold :foreground "cornflower blue"))))
369 `(font-latex-sectioning-2-face ((,class ,ol1)))
370 `(font-latex-sectioning-3-face ((,class ,ol2)))
371 `(font-latex-sectioning-4-face ((,class ,ol3)))
372 `(font-latex-sectioning-5-face ((,class ,ol4)))
373 `(font-latex-sedate-face ((,class (:foreground "#FF5500"))))
374 `(font-latex-string-face ((,class (:weight bold :foreground "#0066FF"))))
375 `(font-latex-verbatim-face ((,class (:foreground "#000088" :background "#FFFFE0" :inherit nil))))
376 `(git-commit-summary-face ((,class (:foreground "#000000"))))
377 `(git-commit-comment-face ((,class (:slant italic :foreground "#696969"))))
378 `(helm-action ((,class (:foreground "#335EA8"))))
379 `(helm-bookmarks-su-face ((,class (:foreground "red"))))
380 `(helm-candidate-number ((,class (:foreground "black" :background "#FFFF66"))))
381 `(helm-dir-heading ((,class (:foreground "blue" :background "pink"))))
382 `(helm-dir-priv ((,class (:foreground "dark red" :background "light grey"))))
383 `(helm-ff-directory ((,class ,directory)))
384 `(helm-ff-executable ((,class (:foreground "green3" :background "white"))))
385 `(helm-ff-file ((,class (:foreground "black"))))
386 `(helm-ff-invalid-symlink ((,class (:foreground "yellow" :background "red"))))
387 `(helm-ff-symlink ((,class ,symlink)))
388 `(helm-file-name ((,class (:foreground "blue"))))
389 `(helm-gentoo-match-face ((,class (:foreground "red"))))
390 `(helm-grep-running ((,class (:weight bold :foreground "white"))))
391 `(helm-isearch-match ((,class (:background "#CCFFCC"))))
392 `(helm-match ((,class ,match)))
393 `(helm-selection ((,class ,highlight-line)))
394 `(helm-selection-line ((,class ,volatile-highlight)))
395 `(helm-source-header ((,class (:family "Sans Serif" :height 1.3 :weight bold :foreground "white" :background "#2F69BF"))))
396 `(helm-visible-mark ((,class ,marked-line)))
397 `(helm-w3m-bookmarks-face ((,class (:foreground "cyan1" :underline t))))
398 `(highlight-symbol-face ((,class (:background "#FFFFA0"))))
399 `(hl-line ((,class ,highlight-line)))
400 `(hl-tags-face ((,class (:background "#FEFCAE"))))
401 `(holiday-face ((,class (:foreground "#777777" :background "#E4EBFE"))))
402 `(html-helper-bold-face ((,class (:weight bold :foreground "black"))))
403 `(html-helper-italic-face ((,class (:slant italic :foreground "black"))))
404 `(html-helper-underline-face ((,class (:foreground "black" :underline t))))
405 `(html-tag-face ((,class (:foreground "blue"))))
406 `(ilog-non-change-face ((,class (:height 2.0 :foreground "#6434A3"))))
407 `(ilog-change-face ((,class (:height 2.0 :foreground "#008200"))))
408 `(ilog-echo-face ((,class (:height 2.0 :foreground "#006FE0"))))
409 `(ilog-load-face ((,class (:foreground "#BA36A5"))))
410 `(ilog-message-face ((,class (:foreground "#808080"))))
411 `(info-file ((,class (:family "Sans Serif" :height 1.8 :weight bold :box (:line-width 1 :color "#0000CC") :foreground "cornflower blue" :background "LightSteelBlue1"))))
412 `(info-header-node ((,class (:foreground "orange" :underline t)))) ;; nodes in header
413 `(info-header-xref ((,class (:foreground "dodger blue" :underline t)))) ;; cross references in header
414 `(info-menu-header ((,class (:family "Sans Serif" :height 1.6 :weight bold :foreground "#00CC00" :underline t)))) ;; menu titles (headers) -- major topics
415 `(info-menu-star ((,class (:foreground "black")))) ;; every 3rd menu item
416 `(info-node ((,class (:foreground "blue" :underline t)))) ;; node names
417 `(info-quoted-name ((,class ,code-inline)))
418 `(info-string ((,class ,string)))
419 `(info-title-1 ((,class ,ol1)))
420 `(info-xref ((,class (:weight bold :foreground "blue" :underline t)))) ;; unvisited cross-references
421 `(info-xref-visited ((,class (:weight bold :foreground "magenta4")))) ;; previously visited cross-references
422 `(light-symbol-face ((,class (:background "#FFFFA0"))))
423 `(linum ((,class (:foreground "#AFAFAF" :background "white"))))
424 `(log-view-file ((,class (:foreground "#0000CC" :background "#EAF2F5"))))
425 `(lui-button-face ((,class ,link)))
426 `(lui-highlight-face ((,class (:box '(:line-width 1 :color "#CC0000") :foreground "#CC0000" :background "#FFFF88")))) ;; my nickname
427 `(lui-time-stamp-face ((,class (:foreground "purple"))))
428 `(magit-branch ((,class ,vc-branch)))
429 `(magit-diff-add ((,class ,diff-added)))
430 `(magit-diff-del ((,class ,diff-removed)))
431 `(magit-diff-file-header ((,class (:family "Sans Serif" :height 1.1 :weight bold :foreground "#4183C4"))))
432 `(magit-diff-hunk-header ((,class ,diff-hunk-header)))
433 `(magit-diff-none ((,class ,diff-none)))
434 `(magit-header ((,class (:foreground "white" :background "#FF4040"))))
435 `(magit-item-highlight ((,class (:background "#EAF2F5"))))
436 `(magit-item-mark ((,class ,marked-line)))
437 `(magit-log-head-label ((,class (:box (:line-width 1 :color "blue" :style nil)))))
438 `(magit-log-tag-label ((,class (:box (:line-width 1 :color "#00CC00" :style nil)))))
439 `(magit-section-title ((,class (:family "Sans Serif" :height 1.8 :weight bold :foreground "cornflower blue"))))
440 `(makefile-space-face ((,class (:background "hot pink"))))
441 `(makefile-targets ((,class (:weight bold :foreground "blue"))))
442 `(match ((,class ,match)))
443 `(mm-uu-extract ((,class ,code-block)))
444 `(moccur-current-line-face ((,class (:foreground "black" :background "#FFFFCC"))))
445 `(moccur-face ((,class (:foreground "black" :background "#FFFF99"))))
446 `(next-error ((,class ,volatile-highlight)))
447 `(nobreak-space ((,class (:background "#CCE8F6"))))
448 `(nxml-attribute-local-name-face ((,class (:foreground "magenta"))))
449 `(nxml-attribute-value-delimiter-face ((,class (:foreground "green4"))))
450 `(nxml-attribute-value-face ((,class (:foreground "green4"))))
451 `(nxml-comment-content-face ((,class (:slant italic :foreground "red"))))
452 `(nxml-comment-delimiter-face ((,class (:foreground "red"))))
453 `(nxml-element-local-name ((,class (:box (:line-width 1 :color "#999999") :foreground "#000088" :background "#DEDEDE"))))
454 `(nxml-element-local-name-face ((,class (:foreground "blue"))))
455 `(nxml-processing-instruction-target-face ((,class (:foreground "purple1"))))
456 `(nxml-tag-delimiter-face ((,class (:foreground "blue"))))
457 `(nxml-tag-slash-face ((,class (:foreground "blue"))))
458 `(org-agenda-block-count ((,class (:weight bold :foreground "blue"))))
459 `(org-agenda-calendar-event ((,class (:weight bold :foreground "#3774CC" :background "#A8C5EF"))))
460 `(org-agenda-calendar-sexp ((,class (:foreground "#777777" :background "#E4EBFE"))))
461 `(org-agenda-clocking ((,class ,clock-line)))
462 `(org-agenda-column-dateline ((,class ,column)))
463 `(org-agenda-current-time ((,class (:foreground "#1662AF" :underline t))))
464 `(org-agenda-date ((,class (:height 1.6 :weight bold :foreground "#1662AF"))))
465 `(org-agenda-date-today ((,class (:height 1.6 :weight bold :foreground "#4F4A3D" :background "#FFFABE"))))
466 `(org-agenda-date-weekend ((,class (:height 1.6 :weight bold :foreground "#4E4E4E"))))
467 `(org-agenda-diary ((,class (:weight bold :foreground "green4" :background "light blue"))))
468 `(org-agenda-dimmed-todo-face ((,class (:foreground "gold2"))))
469 `(org-agenda-done ((,class (:foreground "#555555" :background "#EEEEEE"))))
470 `(org-agenda-filter-category ((,class (:weight bold :foreground "orange"))))
471 `(org-agenda-filter-tags ((,class (:weight bold :foreground "orange"))))
472 `(org-agenda-restriction-lock ((,class (:background "#E77D63"))))
473 `(org-agenda-structure ((,class (:height 1.6 :weight bold :box (:line-width 1 :color "#999999") :foreground "#666666" :background "#CCCCCC"))))
474 `(org-archived ((,class (:foreground "gray70"))))
475 `(org-beamer-tag ((,class (:box (:line-width 1 :color "#FABC18") :foreground "#2C2C2C" :background "#FFF8D0"))))
476 `(org-block ((,class ,code-block)))
477 `(org-block-background ((,class (:background "#FFFFE0"))))
478 `(org-block-begin-line ((,class (:foreground "#555555" :background "#E2E1D5" :underline "#A7A6AA"))))
479 `(org-block-end-line ((,class (:overline "#A7A6AA" :foreground "#555555" :background "#E2E1D5"))))
480 `(org-checkbox ((,class (:weight bold :box (:line-width 1 :style pressed-button) :foreground "white" :background "#777777"))))
481 `(org-clock-overlay ((,class (:foreground "white" :background "SkyBlue4"))))
482 `(org-code ((,class (:foreground "#007300" :background "#EBF5EB"))))
483 `(org-column ((,class ,column)))
484 `(org-column-title ((,class ,column)))
485 `(org-date ((,class (:foreground "#00459E" :underline t))))
486 `(org-default ((,class (:foreground "#333333"))))
487 `(org-dim ((,class (:foreground "#AAAAAA"))))
488 `(org-document-info ((,class (:foreground "#484848"))))
489 `(org-document-info-keyword ((,class (:foreground "#008ED1" :background "#EAEAFF"))))
490 `(org-document-title ((,class (:family "Sans Serif" :height 1.8 :weight bold :foreground "black"))))
491 `(org-done ((,class (:weight bold :box (:line-width 1 :color "#BBBBBB") :foreground "#BBBBBB" :background "#F0F0F0"))))
492 `(org-drawer ((,class (:foreground "light sky blue"))))
493 `(org-ellipsis ((,class (:box (:line-width 1 :color "#999999") :foreground "#999999" :background "#FFF8C0" :underline nil)))) ;; #FFEE62
494 `(org-example ((,class (:foreground "blue" :background "#EAFFEA"))))
495 `(org-footnote ((,class (:foreground "#008ED1" :underline t))))
496 `(org-formula ((,class (:foreground "chocolate1"))))
497 `(org-headline-done ((,class (:height 1.0 :weight normal :foreground "#999999"))))
498 `(org-hide ((,class (:foreground "#E2E2E2"))))
499 `(org-inlinetask ((,class (:box (:line-width 1 :color "#EBEBEB") :foreground "#777777" :background "#FFFFD6"))))
500 `(org-latex-and-related ((,class ,code-block)))
501 `(org-level-1 ((,class ,ol1)))
502 `(org-level-2 ((,class ,ol2)))
503 `(org-level-3 ((,class ,ol3)))
504 `(org-level-4 ((,class ,ol4)))
505 `(org-level-5 ((,class ,ol5)))
506 `(org-level-6 ((,class ,ol6)))
507 `(org-level-7 ((,class ,ol7)))
508 `(org-level-8 ((,class ,ol8)))
509 `(org-link ((,class ,link)))
510 `(org-list-dt ((,class (:weight bold :foreground "#335EA8"))))
511 `(org-meta-line ((,class (:slant normal :foreground "#008ED1" :background "#EAEAFF"))))
512 `(org-mode-line-clock ((,class ,clock-line)))
513 `(org-mode-line-clock-overrun ((,class (:weight bold :box (:line-width 1 :color "#335EA8") :foreground "white" :background "#FF4040"))))
514 `(org-number-of-items ((,class (:weight bold :foreground "white" :background "#79BA79"))))
515 `(org-property-value ((,class (:foreground "#00A000"))))
516 `(org-quote ((,class (:slant italic :foreground "dim gray" :background "#FFFFE0"))))
517 `(org-scheduled ((,class (:foreground "#333333"))))
518 `(org-scheduled-previously ((,class (:weight bold :foreground "#373737"))))
519 `(org-scheduled-today ((,class (:weight bold :foreground "#4F4A3D" :background "#FFFABE"))))
520 `(org-sexp-date ((,class (:foreground "#3774CC"))))
521 `(org-special-keyword ((,class (:weight bold :foreground "#00BB00" :background "#EAFFEA"))))
522 `(org-table ((,class (:foreground "dark green" :background "#EAFFEA"))))
523 `(org-tag ((,class (:weight normal :slant italic :foreground "#80A0BC"))))
524 `(org-target ((,class ,link)))
525 `(org-time-grid ((,class (:foreground "#CFCFCF"))))
526 `(org-todo ((,class (:weight bold :box (:line-width 1 :color "#D8ABA7") :foreground "#D8ABA7" :background "#FFE6E4"))))
527 `(org-upcoming-deadline ((,class (:foreground "#FF5555"))))
528 `(org-verbatim ((,class (:foreground "#0066CC"))))
529 `(org-verse ((,class (:slant italic :foreground "dim gray" :background "#EEEEEE"))))
530 `(org-warning ((,class (:weight bold :foreground "black" :background "#CCE7FF"))))
531 `(outline-1 ((,class ,ol1)))
532 `(outline-2 ((,class ,ol2)))
533 `(outline-3 ((,class ,ol3)))
534 `(outline-4 ((,class ,ol4)))
535 `(outline-5 ((,class ,ol5)))
536 `(outline-6 ((,class ,ol6)))
537 `(outline-7 ((,class ,ol7)))
538 `(outline-8 ((,class ,ol8)))
539 `(pabbrev-debug-display-label-face ((,class (:background "chartreuse"))))
540 `(pabbrev-suggestions-face ((,class (:weight bold :foreground "white" :background "red"))))
541 `(pabbrev-suggestions-label-face ((,class (:weight bold :foreground "white" :background "purple"))))
542 `(paren-face-match ((,class (:foreground "#E2464C" :background "#FFE182"))))
543 `(paren-face-mismatch ((,class (:weight bold :foreground "white" :background "#FF3F3F"))))
544 `(paren-face-no-match ((,class (:weight bold :foreground "white" :background "#FF3F3F"))))
545 `(recover-this-file ((,class (:weight bold :background "#FF3F3F"))))
546 `(rng-error ((,class (:weight bold :foreground "red" :background "#FBE3E4"))))
547 `(sh-heredoc ((,class (:foreground "blue" :background "#EEF5FE"))))
548 `(sh-quoted-exec ((,class (:foreground "#FF1493"))))
549 `(shadow ((,class ,shadow)))
550 `(shell-option-face ((,class (:foreground "forest green"))))
551 `(shell-output-2-face ((,class (:foreground "blue"))))
552 `(shell-output-3-face ((,class (:foreground "purple"))))
553 `(shell-output-face ((,class (:foreground "black"))))
554 `(shell-prompt-face ((,class (:weight bold :foreground "yellow"))))
555 `(show-paren-match ((,class (:foreground "#E2464C" :background "#FFFF00"))))
556 `(show-paren-mismatch ((,class (:weight bold :foreground "white" :background "#FF3F3F"))))
557 `(speedbar-button-face ((,class (:foreground "green4"))))
558 `(speedbar-directory-face ((,class (:foreground "blue4"))))
559 `(speedbar-file-face ((,class (:foreground "cyan4"))))
560 `(speedbar-highlight-face ((,class ,volatile-highlight)))
561 `(speedbar-selected-face ((,class (:foreground "red" :underline t))))
562 `(speedbar-tag-face ((,class (:foreground "brown"))))
563 `(svn-status-directory-face ((,class ,directory)))
564 `(svn-status-filename-face ((,class (:weight bold :foreground "#4183C4"))))
565 `(svn-status-locked-face ((,class (:weight bold :foreground "red"))))
566 `(svn-status-marked-face ((,class ,marked-line)))
567 `(svn-status-marked-popup-face ((,class (:weight bold :foreground "green3"))))
568 `(svn-status-switched-face ((,class (:slant italic :foreground "gray55"))))
569 `(svn-status-symlink-face ((,class ,symlink)))
570 `(svn-status-update-available-face ((,class (:foreground "orange"))))
571 `(tex-verbatim ((,class (:foreground "blue"))))
572 `(tool-bar ((,class (:box (:line-width 1 :style released-button) :foreground "black" :background "gray75"))))
573 `(tooltip ((,class (:foreground "black" :background "light yellow"))))
574 `(trailing-whitespace ((,class (:background "#F6EBFE"))))
575 `(traverse-match-face ((,class (:weight bold :foreground "blue violet"))))
576 `(vc-annotate-face-3F3FFF ((,class (:foreground "#3F3FFF" :background "black"))))
577 `(vc-annotate-face-3F6CFF ((,class (:foreground "#3F3FFF" :background "black"))))
578 `(vc-annotate-face-3F99FF ((,class (:foreground "#3F99FF" :background "black"))))
579 `(vc-annotate-face-3FC6FF ((,class (:foreground "#3F99FF" :background "black"))))
580 `(vc-annotate-face-3FF3FF ((,class (:foreground "#3FF3FF" :background "black"))))
581 `(vc-annotate-face-3FFF56 ((,class (:foreground "#4BFF4B" :background "black"))))
582 `(vc-annotate-face-3FFF83 ((,class (:foreground "#3FFFB0" :background "black"))))
583 `(vc-annotate-face-3FFFB0 ((,class (:foreground "#3FFFB0" :background "black"))))
584 `(vc-annotate-face-3FFFDD ((,class (:foreground "#3FF3FF" :background "black"))))
585 `(vc-annotate-face-56FF3F ((,class (:foreground "#4BFF4B" :background "black"))))
586 `(vc-annotate-face-83FF3F ((,class (:foreground "#B0FF3F" :background "black"))))
587 `(vc-annotate-face-B0FF3F ((,class (:foreground "#B0FF3F" :background "black"))))
588 `(vc-annotate-face-DDFF3F ((,class (:foreground "#FFF33F" :background "black"))))
589 `(vc-annotate-face-FF3F3F ((,class (:foreground "#FF3F3F" :background "black"))))
590 `(vc-annotate-face-FF6C3F ((,class (:foreground "#FF3F3F" :background "black"))))
591 `(vc-annotate-face-FF993F ((,class (:foreground "#FF993F" :background "black"))))
592 `(vc-annotate-face-FFC63F ((,class (:foreground "#FF993F" :background "black"))))
593 `(vc-annotate-face-FFF33F ((,class (:foreground "#FFF33F" :background "black"))))
594 `(w3m-anchor ((,class ,link)))
595 `(w3m-arrived-anchor ((,class (:foreground "purple1"))))
596 `(w3m-bitmap-image-face ((,class (:foreground "gray4" :background "green"))))
597 `(w3m-bold ((,class (:weight bold :foreground "black"))))
598 `(w3m-current-anchor ((,class (:weight bold :foreground "blue" :underline t))))
599 `(w3m-form ((,class (:foreground "tan1" :underline t))))
600 `(w3m-form-button-face ((,class (:weight bold :foreground "gray4" :background "light grey" :underline t))))
601 `(w3m-form-button-mouse-face ((,class (:foreground "light grey" :background "#2B7E2A" :underline t))))
602 `(w3m-form-button-pressed-face ((,class (:weight bold :foreground "gray4" :background "light grey" :underline t))))
603 `(w3m-header-line-location-content-face ((,class (:foreground "#7F7F7F":background "#F7F7F7"))))
604 `(w3m-header-line-location-title-face ((,class (:foreground "#2C55B1" :background "#F7F7F7"))))
605 `(w3m-history-current-url-face ((,class (:foreground "lemon chiffon"))))
606 `(w3m-image-face ((,class (:weight bold :foreground "DarkSeaGreen2"))))
607 `(w3m-link-numbering ((,class (:foreground "#B4C7EB")))) ;; mouseless browsing
608 `(w3m-strike-through-face ((,class (:strike-through t))))
609 `(w3m-underline-face ((,class (:underline t))))
610 `(which-func ((,class (:weight bold :foreground "white"))))
611 `(whitespace-hspace ((,class (:background "#CCE8F6"))))
612 `(whitespace-indentation ((,class (:foreground "firebrick" :background "yellow"))))
613 `(whitespace-line ((,class (:foreground "#CC0000" :background "#FFFF88"))))
614 `(whitespace-tab ((,class (:foreground "lightgray" :background "beige"))))
615 `(whitespace-trailing ((,class (:weight bold :foreground "yellow" :background "red1"))))
616 `(widget-button-face ((,class ,link)))
617 `(widget-button-pressed-face ((,class (:foreground "red"))))
618 `(widget-documentation-face ((,class (:foreground "green4"))))
619 `(widget-field-face ((,class (:background "gray85"))))
620 `(widget-inactive-face ((,class (:foreground "dim gray"))))
621 `(widget-single-line-field-face ((,class (:background "gray85"))))
622 `(yas/field-debug-face ((,class (:background "ivory2"))))
623 `(yas/field-highlight-face ((,class (:background "DarkSeaGreen1"))))
626 (custom-theme-set-variables
627 'leuven
628 '(ansi-color-names-vector ["#242424" "#E5786D" "#95E454" "#CAE682"
629 "#8AC6F2" "#333366" "#CCAA8F" "#F6F3E8"]))
631 ;;;###autoload
632 (when (and (boundp 'custom-theme-load-path)
633 load-file-name)
634 ;; add theme folder to `custom-theme-load-path' when installing over MELPA
635 (add-to-list 'custom-theme-load-path
636 (file-name-as-directory (file-name-directory load-file-name))))
638 (provide-theme 'leuven)
640 ;; Local Variables:
641 ;; time-stamp-format: "%:y%02m%02d.%02H%02M"
642 ;; time-stamp-start: "Version: "
643 ;; time-stamp-end: "$"
644 ;; no-byte-compile: t
645 ;; End:
647 ;;; leuven-theme.el ends here