You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2249 lines
129 KiB

  1. ;;; solarized.el --- Solarized for Emacs.
  2. ;; Copyright (C) 2011-2016 Bozhidar Batsov
  3. ;; Author: Bozhidar Batsov <bozhidar@batsov.com>
  4. ;; Author: Thomas Frössman <thomasf@jossystem.se>
  5. ;; URL: http://github.com/bbatsov/solarized-emacs
  6. ;; Version: 1.2.2
  7. ;; This program is free software; you can redistribute it and/or modify
  8. ;; it under the terms of the GNU General Public License as published by
  9. ;; the Free Software Foundation, either version 3 of the License, or
  10. ;; (at your option) any later version.
  11. ;; This program is distributed in the hope that it will be useful,
  12. ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. ;; GNU General Public License for more details.
  15. ;; You should have received a copy of the GNU General Public License
  16. ;; along with this program. If not, see <http://www.gnu.org/licenses/>.
  17. ;;; Commentary:
  18. ;;
  19. ;; A port of Solarized to Emacs.
  20. ;;
  21. ;;; Installation:
  22. ;;
  23. ;; Drop the `solarized-theme.el` somewhere in your `load-path` and
  24. ;; the two themes in a folder that is on `custom-theme-load-path'
  25. ;; and enjoy!
  26. ;;
  27. ;; Don't forget that the theme requires Emacs 24.
  28. ;;
  29. ;;; Credits
  30. ;;
  31. ;; Ethan Schoonover created the original theme for vim on such this port
  32. ;; is based.
  33. ;;
  34. ;;; Code:
  35. (require 'dash)
  36. (require 'color)
  37. ;;; Options
  38. (defgroup solarized nil
  39. "Solarized theme options.
  40. The theme has to be reloaded after changing anything in this group."
  41. :group 'faces)
  42. (defcustom solarized-distinct-fringe-background nil
  43. "Make the fringe background different from the normal background color.
  44. Also affects `linum-mode' background."
  45. :type 'boolean
  46. :group 'solarized)
  47. (defcustom solarized-distinct-doc-face nil
  48. "Make `font-lock-doc-face' stand out more.
  49. Related discussion: https://github.com/bbatsov/solarized-emacs/issues/158"
  50. :type 'boolean
  51. :group 'solarized)
  52. (defcustom solarized-use-variable-pitch t
  53. "Use variable pitch face for some headings and titles."
  54. :type 'boolean
  55. :group 'solarized)
  56. (defcustom solarized-use-less-bold nil
  57. "Use bold weight less often."
  58. :type 'boolean
  59. :group 'solarized)
  60. (defcustom solarized-use-more-italic nil
  61. "Use italic slant more often."
  62. :type 'boolean
  63. :group 'solarized)
  64. (defcustom solarized-emphasize-indicators t
  65. "Use more colors for indicators such as git:gutter, flycheck and similar."
  66. :type 'boolean
  67. :group 'solarized)
  68. (defcustom solarized-high-contrast-mode-line nil
  69. "Make the active/inactive mode line stand out more."
  70. :type 'boolean
  71. :group 'solarized)
  72. (defcustom solarized-height-minus-1 0.8
  73. "Font size -1."
  74. :type 'number
  75. :group 'solarized)
  76. (defcustom solarized-height-plus-1 1.1
  77. "Font size +1."
  78. :type 'number
  79. :group 'solarized)
  80. (defcustom solarized-height-plus-2 1.15
  81. "Font size +2."
  82. :type 'number
  83. :group 'solarized)
  84. (defcustom solarized-height-plus-3 1.2
  85. "Font size +3."
  86. :type 'number
  87. :group 'solarized)
  88. (defcustom solarized-height-plus-4 1.3
  89. "Font size +4."
  90. :type 'number
  91. :group 'solarized)
  92. (defcustom solarized-scale-org-headlines t
  93. "Whether scaling of outline-headlines should apply to `org-mode' headlines."
  94. :type 'boolean
  95. :group 'solarized)
  96. ;;; Utilities
  97. ;;;###autoload
  98. (defun solarized-color-blend (color1 color2 alpha)
  99. "Blends COLOR1 onto COLOR2 with ALPHA.
  100. COLOR1 and COLOR2 should be color names (e.g. \"white\") or RGB
  101. triplet strings (e.g. \"#ff12ec\").
  102. Alpha should be a float between 0 and 1."
  103. (apply 'color-rgb-to-hex
  104. (-zip-with '(lambda (it other)
  105. (+ (* alpha it) (* other (- 1 alpha))))
  106. (color-name-to-rgb color1)
  107. (color-name-to-rgb color2))))
  108. ;;; Setup Start
  109. (defmacro solarized-with-color-variables (variant &rest body)
  110. (declare (indent 0))
  111. `(let* ((class '((class color) (min-colors 89)))
  112. (variant ,variant)
  113. (s-base03 "#002b36")
  114. (s-base02 "#073642")
  115. ;; emphasized content
  116. (s-base01 "#586e75")
  117. ;; primary content
  118. (s-base00 "#657b83")
  119. (s-base0 "#839496")
  120. ;; comments
  121. (s-base1 "#93a1a1")
  122. ;; background highlight light
  123. (s-base2 "#eee8d5")
  124. ;; background light
  125. (s-base3 "#fdf6e3")
  126. ;; Solarized accented colors
  127. (yellow "#b58900")
  128. (orange "#cb4b16")
  129. (red "#dc322f")
  130. (magenta "#d33682")
  131. (violet "#6c71c4")
  132. (blue "#268bd2")
  133. (cyan "#2aa198")
  134. (green "#859900")
  135. ;; Darker and lighter accented colors
  136. ;; Only use these in exceptional circumstances!
  137. (yellow-d "#7B6000")
  138. (yellow-l "#DEB542")
  139. (orange-d "#8B2C02")
  140. (orange-l "#F2804F")
  141. (red-d "#990A1B")
  142. (red-l "#FF6E64")
  143. (magenta-d "#93115C")
  144. (magenta-l "#F771AC")
  145. (violet-d "#3F4D91")
  146. (violet-l "#9EA0E5")
  147. (blue-d "#00629D")
  148. (blue-l "#69B7F0")
  149. (cyan-d "#00736F")
  150. (cyan-l "#69CABF")
  151. (green-d "#546E00")
  152. (green-l "#B4C342")
  153. ;; Solarized palette names, use these instead of -fg -bg...
  154. (base0 (if (eq variant 'light) s-base00 s-base0))
  155. (base00 (if (eq variant 'light) s-base0 s-base00))
  156. (base1 (if (eq variant 'light) s-base01 s-base1))
  157. (base01 (if (eq variant 'light) s-base1 s-base01))
  158. (base2 (if (eq variant 'light) s-base02 s-base2))
  159. (base02 (if (eq variant 'light) s-base2 s-base02))
  160. (base3 (if (eq variant 'light) s-base03 s-base3))
  161. (base03 (if (eq variant 'light) s-base3 s-base03))
  162. ;; Line drawing color
  163. ;;
  164. ;; NOTE only use this for very thin lines that are hard to see using base02, in low
  165. ;; color displayes base02 might be used instead
  166. (s-line (if (eq variant 'light) "#cccec4" "#284b54"))
  167. ;; Light/Dark adaptive higher/lower contrast accented colors
  168. ;;
  169. ;; NOTE Only use these in exceptional cirmumstances!
  170. (yellow-hc (if (eq variant 'light) yellow-d yellow-l))
  171. (yellow-lc (if (eq variant 'light) yellow-l yellow-d))
  172. (orange-hc (if (eq variant 'light) orange-d orange-l))
  173. (orange-lc (if (eq variant 'light) orange-l orange-d))
  174. (red-hc (if (eq variant 'light) red-d red-l))
  175. (red-lc (if (eq variant 'light) red-l red-d))
  176. (magenta-hc (if (eq variant 'light) magenta-d magenta-l))
  177. (magenta-lc (if (eq variant 'light) magenta-l magenta-d))
  178. (violet-hc (if (eq variant 'light) violet-d violet-l))
  179. (violet-lc (if (eq variant 'light) violet-l violet-d))
  180. (blue-hc (if (eq variant 'light) blue-d blue-l))
  181. (blue-lc (if (eq variant 'light) blue-l blue-d))
  182. (cyan-hc (if (eq variant 'light) cyan-d cyan-l))
  183. (cyan-lc (if (eq variant 'light) cyan-l cyan-d))
  184. (green-hc (if (eq variant 'light) green-d green-l))
  185. (green-lc (if (eq variant 'light) green-l green-d))
  186. ;; customize based face properties
  187. (s-maybe-bold (if solarized-use-less-bold
  188. 'unspecified 'bold))
  189. (s-maybe-italic (if solarized-use-more-italic
  190. 'italic 'normal))
  191. (s-variable-pitch (if solarized-use-variable-pitch
  192. 'variable-pitch 'default))
  193. (s-fringe-bg (if solarized-distinct-fringe-background
  194. base02 base03))
  195. (s-fringe-fg base01)
  196. (s-header-line-fg (if solarized-high-contrast-mode-line
  197. base1 base0))
  198. (s-header-line-bg (if solarized-high-contrast-mode-line
  199. base02 base03))
  200. (s-header-line-underline (if solarized-high-contrast-mode-line
  201. nil base02))
  202. (s-mode-line-fg (if solarized-high-contrast-mode-line
  203. base03 base0))
  204. (s-mode-line-bg (if solarized-high-contrast-mode-line
  205. base0 base02))
  206. (s-mode-line-underline (if solarized-high-contrast-mode-line
  207. nil s-line))
  208. (s-mode-line-buffer-id-fg (if solarized-high-contrast-mode-line
  209. 'unspecified base1))
  210. (s-mode-line-inactive-fg (if solarized-high-contrast-mode-line
  211. base0 base01))
  212. (s-mode-line-inactive-bg (if solarized-high-contrast-mode-line
  213. base02 base03))
  214. (s-mode-line-inactive-bc (if solarized-high-contrast-mode-line
  215. base02 base02))
  216. )
  217. ,@body))
  218. (defun create-solarized-theme (variant theme-name &optional childtheme)
  219. "Create a VARIANT of the theme named THEME-NAME.
  220. When optional argument CHILDTHEME function is supplied it's invoked to further
  221. customize the resulting theme."
  222. ;;; Color palette
  223. (solarized-with-color-variables variant
  224. ;;; Theme Faces
  225. (custom-theme-set-faces
  226. theme-name
  227. ;;;; Built-in
  228. ;;;;; basic coloring
  229. `(default ((,class (:foreground ,base0 :background ,base03))))
  230. `(shadow ((,class (:foreground ,base01))))
  231. `(match ((,class (:background ,base02 :foreground ,base1 :weight bold))))
  232. `(cursor ((,class (:foreground ,base03 :background ,base0
  233. :inverse-video t))))
  234. `(escape-glyph ((,class (:foreground ,violet))))
  235. `(fringe ((,class (:foreground ,s-fringe-fg :background ,s-fringe-bg))))
  236. `(highlight ((,class (:background ,base02))))
  237. `(link ((,class (:foreground ,yellow :underline t :weight bold))))
  238. `(link-visited ((,class (:foreground ,yellow :underline t :weight normal))))
  239. `(success ((,class (:foreground ,green ))))
  240. `(warning ((,class (:foreground ,yellow ))))
  241. `(error ((,class (:foreground ,orange))))
  242. `(lazy-highlight ((,class (:foreground ,base03 :background ,yellow
  243. :weight normal))))
  244. `(widget-field ((,class (:background ,base02))))
  245. '(button ((t (:underline t))))
  246. ;;;;; compilation
  247. `(compilation-column-face ((,class (:foreground ,cyan :underline nil))))
  248. `(compilation-column-number ((,class (:inherit font-lock-doc-face :foreground ,cyan
  249. :underline nil))))
  250. `(compilation-enter-directory-face ((,class (:foreground ,green :underline nil))))
  251. `(compilation-error ((,class (:inherit error :underline nil))))
  252. `(compilation-error-face ((,class (:foreground ,red : :underline nil))))
  253. `(compilation-face ((,class (:foreground ,base0 :underline nil))))
  254. `(compilation-info ((,class (:foreground ,base01 :underline nil :bold nil))))
  255. `(compilation-info-face ((,class (:foreground ,blue :underline nil))))
  256. `(compilation-leave-directory-face ((,class (:foreground ,green :underline nil))))
  257. `(compilation-line-face ((,class (:foreground ,green :underline nil))))
  258. `(compilation-line-number ((,class (:foreground ,green :underline nil))))
  259. `(compilation-warning ((,class (:inherit warning :underline nil))))
  260. `(compilation-warning-face ((,class (:foreground ,yellow :weight normal :underline nil))))
  261. `(compilation-mode-line-exit
  262. ((,class (:foreground unspecified :weight bold))))
  263. `(compilation-mode-line-fail
  264. ((,class (:inherit compilation-error :foreground ,red :weight bold))))
  265. `(compilation-mode-line-run ((,class (:foreground ,orange :weight bold))))
  266. ;;;;; cua
  267. `(cua-global-mark ((,class (:background ,yellow :foreground ,base03))))
  268. `(cua-rectangle ((,class (:inherit region
  269. :background ,magenta :foreground ,base03))))
  270. `(cua-rectangle-noselect ((,class (:inherit region :background ,base02
  271. :foreground ,base01))))
  272. ;;;;; debbugs
  273. `(debbugs-gnu-archived ((,class (:inverse-video t))))
  274. `(debbugs-gnu-done ((,class (:foreground ,base01))))
  275. `(debbugs-gnu-handled ((,class (:foreground ,green))))
  276. `(debbugs-gnu-new ((,class (:foreground ,blue))))
  277. `(debbugs-gnu-pending ((,class (:foreground ,cyan))))
  278. `(debbugs-gnu-stale ((,class (:foreground ,yellow))))
  279. `(debbugs-gnu-tagged ((,class (:foreground ,base1 :weight bold))))
  280. ;;;;; diary
  281. `(diary ((,class (:foreground ,yellow))))
  282. ;;;;; dired
  283. `(dired-directory ((,class (:foreground ,blue :weight normal))))
  284. `(dired-flagged ((,class (:foreground ,red))))
  285. `(dired-header ((,class (:foreground ,base03 :background ,blue))))
  286. `(dired-ignored ((,class (:inherit shadow))))
  287. `(dired-mark ((,class (:foreground ,yellow :weight bold))))
  288. `(dired-marked ((,class (:foreground ,magenta :weight bold))))
  289. `(dired-perm-write ((,class (:foreground ,base0 :underline t))))
  290. `(dired-symlink ((,class (:foreground ,cyan :weight normal :slant italic))))
  291. `(dired-warning ((,class (:foreground ,orange :underline t))))
  292. ;;;;; dired-async
  293. `(dired-async-message ((,class (:background ,(if (eq variant 'light) yellow-l yellow) ))))
  294. `(dired-async-mode-message
  295. ((,class (:background ,(if (eq variant 'light) red-l red) ))))
  296. ;;;;; dired-efap
  297. `(dired-efap-face ((,class (:box nil
  298. :background ,base02
  299. :foreground ,base1
  300. :underline ,s-line
  301. :weight bold))))
  302. ;;;;; dropdown
  303. `(dropdown-list-face ((,class (:background ,base02 :foreground ,cyan))))
  304. `(dropdown-list-selection-face ((,class (:background ,cyan-lc :foreground ,cyan-hc))))
  305. ;;;;; ecb
  306. `(ecb-default-highlight-face ((,class (:background ,blue :foreground ,base03))))
  307. `(ecb-history-bucket-node-dir-soure-path-face
  308. ((,class (:inherit ecb-history-bucket-node-face :foreground ,yellow))))
  309. `(ecb-source-in-directories-buffer-face ((,class (:inherit ecb-directories-general-face
  310. :foreground ,base0))))
  311. `(ecb-history-dead-buffer-face ((,class (:inherit ecb-history-general-face
  312. :foreground ,base01))))
  313. `(ecb-directory-not-accessible-face ((,class (:inherit ecb-directories-general-face
  314. :foreground ,base01))))
  315. `(ecb-bucket-node-face ((,class (:inherit ecb-default-general-face :weight normal
  316. :foreground ,blue))))
  317. `(ecb-tag-header-face ((,class (:background ,base02))))
  318. `(ecb-analyse-bucket-element-face ((,class (:inherit ecb-analyse-general-face
  319. :foreground ,green))))
  320. `(ecb-directories-general-face ((,class (:inherit ecb-default-general-face :height 1.0))))
  321. `(ecb-method-non-semantic-face ((,class (:inherit ecb-methods-general-face
  322. :foreground ,cyan))))
  323. `(ecb-mode-line-prefix-face ((,class (:foreground ,green))))
  324. `(ecb-tree-guide-line-face ((,class (:inherit ecb-default-general-face
  325. :foreground ,base02 :height 1.0))))
  326. ;;;;; ee
  327. `(ee-bookmarked ((,class (:foreground ,base1))))
  328. `(ee-category ((,class (:foreground ,blue))))
  329. `(ee-link ((,class (:inherit link))))
  330. `(ee-link-visited ((,class (:inherit link-visited))))
  331. `(ee-marked ((,class (:foreground ,magenta :weight bold))))
  332. `(ee-omitted ((,class (:foreground ,base01))))
  333. `(ee-shadow ((,class (:inherit shadow))))
  334. ;;;;; enh-ruby-mode
  335. `(enh-ruby-string-delimiter-face ((,class (:foreground ,yellow))))
  336. `(enh-ruby-heredoc-delimiter-face ((,class (:inherit enh-ruby-string-delimiter-face))))
  337. `(enh-ruby-regexp-delimiter-face ((,class (:inherit enh-ruby-string-delimiter-face))))
  338. `(enh-ruby-op-face ((,class (:foreground ,base0))))
  339. `(erm-syn-errline ((,class (:inherit flymake-errline))))
  340. `(erm-syn-warnline ((,class (:inherit flymake-warnline))))
  341. ;;;;; completions
  342. `(completions-annotations ((t (:foreground ,base01))))
  343. ;;;;; grep
  344. `(grep-context-face ((,class (:foreground ,base0))))
  345. `(grep-error-face ((,class (:foreground ,red :weight bold :underline t))))
  346. `(grep-hit-face ((,class (:foreground ,blue))))
  347. `(grep-match-face ((,class (:foreground ,orange :weight bold))))
  348. ;;;;; isearch
  349. `(isearch ((,class (:foreground ,base03 :background ,magenta :weight normal))))
  350. `(isearch-fail ((,class (:foreground ,red :background ,base03 :bold t))))
  351. ;;;;; man
  352. `(Man-overstrike ((,class (:foreground ,blue :weight bold))))
  353. `(Man-reverse ((,class (:foreground ,orange))))
  354. `(Man-underline ((,class (:foreground ,green :underline t))))
  355. ;;;;; misc faces
  356. `(menu ((,class (:foreground ,base0 :background ,base03))))
  357. `(minibuffer-prompt ((,class (:foreground ,base0))))
  358. `(mode-line
  359. ((,class (:inverse-video unspecified
  360. :overline ,s-mode-line-bg
  361. :underline ,s-mode-line-underline
  362. :foreground ,s-mode-line-fg
  363. :background ,s-mode-line-bg
  364. :box (:line-width 1 :color ,s-mode-line-bg
  365. :style unspecified)
  366. ))))
  367. `(mode-line-buffer-id ((,class (:foreground ,s-mode-line-buffer-id-fg :weight bold))))
  368. `(mode-line-inactive
  369. ((,class (:inverse-video unspecified
  370. :overline ,s-mode-line-inactive-bc
  371. :underline ,s-mode-line-underline
  372. :foreground ,s-mode-line-inactive-fg
  373. :background ,s-mode-line-inactive-bg
  374. :box (:line-width 1 :color ,s-mode-line-inactive-bg
  375. :style unspecified)
  376. ))))
  377. `(header-line
  378. ((,class (:inverse-video unspecified
  379. :overline nil
  380. :underline ,s-header-line-underline
  381. :foreground ,s-header-line-fg
  382. :background ,s-header-line-bg
  383. :box (:line-width 2 :color ,s-header-line-bg
  384. :style unspecified)
  385. ))))
  386. `(region ((,class (:foreground ,base03 :background ,base1))))
  387. `(secondary-selection ((,class (:background ,base02))))
  388. `(trailing-whitespace ((,class (:background ,red))))
  389. `(vertical-border ((,class (:foreground ,s-line))))
  390. ;;;;; font lock
  391. `(font-lock-builtin-face ((,class (:foreground ,base0 :weight ,s-maybe-bold
  392. :slant ,s-maybe-italic))))
  393. `(font-lock-comment-delimiter-face
  394. ((,class (:foreground ,base01 :slant ,s-maybe-italic))))
  395. `(font-lock-comment-face ((,class (:foreground ,base01))))
  396. `(font-lock-constant-face ((,class (:foreground ,blue :weight bold))))
  397. `(font-lock-doc-face ((,class (:foreground ,(if solarized-distinct-doc-face violet cyan)
  398. :slant ,s-maybe-italic))))
  399. `(font-lock-function-name-face ((,class (:foreground ,blue))))
  400. `(font-lock-keyword-face ((,class (:foreground ,green :weight ,s-maybe-bold))))
  401. `(font-lock-negation-char-face ((,class (:foreground ,yellow :weight bold))))
  402. `(font-lock-preprocessor-face ((,class (:foreground ,blue))))
  403. `(font-lock-regexp-grouping-construct ((,class (:foreground ,yellow :weight bold))))
  404. `(font-lock-regexp-grouping-backslash ((,class (:foreground ,green :weight bold))))
  405. `(font-lock-string-face ((,class (:foreground ,cyan))))
  406. `(font-lock-type-face ((,class (:foreground ,yellow))))
  407. `(font-lock-variable-name-face ((,class (:foreground ,blue))))
  408. `(font-lock-warning-face ((,class (:inherit error :weight bold))))
  409. `(c-annotation-face ((,class (:inherit font-lock-constant-face))))
  410. ;;;; Third-party
  411. ;;;;; ace-jump-mode
  412. `(ace-jump-face-background
  413. ((,class (:foreground ,base01 :background ,base03
  414. :inverse-video nil))))
  415. `(ace-jump-face-foreground
  416. ((,class (:foreground ,red :background ,base03 :inverse-video nil :weight bold))))
  417. ;;;;; auctex
  418. `(font-latex-bold-face ((,class (:inherit bold :foreground ,base1))))
  419. `(font-latex-doctex-documentation-face ((,class (:background unspecified))))
  420. `(font-latex-doctex-preprocessor-face ((,class
  421. (:inherit (font-latex-doctex-documentation-face
  422. font-lock-builtin-face
  423. font-lock-preprocessor-face)))))
  424. `(font-latex-italic-face ((,class (:inherit italic :foreground ,base1))))
  425. `(font-latex-math-face ((,class (:foreground ,violet))))
  426. `(font-latex-sectioning-0-face ((,class (:inherit font-latex-sectioning-1-face
  427. :height ,solarized-height-plus-1))))
  428. `(font-latex-sectioning-1-face ((,class (:inherit font-latex-sectioning-2-face
  429. :height ,solarized-height-plus-1))))
  430. `(font-latex-sectioning-2-face ((,class (:inherit font-latex-sectioning-3-face
  431. :height ,solarized-height-plus-1))))
  432. `(font-latex-sectioning-3-face ((,class (:inherit font-latex-sectioning-4-face
  433. :height ,solarized-height-plus-1))))
  434. `(font-latex-sectioning-4-face ((,class (:inherit font-latex-sectioning-5-face
  435. :height ,solarized-height-plus-1))))
  436. `(font-latex-sectioning-5-face ((,class (:inherit ,s-variable-pitch :foreground ,yellow
  437. :weight bold))))
  438. `(font-latex-sedate-face ((,class (:foreground ,base1))))
  439. `(font-latex-slide-title-face ((,class (:inherit (,s-variable-pitch font-lock-type-face)
  440. :weight bold :height ,solarized-height-plus-3))))
  441. `(font-latex-string-face ((,class (:foreground ,cyan))))
  442. `(font-latex-subscript-face ((,class (:height ,solarized-height-minus-1))))
  443. `(font-latex-superscript-face ((,class (:height ,solarized-height-minus-1))))
  444. `(font-latex-verbatim-face ((,class (:inherit fixed-pitch :foreground ,base0
  445. :slant italic))))
  446. `(font-latex-warning-face ((,class (:inherit bold :foreground ,orange))))
  447. ;;;;; auto-complete
  448. `(ac-candidate-face ((,class (:background ,base02 :foreground ,cyan))))
  449. `(ac-selection-face ((,class (:background ,cyan-lc :foreground ,cyan-hc))))
  450. `(ac-candidate-mouse-face ((,class (:background ,cyan-hc :foreground ,cyan-lc))))
  451. `(ac-completion-face ((,class (:foreground ,base1 :underline t))))
  452. `(ac-gtags-candidate-face ((,class (:background ,base02 :foreground ,blue))))
  453. `(ac-gtags-selection-face ((,class (:background ,blue-lc :foreground ,blue-hc))))
  454. `(ac-yasnippet-candidate-face ((,class (:background ,base02 :foreground ,yellow))))
  455. `(ac-yasnippet-selection-face ((,class (:background ,yellow-lc :foreground ,yellow-hc))))
  456. ;;;;; auto highlight symbol
  457. `(ahs-definition-face ((,class (:foreground ,magenta :background unspecified
  458. :slant normal))))
  459. `(ahs-edit-mode-face ((,class (:foreground ,base03 :background ,magenta))))
  460. `(ahs-face ((,class (:foreground ,magenta :background unspecified))))
  461. `(ahs-plugin-bod-face ((,class (:foreground ,magenta :background unspecified ))))
  462. `(ahs-plugin-defalt-face ((,class (:foreground ,magenta :background unspecified))))
  463. `(ahs-plugin-whole-buffer-face ((,class (:foreground ,magenta :background unspecified))))
  464. `(ahs-warning-face ((,class (:foreground ,red :weight bold))))
  465. ;;;;; android mode
  466. `(android-mode-debug-face ((,class (:foreground ,green))))
  467. `(android-mode-error-face ((,class (:foreground ,orange :weight bold))))
  468. `(android-mode-info-face ((,class (:foreground ,base0))))
  469. `(android-mode-verbose-face ((,class (:foreground ,base01))))
  470. `(android-mode-warning-face ((,class (:foreground ,yellow))))
  471. ;;;;; anzu-mode
  472. `(anzu-mode-line ((,class (:foreground ,yellow :weight bold))))
  473. ;;;;; avy-mode
  474. `(avy-lead-face ((,class (:inherit isearch))))
  475. `(avy-lead-face-0 ((,class (:inherit isearch :background ,violet))))
  476. `(avy-lead-face-1 ((,class (:inherit isearch :background ,orange))))
  477. `(avy-lead-face-2 ((,class (:inherit isearch :background ,cyan))))
  478. `(avy-background-face ((,class (:inherit font-lock-comment-face))))
  479. ;;;;; bm
  480. `(bm-face ((,class (:overline ,base0))))
  481. `(bm-fringe-face ((,class (:overline ,base0))))
  482. `(bm-fringe-persistent-face ((,class (:overline ,base0))))
  483. `(bm-persistent-face ((,class (:overline ,base0))))
  484. ;;;;; calfw
  485. `(cfw:face-day-title ((,class (:background ,base02))))
  486. `(cfw:face-annotation ((,class (:inherit cfw:face-day-title :foreground ,yellow))))
  487. `(cfw:face-default-content ((,class (:foreground ,green))))
  488. `(cfw:face-default-day ((,class (:inherit cfw:face-day-title :weight bold))))
  489. `(cfw:face-disable ((,class (:inherit cfw:face-day-title
  490. :foreground ,base01))))
  491. `(cfw:face-grid ((,class (:foreground ,base01))))
  492. `(cfw:face-header ((,class (:foreground ,blue-hc :background ,blue-lc :weight bold))))
  493. `(cfw:face-holiday ((,class (:background nil :foreground ,red :weight bold))))
  494. `(cfw:face-periods ((,class (:foreground ,magenta))))
  495. `(cfw:face-select ((,class (:background ,magenta-lc :foreground ,magenta-hc))))
  496. `(cfw:face-saturday ((,class (:foreground ,cyan-hc :background ,cyan-lc))))
  497. `(cfw:face-sunday ((,class (:foreground ,red-hc :background ,red-lc :weight bold))))
  498. `(cfw:face-title ((,class (:inherit ,s-variable-pitch :foreground ,yellow
  499. :weight bold :height ,solarized-height-plus-4))))
  500. `(cfw:face-today ((,class (:weight bold :background ,base02 :foreground nil))))
  501. `(cfw:face-today-title ((,class (:background ,yellow-lc
  502. :foreground ,yellow-hc :weight bold))))
  503. `(cfw:face-toolbar ((,class (:background ,base02 :foreground ,base0))))
  504. `(cfw:face-toolbar-button-off ((,class (:background ,yellow-lc :foreground ,yellow-hc
  505. :weight bold))))
  506. `(cfw:face-toolbar-button-on ((,class (:background ,yellow-hc :foreground ,yellow-lc
  507. :weight bold))))
  508. ;;;;; cider
  509. `(cider-result-overlay-face ((t (:background unspecified))))
  510. `(cider-enlightened-face ((t (:box (:color ,magenta :line-width -1)))))
  511. `(cider-enlightened-local-face ((t (:weight bold :foreground ,green-l))))
  512. `(cider-deprecated-face ((t (:background ,yellow))))
  513. `(cider-instrumented-face ((t (:box (:color ,red-l :line-width -1)))))
  514. `(cider-traced-face ((t (:box (:color ,cyan :line-width -1)))))
  515. ;;;;; cider-repl-mode
  516. `(cider-repl-err-output-face ((t (:inherit ,font-lock-warning-face :underline nil))))
  517. ;;;;; cider-test-mode
  518. `(cider-test-failure-face ((t (:foreground ,orange :weight bold :underline t))))
  519. `(cider-test-error-face ((t (:foreground ,red :weight bold :underline t))))
  520. `(cider-test-success-face ((t (:foreground ,green :weight bold :underline t))))
  521. ;;;;; company-mode
  522. `(company-template-field ((,class (:background ,yellow :foreground ,base02))))
  523. `(company-tooltip ((,class (:background ,base02 :foreground ,cyan))))
  524. `(company-tooltip-selection ((,class (:background ,cyan-lc :foreground ,cyan-hc))))
  525. `(company-tooltip-mouse ((,class (:background ,cyan-hc :foreground ,cyan-lc))))
  526. `(company-tooltip-common ((,class (:foreground ,base1 :underline t))))
  527. `(company-tooltip-common-selection ((,class (:foreground ,base1 :underline t))))
  528. `(company-tooltip-annotation ((,class (:foreground ,base1 :background ,base02))))
  529. `(company-scrollbar-fg ((,class (:foreground ,base03 :background ,base0))))
  530. `(company-scrollbar-bg ((,class (:background ,base02 :foreground ,cyan))))
  531. `(company-preview ((,class (:background ,base02 :foreground ,cyan))))
  532. `(company-preview-common ((,class (:foreground ,base1 :underline t))))
  533. ;;;;; column-enforce-mode
  534. `(column-enforce-face ((,class (:background unspecified :foreground ,magenta
  535. :inverse-video unspecified))))
  536. ;;;;; cscope
  537. `(cscope-file-face ((,class (:foreground ,green :weight bold))))
  538. `(cscope-function-face ((,class (:foreground ,blue))))
  539. `(cscope-line-number-face ((,class (:foreground ,yellow))))
  540. `(cscope-line-face ((,class (:foreground ,base0))))
  541. `(cscope-mouse-face ((,class (:background ,blue :foreground ,base0))))
  542. ;;;;; ctable
  543. `(ctbl:face-cell-select ((,class (:background ,base02 :foreground ,base1
  544. :underline ,base1 :weight bold))))
  545. `(ctbl:face-continue-bar ((,class (:background ,base02 :foreground ,yellow))))
  546. `(ctbl:face-row-select ((,class (:background ,base02 :foreground ,base0
  547. :underline t))))
  548. ;;;;; coffee
  549. `(coffee-mode-class-name ((,class (:foreground ,yellow :weight bold))))
  550. `(coffee-mode-function-param ((,class (:foreground ,violet :slant italic))))
  551. ;;;;; cperl-mode
  552. `(cperl-array-face ((,class (:background unspecified :foreground ,blue))))
  553. `(cperl-hash-face ((,class (:background unspecified :foreground ,blue))))
  554. `(cperl-nonoverridable-face ((,class (:foreground ,base0 :weight bold))))
  555. ;;;;; custom
  556. `(custom-face-tag ((,class (:inherit ,s-variable-pitch :height ,solarized-height-plus-3
  557. :foreground ,violet :weight normal))))
  558. `(custom-variable-tag ((,class (:inherit ,s-variable-pitch
  559. :foreground ,cyan :height ,solarized-height-plus-3))))
  560. `(custom-comment-tag ((,class (:foreground ,base01))))
  561. `(custom-group-tag ((,class (:inherit ,s-variable-pitch :foreground ,blue :height ,solarized-height-plus-3))))
  562. `(custom-group-tag-1 ((,class (:inherit ,s-variable-pitch :foreground ,red :height ,solarized-height-plus-3))))
  563. `(custom-state ((,class (:foreground ,green))))
  564. `(custom-button ((,class (:background ,base02 :foreground ,base1
  565. :box (:line-width 2 :style released-button)))))
  566. `(custom-button-mouse ((,class (:background ,base01 :foreground ,base02
  567. :box (:line-width 2 :style released-button)))))
  568. `(custom-button-pressed ((,class (:background ,base01 :foreground ,base1
  569. :box (:line-width 2 :style pressed-button)))))
  570. `(custom-button-unraised ((,class (:inherit underline))))
  571. `(custom-button-pressed-unraised ((,class (:inherit custom-button-unraised :foreground ,magenta))))
  572. ;;;;; diff
  573. `(diff-added ((,class (:foreground ,green))))
  574. `(diff-changed ((,class (:foreground ,blue))))
  575. `(diff-removed ((,class (:foreground ,red))))
  576. `(diff-refine-added
  577. ((((class color) (background light))
  578. (:background ,(solarized-color-blend "#ddffdd" green 0.7)))
  579. (((class color) (background dark))
  580. (:background ,(solarized-color-blend "#446644" green 0.7)))))
  581. `(diff-refine-changed
  582. ((((class color) (background light))
  583. (:background ,(solarized-color-blend "#ddddff" blue 0.7)))
  584. (((class color) (background dark))
  585. (:background ,(solarized-color-blend "#444466" blue 0.7)))))
  586. `(diff-refine-removed
  587. ((((class color) (background light))
  588. (:background ,(solarized-color-blend "#ffdddd" red 0.7)))
  589. (((class color) (background dark))
  590. (:background ,(solarized-color-blend "#664444" red 0.7)))))
  591. `(diff-header ((,class (:background ,base03))))
  592. `(diff-file-header
  593. ((,class (:background ,base03 :foreground ,base0 :weight bold))))
  594. ;;;;; ediff
  595. `(ediff-fine-diff-A ((,class (:background ,orange-lc))))
  596. `(ediff-fine-diff-B ((,class (:background ,green-lc))))
  597. `(ediff-fine-diff-C ((,class (:background ,yellow-lc))))
  598. `(ediff-current-diff-C ((,class (:background ,blue-lc))))
  599. `(ediff-even-diff-A ((,class (:background ,base01
  600. :foreground ,base3 ))))
  601. `(ediff-odd-diff-A ((,class (:background ,base01
  602. :foreground ,base03 ))))
  603. `(ediff-even-diff-B ((,class (:background ,base01
  604. :foreground ,base03 ))))
  605. `(ediff-odd-diff-B ((,class (:background ,base01
  606. :foreground ,base03 ))))
  607. `(ediff-even-diff-C ((,class (:background ,base01
  608. :foreground ,base0 ))))
  609. `(ediff-odd-diff-C ((,class (:background ,base01
  610. :foreground ,base03 ))))
  611. ;;;;;; alternative ediff (not finished)
  612. ;; `(ediff-fine-diff-A ((,class (
  613. ;; :background ,(solarized-color-blend blue base03 0.25))
  614. ;; )))
  615. ;; `(ediff-fine-diff-B ((,class (
  616. ;; :background ,(solarized-color-blend violet base03 0.25))
  617. ;; )))
  618. ;; `(ediff-fine-diff-C ((,class (
  619. ;; :background ,(solarized-color-blend yellow base03 0.25))
  620. ;; )))
  621. ;; `(ediff-current-diff-A ((,class (
  622. ;; :background ,(solarized-color-blend blue base03 0.15)
  623. ;; ))))
  624. ;; `(ediff-current-diff-B ((,class (
  625. ;; :background ,(solarized-color-blend violet base03 0.15)
  626. ;; ))))
  627. ;; `(ediff-current-diff-C ((,class (
  628. ;; :background ,(solarized-color-blend yellow base03 0.15)
  629. ;; ))))
  630. ;; `(ediff-even-diff-A ((,class (
  631. ;; ;; :background ,(solarized-color-blend base0 base03 0.15)
  632. ;; :background ,base02
  633. ;; ;; :foreground ,base2
  634. ;; ;; :background ,(solarized-color-blend green base02 0.15)
  635. ;; ))))
  636. ;; `(ediff-even-diff-B ((,class (
  637. ;; ;; :background ,base01
  638. ;; :background ,base02
  639. ;; ;; :foreground ,base2
  640. ;; ))))
  641. ;; `(ediff-even-diff-C ((,class (
  642. ;; ;; :background ,base01
  643. ;; :background ,base02
  644. ;; ;; :foreground ,base2
  645. ;; ))))
  646. ;; `(ediff-odd-diff-A ((,class (
  647. ;; ;; :background ,base01
  648. ;; :background ,base02
  649. ;; ))))
  650. ;; `(ediff-odd-diff-B ((,class (
  651. ;; ;; :background ,base01
  652. ;; :background ,base02
  653. ;; ))))
  654. ;; `(ediff-odd-diff-C ((,class (
  655. ;; ;; :background ,base01
  656. ;; :background ,base03
  657. ;; ))))
  658. ;; `(ediff-current-diff-Ancestor ((,class (:background "VioletRed" :foreground "Black"))))
  659. ;; `(ediff-even-diff-Ancestor ((,class (:background "Grey" :foreground "White"))))
  660. ;; `(ediff-fine-diff-Ancestor ((,class (:background "Green" :foreground "Black"))))
  661. ;; `(ediff-odd-diff-Ancestor ((,class (:background "gray40" :foreground "cyan3"))))
  662. ;; `(ediff-even-diff-A ((,class (:underline ,base01))))
  663. ;; `(ediff-odd-diff-A ((,class (:underline ,base01
  664. ;; ))))
  665. ;; `(ediff-even-diff-B ((,class (:background ,base01
  666. ;; :foreground ,base03
  667. ;; ))))
  668. ;; `(ediff-odd-diff-B ((,class (:background ,base01
  669. ;; :foreground ,base03
  670. ;; ))))
  671. ;; `(ediff-even-diff-C ((,class (:background ,base01
  672. ;; :foreground ,base0
  673. ;; ))))
  674. ;; `(ediff-odd-diff-C ((,class (:background ,base01
  675. ;; :foreground ,base03
  676. ;; ))))
  677. ;;;;; diff-hl
  678. `(diff-hl-change ((,class (:background ,blue-lc :foreground ,blue-hc))))
  679. `(diff-hl-delete ((,class (:background ,red-lc :foreground ,red-hc))))
  680. `(diff-hl-insert ((,class (:background ,green-lc :foreground ,green-hc))))
  681. `(diff-hl-unknown ((,class (:background ,cyan-lc :foreground ,cyan-hc))))
  682. ;;;;; edts
  683. `(edts-face-error-line
  684. ((,(append '((supports :underline (:style line))) class)
  685. (:underline (:style line :color ,(if (eq variant 'light) red-l red)) :inherit unspecified))
  686. (,class (:foreground ,red-hc :background ,red-lc :weight bold :underline t))))
  687. `(edts-face-warning-line
  688. ((,(append '((supports :underline (:style line))) class)
  689. (:underline (:style line :color ,(if (eq variant 'light) yellow-l yellow)) :inherit unspecified))
  690. (,class (:foreground ,yellow-hc :background ,yellow-lc :weight bold :underline t))))
  691. `(edts-face-error-fringe-bitmap
  692. ((,class (:foreground ,(if (eq variant 'light) red-l red) :background unspecified :weight bold))))
  693. `(edts-face-warning-fringe-bitmap
  694. ((,class (:foreground ,(if (eq variant 'light) yellow-l yellow) :background unspecified :weight bold))))
  695. `(edts-face-error-mode-line
  696. ((,class (:background ,(if (eq variant 'light) red-l red) :foreground unspecified))))
  697. `(edts-face-warning-mode-line
  698. ((,class (:background ,(if (eq variant 'light) yellow-l yellow) :foreground unspecified))))
  699. ;;;;; elfeed
  700. `(elfeed-search-date-face ((,class (:foreground ,base01))))
  701. `(elfeed-search-feed-face ((,class (:foreground ,base01))))
  702. `(elfeed-search-tag-face ((,class (:foreground ,base0))))
  703. `(elfeed-search-title-face ((,class (:foreground ,base0))))
  704. ;;;;; elscreen
  705. `(elscreen-tab-background-face ((,class (:background ,base03))))
  706. `(elscreen-tab-current-screen-face ((,class (:background ,base1 :foreground ,base03)) (t (:underline t))))
  707. `(elscreen-tab-other-screen-face ((,class (:background ,base02 :foreground ,base01))))
  708. `(elscreen-tab-control-face ((,class (:background ,base03 :foreground ,base0))))
  709. ;;;;; epa
  710. `(epa-mark ((,class (:foreground ,magenta :weight bold))))
  711. `(epa-string ((,class (:foreground ,violet))))
  712. `(epa-validity-disabled ((,class (:inverse-video t :slant italic))))
  713. `(epa-validity-high ((,class (:weight bold))))
  714. `(epa-validity-low ((,class (:slant italic))))
  715. `(epa-validity-medium ((,class (:slant italic))))
  716. ;;;;; epc
  717. `(epc:face-title ((,class (:foreground ,blue :background ,base03
  718. :weight normal :underline nil))))
  719. ;;;;; eshell
  720. `(eshell-prompt ((,class (:foreground ,yellow :weight bold))))
  721. `(eshell-ls-archive ((,class (:foreground ,red :weight bold))))
  722. `(eshell-ls-backup ((,class (:inherit font-lock-comment-face))))
  723. `(eshell-ls-clutter ((,class (:inherit font-lock-comment-face))))
  724. `(eshell-ls-directory ((,class (:foreground ,blue :weight bold))))
  725. `(eshell-ls-executable ((,class (:foreground ,red :weight bold))))
  726. `(eshell-ls-unreadable ((,class (:foreground ,base0))))
  727. `(eshell-ls-missing ((,class (:inherit font-lock-warning-face))))
  728. `(eshell-ls-product ((,class (:inherit font-lock-doc-face))))
  729. `(eshell-ls-special ((,class (:foreground ,yellow :weight bold))))
  730. `(eshell-ls-symlink ((,class (:foreground ,cyan :weight bold))))
  731. ;;;;; evil-search-highlight-persist
  732. `(evil-search-highlight-persist-highlight-face ((,class (:background ,(if (eq variant 'light) green-lc violet-lc)))))
  733. ;;;;; fic
  734. `(fic-author-face ((,class (:background ,base03 :foreground ,orange
  735. :underline t :slant italic))))
  736. `(fic-face ((,class (:background ,base03 :foreground ,orange
  737. :weight normal :slant italic))))
  738. `(font-lock-fic-face ((,class (:background ,base03 :foreground ,orange
  739. :weight normal :slant italic))))
  740. ;;;;; fixmee
  741. `(fixmee-notice-face ((,class (:background nil :foreground ,base1
  742. :underline nil :slant italic :weight bold))))
  743. ;;;;; flx
  744. `(flx-highlight-face ((,class (:foreground ,blue
  745. :weight normal :underline nil))))
  746. ;;;;; flymake
  747. `(flymake-errline
  748. ((,(append '((supports :underline (:style wave))) class)
  749. (:underline (:style wave :color ,red) :inherit unspecified
  750. :foreground unspecified :background unspecified))
  751. (,class (:foreground ,red-hc :background ,red-lc :weight bold :underline t))))
  752. `(flymake-infoline
  753. ((,(append '((supports :underline (:style wave))) class)
  754. (:underline (:style wave :color ,green) :inherit unspecified
  755. :foreground unspecified :background unspecified))
  756. (,class (:foreground ,green-hc :background ,green-lc))))
  757. `(flymake-warnline
  758. ((,(append '((supports :underline (:style wave))) class)
  759. (:underline (:style wave :color ,yellow) :inherit unspecified
  760. :foreground unspecified :background unspecified))
  761. (,class (:foreground ,yellow-hc :background ,yellow-lc :weight bold :underline t))))
  762. ;;;;; flycheck
  763. `(flycheck-error
  764. ((,(append '((supports :underline (:style wave))) class)
  765. (:underline (:style wave :color ,red) :inherit unspecified))
  766. (,class (:foreground ,red-hc :background ,red-lc :weight bold :underline t))))
  767. `(flycheck-warning
  768. ((,(append '((supports :underline (:style wave))) class)
  769. (:underline (:style wave :color ,yellow) :inherit unspecified))
  770. (,class (:foreground ,yellow-hc :background ,yellow-lc :weight bold :underline t))))
  771. `(flycheck-info
  772. ((,(append '((supports :underline (:style wave))) class)
  773. (:underline (:style wave :color ,(if solarized-emphasize-indicators
  774. blue base03)) :inherit unspecified))
  775. (,class (:foreground ,blue-hc :background ,blue-lc :weight bold :underline t))))
  776. `(flycheck-fringe-error
  777. ((,class (:foreground ,(if solarized-emphasize-indicators
  778. red-hc red)
  779. :background ,(if solarized-emphasize-indicators
  780. red-lc base03) :weight bold))))
  781. `(flycheck-fringe-warning
  782. ((,class (:foreground ,(if solarized-emphasize-indicators
  783. yellow-hc yellow)
  784. :background ,(if solarized-emphasize-indicators
  785. yellow-lc base03) :weight bold))))
  786. `(flycheck-fringe-info
  787. ((,class (:foreground ,(if solarized-emphasize-indicators
  788. blue-hc base01)
  789. :background ,(if solarized-emphasize-indicators
  790. blue-lc base03) :weight bold))))
  791. ;;;;; flyspell
  792. `(flyspell-duplicate
  793. ((,(append '((supports :underline (:style wave))) class)
  794. (:underline (:style wave :color ,yellow) :inherit unspecified))
  795. (,class (:foreground ,yellow :weight bold :underline t))))
  796. `(flyspell-incorrect
  797. ((,(append '((supports :underline (:style wave))) class)
  798. (:underline (:style wave :color ,red) :inherit unspecified))
  799. (,class (:foreground ,red :weight bold :underline t))))
  800. ;;;;; erc
  801. `(erc-action-face ((,class (:inherit erc-default-face))))
  802. `(erc-bold-face ((,class (:weight bold))))
  803. `(erc-current-nick-face ((,class (:foreground ,blue :weight bold))))
  804. `(erc-dangerous-host-face ((,class (:inherit font-lock-warning-face))))
  805. `(erc-default-face ((,class (:foreground ,base0))))
  806. `(erc-highlight-face ((,class (:inherit erc-default-face
  807. :background ,base02))))
  808. `(erc-direct-msg-face ((,class (:inherit erc-default-face))))
  809. `(erc-error-face ((,class (:inherit font-lock-warning-face))))
  810. `(erc-fool-face ((,class (:inherit erc-default-face))))
  811. `(erc-input-face ((,class (:foreground ,yellow))))
  812. `(erc-keyword-face ((,class (:foreground ,blue :weight bold))))
  813. `(erc-nick-default-face ((,class (:foreground ,yellow :weight bold))))
  814. `(erc-my-nick-face ((,class (:foreground ,red :weight bold))))
  815. `(erc-nick-msg-face ((,class (:inherit erc-default-face))))
  816. `(erc-notice-face ((,class (:foreground ,green))))
  817. `(erc-pal-face ((,class (:foreground ,orange :weight bold))))
  818. `(erc-prompt-face ((,class (:foreground ,orange :background ,base03 :weight bold))))
  819. `(erc-timestamp-face ((,class (:foreground ,green))))
  820. `(erc-underline-face ((t (:underline t))))
  821. ;;;;; eros
  822. `(eros-result-overlay-face ((t (:background unspecified))))
  823. ;;;;; git-commit
  824. `(git-commit-comment-action ((,class (:foreground ,base0 :weight bold))))
  825. `(git-commit-comment-branch ((,class (:foreground ,blue :weight bold))))
  826. `(git-commit-comment-heading ((,class (:foreground ,yellow :weight bold))))
  827. ;;;;; git-gutter
  828. `(git-gutter:added
  829. ((,class (:weight normal
  830. :foreground ,(if solarized-emphasize-indicators
  831. green s-fringe-fg)
  832. :background ,s-fringe-bg
  833. ))))
  834. `(git-gutter:deleted
  835. ((,class (:weight normal
  836. :foreground ,(if solarized-emphasize-indicators
  837. red s-fringe-fg)
  838. :background ,s-fringe-bg
  839. ))))
  840. `(git-gutter:modified
  841. ((,class (:weight normal
  842. :foreground ,(if solarized-emphasize-indicators
  843. blue s-fringe-fg)
  844. :background ,s-fringe-bg
  845. ))))
  846. `(git-gutter:unchanged
  847. ((,class (:weight normal
  848. :foreground ,(if solarized-emphasize-indicators
  849. base01 s-fringe-fg)
  850. :background ,s-fringe-bg
  851. ))))
  852. ;;;;; git-gutter-fr
  853. `(git-gutter-fr:added ((,class (:foreground ,green :weight bold))))
  854. `(git-gutter-fr:deleted ((,class (:foreground ,red :weight bold))))
  855. `(git-gutter-fr:modified ((,class (:foreground ,blue :weight bold))))
  856. ;;;;; git-gutter+ and git-gutter+-fr
  857. `(git-gutter+-added ((,class (:background ,green :foreground ,base03
  858. :weight bold))))
  859. `(git-gutter+-deleted ((,class (:background ,red :foreground ,base03
  860. :weight bold))))
  861. `(git-gutter+-modified ((,class (:background ,blue :foreground ,base03
  862. :weight bold))))
  863. `(git-gutter+-unchanged ((,class (:background ,base02
  864. :foreground ,base03
  865. :weight bold))))
  866. `(git-gutter-fr+-added ((,class (:foreground ,green :weight bold))))
  867. `(git-gutter-fr+-deleted ((,class (:foreground ,red :weight bold))))
  868. `(git-gutter-fr+-modified ((,class (:foreground ,blue :weight bold))))
  869. ;;;;; git-rebase
  870. `(git-rebase-hash ((,class (:foreground ,base01))))
  871. ;;;;; git-timemachine
  872. `(git-timemachine-minibuffer-author-face ((,class (:foreground ,orange))))
  873. `(git-timemachine-minibuffer-detail-face ((,class (:foreground ,yellow))))
  874. ;;;;; go-direx
  875. `(go-direx-header ((,class (:foreground ,blue))))
  876. `(go-direx-label ((,class (:foreground ,green))))
  877. `(go-direx-package ((,class (:foreground ,base1 :weight bold))))
  878. ;;;;;; go-guru
  879. `(go-guru-hl-identifier-face ((,class (:foreground ,magenta))))
  880. ;;;;;; go-mode
  881. `(go-coverage-0 ((,class (:foreground ,orange))))
  882. `(go-coverage-1 ((,class (:foreground ,(solarized-color-blend blue yellow (/ 2.0 6))))))
  883. `(go-coverage-2 ((,class (:foreground ,(solarized-color-blend blue yellow (/ 3.0 6))))))
  884. `(go-coverage-3 ((,class (:foreground ,(solarized-color-blend blue yellow (/ 4.0 6))))))
  885. `(go-coverage-4 ((,class (:foreground ,(solarized-color-blend blue yellow (/ 5.0 6))))))
  886. `(go-coverage-5 ((,class (:foreground ,blue))))
  887. `(go-coverage-6 ((,class (:foreground ,(solarized-color-blend cyan blue (/ 2.0 6))))))
  888. `(go-coverage-7 ((,class (:foreground ,(solarized-color-blend cyan blue (/ 3.0 6))))))
  889. `(go-coverage-8 ((,class (:foreground ,(solarized-color-blend cyan blue (/ 4.0 6))))))
  890. `(go-coverage-9 ((,class (:foreground ,(solarized-color-blend cyan blue (/ 5.0 6))))))
  891. `(go-coverage-10 ((,class (:foreground ,cyan))))
  892. `(go-coverage-covered ((,class (:foreground ,green))))
  893. `(go-coverage-untracked ((,class (:foreground ,base01))))
  894. ;;;;; guide-key
  895. `(guide-key/highlight-command-face ((,class (:foreground ,blue))))
  896. `(guide-key/key-face ((,class (:foreground ,base01))))
  897. `(guide-key/prefix-command-face ((,class (:foreground ,green))))
  898. ;;;;; gnus
  899. `(gnus-group-mail-1 ((,class (:weight bold :inherit gnus-group-mail-1-empty))))
  900. `(gnus-group-mail-1-empty ((,class (:inherit gnus-group-news-1-empty))))
  901. `(gnus-group-mail-2 ((,class (:weight bold :inherit gnus-group-mail-2-empty))))
  902. `(gnus-group-mail-2-empty ((,class (:inherit gnus-group-news-2-empty))))
  903. `(gnus-group-mail-3 ((,class (:weight bold :inherit gnus-group-mail-3-empty))))
  904. `(gnus-group-mail-3-empty ((,class (:inherit gnus-group-news-3-empty))))
  905. `(gnus-group-mail-low ((,class (:weight bold :inherit gnus-group-mail-low-empty))))
  906. `(gnus-group-mail-low-empty ((,class (:inherit gnus-group-news-low-empty))))
  907. `(gnus-group-news-1 ((,class (:weight bold :inherit gnus-group-news-1-empty))))
  908. `(gnus-group-news-2 ((,class (:weight bold :inherit gnus-group-news-2-empty))))
  909. `(gnus-group-news-3 ((,class (:weight bold :inherit gnus-group-news-3-empty))))
  910. `(gnus-group-news-4 ((,class (:weight bold :inherit gnus-group-news-4-empty))))
  911. `(gnus-group-news-5 ((,class (:weight bold :inherit gnus-group-news-5-empty))))
  912. `(gnus-group-news-6 ((,class (:weight bold :inherit gnus-group-news-6-empty))))
  913. `(gnus-group-news-low ((,class (:weight bold :inherit gnus-group-news-low-empty))))
  914. `(gnus-header-content ((,class (:inherit message-header-other))))
  915. `(gnus-header-from ((,class (:inherit message-header-other))))
  916. `(gnus-header-name ((,class (:inherit message-header-name))))
  917. `(gnus-header-newsgroups ((,class (:inherit message-header-other))))
  918. `(gnus-header-subject ((,class (:inherit message-header-subject))))
  919. `(gnus-summary-cancelled ((,class (:foreground ,orange))))
  920. `(gnus-summary-high-ancient ((,class (:foreground ,blue :weight bold))))
  921. `(gnus-summary-high-read ((,class (:foreground ,green :weight bold))))
  922. `(gnus-summary-high-ticked ((,class (:foreground ,orange :weight bold))))
  923. `(gnus-summary-high-unread ((,class (:foreground ,base0 :weight bold))))
  924. `(gnus-summary-low-ancient ((,class (:foreground ,blue))))
  925. `(gnus-summary-low-read ((t (:foreground ,green))))
  926. `(gnus-summary-low-ticked ((,class (:foreground ,orange))))
  927. `(gnus-summary-low-unread ((,class (:foreground ,base0))))
  928. `(gnus-summary-normal-ancient ((,class (:foreground ,blue))))
  929. `(gnus-summary-normal-read ((,class (:foreground ,green))))
  930. `(gnus-summary-normal-ticked ((,class (:foreground ,orange))))
  931. `(gnus-summary-normal-unread ((,class (:foreground ,base0))))
  932. `(gnus-summary-selected ((,class (:foreground ,yellow :weight bold))))
  933. `(gnus-cite-1 ((,class (:foreground ,blue))))
  934. `(gnus-cite-2 ((,class (:foreground ,blue))))
  935. `(gnus-cite-3 ((,class (:foreground ,blue))))
  936. `(gnus-cite-4 ((,class (:foreground ,green))))
  937. `(gnus-cite-5 ((,class (:foreground ,green))))
  938. `(gnus-cite-6 ((,class (:foreground ,green))))
  939. `(gnus-cite-7 ((,class (:foreground ,red))))
  940. `(gnus-cite-8 ((,class (:foreground ,red))))
  941. `(gnus-cite-9 ((,class (:foreground ,red))))
  942. `(gnus-cite-10 ((,class (:foreground ,yellow))))
  943. `(gnus-cite-11 ((,class (:foreground ,yellow))))
  944. `(gnus-group-news-1-empty ((,class (:foreground ,yellow))))
  945. `(gnus-group-news-2-empty ((,class (:foreground ,green))))
  946. `(gnus-group-news-3-empty ((,class (:foreground ,green))))
  947. `(gnus-group-news-4-empty ((,class (:foreground ,blue))))
  948. `(gnus-group-news-5-empty ((,class (:foreground ,blue))))
  949. `(gnus-group-news-6-empty ((,class (:foreground ,blue-lc))))
  950. `(gnus-group-news-low-empty ((,class (:foreground ,base01))))
  951. `(gnus-signature ((,class (:foreground ,yellow))))
  952. `(gnus-x-face ((,class (:background ,base0 :foreground ,base03))))
  953. ;;;;; helm
  954. ;; These probably needs tweaking.
  955. `(helm-apt-deinstalled ((,class (:foreground ,base01))))
  956. `(helm-apt-installed ((,class (:foreground ,green))))
  957. `(helm-bookmark-directory ((,class (:inherit helm-ff-directory))))
  958. `(helm-bookmark-file ((,class (:foreground ,base0))))
  959. `(helm-bookmark-gnus ((,class (:foreground ,cyan))))
  960. `(helm-bookmark-info ((,class (:foreground ,green))))
  961. `(helm-bookmark-man ((,class (:foreground ,violet))))
  962. `(helm-bookmark-w3m ((,class (:foreground ,yellow))))
  963. `(helm-bookmarks-su ((,class (:foreground ,orange))))
  964. `(helm-buffer-not-saved ((,class (:foreground ,orange))))
  965. `(helm-buffer-saved-out ((,class (:foreground ,red :background ,base03
  966. :inverse-video t))))
  967. `(helm-buffer-size ((,class (:foreground ,base01))))
  968. `(helm-candidate-number ((,class (:background ,base02 :foreground ,base1
  969. :bold t))))
  970. `(helm-ff-directory ((,class (:background ,base03 :foreground ,blue))))
  971. `(helm-ff-executable ((,class (:foreground ,green))))
  972. `(helm-ff-file ((,class (:background ,base03 :foreground ,base0))))
  973. `(helm-ff-invalid-symlink ((,class (:background ,base03 :foreground ,orange
  974. :slant italic))))
  975. `(helm-ff-prefix ((,class (:background ,yellow :foreground ,base03))))
  976. `(helm-ff-symlink ((,class (:foreground ,cyan))))
  977. `(helm-grep-file ((,class (:foreground ,cyan :underline t))))
  978. `(helm-grep-finish ((,class (:foreground ,green))))
  979. `(helm-grep-lineno ((,class (:foreground ,orange))))
  980. `(helm-grep-match ((,class (:inherit match))))
  981. `(helm-grep-running ((,class (:foreground ,red))))
  982. `(helm-header ((,class (:inherit header-line))))
  983. `(helm-header-line-left-margin ((,class (:inherit header-line))))
  984. `(helm-lisp-completion-info ((,class (:foreground ,base0))))
  985. `(helm-lisp-show-completion ((,class (:foreground ,yellow :background ,base02
  986. :bold t))))
  987. `(helm-M-x-key ((,class (:foreground ,orange :underline t))))
  988. `(helm-moccur-buffer ((,class (:foreground ,cyan :underline t))))
  989. `(helm-match ((,class (:inherit match))))
  990. `(helm-selection ((,class (:background ,base02 :underline t))))
  991. `(helm-selection-line ((,class (:background ,base02 :foreground ,base1
  992. :underline nil))))
  993. `(helm-separator ((,class (:foreground ,red))))
  994. `(helm-source-header ((,class (:background ,blue-lc :foreground ,base03
  995. :underline nil))))
  996. `(helm-time-zone-current ((,class (:foreground ,green))))
  997. `(helm-time-zone-home ((,class (:foreground ,red))))
  998. `(helm-visible-mark ((,class (:background ,base03 :foreground ,magenta :bold t))))
  999. ;;;;; helm-css-scss
  1000. `(helm-css-scss-selector-depth-face-1 ((,class (:foreground ,base0))))
  1001. `(helm-css-scss-selector-depth-face-2 ((,class (:foreground ,blue))))
  1002. `(helm-css-scss-selector-depth-face-3 ((,class (:foreground ,cyan))))
  1003. `(helm-css-scss-selector-depth-face-4 ((,class (:foreground ,green))))
  1004. `(helm-css-scss-selector-depth-face-5 ((,class (:foreground ,yellow))))
  1005. `(helm-css-scss-selector-depth-face-6 ((,class (:foreground ,violet))))
  1006. `(helm-css-scss-target-line-face ((,class (:background unspecified :foreground ,magenta))))
  1007. ;;;;; helm-go-package
  1008. `(helm-source-go-package-godoc-description ((,class (:foreground ,base01))))
  1009. ;;;;; helm-swoop
  1010. `(helm-swoop-target-line-face ((,class (:foreground unspecified :background ,base02))))
  1011. `(helm-swoop-target-line-block-face ((,class (:foreground unspecified :background ,base02))))
  1012. `(helm-swoop-target-word-face ((,class (:foreground ,magenta :background unspecified))))
  1013. ;;;;; hi-lock-mode
  1014. `(hi-yellow ((,class (:foreground ,(solarized-color-blend yellow base1 0.5)
  1015. :background,(solarized-color-blend yellow base03 0.15)))))
  1016. `(hi-pink ((,class (:foreground ,(solarized-color-blend magenta base1 0.5)
  1017. :background,(solarized-color-blend magenta base03 0.15)))))
  1018. `(hi-green ((,class (:foreground ,(solarized-color-blend green base1 0.5)
  1019. :background,(solarized-color-blend green base03 0.15)))))
  1020. `(hi-blue ((,class (:foreground ,(solarized-color-blend blue base1 0.5)
  1021. :background,(solarized-color-blend blue base03 0.15)))))
  1022. `(hi-black-b ((,class (:foreground ,base1
  1023. :background ,base03
  1024. :weight bold))))
  1025. `(hi-blue-b ((,class (:weight bold
  1026. :foreground ,(solarized-color-blend cyan base1 0.7)
  1027. :background ,(solarized-color-blend cyan base03 0.2)))))
  1028. `(hi-green-b ((,class (:weight bold
  1029. :foreground ,(solarized-color-blend green base1 0.7)
  1030. :background ,(solarized-color-blend green base03 0.2)))))
  1031. `(hi-red-b ((,class (:weight bold
  1032. :foreground ,(solarized-color-blend red base1 0.7)
  1033. :background ,(solarized-color-blend red base03 0.2)))))
  1034. `(hi-black-hb ((,class (:weight bold
  1035. :foreground ,base1
  1036. :background ,base02))))
  1037. ;;;;; highlight-changes
  1038. `(highlight-changes ((,class (:foreground ,orange))))
  1039. `(highlight-changes-delete ((,class (:foreground ,red :underline t))))
  1040. ;;;;; highlight-indentation
  1041. `(highlight-indentation-face ((,class (:background ,base02))))
  1042. `(highlight-indentation-current-column-face((,class (:background ,base02))))
  1043. ;;;;; highlight-numbers
  1044. `(highlight-numbers-number ((,class (:foreground ,violet :bold nil))))
  1045. ;;;;; highlight-symbol
  1046. `(highlight-symbol-face ((,class (:foreground ,magenta))))
  1047. ;;;;; hl-line-mode
  1048. `(hl-line ((,class (:background ,base02))))
  1049. `(hl-line-face ((,class (:background ,base02))))
  1050. ;;;;; hydra
  1051. `(hydra-face-red ((,class (:foreground ,red))))
  1052. `(hydra-face-blue ((,class (:foreground ,blue))))
  1053. `(hydra-face-amaranth ((,class (:foreground ,orange))))
  1054. `(hydra-face-pink ((,class (:foreground ,magenta))))
  1055. `(hydra-face-teal ((,class (:foreground ,cyan))))
  1056. ;;;;; ido-mode
  1057. `(ido-first-match ((,class (:foreground ,yellow :weight normal))))
  1058. `(ido-only-match ((,class (:foreground ,base03 :background ,yellow :weight normal))))
  1059. `(ido-subdir ((,class (:foreground ,blue))))
  1060. `(ido-incomplete-regexp ((,class (:foreground ,red :weight bold ))))
  1061. `(ido-indicator ((,class (:background ,red :foreground ,base03 :width condensed))))
  1062. `(ido-virtual ((,class (:foreground ,cyan))))
  1063. ;;;;; iedit-mode
  1064. `(iedit-occurrence ((,class (:background ,base03 :foreground ,magenta :bold t))))
  1065. ;;;;; info
  1066. `(info-title-1 ((,class (:foreground ,base1 :weight bold))))
  1067. `(info-title-2 ((,class (:foreground ,base1 :weight bold))))
  1068. `(info-title-3 ((,class (:weight bold))))
  1069. `(info-title-4 ((,class (:weight bold))))
  1070. `(info-node ((,class (:foreground ,base1 :slant italic :weight bold))))
  1071. `(info-header-node ((,class (:inherit info-node))))
  1072. `(info-header-xref ((,class (:inherit info-xref))))
  1073. `(info-index-match ((,class (:inherit match))))
  1074. `(info-menu-header ((,class (:inherit variable-pitch :weight bold))))
  1075. `(info-menu-star ((,class (:foreground ,orange))))
  1076. `(info-xref ((,class (:inherit link))))
  1077. `(info-xref-visited ((,class (:inherit (link-visited info-xref)))))
  1078. ;;;;; info+
  1079. `(info-file
  1080. ((,class (:foreground ,yellow :background ,base02))))
  1081. `(info-menu
  1082. ((,class (:foreground ,violet :background ,base02))))
  1083. `(info-single-quote
  1084. ((,class (:foreground ,cyan :inherit font-lock-string-face))))
  1085. `(info-quoted-name
  1086. ((,class (:foreground ,orange :inherit font-lock-string-face))))
  1087. `(info-string
  1088. ((,class (:foreground ,blue :inherit font-lock-string-face))))
  1089. `(info-command-ref-item
  1090. ((,class (:foreground ,green :background ,base02))))
  1091. `(info-constant-ref-item
  1092. ((,class (:foreground ,red :background ,base02))))
  1093. `(info-function-ref-item
  1094. ((,class (:foreground ,cyan :background ,base02))))
  1095. `(info-macro-ref-item
  1096. ((,class (:foreground ,green :background ,base02))))
  1097. `(info-reference-item
  1098. ((,class (:background ,base02))))
  1099. `(info-special-form-ref-item
  1100. ((,class (:foreground ,magenta :background ,base02))))
  1101. `(info-syntax-class-item
  1102. ((,class (:foreground ,magenta :background ,base02))))
  1103. `(info-user-option-ref-item
  1104. ((,class (:foreground ,orange :background ,base02))))
  1105. ;;;;; ivy
  1106. `(ivy-confirm-face ((,class (:foreground ,green))))
  1107. `(ivy-current-match ((,class (:weight bold :background ,base02))))
  1108. `(ivy-match-required-face ((,class (:foreground ,red))))
  1109. `(ivy-minibuffer-match-face-1 ((,class (:foreground ,base1))))
  1110. `(ivy-minibuffer-match-face-2 ((,class (:foreground ,yellow))))
  1111. `(ivy-minibuffer-match-face-3 ((,class (:foreground ,yellow))))
  1112. `(ivy-minibuffer-match-face-4 ((,class (:foreground ,yellow))))
  1113. `(ivy-remote ((,class (:foreground ,blue))))
  1114. ;;;;; jabber
  1115. `(jabber-activity-face ((,class (:weight bold :foreground ,red))))
  1116. `(jabber-activity-personal-face ((,class (:weight bold :foreground ,blue))))
  1117. `(jabber-chat-error ((,class (:weight bold :foreground ,red))))
  1118. `(jabber-chat-prompt-foreign ((,class (:weight bold :foreground ,red))))
  1119. `(jabber-chat-prompt-local ((,class (:weight bold :foreground ,blue))))
  1120. `(jabber-chat-prompt-system ((,class (:weight bold :foreground ,green))))
  1121. `(jabber-chat-text-foreign ((,class (:foreground ,base1))))
  1122. `(jabber-chat-text-local ((,class (:foreground ,base0))))
  1123. `(jabber-chat-rare-time-face ((,class (:underline t :foreground ,green))))
  1124. `(jabber-roster-user-away ((,class (:slant italic :foreground ,green))))
  1125. `(jabber-roster-user-chatty ((,class (:weight bold :foreground ,orange))))
  1126. `(jabber-roster-user-dnd ((,class (:slant italic :foreground ,red))))
  1127. `(jabber-roster-user-error ((,class (:weight light :slant italic :foreground ,red))))
  1128. `(jabber-roster-user-offline ((,class (:foreground ,base01))))
  1129. `(jabber-roster-user-online ((,class (:weight bold :foreground ,blue))))
  1130. `(jabber-roster-user-xa ((,class (:slant italic :foreground ,magenta))))
  1131. ;;;;; js2-mode colors
  1132. `(js2-error ((,class (:foreground ,red))))
  1133. `(js2-external-variable ((,class (:foreground ,orange))))
  1134. `(js2-function-param ((,class (:foreground ,green))))
  1135. `(js2-instance-member ((,class (:foreground ,magenta))))
  1136. `(js2-jsdoc-html-tag-delimiter ((,class (:foreground ,cyan))))
  1137. `(js2-jsdoc-html-tag-name ((,class (:foreground ,orange))))
  1138. `(js2-jsdoc-tag ((,class (:foreground ,cyan))))
  1139. `(js2-jsdoc-type ((,class (:foreground ,blue))))
  1140. `(js2-jsdoc-value ((,class (:foreground ,violet))))
  1141. `(js2-magic-paren ((,class (:underline t))))
  1142. `(js2-private-function-call ((,class (:foreground ,yellow))))
  1143. `(js2-private-member ((,class (:foreground ,blue))))
  1144. `(js2-warning ((,class (:underline ,orange))))
  1145. ;;;;; js3-mode colors
  1146. `(js3-error ((,class (:foreground ,red))))
  1147. `(js3-external-variable ((,class (:foreground ,orange))))
  1148. `(js3-function-param ((,class (:foreground ,green))))
  1149. `(js3-instance-member ((,class (:foreground ,magenta))))
  1150. `(js3-jsdoc-html-tag-delimiter ((,class (:foreground ,cyan))))
  1151. `(js3-jsdoc-html-tag-name ((,class (:foreground ,orange))))
  1152. `(js3-jsdoc-tag ((,class (:foreground ,cyan))))
  1153. `(js3-jsdoc-type ((,class (:foreground ,blue))))
  1154. `(js3-jsdoc-value ((,class (:foreground ,violet))))
  1155. `(js3-magic-paren ((,class (:underline t))))
  1156. `(js3-private-function-call ((,class (:foreground ,yellow))))
  1157. `(js3-private-member ((,class (:foreground ,blue))))
  1158. `(js3-warning ((,class (:underline ,orange))))
  1159. ;;;;; jedi
  1160. `(jedi:highlight-function-argument ((,class (:inherit bold))))
  1161. ;;;;; kite
  1162. ;; Sadly kite is not very stable for me so these faces might miss out things.
  1163. `(bg:kite-dataReceived ((,class (:background ,magenta))))
  1164. `(bg:kite-receiveHeadersEnd ((,class (:background ,green))))
  1165. `(bg:kite-requestStart ((,class (:background ,red))))
  1166. `(bg:kite-sendEnd ((,class (:background ,cyan))))
  1167. `(bg:kite-table-head ((,class (:background ,base02))))
  1168. `(bg:kite-tick ((,class (:background ,base02))))
  1169. `(kite-css-computed-proprietary-unused-property ((,class (:inherit kite-css-proprietary-property :foreground ,blue))))
  1170. `(kite-css-computed-unused-property ((,class (:inherit kite-css-property :foreground ,blue))))
  1171. `(kite-css-value-widget-error ((,class (:background ,orange-lc :foreground ,orange-hc))))
  1172. `(kite-css-value-widget-modified ((,class (:background ,base02 :foreground ,yellow))))
  1173. `(kite-delimited-data-face ((,class (:foreground ,green))))
  1174. `(kite-delimiter-face ((,class (:foreground ,base1))))
  1175. `(kite-modified-attribute-local-name-face ((,class (:inherit kite-attribute-local-name-face :background ,base02))))
  1176. `(kite-modified-attribute-value-face ((,class (:inherit kite-attribute-value-face :background ,base02))))
  1177. `(kite-modified-element-local-name-face ((,class (:inherit kite-element-local-name-face :background ,base02))))
  1178. `(kite-name-face ((,class (:foreground ,blue))))
  1179. `(kite-proto-property-name ((,class (:inherit default :foreground ,base02))))
  1180. `(kite-ref-face ((,class (:foreground ,cyan))))
  1181. `(kite-session-closed ((,class (:inherit default :background ,red))))
  1182. `(kite-text-face ((,class (:background nil :foreground ,base01))))
  1183. `(kite-node-highlight-face ((,class (:background ,base02))))
  1184. `(bg:kite-pageStart ((,class nil)))
  1185. `(kite-attribute-colon-face ((,class (:inherit kite-name-face))))
  1186. `(kite-attribute-local-name-face ((,class (:inherit kite-name-face))))
  1187. `(kite-attribute-prefix-face ((,class (:inherit kite-name-face))))
  1188. `(kite-attribute-value-delimiter-face ((,class (:inherit kite-delimiter-face))))
  1189. `(kite-attribute-value-face ((,class (:inherit kite-delimited-data-face))))
  1190. `(kite-boolean ((,class (:inherit font-lock-constant-face))))
  1191. `(kite-cdata-section-CDATA-face ((,class (:inherit kite-name-face))))
  1192. `(kite-cdata-section-content-face ((,class (:inherit kite-text-face))))
  1193. `(kite-cdata-section-delimiter-face ((,class (:inherit kite-delimiter-face))))
  1194. `(kite-char-ref-delimiter-face ((,class (:inherit kite-ref-face))))
  1195. `(kite-char-ref-number-face ((,class (:inherit kite-ref-face))))
  1196. `(kite-comment-content-face ((,class (:slant italic))))
  1197. `(kite-comment-delimiter-face ((,class (:inherit kite-delimiter-face))))
  1198. `(kite-console-prompt-face ((,class (:inherit default))))
  1199. `(kite-css-property ((,class (:inherit css-property))))
  1200. `(kite-css-proprietary-property ((,class (:inherit css-proprietary-property))))
  1201. `(kite-css-selected-overlay ((,class (:inherit secondary-selection))))
  1202. `(kite-css-selector ((,class (:inherit css-selector))))
  1203. `(kite-element-colon-face ((,class (:inherit kite-name-face))))
  1204. `(kite-element-local-name-face ((,class (:inherit kite-name-face))))
  1205. `(kite-element-prefix-face ((,class (:inherit kite-name-face))))
  1206. `(kite-entity-ref-delimiter-face ((,class (:inherit kite-ref-face))))
  1207. `(kite-entity-ref-name-face ((,class (:inherit kite-ref-face))))
  1208. `(kite-hash-face ((,class (:inherit kite-name-face))))
  1209. `(kite-link-face ((,class (:inherit change-log-file))))
  1210. `(kite-loading ((,class (:inherit font-lock-comment-face))))
  1211. `(kite-log-debug ((,class (:inherit font-lock-comment-face))))
  1212. `(kite-log-error ((,class (:inherit error))))
  1213. `(kite-log-log ((,class (:inherit default))))
  1214. `(kite-log-warning ((,class (:inherit warning))))
  1215. `(kite-markup-declaration-delimiter-face ((,class (:inherit kite-delimiter-face))))
  1216. `(kite-namespace-attribute-colon-face ((,class (:inherit kite-name-face))))
  1217. `(kite-namespace-attribute-prefix-face ((,class (:inherit kite-name-face))))
  1218. `(kite-namespace-attribute-value-delimiter-face ((,class (:inherit kite-attribute-value-delimiter-face))))
  1219. `(kite-namespace-attribute-value-face ((,class (:inherit kite-attribute-value-face))))
  1220. `(kite-namespace-attribute-xmlns-face ((,class (:inherit kite-name-face))))
  1221. `(kite-null ((,class (:inherit font-lock-constant-face))))
  1222. `(kite-number ((,class (:inherit font-lock-constant-face))))
  1223. `(kite-object ((,class (:inherit font-lock-variable-name-face))))
  1224. `(kite-processing-instruction-content-face ((,class (:inherit kite-delimited-data-face))))
  1225. `(kite-processing-instruction-delimiter-face ((,class (:inherit kite-delimiter-face))))
  1226. `(kite-processing-instruction-target-face ((,class (:inherit kite-name-face))))
  1227. `(kite-prolog-keyword-face ((,class (:inherit kite-name-face))))
  1228. `(kite-prolog-literal-content-face ((,class (:inherit kite-delimited-data-face))))
  1229. `(kite-prolog-literal-delimiter-face ((,class (:inherit kite-delimiter-face))))
  1230. `(kite-property-name ((,class (:inherit default))))
  1231. `(kite-quote ((,class (:inherit font-lock-keyword-face))))
  1232. `(kite-stack-column-number ((,class (:inherit kite-number))))
  1233. `(kite-stack-error-message ((,class (:inherit default))))
  1234. `(kite-stack-error-type ((,class (:inherit error))))
  1235. `(kite-stack-file-name ((,class (:inherit link))))
  1236. `(kite-stack-function-name ((,class (:inherit font-lock-function-name-face))))
  1237. `(kite-stack-line-number ((,class (:inherit kite-number))))
  1238. `(kite-stack-pseudo-file-name ((,class (:inherit default))))
  1239. `(kite-string ((,class (:inherit font-lock-string-face))))
  1240. `(kite-table-head ((,class (:inherit highlight))))
  1241. `(kite-tag-delimiter-face ((,class (:inherit kite-delimiter-face))))
  1242. `(kite-tag-slash-face ((,class (:inherit kite-name-face))))
  1243. `(kite-undefined ((,class (:inherit font-lock-constant-face))))
  1244. ;;;;; ledger-mode
  1245. `(ledger-font-payee-uncleared-face ((t (:foreground ,red))))
  1246. `(ledger-font-payee-cleared-face ((t (:foreground ,green :weight normal))))
  1247. `(ledger-font-xact-highlight-face ((t (:background ,base02))))
  1248. `(ledger-font-pending-face ((t (:foreground ,yellow weight: normal))))
  1249. `(ledger-font-other-face ((t (:foreground ,base0))))
  1250. `(ledger-font-posting-account-face ((t (:foreground ,cyan))))
  1251. `(ledger-font-posting-account-cleared-face ((t (:foreground ,base0))))
  1252. `(ledger-font-posting-account-pending-face ((t (:foreground ,yellow))))
  1253. `(ledger-font-posting-amount-face ((t (:foreground ,yellow))))
  1254. `(ledger-occur-narrowed-face ((t (:foreground ,base3 :invisible t))))
  1255. `(ledger-occur-xact-face ((t (:background ,base02))))
  1256. `(ledger-font-comment-face ((t (:foreground ,base01))))
  1257. `(ledger-font-reconciler-uncleared-face ((t (:foreground ,red :weight bold))))
  1258. `(ledger-font-reconciler-cleared-face ((t (:foreground ,base0 :weight normal))))
  1259. `(ledger-font-reconciler-pending-face ((t (:foreground ,yellow :weight normal))))
  1260. `(ledger-font-report-clickable-face ((t (:foreground ,yellow :weight normal))))
  1261. ;;;;; linum-mode
  1262. `(linum ((,class (:weight normal :underline nil :foreground ,s-fringe-fg :background ,s-fringe-bg))))
  1263. `(linum-relative-current-face ((,class (:inherit linum))))
  1264. ;;;;; lusty-explorer
  1265. `(lusty-directory-face ((,class (:inherit dired-directory))))
  1266. `(lusty-file-face ((,class nil)))
  1267. `(lusty-match-face ((,class (:inherit ido-first-match))))
  1268. `(lusty-slash-face ((,class (:foreground ,cyan :weight bold))))
  1269. ;;;;; magit
  1270. ;;;;;; headings and diffs
  1271. `(magit-section-highlight ((t (:background ,base02))))
  1272. `(magit-section-heading ((t (:foreground ,yellow :weight bold))))
  1273. `(magit-section-heading-selection ((t (:foreground ,orange :weight bold))))
  1274. `(magit-diff-file-heading ((t (:weight bold))))
  1275. `(magit-diff-file-heading-highlight ((t (:background ,base02))))
  1276. `(magit-diff-file-heading-selection ((t (:background ,base02
  1277. :foreground ,orange))))
  1278. `(magit-diff-hunk-heading
  1279. ((t (:background ,(solarized-color-blend yellow base03 0.1)))))
  1280. `(magit-diff-hunk-heading-highlight
  1281. ((t (:background ,(solarized-color-blend yellow base02 0.1)))))
  1282. `(magit-diff-hunk-heading-selection
  1283. ((t (:background ,(solarized-color-blend yellow base02 0.1)
  1284. :foreground ,orange
  1285. :weight bold))))
  1286. `(magit-diff-lines-heading ((t (:background ,orange
  1287. :foreground ,base3))))
  1288. `(magit-diff-context-highlight ((t (:background ,base02))))
  1289. `(magit-diffstat-added ((t (:foreground ,green))))
  1290. `(magit-diffstat-removed ((t (:foreground ,red))))
  1291. ;;;;;; popup
  1292. `(magit-popup-heading ((t (:foreground ,yellow :weight bold))))
  1293. `(magit-popup-key ((t (:foreground ,base1 :weight bold))))
  1294. `(magit-popup-argument ((t (:foreground ,cyan :weight bold))))
  1295. `(magit-popup-disabled-argument ((t (:foreground ,base01 :weight normal))))
  1296. `(magit-popup-option-value ((t (:foreground ,cyan :weight bold))))
  1297. ;;;;;; process
  1298. `(magit-process-ok ((t (:foreground ,green :weight bold))))
  1299. `(magit-process-ng ((t (:foreground ,red :weight bold))))
  1300. ;;;;;; log
  1301. `(magit-log-author ((t (:foreground ,base01 :weight bold))))
  1302. `(magit-log-date ((t (:foreground ,base01))))
  1303. `(magit-log-graph ((t (:foreground ,base1))))
  1304. ;;;;;; sequence
  1305. `(magit-sequence-pick ((t (:foreground ,yellow-d))))
  1306. `(magit-sequence-stop ((t (:foreground ,green))))
  1307. `(magit-sequence-part ((t (:foreground ,yellow))))
  1308. `(magit-sequence-head ((t (:foreground ,blue))))
  1309. `(magit-sequence-drop ((t (:foreground ,red))))
  1310. `(magit-sequence-done ((t (:foreground ,base01))))
  1311. `(magit-sequence-onto ((t (:foreground ,base01))))
  1312. ;;;;;; bisect
  1313. `(magit-bisect-good ((t (:foreground ,green))))
  1314. `(magit-bisect-skip ((t (:foreground ,yellow))))
  1315. `(magit-bisect-bad ((t (:foreground ,red))))
  1316. ;;;;;; blame
  1317. `(magit-blame-heading ((t (:background ,base02 :foreground ,violet
  1318. :weight bold :slant normal :box (:color ,base02 :line-width 2)))))
  1319. `(magit-blame-hash ((t (:background ,base02 :foreground ,violet
  1320. :weight normal :slant normal :box (:color ,base02 :line-width 2)))))
  1321. `(magit-blame-name ((t (:background ,base02 :foreground ,violet
  1322. :weight normal :slant normal :box (:color ,base02 :line-width 2)))))
  1323. `(magit-blame-date ((t (:background ,base02 :foreground ,violet
  1324. :weight bold :slant normal :box (:color ,base02 :line-width 2)))))
  1325. `(magit-blame-summary ((t (:background ,base02 :foreground ,base0
  1326. :weight bold :slant normal :box (:color ,base02 :line-width 2)))))
  1327. ;;;;;; references etc.
  1328. `(magit-dimmed ((t (:foreground ,base01))))
  1329. `(magit-hash ((t (:foreground ,base01))))
  1330. `(magit-tag ((t (:foreground ,cyan :weight bold))))
  1331. `(magit-branch-remote ((t (:foreground ,green :weight bold))))
  1332. `(magit-branch-local ((t (:foreground ,blue :weight bold))))
  1333. `(magit-branch-current ((t (:foreground ,blue :weight bold :box t))))
  1334. `(magit-head ((t (:foreground ,blue :weight bold))))
  1335. `(magit-refname ((t (:background ,base02 :foreground ,base01 :weight bold))))
  1336. `(magit-refname-stash ((t (:background ,base02 :foreground ,base01 :weight bold))))
  1337. `(magit-refname-wip ((t (:background ,base02 :foreground ,base01 :weight bold))))
  1338. `(magit-signature-good ((t (:foreground ,green))))
  1339. `(magit-signature-bad ((t (:foreground ,red))))
  1340. `(magit-signature-untrusted ((t (:foreground ,yellow))))
  1341. `(magit-cherry-unmatched ((t (:foreground ,cyan))))
  1342. `(magit-cherry-equivalent ((t (:foreground ,magenta))))
  1343. `(magit-reflog-commit ((t (:foreground ,green))))
  1344. `(magit-reflog-amend ((t (:foreground ,magenta))))
  1345. `(magit-reflog-merge ((t (:foreground ,green))))
  1346. `(magit-reflog-checkout ((t (:foreground ,blue))))
  1347. `(magit-reflog-reset ((t (:foreground ,red))))
  1348. `(magit-reflog-rebase ((t (:foreground ,magenta))))
  1349. `(magit-reflog-cherry-pick ((t (:foreground ,green))))
  1350. `(magit-reflog-remote ((t (:foreground ,cyan))))
  1351. `(magit-reflog-other ((t (:foreground ,cyan))))
  1352. ;;;;; markdown-mode
  1353. `(markdown-blockquote-face ((,class (:inherit font-lock-doc-face))))
  1354. `(markdown-bold-face ((,class (:inherit bold))))
  1355. `(markdown-comment-face ((,class (:foreground ,base01 :strike-through t))))
  1356. `(markdown-footnote-face ((,class (:inherit default))))
  1357. `(markdown-header-delimiter-face ((,class (:foreground ,base01))))
  1358. `(markdown-header-face ((,class (:foreground ,blue))))
  1359. `(markdown-header-face-1 ((,class (:inherit markdown-header-face))))
  1360. `(markdown-header-face-2 ((,class (:inherit markdown-header-face))))
  1361. `(markdown-header-face-3 ((,class (:inherit markdown-header-face))))
  1362. `(markdown-header-face-4 ((,class (:inherit markdown-header-face))))
  1363. `(markdown-header-face-5 ((,class (:inherit markdown-header-face))))
  1364. `(markdown-header-face-6 ((,class (:inherit markdown-header-face))))
  1365. `(markdown-header-rule-face ((,class (:foreground ,base01))))
  1366. `(markdown-inline-code-face ((,class (:foreground ,base01))))
  1367. `(markdown-italic-face ((,class (:inherit italic))))
  1368. `(markdown-language-keyword-face ((,class (:inherit default))))
  1369. `(markdown-line-break-face ((,class (:inherit default :underline t))))
  1370. `(markdown-link-face ((,class (:inherit default :foreground ,yellow))))
  1371. `(markdown-link-title-face ((,class (:inherit font-lock-comment-face))))
  1372. `(markdown-list-face ((,class (:inherit font-lock-builtin-face))))
  1373. `(markdown-math-face ((,class (:inherit font-lock-string-face))))
  1374. `(markdown-metadata-key-face ((,class (:inherit font-lock-comment-face))))
  1375. `(markdown-metadata-value-face ((,class (:inherit default))))
  1376. `(markdown-missing-link-face ((,class (:inherit font-lock-warning-face))))
  1377. `(markdown-pre-face ((,class (:foreground ,base01))))
  1378. `(markdown-reference-face ((,class (:inherit default :foreground ,base01))))
  1379. `(markdown-url-face ((,class (:foreground ,base01))))
  1380. ;;;;; multiple-cursors
  1381. `(mc/cursor-face ((,class (:inherit cursor :inverse-video nil))))
  1382. ;;;;; message-mode
  1383. `(message-cited-text ((,class (:foreground ,base01))))
  1384. `(message-header-name ((,class (:foreground ,base01))))
  1385. `(message-header-other ((,class (:foreground ,base0 :weight normal))))
  1386. `(message-header-to ((,class (:foreground ,base0 :weight normal))))
  1387. `(message-header-cc ((,class (:foreground ,base0 :weight normal))))
  1388. `(message-header-newsgroups ((,class (:foreground ,yellow :weight bold))))
  1389. `(message-header-subject ((,class (:foreground ,cyan :weight normal))))
  1390. `(message-header-xheader ((,class (:foreground ,cyan))))
  1391. `(message-mml ((,class (:foreground ,yellow :weight bold))))
  1392. `(message-separator ((,class (:foreground ,base01 :slant italic))))
  1393. ;;;;; mew
  1394. `(mew-face-header-subject ((,class (:foreground ,orange))))
  1395. `(mew-face-header-from ((,class (:foreground ,yellow))))
  1396. `(mew-face-header-date ((,class (:foreground ,green))))
  1397. `(mew-face-header-to ((,class (:foreground ,red))))
  1398. `(mew-face-header-key ((,class (:foreground ,green))))
  1399. `(mew-face-header-private ((,class (:foreground ,green))))
  1400. `(mew-face-header-important ((,class (:foreground ,blue))))
  1401. `(mew-face-header-marginal ((,class (:foreground ,base0 :weight bold))))
  1402. `(mew-face-header-warning ((,class (:foreground ,red))))
  1403. `(mew-face-header-xmew ((,class (:foreground ,green))))
  1404. `(mew-face-header-xmew-bad ((,class (:foreground ,red))))
  1405. `(mew-face-body-url ((,class (:foreground ,orange))))
  1406. `(mew-face-body-comment ((,class (:foreground ,base0 :slant italic))))
  1407. `(mew-face-body-cite1 ((,class (:foreground ,green))))
  1408. `(mew-face-body-cite2 ((,class (:foreground ,blue))))
  1409. `(mew-face-body-cite3 ((,class (:foreground ,orange))))
  1410. `(mew-face-body-cite4 ((,class (:foreground ,yellow))))
  1411. `(mew-face-body-cite5 ((,class (:foreground ,red))))
  1412. `(mew-face-mark-review ((,class (:foreground ,blue))))
  1413. `(mew-face-mark-escape ((,class (:foreground ,green))))
  1414. `(mew-face-mark-delete ((,class (:foreground ,red))))
  1415. `(mew-face-mark-unlink ((,class (:foreground ,yellow))))
  1416. `(mew-face-mark-refile ((,class (:foreground ,green))))
  1417. `(mew-face-mark-unread ((,class (:foreground ,red))))
  1418. `(mew-face-eof-message ((,class (:foreground ,green))))
  1419. `(mew-face-eof-part ((,class (:foreground ,yellow))))
  1420. ;;;;; mic-paren
  1421. `(paren-face-match
  1422. ((,class (:foreground ,magenta :background unspecified
  1423. :weight ,s-maybe-bold))))
  1424. `(paren-face-mismatch
  1425. ((,class (:foreground ,base02 :background ,red
  1426. :weight ,s-maybe-bold))))
  1427. `(paren-face-no-match
  1428. ((,class (:foreground ,base02 :background ,red
  1429. :weight ,s-maybe-bold))))
  1430. ;;;;; mingus
  1431. `(mingus-directory-face ((,class (:foreground ,blue))))
  1432. `(mingus-pausing-face ((,class (:foreground ,magenta))))
  1433. `(mingus-playing-face ((,class (:foreground ,cyan))))
  1434. `(mingus-playlist-face ((,class (:foreground ,cyan ))))
  1435. `(mingus-song-file-face ((,class (:foreground ,yellow))))
  1436. `(mingus-stopped-face ((,class (:foreground ,red))))
  1437. ;;;;; moccur
  1438. `(moccur-current-line-face ((,class (:underline t))))
  1439. `(moccur-edit-done-face ((,class
  1440. (:foreground ,base01
  1441. :background ,base03
  1442. :slant italic))))
  1443. `(moccur-edit-face
  1444. ((,class (:background ,yellow :foreground ,base03))))
  1445. `(moccur-edit-file-face ((,class (:background ,base02))))
  1446. `(moccur-edit-reject-face ((,class (:foreground ,red))))
  1447. `(moccur-face ((,class (:background ,base02 :foreground ,base1
  1448. :weight bold))))
  1449. `(search-buffers-face ((,class (:background ,base02 :foreground ,base1
  1450. :weight bold))))
  1451. `(search-buffers-header-face ((,class (:background ,base02 :foreground ,yellow
  1452. :weight bold))))
  1453. ;;;;; mu4e
  1454. `(mu4e-cited-1-face ((,class (:foreground ,green :slant italic :weight normal))))
  1455. `(mu4e-cited-2-face ((,class (:foreground ,blue :slant italic :weight normal))))
  1456. `(mu4e-cited-3-face ((,class (:foreground ,orange :slant italic :weight normal))))
  1457. `(mu4e-cited-4-face ((,class (:foreground ,yellow :slant italic :weight normal))))
  1458. `(mu4e-cited-5-face ((,class (:foreground ,cyan :slant italic :weight normal))))
  1459. `(mu4e-cited-6-face ((,class (:foreground ,green :slant italic :weight normal))))
  1460. `(mu4e-cited-7-face ((,class (:foreground ,blue :slant italic :weight normal))))
  1461. `(mu4e-flagged-face ((,class (:foreground ,blue :weight normal))))
  1462. `(mu4e-unread-face ((,class (:foreground ,green :weight normal))))
  1463. `(mu4e-view-url-number-face ((,class (:foreground ,yellow :weight normal))))
  1464. `(mu4e-warning-face ((,class (:foreground ,red :slant normal :weight bold))))
  1465. `(mu4e-header-highlight-face
  1466. ((,class (:inherit unspecified :foreground unspecified :background ,base02
  1467. :underline unspecified :weight unspecified))))
  1468. `(mu4e-view-contact-face ((,class (:foreground ,base0 :weight normal))))
  1469. `(mu4e-view-header-key-face ((,class (:inherit message-header-name :weight normal))))
  1470. `(mu4e-view-header-value-face ((,class (:foreground ,cyan :weight normal :slant normal))))
  1471. `(mu4e-view-link-face ((,class (:inherit link))))
  1472. `(mu4e-view-special-header-value-face ((,class (:foreground ,blue :weight normal :underline nil))))
  1473. ;;;;; mumamo
  1474. `(mumamo-background-chunk-submode1 ((,class (:background ,base02))))
  1475. ;;;;; nav
  1476. `(nav-face-heading ((,class (:foreground ,yellow))))
  1477. `(nav-face-button-num ((,class (:foreground ,cyan))))
  1478. `(nav-face-dir ((,class (:foreground ,green))))
  1479. `(nav-face-hdir ((,class (:foreground ,red))))
  1480. `(nav-face-file ((,class (:foreground ,base0))))
  1481. `(nav-face-hfile ((,class (:foreground ,red))))
  1482. ;;;;; nav-flash
  1483. ;; `(nav-flash-face ((,class (:background ,base02))))
  1484. `(nav-flash-face ((,class (:foreground
  1485. ,(apply 'solarized-color-blend
  1486. (if
  1487. (eq variant 'light)
  1488. (list yellow base1 0.2)
  1489. (list cyan base1 0.1)))
  1490. :background
  1491. ,(apply 'solarized-color-blend
  1492. (if
  1493. (eq variant 'light)
  1494. (list yellow base03 0.2)
  1495. (list cyan base03 0.3)))))))
  1496. ;;;;; navi2ch
  1497. `(navi2ch-list-category-face ((,class (:foreground ,blue ))))
  1498. `(navi2ch-list-add-board-name-face ((,class (:foreground ,yellow))))
  1499. `(navi2ch-list-board-name-face ((,class (:foreground ,blue))))
  1500. `(navi2ch-list-change-board-name-face ((,class (:foreground ,green :weight bold))))
  1501. `(navi2ch-bm-unread-face ((,class (:foreground ,green))))
  1502. `(navi2ch-bm-view-face ((,class (:foreground ,yellow))))
  1503. `(navi2ch-bm-cache-face ((,class (:foreground ,blue))))
  1504. `(navi2ch-bm-update-face ((,class (:foreground ,orange))))
  1505. `(navi2ch-bm-down-face ((,class (:foreground ,base1))))
  1506. `(navi2ch-bm-mark-face ((,class (:foreground ,red))))
  1507. `(navi2ch-bm-new-unread-face ((,class (:foreground ,green))))
  1508. `(navi2ch-bm-new-view-face ((,class (:foreground ,yellow))))
  1509. `(navi2ch-bm-new-cache-face ((,class (:foreground ,blue))))
  1510. `(navi2ch-bm-new-update-face ((,class (:foreground ,orange))))
  1511. `(navi2ch-bm-new-mark-face ((,class (:foreground ,red))))
  1512. `(navi2ch-bm-updated-unread-face ((,class (:foreground ,green))))
  1513. `(navi2ch-bm-updated-view-face ((,class (:foreground ,yellow))))
  1514. `(navi2ch-bm-updated-cache-face ((,class (:foreground ,blue))))
  1515. `(navi2ch-bm-updated-update-face ((,class (:foreground ,orange))))
  1516. `(navi2ch-bm-updated-navi2ch-bm-updated-mark-facemark-face ((,class (:foreground ,red))))
  1517. `(navi2ch-bm-seen-unread-face ((,class (:foreground ,green))))
  1518. `(navi2ch-bm-seen-view-face ((,class (:foreground ,yellow))))
  1519. `(navi2ch-bm-seen-cache-face ((,class (:foreground ,blue))))
  1520. `(navi2ch-bm-seen-update-face ((,class (:foreground ,orange))))
  1521. `(navi2ch-bm-seen-mark-face ((,class (:foreground ,red))))
  1522. `(navi2ch-article-header-face ((,class (:foreground ,base1))))
  1523. `(navi2ch-article-header-contents-face ((,class (:foreground ,blue))))
  1524. `(navi2ch-article-header-fusianasan-face ((,class (:foreground ,blue :underline t))))
  1525. `(navi2ch-article-link-face ((,class (:weight bold))))
  1526. `(navi2ch-article-url-face ((,class (:weight bold))))
  1527. `(navi2ch-article-citation-face ((,class (:foreground ,yellow))))
  1528. `(navi2ch-article-auto-decode-face ((,class (:foreground ,base03))))
  1529. `(navi2ch-article-message-separator-face ((,class (:foreground ,green))))
  1530. `(navi2ch-splash-screen-face ((,class (:foreground ,cyan))))
  1531. `(navi2ch-message-link-face ((,class (:weight bold))))
  1532. `(navi2ch-message-url-face ((,class (:weight bold))))
  1533. `(navi2ch-message-citation-face ((,class (:foreground ,magenta))))
  1534. ;;;;; neotree
  1535. `(neo-banner-face ((,class (:foreground ,base01))))
  1536. `(neo-header-face ((,class (:foreground ,blue))))
  1537. `(neo-root-dir-face ((,class (:foreground ,base1 :weight bold))))
  1538. `(neo-dir-link-face ((,class (:foreground ,blue))))
  1539. `(neo-file-link-face ((,class (:foreground ,base0))))
  1540. `(neo-expand-btn-face ((,class (:foreground ,base01))))
  1541. ;;;;; org-mode
  1542. `(org-agenda-structure
  1543. ((,class (:foreground ,base1 :background ,base02
  1544. :weight bold :slant normal :inverse-video nil :height ,solarized-height-plus-1
  1545. :underline nil
  1546. :box (:line-width 2 :color ,base03)))))
  1547. `(org-agenda-calendar-event ((,class (:foreground ,base1))))
  1548. `(org-agenda-calendar-sexp ((,class (:foreground ,base0 :slant italic))))
  1549. `(org-agenda-date
  1550. ((,class (:foreground ,base01 :background ,base03 :weight normal
  1551. :box (:line-width 2 :color ,base03)
  1552. :inverse-video nil :overline nil :slant normal :height 1.0))))
  1553. `(org-agenda-date-weekend
  1554. ((,class (:inherit org-agenda-date :inverse-video nil :background unspecified
  1555. :foreground ,base01 :weight unspecified
  1556. :underline t :overline nil :box unspecified))))
  1557. `(org-agenda-date-today
  1558. ((,class (:inherit org-agenda-date :inverse-video t :weight bold
  1559. :underline unspecified :overline nil :box unspecified
  1560. :foreground ,blue :background ,base03))))
  1561. `(org-agenda-done ((,class (:foreground ,base01 :slant italic))))
  1562. `(org-archived ((,class (:foreground ,base01 :weight normal))))
  1563. `(org-block ((,class (:foreground ,base01))))
  1564. `(org-block-begin-line ((,class (:foreground ,base01 :slant italic))))
  1565. `(org-checkbox ((,class (:background ,base03 :foreground ,base0
  1566. :box (:line-width 1 :style released-button)))))
  1567. `(org-code ((,class (:foreground ,base01))))
  1568. `(org-date ((,class (:foreground ,blue :underline t))))
  1569. `(org-done ((,class (:weight bold :foreground ,green))))
  1570. `(org-ellipsis ((,class (:foreground ,base01))))
  1571. `(org-formula ((,class (:foreground ,yellow))))
  1572. `(org-headline-done ((,class (:foreground ,green))))
  1573. `(org-hide ((,class (:foreground ,base03))))
  1574. `(org-level-1 ((,class (:inherit ,s-variable-pitch :foreground ,orange
  1575. ,@(when solarized-scale-org-headlines
  1576. (list :height solarized-height-plus-4))))))
  1577. `(org-level-2 ((,class (:inherit ,s-variable-pitch :foreground ,green
  1578. ,@(when solarized-scale-org-headlines
  1579. (list :height solarized-height-plus-3))))))
  1580. `(org-level-3 ((,class (:inherit ,s-variable-pitch :foreground ,blue
  1581. ,@(when solarized-scale-org-headlines
  1582. (list :height solarized-height-plus-2))))))
  1583. `(org-level-4 ((,class (:inherit ,s-variable-pitch :foreground ,yellow
  1584. ,@(when solarized-scale-org-headlines
  1585. (list :height solarized-height-plus-1))))))
  1586. `(org-level-5 ((,class (:inherit ,s-variable-pitch
  1587. :foreground ,cyan))))
  1588. `(org-level-6 ((,class (:inherit ,s-variable-pitch
  1589. :foreground ,green))))
  1590. `(org-level-7 ((,class (:inherit ,s-variable-pitch
  1591. :foreground ,red))))
  1592. `(org-level-8 ((,class (:inherit ,s-variable-pitch
  1593. :foreground ,blue))))
  1594. `(org-link ((,class (:foreground ,yellow :underline t))))
  1595. `(org-sexp-date ((,class (:foreground ,violet))))
  1596. `(org-scheduled ((,class (:foreground ,green))))
  1597. `(org-scheduled-previously ((,class (:foreground ,cyan))))
  1598. `(org-scheduled-today ((,class (:foreground ,blue :weight normal))))
  1599. `(org-special-keyword ((,class (:foreground ,base01 :weight bold))))
  1600. `(org-table ((,class (:foreground ,green))))
  1601. `(org-tag ((,class (:weight bold))))
  1602. `(org-time-grid ((,class (:foreground ,base01))))
  1603. `(org-todo ((,class (:foreground ,cyan :weight bold))))
  1604. `(org-upcoming-deadline ((,class (:foreground ,yellow :weight normal :underline nil))))
  1605. `(org-warning ((,class (:foreground ,orange :weight normal :underline nil))))
  1606. ;; org-habit
  1607. ;; (clear=blue, ready=green, alert=yellow, overdue=red. future=lower contrast)
  1608. `(org-habit-clear-face ((,class (:background ,blue-lc :foreground ,blue-hc))))
  1609. `(org-habit-clear-future-face ((,class (:background ,blue-lc))))
  1610. `(org-habit-ready-face ((,class (:background ,green-lc :foreground ,green))))
  1611. `(org-habit-ready-future-face ((,class (:background ,green-lc))))
  1612. `(org-habit-alert-face ((,class (:background ,yellow :foreground ,yellow-lc))))
  1613. `(org-habit-alert-future-face ((,class (:background ,yellow-lc))))
  1614. `(org-habit-overdue-face ((,class (:background ,red :foreground ,red-lc))))
  1615. `(org-habit-overdue-future-face ((,class (:background ,red-lc))))
  1616. ;; latest additions
  1617. `(org-agenda-dimmed-todo-face ((,class (:foreground ,base01))))
  1618. `(org-agenda-restriction-lock ((,class (:background ,yellow))))
  1619. `(org-clock-overlay ((,class (:background ,base02))))
  1620. `(org-column ((,class (:background ,base02 :strike-through nil
  1621. :underline nil :slant normal :weight normal :inherit default))))
  1622. `(org-column-title ((,class (:background ,base02 :underline t :weight bold))))
  1623. `(org-date-selected ((,class (:foreground ,red :inverse-video t))))
  1624. `(org-document-info ((,class (:foreground ,base0))))
  1625. `(org-document-title ((,class (:foreground ,base1 :weight bold :height ,solarized-height-plus-4))))
  1626. `(org-drawer ((,class (:foreground ,cyan))))
  1627. `(org-footnote ((,class (:foreground ,magenta :underline t))))
  1628. `(org-latex-and-export-specials ((,class (:foreground ,orange))))
  1629. `(org-mode-line-clock-overrun ((,class (:inherit mode-line :background ,red))))
  1630. ;;;;; outline
  1631. `(outline-1 ((,class (:inherit org-level-1 :height ,solarized-height-plus-4))))
  1632. `(outline-2 ((,class (:inherit org-level-2 :height ,solarized-height-plus-3))))
  1633. `(outline-3 ((,class (:inherit org-level-3 :height ,solarized-height-plus-2))))
  1634. `(outline-4 ((,class (:inherit org-level-4 :height ,solarized-height-plus-1))))
  1635. `(outline-5 ((,class (:inherit org-level-5))))
  1636. `(outline-6 ((,class (:inherit org-level-6))))
  1637. `(outline-7 ((,class (:inherit org-level-7))))
  1638. `(outline-8 ((,class (:inherit org-level-8))))
  1639. ;;;;; paren-face
  1640. `(paren-face ((,class (:foreground ,base01))))
  1641. ;;;;; perspective
  1642. `(persp-selected-face ((,class (:foreground ,yellow))))
  1643. ;;;;; pretty-mode
  1644. `(pretty-mode-symbol-face ((,class (:foreground ,yellow :weight normal))))
  1645. ;;;;; prodigy
  1646. `(prodigy-green-face ((,class (:foreground ,green))))
  1647. `(prodigy-red-face ((,class (:foreground ,orange))))
  1648. `(prodigy-yellow-face ((,class (:foreground ,yellow))))
  1649. `(prodigy-line-face ((,class (:background ,base02))))
  1650. ;;;;; popup
  1651. `(popup-face ((,class (:background ,base02 :foreground ,base0))))
  1652. `(popup-isearch-match ((,class (:background ,yellow :foreground ,base03))))
  1653. `(popup-menu-face ((,class (:background ,base02 :foreground ,base0))))
  1654. `(popup-menu-mouse-face ((,class (:background ,blue :foreground ,base03))))
  1655. `(popup-menu-selection-face ((,class (:background ,magenta :foreground ,base03))))
  1656. `(popup-scroll-bar-background-face ((,class (:background ,base01))))
  1657. `(popup-scroll-bar-foreground-face ((,class (:background ,base1))))
  1658. `(popup-tip-face ((,class (:background ,base02 :foreground ,base0))))
  1659. ;;;;; pophint
  1660. `(pophint:tip-face ((,class (:background ,magenta :foreground ,base03))))
  1661. `(pophint:match-face ((,class (:background ,blue :foreground ,base03))))
  1662. `(pophint:pos-tip-face ((,class (:background ,base02 :foreground ,base0))))
  1663. ;;;;; powerline
  1664. `(powerline-active1 ((,class ,(if solarized-high-contrast-mode-line
  1665. `(:background ,base00 :foreground ,base03)
  1666. `(:background ,base03 :foreground ,base00)))))
  1667. `(powerline-active2 ((,class ,(if solarized-high-contrast-mode-line
  1668. `(:background ,base01 :foreground ,base03)
  1669. `(:background ,base02 :foreground ,base00)))))
  1670. `(powerline-inactive1 ((,class ,(if solarized-high-contrast-mode-line
  1671. `(:background ,base03 :foreground ,base1)
  1672. `(:background ,base02 :foreground ,base01)))))
  1673. `(powerline-inactive2 ((,class ,(if solarized-high-contrast-mode-line
  1674. `(:background ,base02 :foreground ,base1)
  1675. `(:background ,base03 :foreground ,base01)))))
  1676. ;;;;; rainbow-blocks
  1677. `(rainbow-blocks-depth-1-face ((,class (:foreground ,cyan))))
  1678. `(rainbow-blocks-depth-2-face ((,class (:foreground ,yellow))))
  1679. `(rainbow-blocks-depth-3-face ((,class (:foreground ,blue))))
  1680. `(rainbow-blocks-depth-4-face ((,class (:foreground ,violet))))
  1681. `(rainbow-blocks-depth-5-face ((,class (:foreground ,green))))
  1682. `(rainbow-blocks-depth-6-face ((,class (:foreground ,yellow))))
  1683. `(rainbow-blocks-depth-7-face ((,class (:foreground ,blue))))
  1684. `(rainbow-blocks-depth-8-face ((,class (:foreground ,violet))))
  1685. `(rainbow-blocks-depth-9-face ((,class (:foreground ,green))))
  1686. `(rainbow-blocks-unmatched-face ((,class (:foreground ,red))))
  1687. ;;;;; rainbow-delimiters
  1688. `(rainbow-delimiters-depth-1-face ((,class (:foreground ,cyan))))
  1689. `(rainbow-delimiters-depth-2-face ((,class (:foreground ,yellow))))
  1690. `(rainbow-delimiters-depth-3-face ((,class (:foreground ,blue))))
  1691. `(rainbow-delimiters-depth-4-face ((,class (:foreground ,violet))))
  1692. `(rainbow-delimiters-depth-5-face ((,class (:foreground ,green))))
  1693. `(rainbow-delimiters-depth-6-face ((,class (:foreground ,yellow))))
  1694. `(rainbow-delimiters-depth-7-face ((,class (:foreground ,blue))))
  1695. `(rainbow-delimiters-depth-8-face ((,class (:foreground ,violet))))
  1696. `(rainbow-delimiters-depth-9-face ((,class (:foreground ,green))))
  1697. `(rainbow-delimiters-depth-10-face ((,class (:foreground ,yellow))))
  1698. `(rainbow-delimiters-depth-11-face ((,class (:foreground ,blue))))
  1699. `(rainbow-delimiters-depth-12-face ((,class (:foreground ,violet))))
  1700. `(rainbow-delimiters-unmatched-face
  1701. ((,class (:foreground ,base0 :background ,base03 :inverse-video t))))
  1702. ;;;;; rst-mode
  1703. `(rst-level-1 ((,class (:inherit org-level-1))))
  1704. `(rst-level-2 ((,class (:inherit org-level-2))))
  1705. `(rst-level-3 ((,class (:inherit org-level-3))))
  1706. `(rst-level-4 ((,class (:inherit org-level-4))))
  1707. `(rst-level-5 ((,class (:inherit org-level-5))))
  1708. `(rst-level-6 ((,class (:inherit org-level-6))))
  1709. ;;;;; rpm-mode
  1710. `(rpm-spec-dir-face ((,class (:foreground ,green))))
  1711. `(rpm-spec-doc-face ((,class (:foreground ,green))))
  1712. `(rpm-spec-ghost-face ((,class (:foreground ,red))))
  1713. `(rpm-spec-macro-face ((,class (:foreground ,yellow))))
  1714. `(rpm-spec-obsolete-tag-face ((,class (:foreground ,red))))
  1715. `(rpm-spec-package-face ((,class (:foreground ,red))))
  1716. `(rpm-spec-section-face ((,class (:foreground ,yellow))))
  1717. `(rpm-spec-tag-face ((,class (:foreground ,blue))))
  1718. `(rpm-spec-var-face ((,class (:foreground ,red))))
  1719. ;;;;; sh-mode
  1720. `(sh-quoted-exec ((,class (:foreground ,violet :weight bold))))
  1721. `(sh-escaped-newline ((,class (:foreground ,yellow :weight bold))))
  1722. `(sh-heredoc ((,class (:foreground ,yellow :weight bold))))
  1723. ;;;;; skewer-mode
  1724. `(skewer-error-face ((,class (:foreground ,orange :underline nil))))
  1725. `(skewer-repl-log-face ((,class (:foreground ,violet))))
  1726. ;;;;; smart-mode-line
  1727. ;; use (setq sml/theme nil) to enable Solarized for sml
  1728. `(sml/filename ((,class (:foreground ,base1 :weight bold))))
  1729. `(sml/prefix ((,class (:foreground unspecified))))
  1730. `(sml/git ((,class (:foreground unspecified))))
  1731. `(sml/process ((,class (:weight bold))))
  1732. `(sml/sudo ((,class (:foreground ,orange :weight bold))))
  1733. `(sml/read-only ((,class (:foreground ,cyan))))
  1734. `(sml/outside-modified ((,class (:foreground , cyan))))
  1735. `(sml/modified ((,class (:foreground ,cyan))))
  1736. `(sml/vc-edited ((,class (:foreground ,green))))
  1737. `(sml/charging ((,class (:foreground ,base1))))
  1738. `(sml/discharging ((,class (:foreground ,base1 :weight bold))))
  1739. ;;;;; smartparens
  1740. `(sp-pair-overlay-face ((,class (:background ,base02))))
  1741. `(sp-wrap-overlay-face ((,class (:background ,base02))))
  1742. `(sp-wrap-tag-overlay-face ((,class (:background ,base02))))
  1743. `(sp-show-pair-enclosing ((,class (:inherit highlight))))
  1744. `(sp-show-pair-match-face
  1745. ((,class (:background unspecified :foreground ,magenta
  1746. :weight ,s-maybe-bold))))
  1747. `(sp-show-pair-mismatch-face
  1748. ((,class (:foreground ,base02 :background ,red
  1749. :weight ,s-maybe-bold))))
  1750. ;;;;; show-paren
  1751. `(show-paren-match
  1752. ((,class (:foreground ,magenta :background unspecified
  1753. :weight ,s-maybe-bold))))
  1754. `(show-paren-mismatch
  1755. ((,class (:foreground ,base02 :background ,red
  1756. :weight ,s-maybe-bold))))
  1757. ;;;;; swiper
  1758. `(swiper-line-face ((,class (:background ,base02))))
  1759. `(swiper-match-face-1 ((,class (:weight bold :foreground ,base1))))
  1760. `(swiper-match-face-2 ((,class (:weight bold :foreground ,yellow))))
  1761. `(swiper-match-face-3 ((,class (:weight bold :foreground ,yellow))))
  1762. `(swiper-match-face-4 ((,class (:weight bold :foreground ,yellow))))
  1763. ;;;;; sx (WIP)
  1764. `(sx-custom-button ((,class (:background ,base02 :foreground ,base1
  1765. :box (:line-width 2 :style released-button :height 0.9)))))
  1766. `(sx-question-list-answers ((,class (:inherit sx-question-list-parent :foreground ,green :height 1.0))))
  1767. `(sx-question-list-answers-accepted ((,class (:inherit sx-question-list-answers :weight bold :underline t))))
  1768. `(sx-question-list-bounty ((,class (:foreground ,cyan))))
  1769. `(sx-question-list-date ((,class (:inherit font-lock-comment-face))))
  1770. `(sx-question-list-favorite ((,class (:inherit sx-question-list-score-upvoted))))
  1771. `(sx-question-list-parent ((,class (:inherit default))))
  1772. `(sx-question-list-read-question ((,class (:inherit sx-question-list-parent :height 1.0))))
  1773. `(sx-question-list-score ((,class (:inherit sx-question-list-parent :foreground ,base01 :height 1.0))))
  1774. `(sx-question-list-score-upvoted ((,class (:inherit sx-question-list-score :weight bold))))
  1775. `(sx-question-list-unread-question ((,class (:inherit sx-question-list-read-question :weight bold))))
  1776. `(sx-question-mode-accepted ((,class (:inherit sx-question-mode-title :foreground ,green :height 1.3))))
  1777. `(sx-question-mode-closed ((,class (:inherit font-lock-warning-face :box 2))))
  1778. `(sx-question-mode-closed-reason ((,class (:inherit sx-question-mode-title :box (:line-width 2 :color ,yellow)))))
  1779. ;; TODO: sx-question-mode-content-faceexposes a general problem that's hard to deal with,
  1780. ;; if base02 is used as bg some things are not visible enough.. It might be a good idea to
  1781. ;; introduce yet another special color that goes a little furhter towards netural gray and
  1782. ;; ensures readability as a bg for all solarized faces. If it's possible, that is.
  1783. `(sx-question-mode-content-face ((,class (:background unspecified))))
  1784. `(sx-question-mode-date ((,class (:inherit font-lock-string-face))))
  1785. `(sx-question-mode-header ((,class (:inherit message-header-name :weight normal))))
  1786. `(sx-question-mode-kbd-tag ((,class (:box (:line-width 3 :style released-button :color ,base02) :weight semibold :height 0.9))))
  1787. `(sx-question-mode-score ((,class nil)))
  1788. `(sx-question-mode-score-downvoted ((,class (:inherit (font-lock-warning-face sx-question-mode-score)))))
  1789. `(sx-question-mode-score-upvoted ((,class (:inherit (font-lock-function-name-face sx-question-mode-score) :weight bold))))
  1790. `(sx-question-mode-sub-sup-tag ((,class (:height 0.7))))
  1791. `(sx-question-mode-title ((,class (:inherit default :weight bold))))
  1792. `(sx-question-mode-title-comments ((,class (:inherit sx-question-mode-title))))
  1793. `(sx-tag ((,class (:foreground ,base0))))
  1794. `(sx-user-accept-rate ((,class nil)))
  1795. `(sx-user-name ((,class (:inherit font-lock-builtin-face))))
  1796. `(sx-user-reputation ((,class (:inherit font-lock-comment-face))))
  1797. ;;;;; syslog-mode
  1798. `(syslog-ip ((,class (:background unspecified
  1799. :foreground ,green
  1800. :underline nil
  1801. :weight normal
  1802. :slant normal))))
  1803. `(syslog-hour ((,class (:background unspecified
  1804. :foreground ,yellow))))
  1805. `(syslog-error ((,class (:background unspecified
  1806. :foreground ,orange
  1807. :weight bold))))
  1808. `(syslog-warn ((,class (:background unspecified
  1809. :foreground ,yellow
  1810. :weight bold))))
  1811. `(syslog-info ((,class (:background unspecified
  1812. :foreground ,blue
  1813. :weight bold))))
  1814. `(syslog-debug ((,class (:background unspecified
  1815. :foreground ,cyan
  1816. :weight bold))))
  1817. `(syslog-su ((,class (:background unspecified
  1818. :foreground ,violet
  1819. :weight normal))))
  1820. ;;;;; slime
  1821. `(slime-repl-inputed-output-face ((,class (:foreground ,red))))
  1822. ;;;;; speedbar
  1823. `(speedbar-button-face ((,class (:inherit ,s-variable-pitch
  1824. :foreground ,base01))))
  1825. `(speedbar-directory-face ((,class (:inherit ,s-variable-pitch :foreground ,blue))))
  1826. `(speedbar-file-face ((,class (:inherit ,s-variable-pitch :foreground ,base0))))
  1827. `(speedbar-highlight-face ((,class (:inherit ,s-variable-pitch :background ,base02))))
  1828. `(speedbar-selected-face ((,class (:inherit ,s-variable-pitch
  1829. :foreground ,yellow :underline t))))
  1830. `(speedbar-separator-face ((,class (:inherit ,s-variable-pitch
  1831. :background ,blue :foreground ,base03
  1832. :overline ,cyan-lc))))
  1833. `(speedbar-tag-face ((,class (:inherit ,s-variable-pitch :foreground ,green))))
  1834. ;;;;; stripe-buffer
  1835. `(stripe-highlight ((,class (:background ,base02))))
  1836. ;;;;; structured-haskell
  1837. `(shm-current-face ((,class (:background ,base02))))
  1838. `(shm-quarantine-face ((,class (:background ,base01))))
  1839. ;;;;; sunrise commander
  1840. ;;;;;; headings
  1841. `(sr-active-path-face ((,class (:background ,blue :foreground ,base03
  1842. :height ,solarized-height-plus-1 :weight bold))))
  1843. `(sr-editing-path-face ((,class (:background ,yellow :foreground ,base03
  1844. :weight bold :height ,solarized-height-plus-1))))
  1845. `(sr-highlight-path-face ((,class (:background ,green :foreground ,base03
  1846. :weight bold :height ,solarized-height-plus-1))))
  1847. `(sr-passive-path-face ((,class (:background ,base01 :foreground ,base03
  1848. :weight bold :height ,solarized-height-plus-1))))
  1849. ;;;;;; marked
  1850. `(sr-marked-dir-face ((,class (:inherit dired-marked))))
  1851. `(sr-marked-file-face ((,class (:inherit dired-marked))))
  1852. `(sr-alt-marked-dir-face ((,class (:background ,magenta :foreground ,base03
  1853. :weight bold))))
  1854. `(sr-alt-marked-file-face ((,class (:background ,magenta :foreground ,base03
  1855. :weight bold))))
  1856. ;;;;;; fstat
  1857. `(sr-directory-face ((,class (:inherit dired-directory :weight normal))))
  1858. `(sr-symlink-directory-face ((,class (:inherit dired-directory
  1859. :slant italic :weight normal))))
  1860. `(sr-symlink-face ((,class (:inherit dired-symlink :slant italic :weight normal))))
  1861. `(sr-broken-link-face ((,class (:inherit dired-warning :slant italic :weight normal))))
  1862. ;;;;;; file types
  1863. `(sr-compressed-face ((,class (:foreground ,base0))))
  1864. `(sr-encrypted-face ((,class (:foreground ,base0))))
  1865. `(sr-log-face ((,class (:foreground ,base0))))
  1866. `(sr-packaged-face ((,class (:foreground ,base0))))
  1867. `(sr-html-face ((,class (:foreground ,base0))))
  1868. `(sr-xml-face ((,class (:foreground ,base0))))
  1869. ;;;;;; misc
  1870. `(sr-clex-hotchar-face ((,class (:background ,red :foreground ,base03
  1871. :weight bold))))
  1872. ;;;;; swoop
  1873. `(swoop-face-header-format-line ((,class (:foreground ,yellow :weight bold
  1874. :height unspecified))))
  1875. `(swoop-face-line-buffer-name ((,class (:background ,base02 :foreground ,base1
  1876. :weight bold :height unspecified))))
  1877. `(swoop-face-line-number ((,class (:foreground ,base01))))
  1878. `(swoop-face-target-line ((,class (:background ,base02 :foreground unspecified))))
  1879. `(swoop-face-target-words ((,class (:background unspecified :foreground ,magenta))))
  1880. ;;;;; table
  1881. `(table-cell ((,class (:foreground ,base0 :background ,base02))))
  1882. ;;;;; term
  1883. `(term ((t ( :background ,base03 :foreground ,base0))))
  1884. `(term-color-black ((t (:foreground ,base02 :background ,base02))))
  1885. `(term-color-red ((t (:foreground ,red :background ,red))))
  1886. `(term-color-green ((t (:foreground ,green :background ,green))))
  1887. `(term-color-yellow ((t (:foreground ,yellow :background ,yellow))))
  1888. `(term-color-blue ((t (:foreground ,blue :background ,blue))))
  1889. `(term-color-magenta ((t (:foreground ,magenta :background ,magenta))))
  1890. `(term-color-cyan ((t (:foreground ,cyan :background ,cyan))))
  1891. `(term-color-white ((t (:foreground ,base2 :background ,base2))))
  1892. ;;;;; todotxt
  1893. `(todotxt-priority-a-face ((,class (:foreground ,orange))))
  1894. `(todotxt-priority-b-face ((,class (:foreground ,yellow))))
  1895. `(todotxt-priority-c-face ((,class (:foreground ,violet))))
  1896. ;;;;; tooltip
  1897. ;; NOTE: This setting has no effect on the os widgets for me
  1898. ;; zencoding uses this.
  1899. `(tooltip ((,class (:background ,yellow-lc :foreground ,yellow-hc
  1900. :inherit ,s-variable-pitch))))
  1901. ;;;;; tuareg
  1902. `(tuareg-font-lock-governing-face ((,class (:foreground ,magenta :weight bold))))
  1903. `(tuareg-font-lock-multistage-face ((,class (:foreground ,blue :background ,base02
  1904. :weight bold))))
  1905. `(tuareg-font-lock-operator-face ((,class (:foreground ,base1))))
  1906. `(tuareg-font-lock-error-face ((,class (:foreground ,yellow :background ,red
  1907. :weight bold))))
  1908. `(tuareg-font-lock-interactive-output-face ((,class (:foreground ,cyan))))
  1909. `(tuareg-font-lock-interactive-error-face ((,class (:foreground ,red))))
  1910. ;;;;; undo-tree
  1911. `(undo-tree-visualizer-default-face
  1912. ((,class (:foreground ,base01 :background ,base03))))
  1913. `(undo-tree-visualizer-unmodified-face ((,class (:foreground ,green))))
  1914. `(undo-tree-visualizer-current-face ((,class (:foreground ,blue :inverse-video t))))
  1915. `(undo-tree-visualizer-active-branch-face
  1916. ((,class (:foreground ,base1 :background ,base03 :weight bold))))
  1917. `(undo-tree-visualizer-register-face ((,class (:foreground ,yellow))))
  1918. ;;;;; volatile highlights
  1919. `(vhl/default-face ((,class (:background ,green-lc :foreground ,green-hc))))
  1920. ;;;;; w3m
  1921. `(w3m-anchor ((,class (:inherit link))))
  1922. `(w3m-arrived-anchor ((,class (:inherit link-visited))))
  1923. `(w3m-form ((,class (:background ,base03 :foreground ,base0))))
  1924. `(w3m-header-line-location-title
  1925. ((,class (:background ,base02 :foreground ,yellow))))
  1926. `(w3m-header-line-location-content
  1927. ((,class (:background ,base02 :foreground ,base0))))
  1928. `(w3m-bold ((,class (:foreground ,base1 :weight bold))))
  1929. `(w3m-image-anchor ((,class (:background ,base03 :foreground ,cyan :inherit link))))
  1930. `(w3m-image ((,class (:background ,base03 :foreground ,cyan))))
  1931. `(w3m-lnum-minibuffer-prompt ((,class (:foreground ,base1))))
  1932. `(w3m-lnum-match ((,class (:background ,base02))))
  1933. `(w3m-lnum ((,class (:underline nil :bold nil :foreground ,red))))
  1934. `(w3m-session-select ((,class (:foreground ,base0))))
  1935. `(w3m-session-selected ((,class (:foreground ,base1 :bold t :underline t))))
  1936. `(w3m-tab-background ((,class (:background ,base03 :foreground ,base0))))
  1937. `(w3m-tab-selected-background
  1938. ((,class (:background ,base03 :foreground ,base0))))
  1939. `(w3m-tab-mouse ((,class (:background ,base02 :foreground ,yellow))))
  1940. `(w3m-tab-selected ((,class (:background ,base02 :foreground ,base1
  1941. :bold t))))
  1942. `(w3m-tab-unselected ((,class (:background ,base02 :foreground ,base0))))
  1943. `(w3m-tab-selected-retrieving ((,class (:background ,base02 :foreground ,red))))
  1944. `(w3m-tab-unselected-retrieving
  1945. ((,class (:background ,base02 :foreground ,orange))))
  1946. `(w3m-tab-unselected-unseen ((,class (:background ,base02 :foreground ,violet))))
  1947. ;;;;; web-mode
  1948. `(web-mode-builtin-face ((,class (:inherit font-lock-builtin-face))))
  1949. `(web-mode-comment-face ((,class (:foreground ,base01))))
  1950. `(web-mode-constant-face ((,class (:foreground ,blue :weight bold))))
  1951. `(web-mode-current-element-highlight-face ((,class
  1952. (:underline unspecified :weight unspecified
  1953. :background ,base02))))
  1954. `(web-mode-css-at-rule-face ((,class (:foreground ,violet :slant italic))))
  1955. `(web-mode-css-pseudo-class-face ((,class (:foreground ,green :slant italic))))
  1956. `(web-mode-doctype-face ((,class (:foreground ,base01
  1957. :slant italic :weight bold))))
  1958. `(web-mode-folded-face ((,class (:underline t))))
  1959. `(web-mode-function-name-face ((,class (:foreground ,blue))))
  1960. `(web-mode-html-attr-name-face ((,class (:foreground ,blue :slant normal))))
  1961. `(web-mode-html-attr-value-face ((,class (:foreground ,cyan :slant italic))))
  1962. `(web-mode-html-tag-face ((,class (:foreground ,green))))
  1963. `(web-mode-keyword-face ((,class (:foreground ,yellow :weight normal))))
  1964. `(web-mode-preprocessor-face ((,class (:foreground ,yellow :slant normal :weight unspecified))))
  1965. `(web-mode-string-face ((,class (:foreground ,cyan))))
  1966. `(web-mode-type-face ((,class (:foreground ,yellow))))
  1967. `(web-mode-variable-name-face ((,class (:foreground ,blue))))
  1968. `(web-mode-warning-face ((,class (:inherit font-lock-warning-face))))
  1969. `(web-mode-block-attr-name-face ((,class (:inherit web-mode-html-attr-name-face))))
  1970. `(web-mode-block-attr-value-face ((,class (:inherit web-mode-html-attr-value-face))))
  1971. `(web-mode-block-comment-face ((,class (:inherit web-mode-comment-face))))
  1972. `(web-mode-block-control-face ((,class (:inherit font-lock-preprocessor-face))))
  1973. `(web-mode-block-face ((,class (:background unspecified))))
  1974. `(web-mode-block-string-face ((,class (:inherit web-mode-string-face))))
  1975. `(web-mode-comment-keyword-face ((,class (:box 1 :weight bold))))
  1976. `(web-mode-css-color-face ((,class (:inherit font-lock-builtin-face))))
  1977. `(web-mode-css-function-face ((,class (:inherit font-lock-builtin-face))))
  1978. `(web-mode-css-priority-face ((,class (:inherit font-lock-builtin-face))))
  1979. `(web-mode-css-property-name-face ((,class (:inherit font-lock-variable-name-face))))
  1980. `(web-mode-css-selector-face ((,class (:inherit font-lock-keyword-face))))
  1981. `(web-mode-css-string-face ((,class (:inherit web-mode-string-face))))
  1982. `(web-mode-javascript-string-face ((,class (:inherit web-mode-string-face))))
  1983. `(web-mode-json-context-face ((,class (:foreground ,violet))))
  1984. `(web-mode-json-key-face ((,class (:foreground ,violet))))
  1985. `(web-mode-json-string-face ((,class (:inherit web-mode-string-face))))
  1986. `(web-mode-param-name-face ((,class (:foreground ,base0))))
  1987. `(web-mode-part-comment-face ((,class (:inherit web-mode-comment-face))))
  1988. `(web-mode-part-face ((,class (:inherit web-mode-block-face))))
  1989. `(web-mode-part-string-face ((,class (:inherit web-mode-string-face))))
  1990. `(web-mode-symbol-face ((,class (:foreground ,yellow))))
  1991. `(web-mode-whitespace-face ((,class (:background ,red))))
  1992. `(web-mode-html-tag-bracket-face ((,class (:foreground ,base01))))
  1993. `(web-mode-block-delimiter-face ((,class (:inherit font-lock-preprocessor-face))))
  1994. `(web-mode-css-comment-face ((,class (:inherit web-mode-comment-face))))
  1995. `(web-mode-css-variable-face ((,class (:inherit web-mode-variable-name-face :slant italic))))
  1996. `(web-mode-error-face ((,class (:background ,red))))
  1997. `(web-mode-function-call-face ((,class (:inherit font-lock-function-name-face))))
  1998. `(web-mode-html-attr-custom-face ((,class (:inherit web-mode-html-attr-name-face))))
  1999. `(web-mode-html-attr-engine-face ((,class (:inherit web-mode-html-attr-custom-face))))
  2000. `(web-mode-html-attr-equal-face ((,class (:inherit web-mode-html-attr-name-face))))
  2001. `(web-mode-html-tag-custom-face ((,class (:inherit web-mode-html-tag-face))))
  2002. `(web-mode-javascript-comment-face ((,class (:inherit web-mode-comment-face))))
  2003. `(web-mode-json-comment-face ((,class (:inherit web-mode-comment-face))))
  2004. ;;;;; weather-metno
  2005. `(weather-metno-date ((,class (:foreground ,yellow :height ,solarized-height-plus-3))))
  2006. `(weather-metno-date-range ((,class (:foreground ,blue))))
  2007. `(weather-metno-entry ((,class (:foreground ,cyan))))
  2008. `(weather-metno-footer ((,class (:inherit font-lock-comment-face))))
  2009. `(weather-metno-header ((,class (:inherit header-line))))
  2010. ;;;;; wgrep
  2011. `(wgrep-delete-face ((,class (:background unspecified :foreground ,blue))))
  2012. `(wgrep-done-face ((,class (:foreground ,green))))
  2013. `(wgrep-face ((,class (:background unspecified :foreground ,blue))))
  2014. `(wgrep-file-face ((,class (:background unspecified :foreground ,magenta))))
  2015. `(wgrep-reject-face ((,class (:foreground ,red :weight unspecified))))
  2016. ;;;;; whitespace-mode
  2017. `(whitespace-space ((,class (:background unspecified :foreground ,base01
  2018. :inverse-video unspecified :slant italic))))
  2019. `(whitespace-hspace ((,class (:background unspecified :foreground ,base1
  2020. :inverse-video unspecified))))
  2021. `(whitespace-tab ((,class (:background unspecified :foreground ,red
  2022. :inverse-video t))))
  2023. `(whitespace-newline ((,class(:background unspecified :foreground ,base01
  2024. :inverse-video unspecified))))
  2025. `(whitespace-trailing ((,class (:background unspecified :foreground ,orange-lc
  2026. :inverse-video t))))
  2027. `(whitespace-line ((,class (:background unspecified :foreground ,magenta
  2028. :inverse-video unspecified))))
  2029. `(whitespace-space-before-tab ((,class (:background ,red-lc :foreground unspecified
  2030. :inverse-video unspecified))))
  2031. `(whitespace-indentation ((,class (:background unspecified :foreground ,yellow
  2032. :inverse-video unspecified :weight bold))))
  2033. `(whitespace-empty ((,class (:background unspecified :foreground ,red-lc
  2034. :inverse-video t))))
  2035. `(whitespace-space-after-tab ((,class (:background unspecified :foreground ,orange
  2036. :inverse-video t :weight bold))))
  2037. ;;;;; wanderlust
  2038. `(wl-highlight-folder-few-face ((,class (:foreground ,red))))
  2039. `(wl-highlight-folder-many-face ((,class (:foreground ,red))))
  2040. `(wl-highlight-folder-path-face ((,class (:foreground ,orange))))
  2041. `(wl-highlight-folder-unread-face ((,class (:foreground ,blue))))
  2042. `(wl-highlight-folder-zero-face ((,class (:foreground ,base0))))
  2043. `(wl-highlight-folder-unknown-face ((,class (:foreground ,blue))))
  2044. `(wl-highlight-message-citation-header ((,class (:foreground ,red))))
  2045. `(wl-highlight-message-cited-text-1 ((,class (:foreground ,red))))
  2046. `(wl-highlight-message-cited-text-2 ((,class (:foreground ,green))))
  2047. `(wl-highlight-message-cited-text-3 ((,class (:foreground ,blue))))
  2048. `(wl-highlight-message-cited-text-4 ((,class (:foreground ,blue))))
  2049. `(wl-highlight-message-header-contents-face ((,class (:foreground ,green))))
  2050. `(wl-highlight-message-headers-face ((,class (:foreground ,red))))
  2051. `(wl-highlight-message-important-header-contents ((,class (:foreground ,green))))
  2052. `(wl-highlight-message-header-contents ((,class (:foreground ,green))))
  2053. `(wl-highlight-message-important-header-contents2 ((,class (:foreground ,green))))
  2054. `(wl-highlight-message-signature ((,class (:foreground ,green))))
  2055. `(wl-highlight-message-unimportant-header-contents ((,class (:foreground ,base0))))
  2056. `(wl-highlight-summary-answered-face ((,class (:foreground ,blue))))
  2057. `(wl-highlight-summary-disposed-face ((,class (:foreground ,base0 :slant italic))))
  2058. `(wl-highlight-summary-new-face ((,class (:foreground ,blue))))
  2059. `(wl-highlight-summary-normal-face ((,class (:foreground ,base0))))
  2060. `(wl-highlight-summary-thread-top-face ((,class (:foreground ,yellow))))
  2061. `(wl-highlight-thread-indent-face ((,class (:foreground ,magenta))))
  2062. `(wl-highlight-summary-refiled-face ((,class (:foreground ,base0))))
  2063. `(wl-highlight-summary-displaying-face ((,class (:underline t :weight bold))))
  2064. ;;;;; weechat
  2065. `(weechat-error-face ((,class (:inherit error))))
  2066. `(weechat-highlight-face ((,class (:foreground ,base0 :weight bold))))
  2067. `(weechat-nick-self-face ((,class (:foreground ,base01 :weight unspecified))))
  2068. `(weechat-prompt-face ((,class (:inherit minibuffer-prompt))))
  2069. `(weechat-time-face ((,class (:foreground ,base01))))
  2070. ;;;;; which-func-mode
  2071. `(which-func ((,class (:foreground ,green))))
  2072. ;;;;; window-number-mode
  2073. `(window-number-face ((,class (:foreground ,green))))
  2074. ;;;;; yascroll
  2075. `(yascroll:thumb-text-area
  2076. ((,class (:foreground ,base01 :background ,base01))))
  2077. `(yascroll:thumb-fringe
  2078. ((,class (:foreground ,base01 :background ,base01))))
  2079. ;;;;; yasnippet
  2080. `(yas-field-highlight-face ((,class (:inherit secondary-selection))))
  2081. ;;;;; zencoding
  2082. `(zencoding-preview-input ((,class (:background ,base02 :box ,base1))))
  2083. ;;;;; ztree
  2084. `(ztreep-arrow-face ((,class (:foreground ,base01))))
  2085. `(ztreep-diff-header-face ((,class (:foreground ,base01 :weight bold :height 1.2))))
  2086. `(ztreep-diff-header-small-face ((,class (:foreground ,base01 :weight bold))))
  2087. `(ztreep-diff-model-add-face ((,class (:foreground ,blue))))
  2088. `(ztreep-diff-model-diff-face ((,class (:foreground ,red))))
  2089. `(ztreep-diff-model-normal-face ((,class (:foreground ,base0))))
  2090. `(ztreep-expand-sign-face ((,class (:foreground ,base01))))
  2091. `(ztreep-header-face ((,class (:foreground ,base01 :weight bold :height 1.2))))
  2092. `(ztreep-leaf-face ((,class (:foreground ,base0))))
  2093. `(ztreep-node-face ((,class (:foreground ,blue))))
  2094. ) ; END custom-theme-set-faces
  2095. ;;; Theme Variables
  2096. (custom-theme-set-variables
  2097. theme-name
  2098. ;;;;; ansi-colors
  2099. `(ansi-color-names-vector
  2100. [,base02 ,red ,green ,yellow ,blue ,magenta ,cyan ,base00])
  2101. ;;;;; compilation
  2102. `(compilation-message-face 'default)
  2103. ;;;;; cua
  2104. `(cua-normal-cursor-color ,base0)
  2105. `(cua-read-only-cursor-color ,green)
  2106. `(cua-global-mark-cursor-color ,cyan)
  2107. `(cua-overwrite-cursor-color ,yellow)
  2108. ;;;;; fill-column-indicator
  2109. `(fci-rule-color ,base02)
  2110. ;;;;; magit
  2111. `(magit-diff-use-overlays nil)
  2112. ;;;;; nrepl-client
  2113. `(nrepl-message-colors
  2114. '(,red ,orange ,yellow ,green-d ,green-l
  2115. ,blue-d ,cyan ,magenta ,violet))
  2116. ;;;;; highlight-changes
  2117. `(highlight-changes-colors '(,magenta ,violet))
  2118. ;;;;; highlight-symbol
  2119. `(highlight-symbol-foreground-color ,base1)
  2120. `(highlight-symbol-colors
  2121. (--map (solarized-color-blend it ,base03 0.25)
  2122. '(,yellow ,cyan ,red ,violet ,green ,orange ,blue)))
  2123. ;;;;; highlight-tail
  2124. `(highlight-tail-colors
  2125. '((,base02 . 0)(,green-lc . 20)(,cyan-lc . 30)(,blue-lc . 50)
  2126. (,yellow-lc . 60)(,orange-lc . 70)(,magenta-lc . 85)(,base02 . 100)))
  2127. ;;;;; hl-anything
  2128. `(hl-fg-colors '(,base03 ,base03 ,base03 ,base03 ,base03 ,base03
  2129. ,base03 ,base03))
  2130. `(hl-bg-colors '(,yellow-lc ,orange-lc ,red-lc ,magenta-lc
  2131. ,violet-lc ,blue-lc ,cyan-lc ,green-lc))
  2132. ;;;;; pos-tip
  2133. `(pos-tip-foreground-color ,base1)
  2134. `(pos-tip-background-color ,base02)
  2135. ;;;;; smartrep
  2136. `(smartrep-mode-line-active-bg (solarized-color-blend ,green ,s-mode-line-bg 0.2))
  2137. ;;;;; term
  2138. `(term-default-fg-color ,base0) ;; @deprecated24.3
  2139. `(term-default-bg-color ,base03) ;; @deprecated24.3
  2140. ;;;;; vc
  2141. `(vc-annotate-background-mode nil)
  2142. `(vc-annotate-color-map
  2143. '((20 . ,red)
  2144. (40 . ,(solarized-color-blend yellow red (/ 2.0 4)))
  2145. (60 . ,(solarized-color-blend yellow red (/ 3.0 4)))
  2146. (80 . ,yellow)
  2147. (100 . ,(solarized-color-blend green yellow (/ 2.0 6)))
  2148. (120 . ,(solarized-color-blend green yellow (/ 3.0 6)))
  2149. (140 . ,(solarized-color-blend green yellow (/ 4.0 6)))
  2150. (160 . ,(solarized-color-blend green yellow (/ 5.0 6)))
  2151. (180 . ,green)
  2152. (200 . ,(solarized-color-blend cyan green (/ 2.0 6)))
  2153. (220 . ,(solarized-color-blend cyan green (/ 3.0 6)))
  2154. (240 . ,(solarized-color-blend cyan green (/ 4.0 6)))
  2155. (260 . ,(solarized-color-blend cyan green (/ 5.0 6)))
  2156. (280 . ,cyan)
  2157. (300 . ,(solarized-color-blend blue cyan (/ 2.0 5)))
  2158. (320 . ,(solarized-color-blend blue cyan (/ 3.0 5)))
  2159. (340 . ,(solarized-color-blend blue cyan (/ 4.0 5)))
  2160. (360 . ,blue)))
  2161. `(vc-annotate-very-old-color nil)
  2162. `(vc-annotate-background nil)
  2163. ;;;;; weechat
  2164. `(weechat-color-list
  2165. '(unspecified ,base03 ,base02
  2166. ,red-d ,red
  2167. ,green-d ,green
  2168. ,yellow-d ,yellow
  2169. ,blue-d ,blue
  2170. ,magenta-d ,magenta
  2171. ,cyan-d ,cyan
  2172. ,base0 ,base00))
  2173. ;;;;; xterm-color
  2174. `(xterm-color-names [,base02 ,red ,green ,yellow
  2175. ,blue ,magenta ,cyan ,base2])
  2176. `(xterm-color-names-bright [,base03 ,orange ,base01 ,base00
  2177. ,base0 ,violet ,base1 ,base3]))
  2178. ;;; Setup End
  2179. (when childtheme
  2180. (funcall childtheme))
  2181. ) ; END custom-theme-set-variables
  2182. ) ; END defun create-solarized-theme
  2183. ;;; Footer
  2184. ;;;###autoload
  2185. (when (and (boundp 'custom-theme-load-path) load-file-name)
  2186. (add-to-list 'custom-theme-load-path
  2187. (file-name-as-directory (file-name-directory load-file-name))))
  2188. (provide 'solarized)
  2189. ;; Local Variables:
  2190. ;; no-byte-compile: t
  2191. ;; eval: (when (fboundp 'rainbow-mode) (rainbow-mode 1))
  2192. ;; indent-tabs-mode: nil
  2193. ;; fill-column: 95
  2194. ;; End:
  2195. ;;; solarized.el ends here