declare smobs in alloc.c
[bpt/emacs.git] / etc / themes / wheatgrass-theme.el
CommitLineData
2919746c
CY
1;;; wheatgrass-theme.el --- custom theme for faces
2
ba318903 3;; Copyright (C) 2010-2014 Free Software Foundation, Inc.
2919746c
CY
4
5;; This file is part of GNU Emacs.
6
7;; GNU Emacs is free software: you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation, either version 3 of the License, or
10;; (at your option) any later version.
11
12;; GNU Emacs is distributed in the hope that it will be useful,
13;; but WITHOUT ANY WARRANTY; without even the implied warranty of
14;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15;; GNU General Public License for more details.
16
17;; You should have received a copy of the GNU General Public License
18;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
19
20;;; Code:
21
22(deftheme wheatgrass
c5dd5a51 23 "High-contrast green/blue/brown faces on a black background.
aa2d499c
CY
24Basic, Font Lock, Isearch, Gnus, and Message faces are included.
25The default face foreground is wheat, with other faces in shades
26of green, brown, and blue.")
2919746c 27
aa2d499c
CY
28(let ((class '((class color) (min-colors 89))))
29 (custom-theme-set-faces
30 'wheatgrass
31 `(default ((,class (:foreground "wheat" :background "black"))))
08b0fee8 32 `(cursor ((,class (:background "thistle"))))
5226c7c0
CY
33 `(error ((,class (:foreground "salmon1"))))
34 `(warning ((,class (:foreground "orange"))))
35 `(success ((,class (:foreground "yellow green"))))
5205d6f6
CY
36 ;; Compilation faces
37 `(compilation-mode-line-fail ((,class (:foreground "dark green"))))
38 `(compilation-mode-line-run ((,class (:foreground "dark goldenrod"))))
39 `(compilation-mode-line-exit ((,class (:foreground "SpringGreen4"))))
aa2d499c
CY
40 ;; Highlighting faces
41 `(highlight ((,class (:foreground "white" :background "dark green"))))
42 `(region ((,class (:foreground "white" :background "dark green"))))
43 `(secondary-selection ((,class (:background "dark slate gray"))))
44 `(isearch ((,class (:foreground "white" :background "dark goldenrod"))))
45 `(lazy-highlight ((,class (:background "gray25"))))
46 ;; Font lock faces
47 `(font-lock-builtin-face ((,class (:foreground "LightSteelBlue"))))
48 `(font-lock-comment-face ((,class (:foreground "SpringGreen3"))))
49 `(font-lock-constant-face ((,class (:foreground "turquoise"))))
50 `(font-lock-function-name-face ((,class (:foreground "pale green"))))
51 `(font-lock-keyword-face ((,class (:foreground "white"))))
52 `(font-lock-string-face ((,class (:foreground "dark khaki"))))
53 `(font-lock-type-face ((,class (:foreground "aquamarine"))))
54 `(font-lock-variable-name-face ((,class (:foreground "yellow green"))))
aa2d499c 55 ;; Button and link faces
aa2d499c
CY
56 `(link ((,class (:underline t :foreground "cyan"))))
57 `(link-visited ((,class (:underline t :foreground "dark cyan"))))
58 ;; Gnus faces
59 `(gnus-header-content ((,class (:weight normal :foreground "yellow green"))))
60 `(gnus-header-from ((,class (:foreground "pale green"))))
61 `(gnus-header-subject ((,class (:foreground "pale turquoise"))))
62 `(gnus-header-name ((,class (:foreground "dark sea green"))))
63 `(gnus-header-newsgroups ((,class (:foreground "dark khaki"))))
64 ;; Message faces
65 `(message-header-name ((,class (:foreground "dark turquoise"))))
66 `(message-header-cc ((,class (:foreground "yellow green"))))
67 `(message-header-other ((,class (:foreground "dark khaki"))))
68 `(message-header-subject ((,class (:foreground "pale turquoise"))))
69 `(message-header-to ((,class (:foreground "pale green"))))
70 `(message-cited-text ((,class (:foreground "SpringGreen3"))))
71 `(message-separator ((,class (:foreground "deep sky blue"))))))
2919746c
CY
72
73(provide-theme 'wheatgrass)
74
75;; Local Variables:
76;; no-byte-compile: t
77;; End:
78
79;;; wheatgrass-theme.el ends here