]> code.delx.au - gnu-emacs-elpa/blob - color-theme-ahungry.el
Change license from AGPLv3 to GPLv3, fix diff colors
[gnu-emacs-elpa] / color-theme-ahungry.el
1 ;; color-theme-ahungry.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
21 ;; URL: https://github.com/ahungry/color-theme-ahungry
22 ;; Version: 1.0.0
23 ;; Package-Requires: ((color-theme "6.6.1"))
24
25 ;; This file is NOT part of GNU Emacs.
26
27 ;; color theme (requires http://www.emacswiki.org/cgi-bin/wiki?ColorTheme )
28 (eval-when-compile
29 (require 'color-theme))
30
31 ;; Currently background-color and foreground-color are intentionally left
32 ;; commented out, so that the color-theme in terminal mode will not overwrite
33 ;; a transparent background, while still remaining usable in GUI mode
34 (defun color-theme-ahungry ()
35 "A color theme to my personal liking"
36 (interactive)
37 (color-theme-install
38 '(color-theme-ahungry
39 (;;(background-color . (if (display-graphic-p) "#2e3434" "default")) ; If -nw mode use transparent bg
40 (background-mode . light)
41 (border-color . "#888a85")
42 (cursor-color . "#ffffff")
43 ;;(foreground-color . "#ffffff")
44 (mouse-color . "#8ae234"))
45 (cursor ((t (:background "#fce94f" :foreground "#ffffff"))))
46 (highlight ((t (:background "brown4" :foreground nil))))
47 (border ((t (:background "#888a85"))))
48 (fringe ((t (:background "grey10"))))
49 (mode-line ((t (:foreground "#0022ff" :bold t :background "#77ff00"
50 :box (:line-width 1 :color nil :style released-button)))))
51 (mode-line-inactive ((t (:foreground "#444444" :background "#66ff33"))))
52 (mode-line-buffer-id ((t (:bold t :foreground "#ffffff" :background "#0055ff"))))
53 (region ((t (:background "#444444"))))
54 (link ((t (:underline t :foreground "lime"))))
55 (custom-link ((t (:inherit 'link))))
56 (match ((t (:bold t :background "#e9b96e" :foreground "#2e3436"))))
57 (tool-tips ((t (:inherit 'variable-pitch :foreground "black" :background "lightyellow"))))
58 (tooltip ((t (:inherit 'variable-pitch :foreground "black" :background "lightyellow"))))
59 (bold ((t (:bold t :underline nil :background nil))))
60 (italic ((t (:italic t :underline nil :background nil))))
61 (font-lock-builtin-face ((t (:foreground "#0055ff"))))
62 (font-lock-comment-face ((t (:foreground "#888a85" :bold nil :italic t))))
63 (font-lock-constant-face ((t (:foreground "#fff900"))))
64 (font-lock-doc-face ((t (:foreground "#777700" :bold t :italic t))))
65 (font-lock-keyword-face ((t (:foreground "#3cff00" :bold t))))
66 (font-lock-string-face ((t (:foreground "#ff0077" :italic nil :bold nil))))
67 (font-lock-type-face ((t (:foreground "#deff00" :bold t))))
68 (font-lock-variable-name-face ((t (:foreground "#5500ff" :bold t))))
69 (font-lock-warning-face ((t (:bold t :foreground "#ff0000"))))
70 (font-lock-function-name-face ((t (:foreground "#ffee00" :bold t))))
71 (comint-highlight-input ((t (:italic t :bold t))))
72 (comint-highlight-prompt ((t (:foreground "#8ae234"))))
73 (diff-header ((t (:background "gray30"))))
74 (diff-index ((t (:foreground "#edd400" :bold t))))
75 (diff-file-header ((t (:foreground "#eeeeec" :bold t))))
76 (diff-hunk-header ((t (:foreground "#edd400"))))
77 (diff-added ((t (:background "default" :foreground "#00ff00" :weight normal))))
78 (diff-removed ((t (:background "default" :foreground "#ff0000" :weight normal))))
79 (diff-context ((t (:foreground "#888a85"))))
80 (diff-refine-change ((t (:bold t :background "gray30"))))
81 (isearch ((t (:background "#f57900" :foreground "#2e3436"))))
82 (isearch-lazy-highlight-face ((t (:foreground "#2e3436" :background "#e9b96e"))))
83 (show-paren-match-face ((t (:foreground "#2e3436" :background "#73d216"))))
84 (show-paren-mismatch-face ((t (:background "#999999" :foreground "#2e3436"))))
85 (info-xref ((t (:foreground "#729fcf"))))
86 (info-xref-visited ((t (:foreground "#999999"))))
87 (diary-face ((t (:bold t :foreground "IndianRed"))))
88 (message-cited-text ((t (:foreground "#ffc800"))))
89 (gnus-cite-1 ((t (:foreground "#999999"))))
90 (gnus-cite-2 ((t (:foreground "#cba559"))))
91 (gnus-cite-3 ((t (:foreground "#83ae92"))))
92 (gnus-cite-4 ((t (:foreground "#6898a7"))))
93 (gnus-cite-face-1 ((t (:foreground "#999999"))))
94 (gnus-cite-face-2 ((t (:foreground "#cba559"))))
95 (gnus-cite-face-3 ((t (:foreground "#83ae92"))))
96 (gnus-cite-face-4 ((t (:foreground "#6898a7"))))
97 (gnus-group-mail-1-empty ((t (:foreground "light cyan"))))
98 (gnus-group-mail-1 ((t (:bold t :foreground "light cyan"))))
99 (gnus-group-mail-2-empty ((t (:foreground "turquoise"))))
100 (gnus-group-mail-2 ((t (:bold t :foreground "turquoise"))))
101 (gnus-group-mail-3-empty ((t (:foreground "#729fcf"))))
102 (gnus-group-mail-3 ((t (:bold t :foreground "#ffc800"))))
103 (gnus-group-mail-low-empty ((t (:foreground "#005fff"))))
104 (gnus-group-mail-low ((t (:bold t :foreground "#005fff"))))
105 (gnus-group-news-1-empty ((t (:foreground "light cyan"))))
106 (gnus-group-news-1 ((t (:bold t :foreground "light cyan"))))
107 (gnus-group-news-2-empty ((t (:foreground "turquoise"))))
108 (gnus-group-news-2 ((t (:bold t :foreground "turquoise"))))
109 (gnus-group-news-3-empty ((t (:foreground "#729fcf"))))
110 (gnus-group-news-3 ((t (:bold t :foreground "#ffc800"))))
111 (gnus-group-news-low-empty ((t (:foreground "#005fff"))))
112 (gnus-group-news-low ((t (:bold t :foreground "#005fff"))))
113 (gnus-header-name ((t (:bold t :foreground "#729fcf"))))
114 (gnus-header-from ((t (:bold t :foreground "#ffc800"))))
115 (gnus-header-subject ((t (:foreground "#ffc800"))))
116 (gnus-header-content ((t (:italic t :foreground "#8ae234"))))
117 (gnus-header-newsgroups ((t (:italic t :bold t :foreground "LightSkyBlue3"))))
118 (gnus-signature ((t (:italic t :foreground "dark grey"))))
119 (gnus-summary-cancelled ((t (:background "black" :foreground "yellow"))))
120 (gnus-summary-high-ancient ((t (:bold t :foreground "rotal blue"))))
121 (gnus-summary-high-read ((t (:bold t :foreground "lime green"))))
122 (gnus-summary-high-ticked ((t (:bold t :foreground "#f68585"))))
123 (gnus-summary-high-unread ((t (:bold t :foreground "white"))))
124 (gnus-summary-low-ancient ((t (:italic t :foreground "lime green"))))
125 (gnus-summary-low-read ((t (:italic t :foreground "royal blue"))))
126 (gnus-summary-low-ticked ((t (:italic t :foreground "dark red"))))
127 (gnus-summary-low-unread ((t (:italic t :foreground "white"))))
128 (gnus-summary-normal-ancient ((t (:foreground "royal blue"))))
129 (gnus-summary-normal-read ((t (:foreground "lime green"))))
130 (gnus-summary-normal-ticked ((t (:foreground "indian red"))))
131 (gnus-summary-normal-unread ((t (:foreground "white"))))
132 (gnus-summary-selected ((t (:background "brown4" :foreground "white"))))
133 (message-header-name ((t (:foreground "#f68585"))))
134 (message-header-newsgroups ((t (:italic t :bold t :foreground "LightSkyBlue3"))))
135 (message-header-other ((t (:foreground "LightSkyBlue3"))))
136 (message-header-xheader ((t (:foreground "DodgerBlue3"))))
137 (message-header-subject ((t (:foreground "white"))))
138 (message-header-to ((t (:foreground "white"))))
139 (message-header-cc ((t (:foreground "white"))))
140 (org-hide ((t (:foreground "#2e3436"))))
141 (org-level-1 ((t (:bold t :foreground "#005fff" :height 1.5))))
142 (org-level-2 ((t (:bold nil :foreground "#ffc800" :height 1.2))))
143 (org-level-3 ((t (:bold t :foreground "#6ac214" :height 1.0))))
144 (org-level-4 ((t (:bold nil :foreground "#f68585" :height 1.0))))
145 (org-date ((t (:underline t :foreground "magenta3"))))
146 (org-footnote ((t (:underline t :foreground "magenta3"))))
147 (org-link ((t (:foreground "skyblue2" :background "#2e3436"))))
148 (org-special-keyword ((t (:foreground "brown"))))
149 (org-verbatim ((t (:foreground "#eeeeec" :underline t :slant italic))))
150 (org-block ((t (:foreground "#bbbbbc"))))
151 (org-quote ((t (:inherit org-block :slant italic))))
152 (org-verse ((t (:inherit org-block :slant italic))))
153 (org-todo ((t (:bold t :foreground "Red"))))
154 (org-done ((t (:bold t :foreground "ForestGreen"))))
155 (org-agenda-structure ((t (:weight bold :foreground "#f68585"))))
156 (org-agenda-date ((t (:foreground "#6ac214"))))
157 (org-agenda-date-weekend ((t (:weight normal :foreground "#005fff"))))
158 (org-agenda-date-today ((t (:weight bold :foreground "#ffc800"))))
159 (org-block-begin-line ((t (:foreground "#888a85" :background "#252b2b"))))
160 (org-block-background ((t (:background "#252b2b"))))
161 (org-block-end-line ((t (:foreground "#888a85" :background "#252b2b"))))
162 (org-document-title ((t (:weight bold :foreground "#0077cc"))))
163 (org-document-info ((t (:weight normal :foreground "#0077cc"))))
164 (magit-header ((t (:foreground "#ffc800"))))
165 (magit-diff-add ((t (:foreground "#00ff00"))))
166 (magit-diff-del ((t (:foreground "#ff0000"))))
167 (magit-item-highlight ((t (:background "#111111" :slant normal :weight extra-bold :inverse-video nil))))
168 (minibuffer-prompt ((t (:foreground "#0055ff" :bold t))))
169 (web-mode-html-tag-bracket-face ((t (:foreground "#666666"))))
170 )))
171
172 (provide 'color-theme-ahungry)
173
174 ;;; color-theme-ahungry.el ends here