ruby_learner 1.0.0

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