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