annotate lisp/themes/tango-dark-theme.el @ 110955:c84f553cca36

Add some default custom themes. * cus-theme.el (custom-theme--listed-faces): Add cursor face. (describe-theme-1): Extract doc from unloaded themes. * custom.el (custom-theme-name-valid-p): Don't list color-themes. * themes/tango-theme.el: * themes/tango-dark-theme.el: * themes/wheatgrass-theme.el: New files.
author Chong Yidong <cyd@stupidchicken.com>
date Tue, 12 Oct 2010 16:06:20 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
110955
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
1 ;;; tango-dark-theme.el --- Tango-based custom theme for faces
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
2
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
3 ;; Copyright (C) 2010 Free Software Foundation, Inc.
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
4
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
5 ;; This file is part of GNU Emacs.
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
6
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
7 ;; GNU Emacs is free software: you can redistribute it and/or modify
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
8 ;; it under the terms of the GNU General Public License as published by
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
9 ;; the Free Software Foundation, either version 3 of the License, or
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
10 ;; (at your option) any later version.
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
11
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
12 ;; GNU Emacs is distributed in the hope that it will be useful,
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
13 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
14 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
15 ;; GNU General Public License for more details.
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
16
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
17 ;; You should have received a copy of the GNU General Public License
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
18 ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
19
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
20 ;;; Commentary
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
21
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
22 ;; The colors in this theme come from the Tango palette, which is in
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
23 ;; the public domain: http://tango.freedesktop.org/
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
24
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
25 ;;; Code:
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
26
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
27 (deftheme tango-dark
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
28 "Theme for faces, based on the Tango palette on a dark background.
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
29 Basic, Font Lock, Isearch, Gnus, and Message faces are included.")
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
30
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
31 (custom-theme-set-faces
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
32 'tango-dark
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
33 '(default ((t (:foreground "#eeeeec" :background "#2e3436"))))
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
34 '(cursor ((t (:foreground "#2e3436" :background "#fce94f"))))
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
35 '(highlight ((t (:foreground "#2e3436" :background "#edd400"))))
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
36 '(region ((t (:background "#555753"))))
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
37 '(font-lock-builtin-face ((t (:foreground "#ad7fa8"))))
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
38 '(font-lock-comment-face ((t (:foreground "#73d216"))))
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
39 '(font-lock-constant-face ((t (:foreground "#e6a8df"))))
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
40 '(font-lock-function-name-face ((t (:foreground "#fce94f"))))
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
41 '(font-lock-keyword-face ((t (:foreground "#8cc4ff"))))
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
42 '(font-lock-string-face ((t (:foreground "#e9b96e"))))
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
43 '(font-lock-type-face ((t (:foreground "#a5ff4d"))))
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
44 '(font-lock-variable-name-face ((t (:foreground "#fcaf3e"))))
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
45 '(font-lock-warning-face ((t (:foreground "#ef2929"))))
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
46 '(button ((t (:underline t :foreground "#729fcf"))))
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
47 '(link ((t (:underline t :foreground "#729fcf"))))
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
48 '(link-visited ((t (:underline t :foreground "#3465a4"))))
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
49 '(mode-line ((t (:box (:line-width -1 :style released-button)
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
50 :background "#d3d7cf" :foreground "black"))))
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
51 '(mode-line-inactive ((t (:box (:line-width -1 :style released-button)
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
52 :background "#555753" :foreground "white"))))
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
53 '(isearch ((t (:foreground "#ffffff" :background "#ce5c00"))))
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
54 '(lazy-highlight ((t (:background "#8f5902"))))
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
55 '(gnus-group-news-1 ((t (:foreground "#ad7fa8"))))
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
56 '(gnus-group-news-1-low ((t (:foreground "#75507b"))))
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
57 '(gnus-group-news-2 ((t (:foreground "#729fcf"))))
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
58 '(gnus-group-news-2-low ((t (:foreground "#3465a4"))))
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
59 '(gnus-group-news-3 ((t (:foreground "#8ae234"))))
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
60 '(gnus-group-news-3-low ((t (:foreground "#73d216"))))
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
61 '(gnus-group-news-4 ((t (:foreground "#e9b9e6"))))
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
62 '(gnus-group-news-4-low ((t (:foreground "#c17d11"))))
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
63 '(gnus-group-news-5 ((t (:foreground "#fcaf3e"))))
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
64 '(gnus-group-news-5-low ((t (:foreground "#f57900"))))
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
65 '(gnus-group-news-low ((t (:foreground "#edd400"))))
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
66 '(gnus-group-mail-1 ((t (:foreground "#ad7fa8"))))
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
67 '(gnus-group-mail-1-low ((t (:foreground "#75507b"))))
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
68 '(gnus-group-mail-2 ((t (:foreground "#729fcf"))))
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
69 '(gnus-group-mail-2-low ((t (:foreground "#3465a4"))))
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
70 '(gnus-group-mail-3 ((t (:foreground "#8ae234"))))
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
71 '(gnus-group-mail-3-low ((t (:foreground "#73d216"))))
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
72 '(gnus-group-mail-low ((t (:foreground "#edd400"))))
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
73 '(gnus-header-content ((t (:weight normal :foreground "#c4a000"))))
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
74 '(gnus-header-from ((t (:foreground "#edd400"))))
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
75 '(gnus-header-subject ((t (:foreground "#8ae234"))))
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
76 '(gnus-header-name ((t (:foreground "#729fcf"))))
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
77 '(gnus-header-newsgroups ((t (:foreground "#c17d11"))))
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
78 '(message-header-name ((t (:foreground "#729fcf"))))
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
79 '(message-header-cc ((t (:foreground "#c4a000"))))
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
80 '(message-header-other ((t (:foreground "#c17d11"))))
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
81 '(message-header-subject ((t (:foreground "#8ae234"))))
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
82 '(message-header-to ((t (:foreground "#edd400"))))
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
83 '(message-cited-text ((t (:foreground "#8ae234"))))
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
84 '(message-separator ((t (:foreground "#ad7fa8")))))
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
85
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
86 (provide-theme 'tango-dark)
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
87
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
88 ;; Local Variables:
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
89 ;; no-byte-compile: t
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
90 ;; End:
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
91
c84f553cca36 Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff changeset
92 ;;; tango-dark-theme.el ends here