]> code.delx.au - gnu-emacs-elpa/blob - color-theme-ahungry.el
Update color-theme file
[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, 2014, 2015 Matthew Carter
5
6 ;;; License:
7
8 ;; This program is free software: you can redistribute it and/or modify
9 ;; it under the terms of the GNU General Public License as published by
10 ;; the Free Software Foundation, either version 3 of the License, or
11 ;; (at your option) any later version.
12 ;;
13 ;; This program is distributed in the hope that it will be useful,
14 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
15 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 ;; GNU General Public License for more details.
17 ;;
18 ;; You should have received a copy of the GNU General Public License
19 ;; along with this program. If not, see <http://www.gnu.org/licenses/>.
20
21 ;; Author: Matthew Carter <m@ahungry.com>
22 ;; Keywords: ahungry palette color theme emacs color-theme
23 ;; URL: https://github.com/ahungry/color-theme-ahungry
24 ;; Version: 1.0.2
25 ;; Package-Requires: ((color-theme "6.6.1"))
26
27 ;;; Commentary:
28
29 ;; Bright and bold color theme for GNU Emacs.
30
31 ;; If you load it from a terminal, you will be able to make use of the
32 ;; transparent background. If you load it from a GUI, it will default
33 ;; to a dark background.
34
35 ;;; Code:
36
37 (eval-when-compile
38 (require 'color-theme))
39
40 ;; Currently background-color and foreground-color are intentionally left
41 ;; commented out, so that the color-theme in terminal mode will not overwrite
42 ;; a transparent background, while still remaining usable in GUI mode
43 (defun color-theme-ahungry ()
44 "A color theme to my personal liking."
45 (interactive)
46 (color-theme-install
47 '(color-theme-ahungry
48 (;;(background-color . (if (display-graphic-p) "#2e3434" "default")) ; If -nw mode use transparent bg
49 (background-mode . light)
50 (border-color . "#888a85")
51 (cursor-color . "#ffffff")
52 ;;(foreground-color . "#ffffff")
53 (mouse-color . "#8ae234"))
54 (cursor ((t (:background "#fce94f" :foreground "#ffffff"))))
55 (highlight ((t (:background "brown4" :foreground nil))))
56 (border ((t (:background "#888a85"))))
57 (fringe ((t (:background "#333333"))))
58 (mode-line ((t (:foreground "#0022ff" :bold t :background "#77ff00"
59 :box (:line-width 1 :color nil :style released-button)))))
60 (mode-line-inactive ((t (:foreground "#444444" :background "#66ff33"))))
61 (mode-line-buffer-id ((t (:bold t :foreground "#ffffff" :background "#0055ff"))))
62 (region ((t (:background "#444444"))))
63 (link ((t (:underline t :foreground "#33ff99"))))
64 (custom-link ((t (:inherit 'link))))
65 (match ((t (:bold t :background "#e9b96e" :foreground "#2e3436"))))
66 (tool-tips ((t (:inherit 'variable-pitch :foreground "black" :background "#ffff33"))))
67 (tooltip ((t (:inherit 'variable-pitch :foreground "black" :background "#ffff33"))))
68 (bold ((t (:bold t :underline nil :background nil))))
69 (italic ((t (:italic t :underline nil :background nil))))
70 (font-lock-builtin-face ((t (:foreground "#0055ff"))))
71 (font-lock-comment-face ((t (:foreground "#888a85" :bold nil :italic t))))
72 (font-lock-constant-face ((t (:foreground "#fff900"))))
73 (font-lock-doc-face ((t (:foreground "#777700" :bold t :italic t))))
74 (font-lock-keyword-face ((t (:foreground "#3cff00" :bold t))))
75 (font-lock-string-face ((t (:foreground "#ff0077" :italic nil :bold nil))))
76 (font-lock-type-face ((t (:foreground "#deff00" :bold t))))
77 (font-lock-variable-name-face ((t (:foreground "#5500ff" :bold t))))
78 (font-lock-warning-face ((t (:bold t :foreground "#ff0000"))))
79 (font-lock-function-name-face ((t (:foreground "#ffee00" :bold t))))
80 (comint-highlight-input ((t (:italic t :bold t))))
81 (comint-highlight-prompt ((t (:foreground "#33cc33"))))
82 (diff-header ((t (:background "#444444"))))
83 (diff-index ((t (:foreground "#ffff00" :bold t))))
84 (diff-file-header ((t (:foreground "#aaaaaa" :bold t))))
85 (diff-hunk-header ((t (:foreground "#ffff00"))))
86 (diff-added ((t (:background "default" :foreground "#00ff00" :weight normal))))
87 (diff-removed ((t (:background "default" :foreground "#ff0000" :weight normal))))
88 (diff-context ((t (:foreground "#777777"))))
89 (diff-refine-change ((t (:bold t :background "#444444"))))
90 (isearch ((t (:background "#ff6600" :foreground "#333333"))))
91 (isearch-lazy-highlight-face ((t (:foreground "#2e3436" :background "#ff6600"))))
92 (show-paren-match-face ((t (:background "#ff6600" :foreground "#2e3436"))))
93 (show-paren-mismatch-face ((t (:background "#999999" :foreground "#ff6600"))))
94 (info-xref ((t (:foreground "#33ffbb"))))
95 (info-xref-visited ((t (:foreground "#999999"))))
96 (diary ((t (:bold t :foreground "#ff0000"))))
97 (message-cited-text ((t (:foreground "#ffc800"))))
98 (gnus-cite-1 ((t (:foreground "#999999"))))
99 (gnus-cite-2 ((t (:foreground "#cba559"))))
100 (gnus-cite-3 ((t (:foreground "#83ae92"))))
101 (gnus-cite-4 ((t (:foreground "#6898a7"))))
102 (gnus-cite-face-1 ((t (:foreground "#999999"))))
103 (gnus-cite-face-2 ((t (:foreground "#cba559"))))
104 (gnus-cite-face-3 ((t (:foreground "#83ae92"))))
105 (gnus-cite-face-4 ((t (:foreground "#6898a7"))))
106 (gnus-group-mail-1-empty ((t (:foreground "#00bbff"))))
107 (gnus-group-mail-1 ((t (:bold t :foreground "#00bbff"))))
108 (gnus-group-mail-2-empty ((t (:foreground "#00ffbb"))))
109 (gnus-group-mail-2 ((t (:bold t :foreground "#00ffbb"))))
110 (gnus-group-mail-3-empty ((t (:foreground "#33ffbb"))))
111 (gnus-group-mail-3 ((t (:bold t :foreground "#ffc800"))))
112 (gnus-group-mail-low-empty ((t (:foreground "#005fff"))))
113 (gnus-group-mail-low ((t (:bold t :foreground "#005fff"))))
114 (gnus-group-news-1-empty ((t (:foreground "#00bbff"))))
115 (gnus-group-news-1 ((t (:bold t :foreground "#00bbff"))))
116 (gnus-group-news-2-empty ((t (:foreground "#00ffbb"))))
117 (gnus-group-news-2 ((t (:bold t :foreground "#00ffbb"))))
118 (gnus-group-news-3-empty ((t (:foreground "#33ffbb"))))
119 (gnus-group-news-3 ((t (:bold t :foreground "#ffc800"))))
120 (gnus-group-news-low-empty ((t (:foreground "#005fff"))))
121 (gnus-group-news-low ((t (:bold t :foreground "#005fff"))))
122 (gnus-header-name ((t (:bold t :foreground "#33ffbb"))))
123 (gnus-header-from ((t (:bold t :foreground "#ffc800"))))
124 (gnus-header-subject ((t (:foreground "#ffc800"))))
125 (gnus-header-content ((t (:italic t :foreground "#33cc33"))))
126 (gnus-header-newsgroups ((t (:italic t :bold t :foreground "#0088ff"))))
127 (gnus-signature ((t (:italic t :foreground "#666666"))))
128 (gnus-summary-cancelled ((t (:background "#222222" :foreground "#ffff00"))))
129 (gnus-summary-high-ancient ((t (:bold t :foreground "#0099ff"))))
130 (gnus-summary-high-read ((t (:bold t :foreground "#33ff99"))))
131 (gnus-summary-high-ticked ((t (:bold t :foreground "#f68585"))))
132 (gnus-summary-high-unread ((t (:bold t :foreground "#ffffff"))))
133 (gnus-summary-low-ancient ((t (:italic t :foreground "#33ff99"))))
134 (gnus-summary-low-read ((t (:italic t :foreground "#0099ff"))))
135 (gnus-summary-low-ticked ((t (:italic t :foreground "#ff3333"))))
136 (gnus-summary-low-unread ((t (:italic t :foreground "#ffffff"))))
137 (gnus-summary-normal-ancient ((t (:foreground "#0099ff"))))
138 (gnus-summary-normal-read ((t (:foreground "#33ff99"))))
139 (gnus-summary-normal-ticked ((t (:foreground "#ff0000"))))
140 (gnus-summary-normal-unread ((t (:foreground "#ffffff"))))
141 (gnus-summary-selected ((t (:background "brown4" :foreground "#ffffff"))))
142 (message-header-name ((t (:foreground "#f68585"))))
143 (message-header-newsgroups ((t (:italic t :bold t :foreground "#0088ff"))))
144 (message-header-other ((t (:foreground "#0088ff"))))
145 (message-header-xheader ((t (:foreground "#0088ff"))))
146 (message-header-subject ((t (:foreground "#ffffff"))))
147 (message-header-to ((t (:foreground "#ffffff"))))
148 (message-header-cc ((t (:foreground "#ffffff"))))
149 (org-hide ((t (:foreground "#009933"))))
150 (org-level-1 ((t (:bold t :foreground "#4477ff" :height 1.5))))
151 (org-level-2 ((t (:bold nil :foreground "#ffc800" :height 1.2))))
152 (org-level-3 ((t (:bold t :foreground "#00aa33" :height 1.0))))
153 (org-level-4 ((t (:bold nil :foreground "#f68585" :height 1.0))))
154 (org-date ((t (:underline t :foreground "#ff0066"))))
155 (org-footnote ((t (:underline t :foreground "#ff0066"))))
156 (org-link ((t (:foreground "skyblue2" :background "#2e3436"))))
157 (org-special-keyword ((t (:foreground "#cc0033"))))
158 (org-verbatim ((t (:foreground "#cc6600" :underline t :slant italic))))
159 (org-block ((t (:foreground "#999999"))))
160 (org-quote ((t (:inherit org-block :bold t :slant italic))))
161 (org-verse ((t (:inherit org-block :bold t :slant italic))))
162 (org-todo ((t (:bold t :foreground "#ff0099"))))
163 (org-done ((t (:bold t :foreground "#00cc33"))))
164 (org-agenda-structure ((t (:weight bold :foreground "#f68585"))))
165 (org-agenda-date ((t (:foreground "#00ff55"))))
166 (org-agenda-date-weekend ((t (:weight normal :foreground "#005fff"))))
167 (org-agenda-date-today ((t (:weight bold :foreground "#ffc800"))))
168 (org-agenda-done ((t (:weight normal :foreground "#00aa33"))))
169 (org-block-begin-line ((t (:foreground "#bbbbbb" :background "#330066"))))
170 (org-block-background ((t (:background "#003366"))))
171 (org-block-end-line ((t (:foreground "#bbbbbb" :background "#330066"))))
172 (org-document-title ((t (:weight bold :foreground "#0077cc"))))
173 (org-document-info ((t (:weight normal :foreground "#0077cc"))))
174 (org-warning ((t (:weight normal :foreground "#ee0033"))))
175 (magit-header ((t (:foreground "#ffc800"))))
176 (magit-diff-add ((t (:foreground "#00ff00"))))
177 (magit-diff-del ((t (:foreground "#ff0000"))))
178 (magit-item-highlight ((t (:background "#111111" :slant normal :weight extra-bold :inverse-video nil))))
179 (minibuffer-prompt ((t (:foreground "#0055ff" :bold t))))
180 (web-mode-html-tag-bracket-face ((t (:foreground "#666666"))))
181 )))
182
183 (provide 'color-theme-ahungry)
184
185 ;;; color-theme-ahungry.el ends here