]> crepu.dev Git - config.git/blame_incremental - djavu-asus/elpa/material-theme-20210904.1226/material-light-theme.el
Actualizado el Readme
[config.git] / djavu-asus / elpa / material-theme-20210904.1226 / material-light-theme.el
... / ...
CommitLineData
1;;; material-light-theme.el --- A Theme based on the colors of the Google Material Design
2
3;; Copyright (C) 2014 Paulik Christoph
4
5;; Author: Christoph Paulik <cpaulik@gmail.com>
6;; Keywords: themes
7;; URL: http://github.com/cpaulik/emacs-material-theme
8;; Version: 2015
9;; X-Original-Version: 0.1
10;; Package-Requires: ((emacs "24.1"))
11
12;; Permission is hereby granted, free of charge, to any person obtaining a copy
13;; of this software and associated documentation files (the "Software"), to deal
14;; in the Software without restriction, including without limitation the rights
15;; to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
16;; copies of the Software, and to permit persons to whom the Software is
17;; furnished to do so, subject to the following conditions:
18;;
19;; The above copyright notice and this permission notice shall be included in all
20;; copies or substantial portions of the Software.
21;;
22;; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
23;; IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
24;; FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
25;; AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
26;; LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
27;; OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
28;; SOFTWARE.
29
30;;; Commentary:
31
32;; To use it, put the following in your Emacs configuration file:
33;;
34;; (load-theme 'material-light t)
35;;
36;; Requirements: Emacs 24.
37
38;;; Credits:
39
40;; Thanks to Bruce Williams of the Spacegray Theme which was used as the boilerplate:
41;; https://github.com/bruce/emacs-spacegray-theme
42
43;;; Code:
44
45(deftheme material-light
46 "A UI Theme for Emacs based on material design colors")
47(display-color-cells (selected-frame))
48(let* ((class '((class color) (min-colors 89)))
49 (256color (eq (display-color-cells (selected-frame)) 256))
50 (truecolor (eq (display-color-cells (selected-frame)) 16777216))
51
52 (background (if (or window-system truecolor) "#FAFAFA" "#FAFAFA")) ;; sidebar-container
53 (current-line (if (or window-system truecolor) "#ECEFF1" "#dadada")) ;; tree-row
54 (far-background (if (or window-system truecolor) "#e0f7fa" "#e0f7fa")) ;; panel-control
55 (inactive-gray (if (or window-system truecolor) "#cfd8dc" "#cfd8dc"))
56 (header-color (if (or window-system truecolor) "#C8E6C9" "#C8E6C9"))
57 (subtle "#a7adba") ;; tree-row-hover-disclosure-button-control
58 (selection "#90A4AE") ;; tab-control-dirty-tab-close-button
59 (secondary-selection "#bf616a") ;; tab-control-hover-tab-close-button
60 (foreground "#212121")
61 (comment "#607d8b") ;; table-row
62 (red "#B71C1C") ;; tab-control-hover-tab-close-button
63 (orange "#FF5722") ;; darker tab-control-dirty-tab-close-butto
64 (yellow "#FFA000") ;; tab-control-dirty-tab-close-button
65 (green "#558b2f") ;; complement tab-control-dirty-tab-close-button
66 (aqua "#00796b") ;; lighter complement tab-control-dirty-tab-close-button
67 (blue "#2196f3") ;; complement tab-control-dirty-tab-close-button
68 (purple "#4527A0")) ;; complement tab-control-dirty-tab-close-button
69
70 (custom-theme-set-faces
71 'material-light
72 `(default ((,class (:foreground ,foreground :background ,background))))
73 `(bold ((,class (:weight bold))))
74 `(bold-italic ((,class (:slant italic :weight bold))))
75 `(underline ((,class (:underline t))))
76 `(italic ((,class (:slant italic))))
77 `(font-lock-builtin-face ((,class (:foreground ,red))))
78 `(font-lock-comment-delimiter-face ((,class (:foreground ,comment))))
79 `(font-lock-comment-face ((,class (:foreground ,comment))))
80 `(font-lock-constant-face ((,class (:foreground ,green))))
81 `(font-lock-doc-face ((,class (:foreground "#673ab7"))))
82 `(font-lock-doc-string-face ((,class (:foreground ,yellow))))
83 `(font-lock-function-name-face ((,class (:foreground ,"#0097A7"))))
84 `(font-lock-keyword-face ((,class (:foreground ,aqua))))
85 `(font-lock-negation-char-face ((,class (:foreground ,blue))))
86 `(font-lock-preprocessor-face ((,class (:foreground ,yellow))))
87 `(font-lock-regexp-grouping-backslash ((,class (:foreground ,yellow))))
88 `(font-lock-regexp-grouping-construct ((,class (:foreground ,purple))))
89 `(font-lock-string-face ((,class (:foreground "#689f38"))))
90 `(font-lock-type-face ((,class (:foreground "#0097A7"))))
91 `(font-lock-variable-name-face ((,class (:foreground ,"#EF6C00"))))
92 `(font-lock-warning-face ((,class (:weight bold :foreground ,red))))
93 `(highlight-numbers-number ((,class (:foreground ,"#689f38"))))
94 `(shadow ((,class (:foreground ,comment))))
95 `(success ((,class (:foreground "SeaGreen2"))))
96 `(error ((,class (:foreground ,red))))
97 `(warning ((,class (:foreground ,orange))))
98
99 ;; ace-window faces
100 `(aw-leading-char-face ((,class (:foreground ,
101 background
102 :background ,
103 green
104 :height ,
105 1.7
106 :weight
107 bold))))
108
109 ;; ace-jump-faces
110 `(ace-jump-face-foreground ((,class (:foreground ,background
111 :background ,green
112 :weight bold))))
113
114 `(ace-jump-face-background ((,class (:foreground ,inactive-gray
115 :weight normal))))
116
117 ;; ace-jump-mode
118 `(avy-background-face ((,class (:foreground ,inactive-gray
119 :weight normal))))
120 `(avy-lead-face-0 ((,class (:foreground ,background
121 :background ,green
122 :weight bold))))
123 `(avy-lead-face ((,class (:foreground ,background
124 :background ,green
125 :weight bold))))
126
127 ;; Flycheck
128 `(flycheck-error ((,class (:underline (:style wave :color ,red)))))
129 `(flycheck-info ((,class (:underline (:style wave :color ,blue)))))
130 `(flycheck-warning ((,class (:underline (:style wave :color ,orange)))))
131 `(flycheck-fringe-error ((,class (:foreground ,red :background ,current-line))))
132 `(flycheck-fringe-info ((,class (:foreground ,blue :background ,current-line))))
133 `(flycheck-fringe-warning ((,class (:foreground ,yellow :background ,current-line))))
134
135 ;; highlight indentation
136 `(highlight-indentation-face ((,class (:background, current-line))))
137 `(highlight-indentation-current-column-face ((,class (:background, far-background))))
138
139 ;; Flymake
140 `(flymake-warnline ((,class (:underline (:style wave :color ,orange) :background ,background))))
141 `(flymake-errline ((,class (:underline (:style wave :color ,red) :background ,background))))
142
143 ;; Clojure errors
144 `(clojure-test-failure-face ((,class (:background nil :inherit flymake-warnline))))
145 `(clojure-test-error-face ((,class (:background nil :inherit flymake-errline))))
146 `(clojure-test-success-face ((,class (:background nil :foreground nil :underline ,green))))
147 `(clojure-keyword-face ((,class (:inherit font-lock-builtin-face))))
148
149 ;; EDTS errors
150 `(edts-face-warning-line ((t (:background nil :inherit flymake-warnline))))
151 `(edts-face-warning-mode-line ((,class (:background nil :foreground ,orange :weight bold))))
152 `(edts-face-error-line ((t (:background nil :inherit flymake-errline))))
153 `(edts-face-error-mode-line ((,class (:background nil :foreground ,red :weight bold))))
154
155 ;; For Brian Carper's extended clojure syntax table
156 `(clojure-keyword ((,class (:foreground ,yellow))))
157 `(clojure-parens ((,class (:foreground ,foreground))))
158 `(clojure-braces ((,class (:foreground ,green))))
159 `(clojure-brackets ((,class (:foreground ,yellow))))
160 `(clojure-double-quote ((,class (:foreground ,aqua :background nil))))
161 `(clojure-special ((,class (:foreground ,blue))))
162 `(clojure-java-call ((,class (:foreground ,purple))))
163 ;; Rainbow-delimiters
164 `(rainbow-delimiters-depth-1-face ((,class (:foreground ,"#e91e63"))))
165 `(rainbow-delimiters-depth-2-face ((,class (:foreground ,"#1565C0"))))
166 `(rainbow-delimiters-depth-3-face ((,class (:foreground ,"#EF6C00"))))
167 `(rainbow-delimiters-depth-4-face ((,class (:foreground ,"#B388FF"))))
168 `(rainbow-delimiters-depth-5-face ((,class (:foreground ,"#76ff03"))))
169 `(rainbow-delimiters-depth-6-face ((,class (:foreground ,"#26A69A"))))
170 `(rainbow-delimiters-depth-7-face ((,class (:foreground ,"#B71C1C"))))
171 `(rainbow-delimiters-depth-8-face ((,class (:foreground ,"#795548"))))
172 `(rainbow-delimiters-depth-9-face ((,class (:foreground ,"#827717"))))
173 `(rainbow-delimiters-unmatched-face ((,class (:foreground ,foreground :background ,"#EF6C00"))))
174
175 ;; MMM-mode
176 `(mmm-code-submode-face ((,class (:background ,current-line))))
177 `(mmm-comment-submode-face ((,class (:inherit font-lock-comment-face))))
178 `(mmm-output-submode-face ((,class (:background ,current-line))))
179
180 ;; Search
181 `(match ((,class (:foreground ,background :background ,green :inverse-video nil))))
182 `(isearch ((,class (:foreground ,background :background ,green))))
183 `(lazy-highlight ((,class (:foreground ,background :background ,green :inverse-video nil))))
184 `(isearch-fail ((,class (:background ,background :inherit font-lock-warning-face :inverse-video t))))
185
186 ;; Evil
187 `(evil-search-highlight-persist-highlight-face ((,class (:foreground ,background
188 :background ,green))))
189 ;; iedit
190 `(iedit-occurrence ((,class (:foreground ,background :background ,green))))
191
192 ;; ahs
193 `(ahs-face ((,class (:foreground ,background :background ,green))))
194 `(ahs-plugin-whole-buffer-face ((,class (:foreground ,foreground :background ,green))))
195
196 ;; Anzu
197 `(anzu-mode-line ((,class (:foreground ,orange))))
198 `(anzu-replace-highlight ((,class (:inherit lazy-highlight))))
199 `(anzu-replace-to ((,class (:inherit isearch))))
200
201 ;; IDO
202 `(ido-subdir ((,class (:foreground ,purple))))
203 `(ido-first-match ((,class (:foreground ,orange))))
204 `(ido-only-match ((,class (:foreground ,green))))
205 `(ido-indicator ((,class (:foreground ,red :background ,background))))
206 `(ido-virtual ((,class (:foreground ,comment))))
207
208 ;; flx-ido
209 `(flx-highlight-face ((,class (:inherit nil :foreground ,yellow :weight bold :underline nil))))
210
211 ;; which-function
212 `(which-func ((,class (:foreground ,blue :background nil))))
213
214 ;; Emacs interface
215 `(cursor ((,class (:background ,orange))))
216 `(fringe ((,class (:background ,current-line))))
217 `(linum ((,class (:background ,current-line :foreground ,foreground))))
218 `(linum-highlight-face ((,class (:background ,current-line :foreground ,foreground))))
219 `(border ((,class (:background ,current-line))))
220 `(internal-border ((,class (:background ,current-line))))
221 `(vertical-border ((,class (:background ,selection
222 :foreground, selection))))
223 `(border-glyph ((,class (nil))))
224 `(highlight ((,class (:inverse-video nil :background ,current-line))))
225 `(hl-line ((,class (:inverse-video nil :background ,current-line))))
226 `(gui-element ((,class (:background ,current-line :foreground ,foreground))))
227 `(mode-line ((,class (:foreground ,foreground :background ,far-background
228 :box (:line-width 2 :color ,current-line)))))
229 `(mode-line-buffer-id ((,class (:foreground ,foreground :background nil :weight bold))))
230 `(mode-line-inactive ((,class (:inherit mode-line
231 :foreground ,subtle
232 :background ,current-line
233 :weight normal))))
234 `(mode-line-emphasis ((,class (:foreground ,foreground :slant italic))))
235 `(mode-line-highlight ((,class (:foreground ,purple :box nil))))
236 `(minibuffer-prompt ((,class (:foreground ,blue))))
237 `(region ((,class (:background ,selection))))
238 `(secondary-selection ((,class (:background ,secondary-selection))))
239
240 `(header-line ((,class (:inherit mode-line :foreground ,purple :background nil))))
241
242 `(trailing-whitespace ((,class (:foreground ,red :inverse-video t :underline nil))))
243 `(whitespace-trailing ((,class (:foreground ,red :inverse-video t :underline nil))))
244 `(whitespace-space-after-tab ((,class (:foreground ,red :inverse-video t :underline nil))))
245 `(whitespace-space-before-tab ((,class (:foreground ,red :inverse-video t :underline nil))))
246 `(whitespace-empty ((,class (:foreground ,red :inverse-video t :underline nil))))
247 `(whitespace-line ((,class (:background nil :foreground ,red))))
248 `(whitespace-indentation ((,class (:background nil :foreground ,aqua))))
249 `(whitespace-space ((,class (:background nil :foreground ,selection))))
250 `(whitespace-newline ((,class (:background nil :foreground ,selection))))
251 `(whitespace-tab ((,class (:background nil :foreground ,selection))))
252 `(whitespace-hspace ((,class (:background nil :foreground ,selection))))
253
254 ;; Parenthesis matching (built-in)
255 `(show-paren-match-face ((,class (:background ,blue :foreground ,background))))
256 `(show-paren-mismatch-face ((,class (:background "red1" :foreground "white"))))
257
258 ;; Smartparens paren matching
259 `(sp-show-pair-match-face ((,class (:foreground ,background :background ,blue :inherit show-paren-match))))
260 `(sp-show-pair-mismatch-face ((,class (:foreground nil :background nil :inherit show-paren-mismatch))))
261
262 ;; Parenthesis matching (mic-paren)
263 `(paren-face-match ((,class (:foreground nil :background nil :inherit show-paren-match))))
264 `(paren-face-mismatch ((,class (:foreground nil :background nil :inherit show-paren-mismatch))))
265 `(paren-face-no-match ((,class (:foreground nil :background nil :inherit show-paren-mismatch))))
266
267 ;; Parenthesis dimming (parenface)
268 `(paren-face ((,class (:foreground ,comment :background nil))))
269
270 `(sh-heredoc ((,class (:foreground nil :inherit font-lock-string-face :weight normal))))
271 `(sh-quoted-exec ((,class (:foreground nil :inherit font-lock-preprocessor-face))))
272 `(slime-highlight-edits-face ((,class (:weight bold))))
273 `(slime-repl-input-face ((,class (:weight normal :underline nil))))
274 `(slime-repl-prompt-face ((,class (:underline nil :weight bold :foreground ,purple))))
275 `(slime-repl-result-face ((,class (:foreground ,green))))
276 `(slime-repl-output-face ((,class (:foreground ,blue :background ,background))))
277
278 `(csv-separator-face ((,class (:foreground ,orange))))
279
280 `(diff-hl-insert ((,class (:background ,green :foreground ,green))))
281 `(diff-hl-change ((,class (:background ,blue :foreground ,blue))))
282 `(diff-hl-delete ((,class (:background ,orange :foreground ,orange))))
283
284 `(diff-added ((,class (:foreground ,green))))
285 `(diff-changed ((,class (:foreground ,blue))))
286 `(diff-removed ((,class (:foreground ,orange))))
287 `(diff-header ((,class (:foreground ,aqua :background nil))))
288 `(diff-hunk-header ((,class (:foreground ,purple))))
289 `(diff-refine-added ((,class (:inherit diff-added :inverse-video t))))
290 `(diff-refine-removed ((,class (:inherit diff-removed :inverse-video t))))
291
292 `(ediff-even-diff-A ((,class (:foreground nil :background nil :inverse-video t))))
293 `(ediff-even-diff-B ((,class (:foreground nil :background nil :inverse-video t))))
294 `(ediff-odd-diff-A ((,class (:foreground ,comment :background nil :inverse-video t))))
295 `(ediff-odd-diff-B ((,class (:foreground ,comment :background nil :inverse-video t))))
296
297 `(eldoc-highlight-function-argument ((,class (:foreground ,green :weight bold))))
298
299 ;; macrostep
300 `(macrostep-expansion-highlight-face ((,class (:inherit highlight :foreground nil))))
301
302 ;; undo-tree
303 `(undo-tree-visualizer-default-face ((,class (:foreground ,foreground))))
304 `(undo-tree-visualizer-current-face ((,class (:foreground ,green :weight bold))))
305 `(undo-tree-visualizer-active-branch-face ((,class (:foreground ,red))))
306 `(undo-tree-visualizer-register-face ((,class (:foreground ,yellow))))
307
308 ;; dired+
309 `(diredp-compressed-file-suffix ((,class (:foreground ,blue))))
310 `(diredp-deletion ((,class (:inherit error :inverse-video t))))
311 `(diredp-deletion-file-name ((,class (:inherit error))))
312 `(diredp-dir-heading ((,class (:foreground ,green :weight bold))))
313 `(diredp-dir-priv ((,class (:foreground ,aqua :background nil))))
314 `(diredp-exec-priv ((,class (:foreground ,blue :background nil))))
315 `(diredp-executable-tag ((,class (:foreground ,red :background nil))))
316 `(diredp-file-name ((,class (:foreground ,yellow))))
317 `(diredp-file-suffix ((,class (:foreground ,green))))
318 `(diredp-flag-mark ((,class (:foreground ,green :inverse-video t))))
319 `(diredp-flag-mark-line ((,class (:background nil :inherit highlight))))
320 `(diredp-ignored-file-name ((,class (:foreground ,comment))))
321 `(diredp-link-priv ((,class (:background nil :foreground ,purple))))
322 `(diredp-mode-line-flagged ((,class (:foreground ,red))))
323 `(diredp-mode-line-marked ((,class (:foreground ,green))))
324 `(diredp-no-priv ((,class (:background nil))))
325 `(diredp-number ((,class (:foreground ,yellow))))
326 `(diredp-other-priv ((,class (:background nil :foreground ,purple))))
327 `(diredp-rare-priv ((,class (:foreground ,red :background nil))))
328 `(diredp-read-priv ((,class (:foreground ,green :background nil))))
329 `(diredp-symlink ((,class (:foreground ,purple))))
330 `(diredp-write-priv ((,class (:foreground ,yellow :background nil))))
331
332 ;; diredfl
333 `(diredfl-compressed-file-suffix ((,class (:foreground ,blue))))
334 `(diredfl-compressed-file-name ((,class (:foreground ,blue))))
335 `(diredfl-ignored-file-name ((,class (:foreground ,comment))))
336 `(diredfl-date-time ((,class (:foreground ,green))))
337 `(diredfl-file-name ((,class (:foreground ,foreground))))
338 `(diredfl-read-priv ((,class (:foreground ,green :background nil))))
339 `(diredfl-write-priv ((,class (:foreground ,yellow :background nil))))
340 `(diredfl-exec-priv ((,class (:foreground ,red :background nil))))
341 `(diredfl-rare-priv ((,class (:foreground ,orange :background nil))))
342 `(diredfl-no-priv ((,class (:background nil))))
343 `(diredfl-deletion ((,class (:inherit error :inverse-video t))))
344 `(diredfl-deletion-file-name ((,class (:inherit error))))
345 `(diredfl-dir-heading ((,class (:foreground ,green :weight bold))))
346 `(diredfl-symlink ((,class (:foreground ,purple))))
347 `(diredfl-dir-priv ((,class (:foreground ,aqua :background nil))))
348 `(diredfl-dir-name ((,class (:foreground ,aqua :background nil))))
349 `(diredfl-number ((,class (:foreground ,yellow :background nil))))
350 `(diredfl-flag-mark ((,class (:foreground ,orange :background nil))))
351 `(diredfl-flag-mark-line ((,class (:foreground ,nil :background ,selection))))
352 `(diredfl-file-suffix ((,class (:foreground ,aqua :background nil))))
353
354 ;; Magit
355 `(magit-branch ((,class (:foreground ,green))))
356 `(magit-diff-added ((,class (:inherit diff-added))))
357 `(magit-diff-added-highlight ((,class (:inherit magit-diff-added
358 :background ,far-background))))
359 `(magit-diff-removed ((,class (:inherit diff-removed))))
360 `(magit-diff-removed-highlight ((,class (:inherit magit-diff-removed
361 :background ,far-background))))
362 `(magit-header ((,class (:inherit nil :weight bold))))
363 `(magit-item-highlight ((,class (:inherit highlight :background nil))))
364 `(magit-log-author ((,class (:foreground ,aqua))))
365 `(magit-log-graph ((,class (:foreground ,comment))))
366 `(magit-log-date ((,class (:foreground ,yellow))))
367 `(magit-section-title ((,class (:foreground ,blue :weight bold))))
368 `(magit-section-highlight ((t (:background ,current-line))))
369 `(magit-section-heading ((t (:foreground ,yellow :weight bold))))
370 `(magit-diff-file-heading ((t (:weight bold))))
371 `(magit-diff-file-heading-highlight ((t (:background ,current-line :weight bold))))
372 `(magit-diff-file-heading-selection ((t (:background ,background
373 :foreground ,orange :weight bold))))
374 `(magit-diff-hunk-heading ((t (:background ,header-color))))
375 `(magit-diff-hunk-heading-highlight ((t (:background ,header-color))))
376 `(magit-diff-hunk-heading-selection ((t (:background ,background
377 :foreground ,orange))))
378 `(magit-diff-lines-heading ((t (:background ,orange
379 :foreground ,background))))
380 `(magit-blame-heading ((t (:background ,far-background
381 :foreground ,aqua))))
382 `(magit-blame-date ((t (:background ,far-background
383 :foreground ,blue))))
384 `(magit-blame-summary ((t (:background ,far-background
385 :foreground ,green))))
386 `(magit-diff-context-highlight ((t (:background ,far-background
387 :foreground "grey70"))))
388 `(magit-diff-context ((t (:foreground "grey70"))))
389 `(magit-diffstat-added ((t (:foreground ,green))))
390 `(magit-diffstat-removed ((t (:foreground ,red))))
391 `(magit-process-ok ((t (:foreground ,green :weight bold))))
392 `(magit-process-ng ((t (:foreground ,red :weight bold))))
393 `(magit-branch-local ((t (:foreground ,blue :weight bold))))
394 `(magit-branch-remote ((t (:foreground ,green :weight bold))))
395 `(magit-tag ((t (:foreground ,orange :weight bold))))
396 `(magit-hash ((t (:foreground ,comment))))
397 `(magit-sequence-stop ((t (:foreground ,green))))
398 `(magit-sequence-part ((t (:foreground ,yellow))))
399 `(magit-sequence-head ((t (:foreground ,blue))))
400 `(magit-sequence-drop ((t (:foreground ,red))))
401
402 ;; git-gutter
403 `(git-gutter:modified ((,class (:foreground ,purple :weight bold))))
404 `(git-gutter:added ((,class (:foreground ,green :weight bold))))
405 `(git-gutter:deleted ((,class (:foreground ,red :weight bold))))
406 `(git-gutter:unchanged ((,class (:background ,yellow))))
407
408 ;; git-gutter-fringe
409 `(git-gutter-fr:modified ((,class (:foreground ,purple :weight bold))))
410 `(git-gutter-fr:added ((,class (:foreground ,green :weight bold))))
411 `(git-gutter-fr:deleted ((,class (:foreground ,red :weight bold))))
412
413 `(link ((,class (:foreground nil :underline t))))
414 `(widget-button ((,class (:underline t :weight bold))))
415 `(widget-field ((,class (:background ,current-line :box (:line-width 1 :color ,foreground)))))
416
417 ;; Compilation (most faces politely inherit from 'success, 'error, 'warning etc.)
418 `(compilation-column-number ((,class (:foreground ,yellow))))
419 `(compilation-line-number ((,class (:foreground ,yellow))))
420 `(compilation-message-face ((,class (:foreground ,blue))))
421 `(compilation-mode-line-exit ((,class (:foreground ,green))))
422 `(compilation-mode-line-fail ((,class (:foreground ,red))))
423 `(compilation-mode-line-run ((,class (:foreground ,blue))))
424
425 ;; Grep
426 `(grep-context-face ((,class (:foreground ,comment))))
427 `(grep-error-face ((,class (:foreground ,red :weight bold :underline t))))
428 `(grep-hit-face ((,class (:foreground ,blue))))
429 `(grep-match-face ((,class (:foreground nil :background nil :inherit match))))
430
431 `(regex-tool-matched-face ((,class (:foreground nil :background nil :inherit match))))
432
433 ;; Helm
434 `(helm-header ((,class (:foreground ,foreground :background ,background))))
435 `(helm-selection ((,class (:background ,current-line))))
436 `(helm-match ((,class (:foreground ,blue ))))
437 `(helm-ff-file ((,class (:foreground ,foreground ))))
438 `(helm-ff-directory ((,class (:foreground ,aqua ))))
439 `(helm-ff-symlink ((,class (:foreground ,purple ))))
440 `(helm-ff-executable ((,class (:foreground ,green ))))
441 `(helm-buffer-directory ((,class (:foreground ,aqua))))
442 `(helm-buffer-file ((,class (:foreground ,foreground))))
443 `(helm-grep-file ((,class (:foreground ,aqua :underline t))))
444 `(helm-buffer-process ((,class (:foreground ,red))))
445 `(helm-buffer-not-saved ((,class (:foreground ,orange))))
446 `(helm-candidate-number ((,class (:foreground ,background :background ,aqua))))
447 `(helm-source-header ((,class (:background ,header-color :foreground ,"#424242" :height 1.3 :bold t ))))
448
449 ;; guide-key
450 `(guide-key/key-face ((,class (:foreground ,foreground ))))
451 `(guide-key/highlight-command-face ((,class (:foreground ,orange ))))
452 `(guide-key/prefix-command-face ((,class (:foreground ,blue ))))
453
454 ;; which-key
455 `(which-key-key-face ((,class (:foreground ,foreground :weight bold))))
456 `(which-key-special-key-face ((,class (:foreground ,orange :weight bold :height 1.1))))
457 `(which-key-command-description-face ((,class (:foreground ,foreground ))))
458 `(which-key-group-description-face ((,class (:foreground ,blue ))))
459 `(which-key-separator-face ((,class (:foreground ,comment ))))
460
461 ;; mark-multiple
462 `(mm/master-face ((,class (:inherit region :foreground nil :background nil))))
463 `(mm/mirror-face ((,class (:inherit region :foreground nil :background nil))))
464
465 `(org-agenda-structure ((,class (:foreground ,aqua :bold t))))
466 `(org-agenda-date ((,class (:foreground ,blue :underline nil))))
467 `(org-agenda-done ((,class (:foreground ,green))))
468 `(org-agenda-dimmed-todo-face ((,class (:foreground ,comment))))
469 `(org-block ((,class (:foreground ,foreground :background ,"#EFEBE9" :extend t))))
470 `(org-block-background ((,t (:background ,"#EFEBE9" :extend t))))
471 `(org-code ((,class (:foreground ,foreground :background ,"#EFEBE9"))))
472 `(org-column ((,class (:background ,current-line))))
473 `(org-column-title ((,class (:inherit org-column :weight bold :underline t))))
474 `(org-date ((,class (:foreground ,"#80cbc4" :underline t))))
475 `(org-document-info ((,class (:foreground ,aqua :height 1.35))))
476 `(org-document-info-keyword ((,class (:foreground ,green :height 1.35))))
477 `(org-document-title ((,class (:weight bold :foreground ,foreground :height 1.35))))
478 `(org-done ((,class (:background ,"#c8e6c9" :bold t :foreground,"#2e7d32"))))
479 `(org-ellipsis ((,class (:foreground ,comment))))
480 `(org-footnote ((,class (:foreground ,aqua))))
481 `(org-formula ((,class (:foreground ,red))))
482 `(org-hide ((,class (:foreground ,background :background ,background))))
483 `(org-link ((,class (:foreground ,red :underline t))))
484 `(org-scheduled ((,class (:foreground ,green))))
485 `(org-scheduled-previously ((,class (:foreground ,orange))))
486 `(org-scheduled-today ((,class (:foreground ,green))))
487 `(org-special-keyword ((,class (:foreground ,comment))))
488 `(org-table ((,class (:foreground ,"#1565c0" :background ,"#e0f7fa"))))
489 `(org-todo ((,class (:background ,"#ffcdd2" :bold t :foreground ,"#c62828"))))
490 `(org-upcoming-deadline ((,class (:foreground ,orange))))
491 `(org-warning ((,class (:weight bold :foreground ,red))))
492 `(org-block-begin-line ((,class (:foreground ,"#4e342e" :background "#efebe9"
493 :box (:style released-button) :extend t))))
494 `(org-block-end-line ((,class (:foreground ,"#4e342e" :background "#efebe9"
495 :box (:style released-button) :extend t))))
496 `(org-kbd ((,class (:background ,inactive-gray :foreground ,foreground
497 :box (:line-width 1 :color nil :style pressed-button)))))
498
499 `(org-level-1 ((,class (:inherit outline-1
500 :background ,inactive-gray
501 :weight bold
502 :box (:style released-button)
503 :height 1.3))))
504 `(org-level-2 ((,class (:inherit outline-2
505 :background ,"#C8E6C9"
506 :box (:style released-button)
507 :height 1.2))))
508 `(org-level-3 ((,class (:inherit outline-3 :height 1.1))))
509 `(org-level-4 ((,class (:inherit outline-4 :height 1.0))))
510 `(org-level-5 ((,class (:inherit outline-5 ))))
511 `(org-level-6 ((,class (:inherit outline-6 ))))
512 `(org-level-7 ((,class (:inherit outline-7 ))))
513 `(org-level-8 ((,class (:inherit outline-8 ))))
514 `(org-level-9 ((,class (:inherit outline-9 ))))
515
516 `(markdown-header-face-1 ((,class (:inherit font-lock-function-name-face :weight bold :height 1.3 ))))
517 `(markdown-header-face-2 ((,class (:inherit font-lock-function-name-face :weight bold :height 1.2 ))))
518 `(markdown-header-face-3 ((,class (:inherit font-lock-function-name-face :weight bold :height 1.1 ))))
519 `(markdown-header-face-4 ((,class (:inherit font-lock-function-name-face :weight bold :height 1.1 ))))
520 `(markdown-header-face-5 ((,class (:inherit font-lock-function-name-face :weight bold :height 1.1 ))))
521 `(markdown-header-face-6 ((,class (:inherit font-lock-function-name-face :weight bold :height 1.1 ))))
522 `(markdown-header-face-7 ((,class (:inherit font-lock-function-name-face :weight bold :height 1.1 ))))
523 `(markdown-header-face-8 ((,class (:inherit font-lock-function-name-face :weight bold :height 1.1 ))))
524 `(markdown-header-face-9 ((,class (:inherit font-lock-function-name-face :weight bold :height 1.1 ))))
525 `(markdown-header-delimiter-face ((,class (:inherit font-lock-function-name-face :weight bold
526 :height 1.2))))
527 `(markdown-url-face ((,class (:inherit link))))
528 `(markdown-link-face ((,class (:foreground ,blue :underline t))))
529
530 ;`(hl-sexp-face ((,class (:background ,current-line))))
531 `(highlight-symbol-face ((,class (:background ,selection))))
532 `(highlight-80+ ((,class (:background ,current-line))))
533
534 ;; Python-specific overrides
535 `(py-builtins-face ((,class (:foreground ,"#ff7043" :weight normal))))
536
537 ;; ein (emacs-ipython-notebook) specific colors
538 `(ein:cell-input-area ((,class (:background ,"#EFEFEF"))))
539 `(ein:cell-input-prompt ((,class (:inherit org-block-begin-line))))
540 `(ein:cell-output-prompt ((,class (:inherit org-block-end-line))))
541
542 ;; js2-mode
543 `(js2-warning ((,class (:underline ,orange))))
544 `(js2-error ((,class (:foreground nil :underline ,red))))
545 `(js2-external-variable ((,class (:foreground ,purple))))
546 `(js2-function-param ((,class (:foreground ,blue))))
547 `(js2-instance-member ((,class (:foreground ,blue))))
548 `(js2-private-function-call ((,class (:foreground ,red))))
549
550 ;; js3-mode
551 `(js3-warning-face ((,class (:underline ,orange))))
552 `(js3-error-face ((,class (:foreground nil :underline ,red))))
553 `(js3-external-variable-face ((,class (:foreground ,purple))))
554 `(js3-function-param-face ((,class (:foreground ,blue))))
555 `(js3-jsdoc-tag-face ((,class (:foreground ,orange))))
556 `(js3-jsdoc-type-face ((,class (:foreground ,aqua))))
557 `(js3-jsdoc-value-face ((,class (:foreground ,yellow))))
558 `(js3-jsdoc-html-tag-name-face ((,class (:foreground ,blue))))
559 `(js3-jsdoc-html-tag-delimiter-face ((,class (:foreground ,green))))
560 `(js3-instance-member-face ((,class (:foreground ,blue))))
561 `(js3-private-function-call-face ((,class (:foreground ,red))))
562
563 ;; coffee-mode
564 `(coffee-mode-class-name ((,class (:foreground ,orange :weight bold))))
565 `(coffee-mode-function-param ((,class (:foreground ,purple))))
566
567 ;; elixir-mode
568 `(elixir-negation-face ((,class (:foreground ,red))))
569 `(elixir-attribute-face ((,class (:foreground ,purple))))
570 `(elixir-atom-face ((,class (:foreground ,aqua))))
571 `(elixir-ignored-var-face ((,class (:foreground ,comment))))
572
573 ;; nxml
574 `(nxml-name-face ((,class (:foreground unspecified :inherit font-lock-constant-face))))
575 `(nxml-attribute-local-name-face ((,class (:foreground unspecified :inherit font-lock-variable-name-face))))
576 `(nxml-ref-face ((,class (:foreground unspecified :inherit font-lock-preprocessor-face))))
577 `(nxml-delimiter-face ((,class (:foreground unspecified :inherit font-lock-keyword-face))))
578 `(nxml-delimited-data-face ((,class (:foreground unspecified :inherit font-lock-string-face))))
579 `(rng-error-face ((,class (:underline ,red))))
580
581 ;; RHTML
582 `(erb-delim-face ((,class (:background ,current-line))))
583 `(erb-exec-face ((,class (:background ,current-line :weight bold))))
584 `(erb-exec-delim-face ((,class (:background ,current-line))))
585 `(erb-out-face ((,class (:background ,current-line :weight bold))))
586 `(erb-out-delim-face ((,class (:background ,current-line))))
587 `(erb-comment-face ((,class (:background ,current-line :weight bold :slant italic))))
588 `(erb-comment-delim-face ((,class (:background ,current-line))))
589
590 ;; Message-mode
591 `(message-header-other ((,class (:foreground nil :background nil :weight normal))))
592 `(message-header-subject ((,class (:inherit message-header-other :weight bold :foreground ,yellow))))
593 `(message-header-to ((,class (:inherit message-header-other :weight bold :foreground ,orange))))
594 `(message-header-cc ((,class (:inherit message-header-to :foreground nil))))
595 `(message-header-name ((,class (:foreground ,blue :background nil))))
596 `(message-header-newsgroups ((,class (:foreground ,aqua :background nil :slant normal))))
597 `(message-separator ((,class (:foreground ,purple))))
598
599 ;; cfw emacs calendar
600 `(cfw:face-title ((,class (:background ,background :foreground ,"#424242" :height 1.3 :weight bold))))
601 `(cfw:face-today ((,class (:foreground ,foreground))))
602 `(cfw:face-day-title ((,class (:background ,current-line :foreground ,foreground))))
603 `(cfw:face-today-title ((,class (:background ,secondary-selection :foreground ,foreground))))
604 `(cfw:face-header ((,class (:background ,current-line :foreground ,foreground))))
605 `(cfw:face-sunday ((,class (:background ,current-line :foreground ,aqua :weight bold))))
606 `(cfw:face-saturday ((,class (:background ,current-line :foreground ,aqua :weight bold))))
607 `(cfw:face-select ((,class (:background ,selection :foreground ,foreground))))
608 `(cfw:face-toolbar ((,class (:background ,aqua :foreground ,background :weight bold))))
609 `(cfw:face-toolbar-button-off ((,class (:background ,aqua :foreground ,background :weight bold))))
610 `(cfw:face-toolbar-button-on ((,class (:background ,aqua :foreground ,secondary-selection :weight bold))))
611 `(cfw:face-holiday ((,class (:background ,current-line :foreground ,green :weight bold))))
612
613 ;; Jabber
614 `(jabber-chat-prompt-local ((,class (:foreground ,subtle))))
615 `(jabber-chat-prompt-foreign ((,class (:foreground ,blue))))
616 `(jabber-chat-prompt-system ((,class (:foreground ,orange :weight bold))))
617 `(jabber-chat-text-local ((,class (:foreground ,subtle))))
618 `(jabber-chat-text-foreign ((,class (:foreground ,foreground))))
619 `(jabber-chat-text-error ((,class (:foreground ,red))))
620
621 `(jabber-roster-user-online ((,class (:foreground ,green))))
622 `(jabber-roster-user-xa ((,class :foreground ,comment)))
623 `(jabber-roster-user-dnd ((,class :foreground ,yellow)))
624 `(jabber-roster-user-away ((,class (:foreground ,orange))))
625 `(jabber-roster-user-chatty ((,class (:foreground ,purple))))
626 `(jabber-roster-user-error ((,class (:foreground ,red))))
627 `(jabber-roster-user-offline ((,class (:foreground ,comment))))
628
629 `(jabber-rare-time-face ((,class (:foreground ,comment))))
630 `(jabber-activity-face ((,class (:foreground ,purple))))
631 `(jabber-activity-personal-face ((,class (:foreground ,aqua))))
632
633 ;; Company autocomplete
634 ;; `(company-echo ((,class ())))
635 ;; `(company-echo-common ((,class ())))
636 `(company-preview ((,class (:foreground ,comment :background ,inactive-gray))))
637 `(company-preview-common ((,class (:foreground ,comment :background ,inactive-gray)))) ; same background as highlight-line
638 ;; `(company-preview-search ((,class ())))
639 `(company-scrollbar-bg ((,class (:background "#F0F0F0"))))
640 `(company-scrollbar-fg ((,class (:background "#C0C0C0"))))
641 `(company-template-field ((,class (:background ,inactive-gray))))
642 `(company-tooltip ((,class (:weight bold :foreground, comment :background ,inactive-gray))))
643 `(company-tooltip-annotation ((,class (:weight normal :foreground ,comment :background ,inactive-gray))))
644 `(company-tooltip-annotation-selection ((,class (:weight normal :inherit company-tooltip-selection))))
645 `(company-tooltip-common ((,class (:weight normal :inherit company-tooltip))))
646 `(company-tooltip-common-selection ((,class (:weight normal :inherit company-tooltip-selection))))
647 ;; `(company-tooltip-mouse ((,class ())))
648 ;; `(company-tooltip-search ((,class ())))
649 `(company-tooltip-selection ((,class (:weight bold :foreground ,foreground :background ,far-background))))
650
651 ;; Powerline
652 `(powerline-active1 ((t (:foreground ,foreground :background ,inactive-gray))))
653 `(powerline-active2 ((t (:foreground ,foreground :background ,inactive-gray))))
654 `(powerline-inactive1 ((t (:foreground ,comment :background ,selection))))
655 `(powerline-inactive2 ((t (:foreground ,comment :background ,selection))))
656
657 ;; Spaceline
658 `(spaceline-python-venv ((t (:foreground ,aqua))))
659 `(spaceline-evil-normal ((t (:foreground ,background :background ,yellow :inherit mode-line))))
660 `(spaceline-evil-insert ((t (:foreground ,background :background ,green :inherit mode-line))))
661 `(spaceline-evil-visual ((t (:foreground ,background :background ,selection :inherit mode-line))))
662
663 ;; Spacemacs
664 `(spacemacs-normal-face ((t (:inherit spaceline-evil-normal))))
665 `(spacemacs-insert-face ((t (:inherit spaceline-evil-insert))))
666 `(spacemacs-visual-face ((t (:inherit spaceline-evil-visual))))
667
668 ;; Outline
669 `(outline-1 ((,class (:inherit nil :foreground ,"#424242"))))
670 `(outline-2 ((,class (:inherit nil :foreground ,"#646464"))))
671 `(outline-3 ((,class (:inherit nil :foreground ,"#2e7d32"))))
672 `(outline-4 ((,class (:inherit nil :foreground ,"#ef6c00"))))
673 `(outline-5 ((,class (:inherit nil :foreground ,"#0277bd"))))
674 `(outline-6 ((,class (:inherit nil :foreground ,"#0288d1"))))
675 `(outline-7 ((,class (:inherit nil :foreground ,"#689f38"))))
676 `(outline-8 ((,class (:inherit nil :foreground ,purple))))
677 `(outline-9 ((,class (:inherit nil :foreground ,"LightSteelBlue1"))))
678
679
680 ;; Ledger-mode
681 `(ledger-font-comment-face ((,class (:inherit font-lock-comment-face))))
682 `(ledger-font-occur-narrowed-face ((,class (:inherit font-lock-comment-face :invisible t))))
683 `(ledger-font-occur-xact-face ((,class (:inherit highlight))))
684 `(ledger-font-payee-cleared-face ((,class (:foreground ,green))))
685 `(ledger-font-payee-uncleared-face ((,class (:foreground ,aqua))))
686 `(ledger-font-posting-account-cleared-face ((,class (:foreground ,blue))))
687 `(ledger-font-posting-account-face ((,class (:foreground ,purple))))
688 `(ledger-font-posting-account-pending-face ((,class (:foreground ,yellow))))
689 `(ledger-font-xact-highlight-face ((,class (:inherit highlight))))
690 `(ledger-occur-narrowed-face ((,class (:inherit font-lock-comment-face :invisible t))))
691 `(ledger-occur-xact-face ((,class (:inherit highlight))))
692
693 ;; auctex
694 `(font-latex-bold-face ((t (:inherit bold :foreground ,foreground))))
695 `(font-latex-doctex-documentation-face ((t (:background unspecified))))
696 `(font-latex-doctex-preprocessor-face ((t (:inherit (font-latex-doctex-documentation-face
697 font-lock-builtin-face font-lock-preprocessor-face)))))
698 `(font-latex-italic-face ((t (:inherit italic :foreground ,foreground))))
699 `(font-latex-math-face ((t (:foreground ,blue))))
700 `(font-latex-sectioning-0-face ((t (:inherit outline-1 :height 1.4))))
701 `(font-latex-sectioning-1-face ((t (:inherit outline-2 :height 1.35))))
702 `(font-latex-sectioning-2-face ((t (:inherit outline-3 :height 1.3))))
703 `(font-latex-sectioning-3-face ((t (:inherit outline-4 :height 1.25))))
704 `(font-latex-sectioning-4-face ((t (:inherit outline-5 :height 1.2))))
705 `(font-latex-sectioning-5-face ((t (:inherit outline-6 :height 1.1))))
706 `(font-latex-sedate-face ((t (:foreground ,green))))
707 `(font-latex-slide-title-face ((t (:inherit font-lock-type-face :weight bold :height 1.2))))
708 `(font-latex-string-face ((t (:inherit font-lock-string-face))))
709 `(font-latex-subscript-face ((t (:height 0.8))))
710 `(font-latex-superscript-face ((t (:height 0.8))))
711 `(font-latex-warning-face ((t (:inherit font-lock-warning-face))))
712
713 ;; mu4e
714 `(mu4e-header-face ((,class (:foreground ,subtle :inherit nil))))
715 `(mu4e-header-highlight-face ((,class (:background ,current-line :underline nil :inherit region))))
716 `(mu4e-header-marks-face ((,class (:underline nil :foreground ,yellow))))
717 `(mu4e-flagged-face ((,class (:foreground ,orange :inherit nil))))
718 `(mu4e-forwarded-face ((,class (:foreground ,aqua :inherit nil))))
719 `(mu4e-replied-face ((,class (:foreground ,green :inherit nil))))
720 `(mu4e-unread-face ((,class (:foreground ,foreground :inherit nil))))
721 `(mu4e-cited-1-face ((,class (:inherit outline-1 :slant normal))))
722 `(mu4e-cited-2-face ((,class (:inherit outline-2 :slant normal))))
723 `(mu4e-cited-3-face ((,class (:inherit outline-3 :slant normal))))
724 `(mu4e-cited-4-face ((,class (:inherit outline-4 :slant normal))))
725 `(mu4e-cited-5-face ((,class (:inherit outline-5 :slant normal))))
726 `(mu4e-cited-6-face ((,class (:inherit outline-6 :slant normal))))
727 `(mu4e-cited-7-face ((,class (:inherit outline-7 :slant normal))))
728 `(mu4e-ok-face ((,class (:foreground ,green))))
729 `(mu4e-view-contact-face ((,class (:inherit nil :foreground ,yellow))))
730 `(mu4e-view-link-face ((,class (:inherit link :foreground ,blue))))
731 `(mu4e-view-url-number-face ((,class (:inherit nil :foreground ,aqua))))
732 `(mu4e-view-attach-number-face ((,class (:inherit nil :foreground ,orange))))
733 `(mu4e-highlight-face ((,class (:inherit highlight))))
734 `(mu4e-title-face ((,class (:inherit nil :foreground ,green))))
735
736 ;; Gnus
737 `(gnus-cite-1 ((,class (:inherit outline-1 :foreground nil))))
738 `(gnus-cite-2 ((,class (:inherit outline-2 :foreground nil))))
739 `(gnus-cite-3 ((,class (:inherit outline-3 :foreground nil))))
740 `(gnus-cite-4 ((,class (:inherit outline-4 :foreground nil))))
741 `(gnus-cite-5 ((,class (:inherit outline-5 :foreground nil))))
742 `(gnus-cite-6 ((,class (:inherit outline-6 :foreground nil))))
743 `(gnus-cite-7 ((,class (:inherit outline-7 :foreground nil))))
744 `(gnus-cite-8 ((,class (:inherit outline-8 :foreground nil))))
745 ;; there are several more -cite- faces...
746 `(gnus-header-content ((,class (:inherit message-header-other))))
747 `(gnus-header-subject ((,class (:inherit message-header-subject))))
748 `(gnus-header-from ((,class (:inherit message-header-other-face :weight bold :foreground ,orange))))
749 `(gnus-header-name ((,class (:inherit message-header-name))))
750 `(gnus-button ((,class (:inherit link :foreground nil))))
751 `(gnus-signature ((,class (:inherit font-lock-comment-face))))
752
753 `(gnus-summary-normal-unread ((,class (:foreground ,foreground :weight bold))))
754 `(gnus-summary-normal-read ((,class (:foreground ,comment :weight normal))))
755 `(gnus-summary-normal-ancient ((,class (:foreground ,aqua :weight normal))))
756 `(gnus-summary-normal-ticked ((,class (:foreground ,orange :weight normal))))
757 `(gnus-summary-low-unread ((,class (:foreground ,comment :weight normal))))
758 `(gnus-summary-low-read ((,class (:foreground ,comment :weight normal))))
759 `(gnus-summary-low-ancient ((,class (:foreground ,comment :weight normal))))
760 `(gnus-summary-high-unread ((,class (:foreground ,yellow :weight normal))))
761 `(gnus-summary-high-read ((,class (:foreground ,green :weight normal))))
762 `(gnus-summary-high-ancient ((,class (:foreground ,green :weight normal))))
763 `(gnus-summary-high-ticked ((,class (:foreground ,orange :weight normal))))
764 `(gnus-summary-cancelled ((,class (:foreground ,red :background nil :weight normal))))
765
766 `(gnus-group-mail-low ((,class (:foreground ,comment))))
767 `(gnus-group-mail-low-empty ((,class (:foreground ,comment))))
768 `(gnus-group-mail-1 ((,class (:foreground nil :weight normal :inherit outline-1))))
769 `(gnus-group-mail-2 ((,class (:foreground nil :weight normal :inherit outline-2))))
770 `(gnus-group-mail-3 ((,class (:foreground nil :weight normal :inherit outline-3))))
771 `(gnus-group-mail-4 ((,class (:foreground nil :weight normal :inherit outline-4))))
772 `(gnus-group-mail-5 ((,class (:foreground nil :weight normal :inherit outline-5))))
773 `(gnus-group-mail-6 ((,class (:foreground nil :weight normal :inherit outline-6))))
774 `(gnus-group-mail-1-empty ((,class (:inherit gnus-group-mail-1 :foreground ,comment))))
775 `(gnus-group-mail-2-empty ((,class (:inherit gnus-group-mail-2 :foreground ,comment))))
776 `(gnus-group-mail-3-empty ((,class (:inherit gnus-group-mail-3 :foreground ,comment))))
777 `(gnus-group-mail-4-empty ((,class (:inherit gnus-group-mail-4 :foreground ,comment))))
778 `(gnus-group-mail-5-empty ((,class (:inherit gnus-group-mail-5 :foreground ,comment))))
779 `(gnus-group-mail-6-empty ((,class (:inherit gnus-group-mail-6 :foreground ,comment))))
780 `(gnus-group-news-1 ((,class (:foreground nil :weight normal :inherit outline-5))))
781 `(gnus-group-news-2 ((,class (:foreground nil :weight normal :inherit outline-6))))
782 `(gnus-group-news-3 ((,class (:foreground nil :weight normal :inherit outline-7))))
783 `(gnus-group-news-4 ((,class (:foreground nil :weight normal :inherit outline-8))))
784 `(gnus-group-news-5 ((,class (:foreground nil :weight normal :inherit outline-1))))
785 `(gnus-group-news-6 ((,class (:foreground nil :weight normal :inherit outline-2))))
786 `(gnus-group-news-1-empty ((,class (:inherit gnus-group-news-1 :foreground ,comment))))
787 `(gnus-group-news-2-empty ((,class (:inherit gnus-group-news-2 :foreground ,comment))))
788 `(gnus-group-news-3-empty ((,class (:inherit gnus-group-news-3 :foreground ,comment))))
789 `(gnus-group-news-4-empty ((,class (:inherit gnus-group-news-4 :foreground ,comment))))
790 `(gnus-group-news-5-empty ((,class (:inherit gnus-group-news-5 :foreground ,comment))))
791 `(gnus-group-news-6-empty ((,class (:inherit gnus-group-news-6 :foreground ,comment))))
792
793 ;; emms
794 `(emms-playlist-selected-face ((,class (:foreground ,orange))))
795 `(emms-playlist-track-face ((,class (:foreground ,blue))))
796 `(emms-browser-track-face ((,class (:foreground ,blue))))
797 `(emms-browser-artist-face ((,class (:foreground ,red :height 1.3))))
798 `(emms-browser-composer-face ((,class (:inherit emms-browser-artist-face))))
799 `(emms-browser-performer-face ((,class (:inherit emms-browser-artist-face))))
800 `(emms-browser-album-face ((,class (:foreground ,green :height 1.2))))
801
802 ;; stripe-buffer
803 `(stripe-highlight ((,class (:background ,current-line))))
804 `(stripe-hl-line ((,class (:background ,selection :foreground ,foreground))))
805
806 ;; erc
807 `(erc-direct-msg-face ((,class (:foreground ,orange))))
808 `(erc-error-face ((,class (:foreground ,red))))
809 `(erc-header-face ((,class (:foreground ,foreground :background ,selection))))
810 `(erc-input-face ((,class (:foreground ,green))))
811 `(erc-keyword-face ((,class (:foreground ,yellow))))
812 `(erc-current-nick-face ((,class (:foreground ,green))))
813 `(erc-my-nick-face ((,class (:foreground ,green))))
814 `(erc-nick-default-face ((,class (:weight normal :foreground ,purple))))
815 `(erc-nick-msg-face ((,class (:weight normal :foreground ,yellow))))
816 `(erc-notice-face ((,class (:foreground ,comment))))
817 `(erc-pal-face ((,class (:foreground ,orange))))
818 `(erc-prompt-face ((,class (:foreground ,blue))))
819 `(erc-timestamp-face ((,class (:foreground ,aqua))))
820 `(erc-keyword-face ((,class (:foreground ,green))))
821
822 ;; erc-colorize
823 `(erc-distinct-1-face ((,class (:foreground ,"#E91E63"))))
824 `(erc-distinct-2-face ((,class (:foreground ,"#1565C0"))))
825 `(erc-distinct-3-face ((,class (:foreground ,"#827717"))))
826 `(erc-distinct-4-face ((,class (:foreground ,"#B388FF"))))
827 `(erc-distinct-5-face ((,class (:foreground ,"#EF6C00"))))
828 `(erc-distinct-6-face ((,class (:foreground ,"#26A69A"))))
829 `(erc-distinct-7-face ((,class (:foreground ,"#B71C1C"))))
830
831 ;; twittering-mode
832 `(twittering-username-face ((,class (:inherit erc-pal-face))))
833 `(twittering-uri-face ((,class (:foreground ,blue :inherit link))))
834 `(twittering-timeline-header-face ((,class (:foreground ,green :weight bold))))
835 `(twittering-timeline-footer-face ((,class (:inherit twittering-timeline-header-face))))
836
837 `(custom-variable-tag ((,class (:foreground ,blue))))
838 `(custom-group-tag ((,class (:foreground ,blue))))
839 `(custom-state ((,class (:foreground ,green))))
840
841 ;; ansi-term
842 `(term ((,class (:foreground nil :background nil :inherit default))))
843 `(term-color-black ((,class (:foreground ,foreground :background ,foreground))))
844 `(term-color-red ((,class (:foreground ,red :background ,red))))
845 `(term-color-green ((,class (:foreground ,green :background ,green))))
846 `(term-color-yellow ((,class (:foreground ,yellow :background ,yellow))))
847 `(term-color-blue ((,class (:foreground ,blue :background ,blue))))
848 `(term-color-magenta ((,class (:foreground ,purple :background ,purple))))
849 `(term-color-cyan ((,class (:foreground ,aqua :background ,aqua))))
850 `(term-color-white ((,class (:foreground ,background :background ,background))))
851
852 ;; elfeed
853 `(elfeed-log-date-face ((,class (:foreground ,aqua))))
854 `(elfeed-log-error-level-face ((,class (:foreground ,red))))
855 `(elfeed-log-info-level-face ((,class (:foreground ,blue))))
856 `(elfeed-log-warn-level-face ((,class (:foreground ,orange))))
857 `(elfeed-search-date-face ((,class (:foreground ,purple))))
858 `(elfeed-search-feed-face ((,class (:foreground ,yellow))))
859 `(elfeed-search-tag-face ((,class (:foreground ,green))))
860
861 ;; rpm-spec-mode
862 `(rpm-spec-dir-face ((,class (:foreground ,green))))
863 `(rpm-spec-doc-face ((,class (:foreground ,green))))
864 `(rpm-spec-ghost-face ((,class (:foreground ,red))))
865 `(rpm-spec-macro-face ((,class (:foreground ,yellow))))
866 `(rpm-spec-obsolete-tag-face ((,class (:foreground ,red))))
867 `(rpm-spec-package-face ((,class (:foreground ,red))))
868 `(rpm-spec-section-face ((,class (:foreground ,yellow))))
869 `(rpm-spec-tag-face ((,class (:foreground ,blue))))
870 `(rpm-spec-var-face ((,class (:foreground ,red)))))
871
872 (custom-theme-set-variables
873 'material-light
874 `(fci-rule-color ,current-line)
875 `(vc-annotate-color-map
876 '((20 . ,red)
877 (40 . ,orange)
878 (60 . ,yellow)
879 (80 . ,green)
880 (100 . ,aqua)
881 (120 . ,blue)
882 (140 . ,purple)
883 (160 . ,red)
884 (180 . ,orange)
885 (200 . ,yellow)
886 (220 . ,green)
887 (240 . ,aqua)
888 (260 . ,blue)
889 (280 . ,purple)
890 (300 . ,red)
891 (320 . ,orange)
892 (340 . ,yellow)
893 (360 . ,green)))
894 `(vc-annotate-very-old-color nil)
895 `(vc-annotate-background nil)
896
897 ;; highlight-sexp-mode
898 `(hl-sexp-background-color ,"#efebe9")
899
900 `(ansi-color-names-vector (vector ,foreground ,red ,green ,yellow ,blue ,purple ,aqua ,background))
901 '(ansi-color-faces-vector [default bold shadow italic underline bold bold-italic bold])))
902
903;;;###autoload
904(when (and (boundp 'custom-theme-load-path)
905 load-file-name)
906 ;; add theme folder to `custom-theme-load-path' when installing over MELPA
907 (add-to-list 'custom-theme-load-path
908 (file-name-as-directory (file-name-directory load-file-name))))
909
910(provide-theme 'material-light)
911
912;; Local Variables:
913;; rainbow-mode: t
914;; hl-sexp-mode: nil
915;; End:
916
917;;; material-light-theme.el ends here