My personal dotfiles
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.

ujelly-theme.el 13KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  1. ;;; ujelly-theme.el --- Ujelly theme for GNU Emacs 24 (deftheme)
  2. ;; Author: Mark Tran <mark.tran@gmail.com>
  3. ;; URL: http://github.com/marktran/color-theme-ujelly
  4. ;; Version: 1.1.31
  5. ;; Inspired by jellybeans: http://www.vim.org/scripts/script.php?script_id=2555.
  6. (deftheme ujelly "The ujelly color theme")
  7. (let ((class '((class color) (min-colors 89)))
  8. (ujelly-fg "#ffffff")
  9. (ujelly-bg "#000000")
  10. (ujelly-blue-0 "#8fbfdc")
  11. (ujelly-green-0 "#99ad6a")
  12. (ujelly-green-1 "#447799")
  13. (ujelly-green-2 "#a8ff60")
  14. (ujelly-grey-0 "#888888")
  15. (ujelly-grey-1 "#7f7f7f")
  16. (ujelly-grey-2 "#151515")
  17. (ujelly-grey-3 "#1c1c1c")
  18. (ujelly-grey-4 "#363636")
  19. (ujelly-grey-5 "#444444")
  20. (ujelly-orange-0 "#ffb964")
  21. (ujelly-purple-0 "#8197bf")
  22. (ujelly-purple-1 "#474e90")
  23. (ujelly-purple-2 "#cd00cd")
  24. (ujelly-purple-3 "#540063")
  25. (ujelly-purple-4 "#a40073")
  26. (ujelly-red-0 "#cf6a4c")
  27. (ujelly-red-1 "#dd0093")
  28. (ujelly-red-2 "#de5577")
  29. (ujelly-red-3 "#ff73fd")
  30. (ujelly-yellow-0 "#fad07a")
  31. (ujelly-yellow-1 "#ffff00"))
  32. (custom-theme-set-faces
  33. 'ujelly
  34. `(default ((,class (:foreground ,ujelly-fg :background ,ujelly-bg))))
  35. `(alchemist-test--failed-face ((,class (:foreground ,ujelly-red-0))))
  36. `(alchemist-test--success-face ((,class (:foreground ,ujelly-green-0))))
  37. `(avy-lead-face ((,class (:foreground ,ujelly-fg :background ,ujelly-red-0))))
  38. `(avy-lead-face-0 ((,class (:foreground ,ujelly-fg :background ,ujelly-green-0))))
  39. `(bm-face ((,class (:background ,ujelly-grey-4))))
  40. `(company-preview-common ((,class (:foreground nil :background ,ujelly-purple-1))))
  41. `(company-scrollbar-bg ((,class (:background ,ujelly-grey-2))))
  42. `(company-scrollbar-fg ((,class (:background ,ujelly-grey-0))))
  43. `(company-tooltip ((,class (:foreground ,ujelly-fg :background ,ujelly-grey-2))))
  44. `(company-tooltip-common ((,class (:foreground ,ujelly-red-0 :background ,ujelly-grey-2))))
  45. `(company-tooltip-common-selection ((,class (:foreground ,ujelly-red-0 :background ,ujelly-purple-1))))
  46. `(company-tooltip-selection ((,class (:background ,ujelly-purple-1))))
  47. `(compilation-error ((,class (:foreground ,ujelly-red-0))))
  48. `(compilation-info ((,class (:foreground ,ujelly-yellow-0))))
  49. `(compilation-line-number ((,class (:foreground ,ujelly-grey-0))))
  50. `(compilation-mode-line-exit ((,class (:foreground ,ujelly-green-0))))
  51. `(compilation-mode-line-fail ((,class (:foreground ,ujelly-red-0))))
  52. `(compilation-mode-line-run ((,class (:foreground ,ujelly-yellow-0))))
  53. `(diredp-date-time ((,class (:foreground ,ujelly-fg))))
  54. `(diredp-deletion ((,class (:foreground ,ujelly-red-0 :background ,ujelly-bg))))
  55. `(diredp-dir-heading ((,class (:foreground ,ujelly-yellow-0 :background ,ujelly-bg))))
  56. `(diredp-dir-name ((,class (:foreground ,ujelly-green-2 :background ,ujelly-bg))))
  57. `(diredp-dir-priv ((,class (:foreground ,ujelly-green-2 :background ,ujelly-bg))))
  58. `(diredp-exec-priv ((,class (:foreground ,ujelly-fg :background ,ujelly-bg))))
  59. `(diredp-file-name ((,class (:foreground ,ujelly-fg))))
  60. `(diredp-file-suffix ((,class (:foreground ,ujelly-fg))))
  61. `(diredp-link-priv ((,class (:foreground ,ujelly-fg))))
  62. `(diredp-number ((,class (:foreground ,ujelly-fg))))
  63. `(diredp-no-priv ((,class (:foreground ,ujelly-fg :background ,ujelly-bg))))
  64. `(diredp-rare-priv ((,class (:foreground ,ujelly-red-0 :background ,ujelly-bg))))
  65. `(diredp-read-priv ((,class (:foreground ,ujelly-fg :background ,ujelly-bg))))
  66. `(diredp-symlink ((,class (:foreground ,ujelly-red-3))))
  67. `(diredp-write-priv ((,class (:foreground ,ujelly-fg :background ,ujelly-bg))))
  68. `(ediff-odd-diff-A ((,class (:foreground ,ujelly-red-0 :background ,ujelly-grey-2))))
  69. `(ediff-odd-diff-B ((,class (:foreground ,ujelly-green-0 :background ,ujelly-grey-2))))
  70. `(emmet-preview-output ((,class (:background ,ujelly-purple-1))))
  71. `(elixir-atom-face ((,class (:foreground ,ujelly-blue-0))))
  72. `(elixir-attribute-face ((,class (:foreground ,ujelly-red-0))))
  73. `(erc-notice-face ((,class (:foreground ,ujelly-yellow-0))))
  74. `(erc-prompt-face ((,class (:foreground ,ujelly-fg))))
  75. `(erc-timestamp-face ((,class (:foreground ,ujelly-purple-0))))
  76. `(eshell-prompt ((,class (:foreground ,ujelly-red-0))))
  77. `(eshell-ls-directory ((,class (:weight normal :foreground ,ujelly-green-2))))
  78. `(eshell-ls-executable ((,class (:weight normal :foreground ,ujelly-red-0))))
  79. `(eshell-ls-product ((,class (:foreground ,ujelly-fg))))
  80. `(eshell-ls-symlink ((,class (:weight normal :foreground ,ujelly-purple-2))))
  81. `(font-lock-builtin-face ((,class (:foreground ,ujelly-blue-0))))
  82. `(font-lock-comment-face ((,class (:slant italic :foreground ,ujelly-grey-0))))
  83. `(font-lock-constant-face ((,class (:foreground ,ujelly-green-1))))
  84. `(font-lock-doc-face ((,class (:foreground ,ujelly-green-0))))
  85. `(font-lock-function-name-face ((,class (:foreground ,ujelly-yellow-0))))
  86. `(font-lock-keyword-face ((,class (:foreground ,ujelly-purple-0))))
  87. `(font-lock-preprocessor-face ((,class (:foreground ,ujelly-blue-0)))) ;; HERE
  88. `(font-lock-string-face ((,class (:foreground ,ujelly-green-0))))
  89. `(font-lock-type-face ((,class (:foreground ,ujelly-orange-0))))
  90. `(font-lock-variable-name-face ((,class (:foreground ,ujelly-red-0))))
  91. `(font-lock-warning-face ((,class (:foreground ,ujelly-red-1))))
  92. `(font-lock-regexp-grouping-construct ((t (:foreground ,ujelly-yellow-0 :bold t))))
  93. `(font-lock-regexp-grouping-backslash ((t (:foreground ,ujelly-red-0 :bold t))))
  94. `(fringe ((,class (:foreground ,ujelly-fg :background ,ujelly-bg))))
  95. `(git-commit-comment-file ((,class (:foreground ,ujelly-fg))))
  96. `(git-commit-comment-heading ((,class (:foreground ,ujelly-yellow-0))))
  97. `(git-commit-summary ((,class (:foreground ,ujelly-fg))))
  98. `(header-line ((,class (:foreground ,ujelly-fg))))
  99. `(helm-buffer-file ((,class (:foreground ,ujelly-fg))))
  100. `(helm-buffer-process ((,class (:foreground ,ujelly-yellow-0))))
  101. `(helm-buffer-size ((,class (:foreground ,ujelly-fg))))
  102. `(helm-candidate-number ((,class (:foreground ,ujelly-fg :background ,ujelly-bg))))
  103. `(helm-ff-directory ((,class (:foreground ,ujelly-green-2))))
  104. `(helm-ff-dotted-directory ((,class (:foreground ,ujelly-green-2 :background ,ujelly-bg))))
  105. `(helm-ff-dotted-symlink-directory ((,class (:foreground ,ujelly-green-2 :background ,ujelly-bg))))
  106. `(helm-ff-executable ((,class (:foreground ,ujelly-red-0))))
  107. `(helm-ff-file ((,class (:foreground ,ujelly-fg))))
  108. `(helm-ff-symlink ((,class (:foreground ,ujelly-purple-2))))
  109. `(helm-grep-lineno ((,class (:foreground ,ujelly-fg))))
  110. `(helm-match ((,class (:foreground ,ujelly-red-1 :background ,ujelly-bg))))
  111. `(helm-moccur-buffer ((,class (:foreground ,ujelly-yellow-0))))
  112. `(helm-selection ((,class (:background ,ujelly-purple-1))))
  113. `(helm-source-header ((,class (:foreground ,ujelly-yellow-0 :background ,ujelly-grey-3))))
  114. `(helm-swoop-target-line-face ((,class (:foreground ,ujelly-fg :background ,ujelly-grey-4))))
  115. `(helm-swoop-target-word-face ((,class (:foreground ,ujelly-red-1))))
  116. `(highlight ((,class (:background ,ujelly-grey-4))))
  117. `(iedit-occurrence ((,class (:foreground ,"color-255"))))
  118. `(isearch ((,class (:background ,"color-238"))))
  119. `(isearch-fail ((,class (:background ,ujelly-red-1))))
  120. `(ido-first-match ((,class (:foreground ,ujelly-yellow-0))))
  121. `(ido-only-match ((,class (:foreground ,ujelly-green-0))))
  122. `(ido-subdir ((,class (:foreground ,ujelly-fg))))
  123. `(ido-virtual ((,class (:foreground ,ujelly-purple-0))))
  124. `(ivy-current-match ((,class (:background ,ujelly-purple-1))))
  125. `(ivy-minibuffer-match-face-1 ((,class (:foreground ,ujelly-blue-0))))
  126. `(ivy-minibuffer-match-face-2 ((,class (:foreground ,ujelly-blue-0))))
  127. `(ivy-minibuffer-match-face-3 ((,class (:foreground ,ujelly-blue-0))))
  128. `(ivy-minibuffer-match-face-4 ((,class (:foreground ,ujelly-blue-0))))
  129. `(lazy-highlight ((,class (:foreground ,"color-160", :background ,nil))))
  130. `(linum ((,class (:slant italic :foreground ,ujelly-grey-4))))
  131. `(magit-blame-heading ((,class (:foreground ,ujelly-grey-1 :background ,ujelly-grey-2))))
  132. `(magit-branch-local ((,class (:foreground ,ujelly-green-2))))
  133. `(magit-branch-remote ((,class (:foreground ,ujelly-green-2))))
  134. `(magit-section-heading ((,class (:foreground ,ujelly-yellow-0 :background ,ujelly-grey-2))))
  135. `(magit-diff-added ((,class (:foreground ,ujelly-green-0))))
  136. `(magit-diff-added-highlight ((,class (:foreground ,ujelly-green-0 :inherit (magit-section-highlight)))))
  137. `(magit-diff-context ((,class (:foreground ,ujelly-fg))))
  138. `(magit-diff-context-highlight ((,class (:foreground ,ujelly-fg :inherit (magit-section-highlight)))))
  139. `(magit-diff-file-heading ((,class (:weight normal :foreground ,ujelly-fg :background ,ujelly-bg))))
  140. `(magit-diff-file-heading-highlight ((,class (:weight normal :foreground ,ujelly-fg :background ,ujelly-grey-2))))
  141. `(magit-diff-hunk-heading ((,class (:foreground ,ujelly-yellow-0 :background ,ujelly-grey-2))))
  142. `(magit-diff-hunk-heading-highlight ((,class (:foreground ,ujelly-yellow-0 :background ,ujelly-grey-3))))
  143. `(magit-diff-lines-heading ((,class (:foreground ,ujelly-fg :background ,ujelly-purple-1))))
  144. `(magit-diff-removed ((,class (:foreground ,ujelly-red-0))))
  145. `(magit-diff-removed-highlight ((,class (:foreground ,ujelly-red-0 :inherit (magit-section-highlight)))))
  146. `(magit-diffstat-added ((,class (:foreground ,ujelly-green-0))))
  147. `(magit-diffstat-removed ((,class (:foreground ,ujelly-red-0))))
  148. `(magit-hash ((,class (:foreground ,ujelly-red-1))))
  149. `(magit-section-highlight ((,class (:background ,ujelly-grey-2))))
  150. `(match ((,class (:background ,ujelly-red-1))))
  151. `(minibuffer-prompt ((,class (:foreground ,ujelly-fg))))
  152. `(mode-line ((,class (:foreground ,ujelly-fg :background nil))))
  153. `(mode-line-inactive ((,class (:foreground ,ujelly-grey-4 :background nil))))
  154. `(org-checkbox ((,class (:foreground ,ujelly-green-0))))
  155. `(org-date ((,class (:foreground ,ujelly-grey-0))))
  156. `(org-done ((,class (:foreground ,ujelly-green-2))))
  157. `(org-level-1 ((,class (:foreground ,ujelly-red-2))))
  158. `(org-level-2 ((,class (:foreground ,ujelly-yellow-0))))
  159. `(org-level-3 ((,class (:foreground ,ujelly-green-1))))
  160. `(org-level-4 ((,class (:foreground ,ujelly-orange-0))))
  161. `(org-level-5 ((,class (:foreground ,ujelly-purple-4))))
  162. `(org-level-6 ((,class (:foreground ,ujelly-red-0))))
  163. `(org-level-7 ((,class (:foreground ,ujelly-blue-0))))
  164. `(org-level-8 ((,class (:foreground ,ujelly-green-0))))
  165. `(org-link ((,class (:foreground ,ujelly-blue-0))))
  166. `(org-special-keyword ((,class (:foreground ,ujelly-purple-0))))
  167. `(org-todo ((,class (:foreground ,ujelly-red-3))))
  168. `(region ((,class (:background ,ujelly-purple-1))))
  169. `(shm-current-face ((,class (:background ,ujelly-grey-4))))
  170. `(shm-quarantine-face ((,class (:background ,ujelly-red-1))))
  171. `(smerge-markers ((,class (:foreground ,ujelly-yellow-0 :background ,ujelly-grey-2))))
  172. `(smerge-mine ((,class (:foreground ,ujelly-fg :background ,ujelly-purple-4))))
  173. `(smerge-other ((,class (:foreground ,ujelly-fg :background ,ujelly-green-1))))
  174. `(smerge-refined-change ((,class (:foreground ,ujelly-green-0))))
  175. `(sp-pair-overlay-face ((,class (:background ,ujelly-grey-4))))
  176. `(sp-show-pair-match-face ((,class (:background ,ujelly-grey-5))))
  177. `(swiper-match-face-1 ((,class (:foreground ,ujelly-red-1))))
  178. `(swiper-match-face-2 ((,class (:foreground ,ujelly-red-1))))
  179. `(swiper-match-face-3 ((,class (:foreground ,ujelly-red-1))))
  180. `(swiper-match-face-4 ((,class (:foreground ,ujelly-red-1))))
  181. `(trailing-whitespace ((,class (:background ,ujelly-red-1))))
  182. `(web-mode-builtin-face ((,class (:foreground ,ujelly-blue-0))))
  183. `(web-mode-html-attr-name-face ((,class (:foreground ,ujelly-purple-0))))
  184. `(web-mode-html-tag-face ((,class (:foreground ,ujelly-fg))))
  185. `(web-mode-symbol-face ((,class (:foreground ,ujelly-green-1))))
  186. `(which-key-group-description-face ((,class (:foreground ,ujelly-grey-0))))
  187. `(which-key-key-face ((,class (:foreground ,ujelly-green-0))))
  188. `(whitespace-trailing ((,class (:background ,ujelly-red-1))))))
  189. ;;;###autoload
  190. (when load-file-name
  191. (add-to-list 'custom-theme-load-path
  192. (file-name-as-directory (file-name-directory load-file-name))))
  193. (provide-theme 'ujelly)
  194. ;;; ujelly-theme.el ends here