]> code.delx.au - gnu-emacs-elpa/blob - ahungry-theme.el
Even more magit 2.0 face names
[gnu-emacs-elpa] / ahungry-theme.el
1 ;;; ahungry-theme.el --- Ahungry color theme for Emacs. Make sure to (load-theme 'ahungry).
2
3 ;; Copyright (C) 2015 Free Software Foundation, Inc.
4
5 ;; Author: Matthew Carter <m@ahungry.com>
6 ;; Maintainer: Matthew Carter <m@ahungry.com>
7 ;; URL: https://github.com/ahungry/color-theme-ahungry
8 ;; Version: 1.0.9
9 ;; Keywords: ahungry palette color theme emacs color-theme deftheme
10 ;; Package-Requires: ((emacs "24"))
11
12 ;; This file is part of GNU Emacs.
13
14 ;;; License:
15
16 ;; This program is free software: you can redistribute it and/or modify
17 ;; it under the terms of the GNU General Public License as published by
18 ;; the Free Software Foundation, either version 3 of the License, or
19 ;; (at your option) any later version.
20 ;;
21 ;; This program is distributed in the hope that it will be useful,
22 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
23 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24 ;; GNU General Public License for more details.
25 ;;
26 ;; You should have received a copy of the GNU General Public License
27 ;; along with this program. If not, see <http://www.gnu.org/licenses/>.
28
29 ;;; Commentary:
30
31 ;; Bright and bold color theme for GNU Emacs.
32
33 ;; If you load it from a terminal, you will be able to make use of the
34 ;; transparent background. If you load it from a GUI, it will default
35 ;; to a dark background.
36
37 ;;; News:
38
39 ;;;; Changes since 1.0.8:
40 ;; - Add even more colors for magit 2.0 face names
41
42 ;;;; Changes since 1.0.7:
43 ;; - Add colors for magit 2.0 face names
44
45 ;;;; Changes since 1.0.6:
46 ;; - Remove warning producing call to "default" background color
47 ;; - Add a color update for mm-uu-extract
48
49 ;;;; Changes since 1.0.5:
50 ;; - Add a few colors for helm (the defaults did not work well with this theme)
51
52 ;;;; Changes since 1.0.4:
53 ;; - Don't circumvent normal autoloads functionality, use the comment load method
54
55 ;;;; Changes since 1.0.3:
56 ;; - Manually include an autoloads file to make sure
57 ;; custom-theme-load-path is filled out
58 ;; - Update description to make mention of (load-theme 'ahungry) for new users
59
60 ;;; Code:
61
62 (deftheme ahungry
63 "Ahungry Theme")
64
65 (let ((mainbg (when (display-graphic-p) "#222222")));; "default")))
66 (custom-theme-set-faces
67 'ahungry ;; This is the theme name
68 `(default ((t (:foreground "#ffffff" :background ,mainbg
69 :family "Terminus" :foundry "xos4"
70 :slant normal :weight normal
71 :height 100 :width normal))))
72 '(cursor ((t (:background "#fce94f" :foreground "#ffffff"))))
73 '(highlight ((t (:background "brown4" :foreground nil))))
74 '(border ((t (:background "#888a85"))))
75 '(fringe ((t (:background "#333333"))))
76 '(mode-line ((t (:foreground "#0022ff" :bold t :background "#77ff00"
77 :box (:line-width 1 :color nil :style released-button)))))
78 '(mode-line-inactive ((t (:foreground "#444444" :background "#66ff33"))))
79 '(mode-line-buffer-id ((t (:bold t :foreground "#ffffff" :background "#0055ff"))))
80 '(region ((t (:background "#444444"))))
81 '(link ((t (:underline t :foreground "#33ff99"))))
82 '(custom-link ((t (:inherit 'link))))
83 '(match ((t (:bold t :background "#e9b96e" :foreground "#2e3436"))))
84 '(tool-tips ((t (:inherit 'variable-pitch :foreground "black" :background "#ffff33"))))
85 '(tooltip ((t (:inherit 'variable-pitch :foreground "black" :background "#ffff33"))))
86 '(bold ((t (:bold t :underline nil :background nil))))
87 '(italic ((t (:italic t :underline nil :background nil))))
88 '(font-lock-builtin-face ((t (:foreground "#0055ff"))))
89 '(font-lock-comment-face ((t (:foreground "#888a85" :bold nil :italic t))))
90 '(font-lock-constant-face ((t (:foreground "#fff900"))))
91 '(font-lock-doc-face ((t (:foreground "#777700" :bold t :italic t))))
92 '(font-lock-keyword-face ((t (:foreground "#3cff00" :bold t))))
93 '(font-lock-string-face ((t (:foreground "#ff0077" :italic nil :bold nil))))
94 '(font-lock-type-face ((t (:foreground "#deff00" :bold t))))
95 '(font-lock-variable-name-face ((t (:foreground "#9900ff" :bold t))))
96 '(font-lock-warning-face ((t (:bold t :foreground "#ff0000"))))
97 '(font-lock-function-name-face ((t (:foreground "#ffee00" :bold t))))
98 '(comint-highlight-input ((t (:italic t :bold t))))
99 '(comint-highlight-prompt ((t (:foreground "#33cc33"))))
100 '(diff-header ((t (:background "#444444"))))
101 '(diff-index ((t (:foreground "#ffff00" :bold t))))
102 '(diff-file-header ((t (:foreground "#aaaaaa" :bold t))))
103 '(diff-hunk-header ((t (:foreground "#ffff00"))))
104 '(diff-added ((t (:background "default" :foreground "#00ff00" :weight normal))))
105 '(diff-removed ((t (:background "default" :foreground "#ff0000" :weight normal))))
106 '(diff-context ((t (:foreground "#777777"))))
107 '(diff-refine-change ((t (:bold t :background "#444444"))))
108 '(isearch ((t (:background "#ff6600" :foreground "#333333"))))
109 '(isearch-lazy-highlight-face ((t (:foreground "#2e3436" :background "#ff6600"))))
110 '(show-paren-match-face ((t (:background "#ff6600" :foreground "#2e3436"))))
111 '(show-paren-mismatch-face ((t (:background "#999999" :foreground "#ff6600"))))
112 '(info-xref ((t (:foreground "#33ffbb"))))
113 '(info-xref-visited ((t (:foreground "#999999"))))
114 '(diary ((t (:bold t :foreground "#ff0000"))))
115 '(message-cited-text ((t (:foreground "#ffc800"))))
116 '(gnus-cite-1 ((t (:foreground "#999999"))))
117 '(gnus-cite-2 ((t (:foreground "#cba559"))))
118 '(gnus-cite-3 ((t (:foreground "#83ae92"))))
119 '(gnus-cite-4 ((t (:foreground "#6898a7"))))
120 '(gnus-cite-face-1 ((t (:foreground "#999999"))))
121 '(gnus-cite-face-2 ((t (:foreground "#cba559"))))
122 '(gnus-cite-face-3 ((t (:foreground "#83ae92"))))
123 '(gnus-cite-face-4 ((t (:foreground "#6898a7"))))
124 '(gnus-group-mail-1-empty ((t (:foreground "#00bbff"))))
125 '(gnus-group-mail-1 ((t (:bold t :foreground "#00bbff"))))
126 '(gnus-group-mail-2-empty ((t (:foreground "#00ffbb"))))
127 '(gnus-group-mail-2 ((t (:bold t :foreground "#00ffbb"))))
128 '(gnus-group-mail-3-empty ((t (:foreground "#009955"))))
129 '(gnus-group-mail-3 ((t (:bold t :foreground "#ffc800"))))
130 '(gnus-group-mail-low-empty ((t (:foreground "#005fff"))))
131 '(gnus-group-mail-low ((t (:bold t :foreground "#005fff"))))
132 '(gnus-group-news-1-empty ((t (:foreground "#00bbff"))))
133 '(gnus-group-news-1 ((t (:bold t :foreground "#00bbff"))))
134 '(gnus-group-news-2-empty ((t (:foreground "#00ffbb"))))
135 '(gnus-group-news-2 ((t (:bold t :foreground "#00ffbb"))))
136 '(gnus-group-news-3-empty ((t (:foreground "#009955"))))
137 '(gnus-group-news-3 ((t (:bold t :foreground "#ffc800"))))
138 '(gnus-group-news-low-empty ((t (:foreground "#005fff"))))
139 '(gnus-group-news-low ((t (:bold t :foreground "#005fff"))))
140 '(gnus-header-name ((t (:bold t :foreground "#33ffbb"))))
141 '(gnus-header-from ((t (:bold t :foreground "#ffc800"))))
142 '(gnus-header-subject ((t (:foreground "#ffc800"))))
143 '(gnus-header-content ((t (:italic t :foreground "#33cc33"))))
144 '(gnus-header-newsgroups ((t (:italic t :bold t :foreground "#0088ff"))))
145 '(gnus-signature ((t (:italic t :foreground "#666666"))))
146 '(gnus-summary-cancelled ((t (:background "#222222" :foreground "#ffff00"))))
147 '(gnus-summary-high-ancient ((t (:bold t :foreground "#0099ff"))))
148 '(gnus-summary-high-read ((t (:bold t :foreground "#33ff99"))))
149 '(gnus-summary-high-ticked ((t (:bold t :foreground "#f68585"))))
150 '(gnus-summary-high-unread ((t (:bold t :foreground "#ffffff"))))
151 '(gnus-summary-low-ancient ((t (:italic t :foreground "#33ff99"))))
152 '(gnus-summary-low-read ((t (:italic t :foreground "#0099ff"))))
153 '(gnus-summary-low-ticked ((t (:italic t :foreground "#ff3333"))))
154 '(gnus-summary-low-unread ((t (:italic t :foreground "#ffffff"))))
155 '(gnus-summary-normal-ancient ((t (:foreground "#0099ff"))))
156 '(gnus-summary-normal-read ((t (:foreground "#33ff99"))))
157 '(gnus-summary-normal-ticked ((t (:foreground "#ff0000"))))
158 '(gnus-summary-normal-unread ((t (:foreground "#ffffff"))))
159 '(gnus-summary-selected ((t (:background "brown4" :foreground "#ffffff"))))
160 '(message-header-name ((t (:foreground "#f68585"))))
161 '(message-header-newsgroups ((t (:italic t :bold t :foreground "#0088ff"))))
162 '(message-header-other ((t (:foreground "#0088ff"))))
163 '(message-header-xheader ((t (:foreground "#0088ff"))))
164 '(message-header-subject ((t (:foreground "#ffffff"))))
165 '(message-header-to ((t (:foreground "#ffffff"))))
166 '(message-header-cc ((t (:foreground "#ffffff"))))
167 '(mm-uu-extract ((t (:foreground "#0066ff"))))
168 '(org-hide ((t (:foreground "#009933"))))
169 '(org-level-1 ((t (:bold t :foreground "#4477ff" :height 1.5))))
170 '(org-level-2 ((t (:bold nil :foreground "#ffc800" :height 1.2))))
171 '(org-level-3 ((t (:bold t :foreground "#00aa33" :height 1.0))))
172 '(org-level-4 ((t (:bold nil :foreground "#f68585" :height 1.0))))
173 '(org-date ((t (:underline t :foreground "#ff0066"))))
174 '(org-footnote ((t (:underline t :foreground "#ff0066"))))
175 '(org-link ((t (:foreground "skyblue2" :background "#2e3436"))))
176 '(org-special-keyword ((t (:foreground "#cc0033"))))
177 '(org-verbatim ((t (:foreground "#cc6600" :underline t :slant italic))))
178 '(org-block ((t (:foreground "#999999"))))
179 '(org-quote ((t (:inherit org-block :bold t :slant italic))))
180 '(org-verse ((t (:inherit org-block :bold t :slant italic))))
181 '(org-todo ((t (:bold t :foreground "#ff0099"))))
182 '(org-done ((t (:bold t :foreground "#00cc33"))))
183 '(org-agenda-structure ((t (:weight bold :foreground "#f68585"))))
184 '(org-agenda-date ((t (:foreground "#00ff55"))))
185 '(org-agenda-date-weekend ((t (:weight normal :foreground "#005fff"))))
186 '(org-agenda-date-today ((t (:weight bold :foreground "#ffc800"))))
187 '(org-agenda-done ((t (:weight normal :foreground "#00aa33"))))
188 '(org-block-begin-line ((t (:foreground "#bbbbbb" :background "#333333"))))
189 '(org-block-background ((t (:background "#333333"))))
190 '(org-block-end-line ((t (:foreground "#bbbbbb" :background "#333333"))))
191 '(org-document-title ((t (:weight bold :foreground "#0077cc"))))
192 '(org-document-info ((t (:weight normal :foreground "#0077cc"))))
193 '(org-warning ((t (:weight normal :foreground "#ee0033"))))
194 '(magit-hash ((t (:foreground "#6699aa"))))
195 '(magit-branch-local ((t (:foreground "#0066ff"))))
196 '(magit-branch-remote ((t (:foreground "#ffcc44"))))
197 '(magit-diffstat-added ((t (:foreground "#00ff66"))))
198 '(magit-diff-added-highlight ((t (:foreground "#33ff00" :weight normal))))
199 '(magit-diff-added ((t (:foreground "#44aa00" :weight normal))))
200 '(magit-diff-removed-highlight ((t (:foreground "#ff0033" :weight normal))))
201 '(magit-diff-removed ((t (:foreground "#aa0044" :weight normal))))
202 '(magit-diff-hunk-heading ((t (:foreground "#aaaa00"))))
203 '(magit-diff-hunk-heading-highlight ((t (:foreground "#ffff00"))))
204 '(magit-diffstat-removed ((t (:foreground "#ff0066"))))
205 '(magit-diff-context-highlight ((t (:foreground "#ffffff"))))
206 '(magit-section-heading ((t (:foreground "#ff0066"))))
207 '(magit-section-highlight ((t (:weight bold))));;:foreground "#ffffff"))))
208 '(minibuffer-prompt ((t (:foreground "#0055ff" :bold t))))
209 '(web-mode-html-tag-bracket-face ((t (:foreground "#666666"))))
210 '(helm-selection ((t (:foreground "#ff0099" :italic t :bold t :background "#f2e997"))))
211 '(helm-match ((t (:foreground "gold1"))))
212 '(helm-visible-mark ((t (:background "#f2e997" :foreground "#ff0099" :bold nil :italic nil))))
213 )
214 (custom-theme-set-variables
215 'ahungry
216 '(red "#ffffff"))
217 )
218
219 ;;;###autoload
220 (when (and load-file-name (boundp 'custom-theme-load-path))
221 (add-to-list
222 'custom-theme-load-path
223 (file-name-as-directory (file-name-directory load-file-name))))
224
225 (provide-theme 'ahungry)
226
227 ;;; ahungry-theme.el ends here