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