Mercurial > emacs
annotate etc/themes/tango-theme.el @ 111424:e8807c0f5742
Silence gnus-art compilation.
* lisp/gnus/gnus-art.el (gnus-treat-article): Give dynamic local variables
`condition', `type', `length' a prefix.
(gnus-treat-predicate): Update for above name changes.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Sat, 06 Nov 2010 12:35:19 -0700 |
parents | fedd4f6fa7e5 |
children | a9958515249d |
rev | line source |
---|---|
110955
c84f553cca36
Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
1 ;;; tango-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 |
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 light 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 |
c84f553cca36
Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
33 '(default ((t (:foreground "#16191a" :background "#eeeeec")))) |
c84f553cca36
Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
34 '(cursor ((t (:foreground "#eeeeec" :background "#204a87")))) |
c84f553cca36
Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
35 '(highlight ((t (:background "#babdb6")))) |
c84f553cca36
Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
36 '(region ((t (:background "#babdb6")))) |
c84f553cca36
Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
37 '(font-lock-builtin-face ((t (:weight bold :foreground "#204a87")))) |
c84f553cca36
Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
38 '(font-lock-comment-face ((t (:foreground "#204a87")))) |
c84f553cca36
Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
39 '(font-lock-constant-face ((t (:weight bold :foreground "#5c3566")))) |
c84f553cca36
Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
40 '(font-lock-function-name-face ((t (:weight bold :foreground "#ce5c00")))) |
c84f553cca36
Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
41 '(font-lock-keyword-face ((t (:foreground "#a40000")))) |
c84f553cca36
Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
42 '(font-lock-string-face ((t (:foreground "#5c3566")))) |
c84f553cca36
Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
43 '(font-lock-type-face ((t (:weight bold :foreground "#4e9a06")))) |
c84f553cca36
Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
44 '(font-lock-variable-name-face ((t (:weight bold :foreground "#c17d11")))) |
c84f553cca36
Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
45 '(font-lock-warning-face ((t (:foreground "#cc0000")))) |
c84f553cca36
Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
46 '(button ((t (:underline t :foreground "#204a87")))) |
c84f553cca36
Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
47 '(link ((t (:underline t :foreground "#204a87")))) |
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 "#babdb6" :foreground "black")))) |
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 "#e9b96e")))) |
c84f553cca36
Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
55 '(gnus-group-news-1 ((t (:weight bold :foreground "#5c3566")))) |
c84f553cca36
Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
56 '(gnus-group-news-1-low ((t (:foreground "#5c3566")))) |
c84f553cca36
Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
57 '(gnus-group-news-2 ((t (:weight bold :foreground "#204a87")))) |
c84f553cca36
Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
58 '(gnus-group-news-2-low ((t (:foreground "#204a87")))) |
c84f553cca36
Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
59 '(gnus-group-news-3 ((t (:weight bold :foreground "#4e0a06")))) |
c84f553cca36
Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
60 '(gnus-group-news-3-low ((t (:foreground "#4e0a06")))) |
c84f553cca36
Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
61 '(gnus-group-news-4 ((t (:weight bold :foreground "#7a4c02")))) |
c84f553cca36
Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
62 '(gnus-group-news-4-low ((t (:foreground "#7a4c02")))) |
c84f553cca36
Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
63 '(gnus-group-news-5 ((t (:weight bold :foreground "#ce5c00")))) |
c84f553cca36
Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
64 '(gnus-group-news-5-low ((t (:foreground "#ce5c00")))) |
c84f553cca36
Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
65 '(gnus-group-news-low ((t (:foreground "#888a85")))) |
c84f553cca36
Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
66 '(gnus-group-mail-1 ((t (:weight bold :foreground "#5c3566")))) |
c84f553cca36
Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
67 '(gnus-group-mail-1-low ((t (:foreground "#5c3566")))) |
c84f553cca36
Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
68 '(gnus-group-mail-2 ((t (:weight bold :foreground "#204a87")))) |
c84f553cca36
Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
69 '(gnus-group-mail-2-low ((t (:foreground "#204a87")))) |
c84f553cca36
Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
70 '(gnus-group-mail-3 ((t (:weight bold :foreground "#4e0a06")))) |
c84f553cca36
Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
71 '(gnus-group-mail-3-low ((t (:foreground "#4e0a06")))) |
c84f553cca36
Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
72 '(gnus-group-mail-low ((t (:foreground "#888a85")))) |
c84f553cca36
Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
73 '(gnus-header-content ((t (:foreground "#4e9a06")))) |
c84f553cca36
Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
74 '(gnus-header-from ((t (:weight bold :foreground "#c4a000")))) |
c84f553cca36
Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
75 '(gnus-header-subject ((t (:foreground "#4e0a06")))) |
c84f553cca36
Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
76 '(gnus-header-name ((t (:foreground "#204a87")))) |
c84f553cca36
Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
77 '(gnus-header-newsgroups ((t (:foreground "#888a85")))) |
c84f553cca36
Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
78 '(message-header-name ((t (:foreground "#204a87")))) |
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 "#4e0a06")))) |
c84f553cca36
Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
82 '(message-header-to ((t (:weight bold :foreground "#c4a000")))) |
c84f553cca36
Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
83 '(message-cited-text ((t (:foreground "#888a85")))) |
c84f553cca36
Add some default custom themes.
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
84 '(message-separator ((t (:weight bold :foreground "#4e9a06"))))) |
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) |
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-theme.el ends here |