* net/dbus.el (dbus-call-method): Use timeout for `read-event'.
[emacs.git] / etc / themes / wheatgrass-theme.el
blob423605e4bbdb779cb9b739ef3f9947dcef671ff2
1 ;;; wheatgrass-theme.el --- custom theme for faces
3 ;; Copyright (C) 2010-2012 Free Software Foundation, Inc.
5 ;; This file is part of GNU Emacs.
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.
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.
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/>.
20 ;;; Code:
22 (deftheme wheatgrass
23 "High-contrast green/blue/brown faces on a black background.
24 Basic, Font Lock, Isearch, Gnus, and Message faces are included.
25 The default face foreground is wheat, with other faces in shades
26 of green, brown, and blue.")
28 (let ((class '((class color) (min-colors 89))))
29 (custom-theme-set-faces
30 'wheatgrass
31 `(default ((,class (:foreground "wheat" :background "black"))))
32 `(cursor ((,class (:background "thistle"))))
33 `(error ((,class (:foreground "salmon1"))))
34 `(warning ((,class (:foreground "orange"))))
35 `(success ((,class (:foreground "yellow green"))))
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"))))
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"))))
55 ;; Button and link faces
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"))))))
73 (provide-theme 'wheatgrass)
75 ;; Local Variables:
76 ;; no-byte-compile: t
77 ;; End:
79 ;;; wheatgrass-theme.el ends here