]> code.delx.au - gnu-emacs-elpa/blob - ahungry-theme.el
Change license from AGPLv3 to GPLv3, fix diff colors
[gnu-emacs-elpa] / ahungry-theme.el
1 ;; ahungry-theme.el --- Ahungry color theme for Emacs.
2
3 ;; color theme ahungry - A bright and bold color theme for GNU Emacs
4 ;; Copyright (C) 2013 Matthew Carter
5 ;;
6 ;; This program is free software: you can redistribute it and/or modify
7 ;; it under the terms of the GNU General Public License as published by
8 ;; the Free Software Foundation, either version 3 of the License, or
9 ;; (at your option) any later version.
10 ;;
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 ;;
16 ;; You should have received a copy of the GNU General Public License
17 ;; along with this program. If not, see <http://www.gnu.org/licenses/>.
18
19 ;; Author: Matthew Carter
20 ;; Keywords: ahungry palette color theme emacs deftheme
21 ;; URL: https://github.com/ahungry/color-theme-ahungry
22 ;; Version: 1.0.0
23
24 ;; This file is NOT part of GNU Emacs.
25
26 (deftheme ahungry
27 "Ahungry Theme")
28
29 (let ((mainbg (if (display-graphic-p) "#222222" "default")))
30 (custom-theme-set-faces
31 'ahungry ;; This is the theme name
32 `(default ((t (:foreground "#ffffff" :background ,mainbg
33 :family "Terminus" :foundry "xos4"
34 :slant normal :weight normal
35 :height 100 :width normal))))
36 '(cursor ((t (:background "#fce94f" :foreground "#ffffff"))))
37 '(highlight ((t (:background "brown4" :foreground nil))))
38 '(border ((t (:background "#888a85"))))
39 '(fringe ((t (:background "grey10"))))
40 '(mode-line ((t (:foreground "#0022ff" :bold t :background "#77ff00"
41 :box (:line-width 1 :color nil :style released-button)))))
42 '(mode-line-inactive ((t (:foreground "#444444" :background "#66ff33"))))
43 '(mode-line-buffer-id ((t (:bold t :foreground "#ffffff" :background "#0055ff"))))
44 '(region ((t (:background "#444444"))))
45 '(link ((t (:underline t :foreground "lime"))))
46 '(custom-link ((t (:inherit 'link))))
47 '(match ((t (:bold t :background "#e9b96e" :foreground "#2e3436"))))
48 '(tool-tips ((t (:inherit 'variable-pitch :foreground "black" :background "lightyellow"))))
49 '(tooltip ((t (:inherit 'variable-pitch :foreground "black" :background "lightyellow"))))
50 '(bold ((t (:bold t :underline nil :background nil))))
51 '(italic ((t (:italic t :underline nil :background nil))))
52 '(font-lock-builtin-face ((t (:foreground "#0055ff"))))
53 '(font-lock-comment-face ((t (:foreground "#888a85" :bold nil :italic t))))
54 '(font-lock-constant-face ((t (:foreground "#fff900"))))
55 '(font-lock-doc-face ((t (:foreground "#777700" :bold t :italic t))))
56 '(font-lock-keyword-face ((t (:foreground "#3cff00" :bold t))))
57 '(font-lock-string-face ((t (:foreground "#ff0077" :italic nil :bold nil))))
58 '(font-lock-type-face ((t (:foreground "#deff00" :bold t))))
59 '(font-lock-variable-name-face ((t (:foreground "#5500ff" :bold t))))
60 '(font-lock-warning-face ((t (:bold t :foreground "#ff0000"))))
61 '(font-lock-function-name-face ((t (:foreground "#ffee00" :bold t))))
62 '(comint-highlight-input ((t (:italic t :bold t))))
63 '(comint-highlight-prompt ((t (:foreground "#8ae234"))))
64 '(diff-header ((t (:background "gray30"))))
65 '(diff-index ((t (:foreground "#edd400" :bold t))))
66 '(diff-file-header ((t (:foreground "#eeeeec" :bold t))))
67 '(diff-hunk-header ((t (:foreground "#edd400"))))
68 '(diff-added ((t (:background "default" :foreground "#00ff00" :weight normal))))
69 '(diff-removed ((t (:background "default" :foreground "#ff0000" :weight normal))))
70 '(diff-context ((t (:foreground "#888a85"))))
71 '(diff-refine-change ((t (:bold t :background "gray30"))))
72 '(isearch ((t (:background "#f57900" :foreground "#2e3436"))))
73 '(isearch-lazy-highlight-face ((t (:foreground "#2e3436" :background "#e9b96e"))))
74 '(show-paren-match-face ((t (:foreground "#2e3436" :background "#73d216"))))
75 '(show-paren-mismatch-face ((t (:background "#999999" :foreground "#2e3436"))))
76 '(info-xref ((t (:foreground "#729fcf"))))
77 '(info-xref-visited ((t (:foreground "#999999"))))
78 '(diary-face ((t (:bold t :foreground "IndianRed"))))
79 '(message-cited-text ((t (:foreground "#ffc800"))))
80 '(gnus-cite-1 ((t (:foreground "#999999"))))
81 '(gnus-cite-2 ((t (:foreground "#cba559"))))
82 '(gnus-cite-3 ((t (:foreground "#83ae92"))))
83 '(gnus-cite-4 ((t (:foreground "#6898a7"))))
84 '(gnus-cite-face-1 ((t (:foreground "#999999"))))
85 '(gnus-cite-face-2 ((t (:foreground "#cba559"))))
86 '(gnus-cite-face-3 ((t (:foreground "#83ae92"))))
87 '(gnus-cite-face-4 ((t (:foreground "#6898a7"))))
88 '(gnus-group-mail-1-empty ((t (:foreground "light cyan"))))
89 '(gnus-group-mail-1 ((t (:bold t :foreground "light cyan"))))
90 '(gnus-group-mail-2-empty ((t (:foreground "turquoise"))))
91 '(gnus-group-mail-2 ((t (:bold t :foreground "turquoise"))))
92 '(gnus-group-mail-3-empty ((t (:foreground "#729fcf"))))
93 '(gnus-group-mail-3 ((t (:bold t :foreground "#ffc800"))))
94 '(gnus-group-mail-low-empty ((t (:foreground "#005fff"))))
95 '(gnus-group-mail-low ((t (:bold t :foreground "#005fff"))))
96 '(gnus-group-news-1-empty ((t (:foreground "light cyan"))))
97 '(gnus-group-news-1 ((t (:bold t :foreground "light cyan"))))
98 '(gnus-group-news-2-empty ((t (:foreground "turquoise"))))
99 '(gnus-group-news-2 ((t (:bold t :foreground "turquoise"))))
100 '(gnus-group-news-3-empty ((t (:foreground "#729fcf"))))
101 '(gnus-group-news-3 ((t (:bold t :foreground "#ffc800"))))
102 '(gnus-group-news-low-empty ((t (:foreground "#005fff"))))
103 '(gnus-group-news-low ((t (:bold t :foreground "#005fff"))))
104 '(gnus-header-name ((t (:bold t :foreground "#729fcf"))))
105 '(gnus-header-from ((t (:bold t :foreground "#ffc800"))))
106 '(gnus-header-subject ((t (:foreground "#ffc800"))))
107 '(gnus-header-content ((t (:italic t :foreground "#8ae234"))))
108 '(gnus-header-newsgroups ((t (:italic t :bold t :foreground "LightSkyBlue3"))))
109 '(gnus-signature ((t (:italic t :foreground "dark grey"))))
110 '(gnus-summary-cancelled ((t (:background "black" :foreground "yellow"))))
111 '(gnus-summary-high-ancient ((t (:bold t :foreground "rotal blue"))))
112 '(gnus-summary-high-read ((t (:bold t :foreground "lime green"))))
113 '(gnus-summary-high-ticked ((t (:bold t :foreground "#f68585"))))
114 '(gnus-summary-high-unread ((t (:bold t :foreground "white"))))
115 '(gnus-summary-low-ancient ((t (:italic t :foreground "lime green"))))
116 '(gnus-summary-low-read ((t (:italic t :foreground "royal blue"))))
117 '(gnus-summary-low-ticked ((t (:italic t :foreground "dark red"))))
118 '(gnus-summary-low-unread ((t (:italic t :foreground "white"))))
119 '(gnus-summary-normal-ancient ((t (:foreground "royal blue"))))
120 '(gnus-summary-normal-read ((t (:foreground "lime green"))))
121 '(gnus-summary-normal-ticked ((t (:foreground "indian red"))))
122 '(gnus-summary-normal-unread ((t (:foreground "white"))))
123 '(gnus-summary-selected ((t (:background "brown4" :foreground "white"))))
124 '(message-header-name ((t (:foreground "#f68585"))))
125 '(message-header-newsgroups ((t (:italic t :bold t :foreground "LightSkyBlue3"))))
126 '(message-header-other ((t (:foreground "LightSkyBlue3"))))
127 '(message-header-xheader ((t (:foreground "DodgerBlue3"))))
128 '(message-header-subject ((t (:foreground "white"))))
129 '(message-header-to ((t (:foreground "white"))))
130 '(message-header-cc ((t (:foreground "white"))))
131 '(org-hide ((t (:foreground "#2e3436"))))
132 '(org-level-1 ((t (:bold t :foreground "#005fff" :height 1.5))))
133 '(org-level-2 ((t (:bold nil :foreground "#ffc800" :height 1.2))))
134 '(org-level-3 ((t (:bold t :foreground "#6ac214" :height 1.0))))
135 '(org-level-4 ((t (:bold nil :foreground "#f68585" :height 1.0))))
136 '(org-date ((t (:underline t :foreground "magenta3"))))
137 '(org-footnote ((t (:underline t :foreground "magenta3"))))
138 '(org-link ((t (:foreground "skyblue2" :background "#2e3436"))))
139 '(org-special-keyword ((t (:foreground "brown"))))
140 '(org-verbatim ((t (:foreground "#eeeeec" :underline t :slant italic))))
141 '(org-block ((t (:foreground "#bbbbbc"))))
142 '(org-quote ((t (:inherit org-block :slant italic))))
143 '(org-verse ((t (:inherit org-block :slant italic))))
144 '(org-todo ((t (:bold t :foreground "Red"))))
145 '(org-done ((t (:bold t :foreground "ForestGreen"))))
146 '(org-agenda-structure ((t (:weight bold :foreground "#f68585"))))
147 '(org-agenda-date ((t (:foreground "#6ac214"))))
148 '(org-agenda-date-weekend ((t (:weight normal :foreground "#005fff"))))
149 '(org-agenda-date-today ((t (:weight bold :foreground "#ffc800"))))
150 '(org-block-begin-line ((t (:foreground "#888a85" :background "#252b2b"))))
151 '(org-block-background ((t (:background "#252b2b"))))
152 '(org-block-end-line ((t (:foreground "#888a85" :background "#252b2b"))))
153 '(org-document-title ((t (:weight bold :foreground "#0077cc"))))
154 '(org-document-info ((t (:weight normal :foreground "#0077cc"))))
155 '(magit-header ((t (:foreground "#ffc800"))))
156 '(magit-diff-add ((t (:foreground "#00ff00"))))
157 '(magit-diff-del ((t (:foreground "#ff0000"))))
158 '(magit-item-highlight ((t (:background "#111111" :slant normal :weight extra-bold :inverse-video nil))))
159 '(minibuffer-prompt ((t (:foreground "#0055ff" :bold t))))
160 '(web-mode-html-tag-bracket-face ((t (:foreground "#666666"))))
161 )
162 (custom-theme-set-variables
163 'ahungry
164 '(red "#ffffff"))
165 )
166
167 (provide-theme 'ahungry)