]> code.delx.au - gnu-emacs-elpa/blob - ahungry-theme.el
2b52fc4b93b4efc902a8ce6041042b66e0b18c04
[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.5
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.4:
40 ;; - Don't circumvent normal autoloads functionality, use the comment load method
41
42 ;;;; Changes since 1.0.3:
43 ;; - Manually include an autoloads file to make sure
44 ;; custom-theme-load-path is filled out
45 ;; - Update description to make mention of (load-theme 'ahungry) for new users
46
47 ;;; Code:
48
49 (deftheme ahungry
50 "Ahungry Theme")
51
52 (let ((mainbg (if (display-graphic-p) "#222222" "default")))
53 (custom-theme-set-faces
54 'ahungry ;; This is the theme name
55 `(default ((t (:foreground "#ffffff" :background ,mainbg
56 :family "Terminus" :foundry "xos4"
57 :slant normal :weight normal
58 :height 100 :width normal))))
59 '(cursor ((t (:background "#fce94f" :foreground "#ffffff"))))
60 '(highlight ((t (:background "brown4" :foreground nil))))
61 '(border ((t (:background "#888a85"))))
62 '(fringe ((t (:background "#333333"))))
63 '(mode-line ((t (:foreground "#0022ff" :bold t :background "#77ff00"
64 :box (:line-width 1 :color nil :style released-button)))))
65 '(mode-line-inactive ((t (:foreground "#444444" :background "#66ff33"))))
66 '(mode-line-buffer-id ((t (:bold t :foreground "#ffffff" :background "#0055ff"))))
67 '(region ((t (:background "#444444"))))
68 '(link ((t (:underline t :foreground "#33ff99"))))
69 '(custom-link ((t (:inherit 'link))))
70 '(match ((t (:bold t :background "#e9b96e" :foreground "#2e3436"))))
71 '(tool-tips ((t (:inherit 'variable-pitch :foreground "black" :background "#ffff33"))))
72 '(tooltip ((t (:inherit 'variable-pitch :foreground "black" :background "#ffff33"))))
73 '(bold ((t (:bold t :underline nil :background nil))))
74 '(italic ((t (:italic t :underline nil :background nil))))
75 '(font-lock-builtin-face ((t (:foreground "#0055ff"))))
76 '(font-lock-comment-face ((t (:foreground "#888a85" :bold nil :italic t))))
77 '(font-lock-constant-face ((t (:foreground "#fff900"))))
78 '(font-lock-doc-face ((t (:foreground "#777700" :bold t :italic t))))
79 '(font-lock-keyword-face ((t (:foreground "#3cff00" :bold t))))
80 '(font-lock-string-face ((t (:foreground "#ff0077" :italic nil :bold nil))))
81 '(font-lock-type-face ((t (:foreground "#deff00" :bold t))))
82 '(font-lock-variable-name-face ((t (:foreground "#9900ff" :bold t))))
83 '(font-lock-warning-face ((t (:bold t :foreground "#ff0000"))))
84 '(font-lock-function-name-face ((t (:foreground "#ffee00" :bold t))))
85 '(comint-highlight-input ((t (:italic t :bold t))))
86 '(comint-highlight-prompt ((t (:foreground "#33cc33"))))
87 '(diff-header ((t (:background "#444444"))))
88 '(diff-index ((t (:foreground "#ffff00" :bold t))))
89 '(diff-file-header ((t (:foreground "#aaaaaa" :bold t))))
90 '(diff-hunk-header ((t (:foreground "#ffff00"))))
91 '(diff-added ((t (:background "default" :foreground "#00ff00" :weight normal))))
92 '(diff-removed ((t (:background "default" :foreground "#ff0000" :weight normal))))
93 '(diff-context ((t (:foreground "#777777"))))
94 '(diff-refine-change ((t (:bold t :background "#444444"))))
95 '(isearch ((t (:background "#ff6600" :foreground "#333333"))))
96 '(isearch-lazy-highlight-face ((t (:foreground "#2e3436" :background "#ff6600"))))
97 '(show-paren-match-face ((t (:background "#ff6600" :foreground "#2e3436"))))
98 '(show-paren-mismatch-face ((t (:background "#999999" :foreground "#ff6600"))))
99 '(info-xref ((t (:foreground "#33ffbb"))))
100 '(info-xref-visited ((t (:foreground "#999999"))))
101 '(diary ((t (:bold t :foreground "#ff0000"))))
102 '(message-cited-text ((t (:foreground "#ffc800"))))
103 '(gnus-cite-1 ((t (:foreground "#999999"))))
104 '(gnus-cite-2 ((t (:foreground "#cba559"))))
105 '(gnus-cite-3 ((t (:foreground "#83ae92"))))
106 '(gnus-cite-4 ((t (:foreground "#6898a7"))))
107 '(gnus-cite-face-1 ((t (:foreground "#999999"))))
108 '(gnus-cite-face-2 ((t (:foreground "#cba559"))))
109 '(gnus-cite-face-3 ((t (:foreground "#83ae92"))))
110 '(gnus-cite-face-4 ((t (:foreground "#6898a7"))))
111 '(gnus-group-mail-1-empty ((t (:foreground "#00bbff"))))
112 '(gnus-group-mail-1 ((t (:bold t :foreground "#00bbff"))))
113 '(gnus-group-mail-2-empty ((t (:foreground "#00ffbb"))))
114 '(gnus-group-mail-2 ((t (:bold t :foreground "#00ffbb"))))
115 '(gnus-group-mail-3-empty ((t (:foreground "#009955"))))
116 '(gnus-group-mail-3 ((t (:bold t :foreground "#ffc800"))))
117 '(gnus-group-mail-low-empty ((t (:foreground "#005fff"))))
118 '(gnus-group-mail-low ((t (:bold t :foreground "#005fff"))))
119 '(gnus-group-news-1-empty ((t (:foreground "#00bbff"))))
120 '(gnus-group-news-1 ((t (:bold t :foreground "#00bbff"))))
121 '(gnus-group-news-2-empty ((t (:foreground "#00ffbb"))))
122 '(gnus-group-news-2 ((t (:bold t :foreground "#00ffbb"))))
123 '(gnus-group-news-3-empty ((t (:foreground "#009955"))))
124 '(gnus-group-news-3 ((t (:bold t :foreground "#ffc800"))))
125 '(gnus-group-news-low-empty ((t (:foreground "#005fff"))))
126 '(gnus-group-news-low ((t (:bold t :foreground "#005fff"))))
127 '(gnus-header-name ((t (:bold t :foreground "#33ffbb"))))
128 '(gnus-header-from ((t (:bold t :foreground "#ffc800"))))
129 '(gnus-header-subject ((t (:foreground "#ffc800"))))
130 '(gnus-header-content ((t (:italic t :foreground "#33cc33"))))
131 '(gnus-header-newsgroups ((t (:italic t :bold t :foreground "#0088ff"))))
132 '(gnus-signature ((t (:italic t :foreground "#666666"))))
133 '(gnus-summary-cancelled ((t (:background "#222222" :foreground "#ffff00"))))
134 '(gnus-summary-high-ancient ((t (:bold t :foreground "#0099ff"))))
135 '(gnus-summary-high-read ((t (:bold t :foreground "#33ff99"))))
136 '(gnus-summary-high-ticked ((t (:bold t :foreground "#f68585"))))
137 '(gnus-summary-high-unread ((t (:bold t :foreground "#ffffff"))))
138 '(gnus-summary-low-ancient ((t (:italic t :foreground "#33ff99"))))
139 '(gnus-summary-low-read ((t (:italic t :foreground "#0099ff"))))
140 '(gnus-summary-low-ticked ((t (:italic t :foreground "#ff3333"))))
141 '(gnus-summary-low-unread ((t (:italic t :foreground "#ffffff"))))
142 '(gnus-summary-normal-ancient ((t (:foreground "#0099ff"))))
143 '(gnus-summary-normal-read ((t (:foreground "#33ff99"))))
144 '(gnus-summary-normal-ticked ((t (:foreground "#ff0000"))))
145 '(gnus-summary-normal-unread ((t (:foreground "#ffffff"))))
146 '(gnus-summary-selected ((t (:background "brown4" :foreground "#ffffff"))))
147 '(message-header-name ((t (:foreground "#f68585"))))
148 '(message-header-newsgroups ((t (:italic t :bold t :foreground "#0088ff"))))
149 '(message-header-other ((t (:foreground "#0088ff"))))
150 '(message-header-xheader ((t (:foreground "#0088ff"))))
151 '(message-header-subject ((t (:foreground "#ffffff"))))
152 '(message-header-to ((t (:foreground "#ffffff"))))
153 '(message-header-cc ((t (:foreground "#ffffff"))))
154 '(org-hide ((t (:foreground "#009933"))))
155 '(org-level-1 ((t (:bold t :foreground "#4477ff" :height 1.5))))
156 '(org-level-2 ((t (:bold nil :foreground "#ffc800" :height 1.2))))
157 '(org-level-3 ((t (:bold t :foreground "#00aa33" :height 1.0))))
158 '(org-level-4 ((t (:bold nil :foreground "#f68585" :height 1.0))))
159 '(org-date ((t (:underline t :foreground "#ff0066"))))
160 '(org-footnote ((t (:underline t :foreground "#ff0066"))))
161 '(org-link ((t (:foreground "skyblue2" :background "#2e3436"))))
162 '(org-special-keyword ((t (:foreground "#cc0033"))))
163 '(org-verbatim ((t (:foreground "#cc6600" :underline t :slant italic))))
164 '(org-block ((t (:foreground "#999999"))))
165 '(org-quote ((t (:inherit org-block :bold t :slant italic))))
166 '(org-verse ((t (:inherit org-block :bold t :slant italic))))
167 '(org-todo ((t (:bold t :foreground "#ff0099"))))
168 '(org-done ((t (:bold t :foreground "#00cc33"))))
169 '(org-agenda-structure ((t (:weight bold :foreground "#f68585"))))
170 '(org-agenda-date ((t (:foreground "#00ff55"))))
171 '(org-agenda-date-weekend ((t (:weight normal :foreground "#005fff"))))
172 '(org-agenda-date-today ((t (:weight bold :foreground "#ffc800"))))
173 '(org-agenda-done ((t (:weight normal :foreground "#00aa33"))))
174 '(org-block-begin-line ((t (:foreground "#bbbbbb" :background "#333333"))))
175 '(org-block-background ((t (:background "#333333"))))
176 '(org-block-end-line ((t (:foreground "#bbbbbb" :background "#333333"))))
177 '(org-document-title ((t (:weight bold :foreground "#0077cc"))))
178 '(org-document-info ((t (:weight normal :foreground "#0077cc"))))
179 '(org-warning ((t (:weight normal :foreground "#ee0033"))))
180 '(magit-header ((t (:foreground "#ffc800"))))
181 '(magit-diff-add ((t (:foreground "#00ff00"))))
182 '(magit-diff-del ((t (:foreground "#ff0000"))))
183 '(magit-item-highlight ((t (:background "#111111" :slant normal :weight extra-bold :inverse-video nil))))
184 '(minibuffer-prompt ((t (:foreground "#0055ff" :bold t))))
185 '(web-mode-html-tag-bracket-face ((t (:foreground "#666666"))))
186 '(helm-selection ((t (:foreground "#0022ff" :bold t :background "#77ff00"))))
187 '(helm-match ((t (:foreground "gold1"))))
188 )
189 (custom-theme-set-variables
190 'ahungry
191 '(red "#ffffff"))
192 )
193
194 ;;;###autoload
195 (when (and load-file-name (boundp 'custom-theme-load-path))
196 (add-to-list
197 'custom-theme-load-path
198 (file-name-as-directory (file-name-directory load-file-name))))
199
200 (provide-theme 'ahungry)
201
202 ;;; ahungry-theme.el ends here