aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorChong Yidong2011-02-01 22:36:29 -0500
committerChong Yidong2011-02-01 22:36:29 -0500
commitaa2d499cd626a2e2f6e131cbbf8127c34c77a8d9 (patch)
treed3ccd89e0917679c921386defd56bccd132e9385 /etc
parent39cde66c5e6c226586187fe13d91fd2c65eb4649 (diff)
downloademacs-aa2d499cd626a2e2f6e131cbbf8127c34c77a8d9.tar.gz
emacs-aa2d499cd626a2e2f6e131cbbf8127c34c77a8d9.zip
etc/themes/wheatgrass-theme.el: Apply min-colors setting to face definitions.
Diffstat (limited to 'etc')
-rw-r--r--etc/themes/wheatgrass-theme.el78
1 files changed, 43 insertions, 35 deletions
diff --git a/etc/themes/wheatgrass-theme.el b/etc/themes/wheatgrass-theme.el
index 0b22fd25d53..7fd241c5057 100644
--- a/etc/themes/wheatgrass-theme.el
+++ b/etc/themes/wheatgrass-theme.el
@@ -20,42 +20,50 @@
20;;; Code: 20;;; Code:
21 21
22(deftheme wheatgrass 22(deftheme wheatgrass
23 "Theme for basic, Font Lock, Isearch, Gnus, and Message faces. 23 "A high-contrast theme with a black background.
24The default face is wheat on a black background. Other faces 24Basic, Font Lock, Isearch, Gnus, and Message faces are included.
25are in shades of green, brown, and blue.") 25The default face foreground is wheat, with other faces in shades
26of green, brown, and blue.")
26 27
27(custom-theme-set-faces 28(let ((class '((class color) (min-colors 89))))
28 'wheatgrass 29 (custom-theme-set-faces
29 '(default ((t (:foreground "wheat" :background "black")))) 30 'wheatgrass
30 '(cursor ((t (:foreground "black" :background "thistle")))) 31 `(default ((,class (:foreground "wheat" :background "black"))))
31 '(highlight ((t (:foreground "white" :background "dark green")))) 32 `(cursor ((,class (:foreground "black" :background "thistle"))))
32 '(region ((t (:foreground "white" :background "dark green")))) 33 ;; Highlighting faces
33 '(font-lock-builtin-face ((t (:foreground "LightSteelBlue")))) 34 `(highlight ((,class (:foreground "white" :background "dark green"))))
34 '(font-lock-comment-face ((t (:foreground "SpringGreen3")))) 35 `(region ((,class (:foreground "white" :background "dark green"))))
35 '(font-lock-constant-face ((t (:foreground "turquoise")))) 36 `(secondary-selection ((,class (:background "dark slate gray"))))
36 '(font-lock-function-name-face ((t (:foreground "pale green")))) 37 `(isearch ((,class (:foreground "white" :background "dark goldenrod"))))
37 '(font-lock-keyword-face ((t (:foreground "white")))) 38 `(lazy-highlight ((,class (:background "gray25"))))
38 '(font-lock-string-face ((t (:foreground "dark khaki")))) 39 ;; Font lock faces
39 '(font-lock-type-face ((t (:foreground "aquamarine")))) 40 `(font-lock-builtin-face ((,class (:foreground "LightSteelBlue"))))
40 '(font-lock-variable-name-face ((t (:foreground "yellow green")))) 41 `(font-lock-comment-face ((,class (:foreground "SpringGreen3"))))
41 '(font-lock-warning-face ((t (:foreground "salmon1")))) 42 `(font-lock-constant-face ((,class (:foreground "turquoise"))))
42 '(button ((t (:underline t :foreground "cyan")))) 43 `(font-lock-function-name-face ((,class (:foreground "pale green"))))
43 '(link ((t (:underline t :foreground "cyan")))) 44 `(font-lock-keyword-face ((,class (:foreground "white"))))
44 '(link-visited ((t (:underline t :foreground "dark cyan")))) 45 `(font-lock-string-face ((,class (:foreground "dark khaki"))))
45 '(isearch ((t (:foreground "white" :background "dark goldenrod")))) 46 `(font-lock-type-face ((,class (:foreground "aquamarine"))))
46 '(lazy-highlight ((t (:background "gray25")))) 47 `(font-lock-variable-name-face ((,class (:foreground "yellow green"))))
47 '(gnus-header-content ((t (:weight normal :foreground "yellow green")))) 48 `(font-lock-warning-face ((,class (:foreground "salmon1"))))
48 '(gnus-header-from ((t (:foreground "pale green")))) 49 ;; Button and link faces
49 '(gnus-header-subject ((t (:foreground "pale turquoise")))) 50 `(button ((,class (:underline t :foreground "cyan"))))
50 '(gnus-header-name ((t (:foreground "dark sea green")))) 51 `(link ((,class (:underline t :foreground "cyan"))))
51 '(gnus-header-newsgroups ((t (:foreground "dark khaki")))) 52 `(link-visited ((,class (:underline t :foreground "dark cyan"))))
52 '(message-header-name ((t (:foreground "dark turquoise")))) 53 ;; Gnus faces
53 '(message-header-cc ((t (:foreground "yellow green")))) 54 `(gnus-header-content ((,class (:weight normal :foreground "yellow green"))))
54 '(message-header-other ((t (:foreground "dark khaki")))) 55 `(gnus-header-from ((,class (:foreground "pale green"))))
55 '(message-header-subject ((t (:foreground "pale turquoise")))) 56 `(gnus-header-subject ((,class (:foreground "pale turquoise"))))
56 '(message-header-to ((t (:foreground "pale green")))) 57 `(gnus-header-name ((,class (:foreground "dark sea green"))))
57 '(message-cited-text ((t (:foreground "SpringGreen3")))) 58 `(gnus-header-newsgroups ((,class (:foreground "dark khaki"))))
58 '(message-separator ((t (:foreground "deep sky blue"))))) 59 ;; Message faces
60 `(message-header-name ((,class (:foreground "dark turquoise"))))
61 `(message-header-cc ((,class (:foreground "yellow green"))))
62 `(message-header-other ((,class (:foreground "dark khaki"))))
63 `(message-header-subject ((,class (:foreground "pale turquoise"))))
64 `(message-header-to ((,class (:foreground "pale green"))))
65 `(message-cited-text ((,class (:foreground "SpringGreen3"))))
66 `(message-separator ((,class (:foreground "deep sky blue"))))))
59 67
60(provide-theme 'wheatgrass) 68(provide-theme 'wheatgrass)
61 69