diff options
| author | Chong Yidong | 2011-01-09 16:35:53 -0500 |
|---|---|---|
| committer | Chong Yidong | 2011-01-09 16:35:53 -0500 |
| commit | 2c243704f9c27481c36c170fafa29c2957df2637 (patch) | |
| tree | a2b30945a63692249449aad157bdf0a125159a37 | |
| parent | 12e1f3289d71b512ef413b31fa94e4918d0b033f (diff) | |
| download | emacs-2c243704f9c27481c36c170fafa29c2957df2637.tar.gz emacs-2c243704f9c27481c36c170fafa29c2957df2637.zip | |
Improvements to tango themes, including some faces from Jan Moringen.
* themes/tango-theme.el, themes/tango-dark-theme.el: Let-bind
tango palette colors. Only define faces for color displays.
Customize the ansi-color-names-vector variable. Add Ediff,
Flyspell, and Semantic faces as suggested by Jan Moringen.
| -rw-r--r-- | etc/ChangeLog | 7 | ||||
| -rw-r--r-- | etc/themes/tango-dark-theme.el | 180 | ||||
| -rw-r--r-- | etc/themes/tango-theme.el | 173 |
3 files changed, 244 insertions, 116 deletions
diff --git a/etc/ChangeLog b/etc/ChangeLog index 9d8a3b8aafd..a27d3e640cc 100644 --- a/etc/ChangeLog +++ b/etc/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2011-01-09 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * themes/tango-theme.el, themes/tango-dark-theme.el: Let-bind | ||
| 4 | tango palette colors. Only define faces for color displays. | ||
| 5 | Customize the ansi-color-names-vector variable. Add Ediff, | ||
| 6 | Flyspell, and Semantic faces as suggested by Jan Moringen. | ||
| 7 | |||
| 1 | 2011-01-08 Andreas Schwab <schwab@linux-m68k.org> | 8 | 2011-01-08 Andreas Schwab <schwab@linux-m68k.org> |
| 2 | 9 | ||
| 3 | * compilation.txt: Add column to gcc-include sample. | 10 | * compilation.txt: Add column to gcc-include sample. |
diff --git a/etc/themes/tango-dark-theme.el b/etc/themes/tango-dark-theme.el index f63440b4ea7..06f209a03db 100644 --- a/etc/themes/tango-dark-theme.el +++ b/etc/themes/tango-dark-theme.el | |||
| @@ -1,6 +1,9 @@ | |||
| 1 | ;;; tango-dark-theme.el --- Tango-based custom theme for faces | 1 | ;;; tango-dark-theme.el --- Tango-based custom theme for faces |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2010 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2010, 2011 Free Software Foundation, Inc. |
| 4 | |||
| 5 | ;; Authors: Chong Yidong <cyd@stupidchicken> | ||
| 6 | ;; Jan Moringen <jan.moringen@uni-bielefeld.de> | ||
| 4 | 7 | ||
| 5 | ;; This file is part of GNU Emacs. | 8 | ;; This file is part of GNU Emacs. |
| 6 | 9 | ||
| @@ -25,63 +28,124 @@ | |||
| 25 | ;;; Code: | 28 | ;;; Code: |
| 26 | 29 | ||
| 27 | (deftheme tango-dark | 30 | (deftheme tango-dark |
| 28 | "Theme for faces, based on the Tango palette on a dark background. | 31 | "Theme for faces, based on the Tango palette with a dark background. |
| 29 | Basic, Font Lock, Isearch, Gnus, and Message faces are included.") | 32 | Basic, Font Lock, Isearch, Gnus, Message, Ediff, Flyspell, |
| 30 | 33 | Semantic, and Ansi-Color faces are included.") | |
| 31 | (custom-theme-set-faces | 34 | |
| 32 | 'tango-dark | 35 | (let ((class '((class color) (min-colors 89))) |
| 33 | '(default ((t (:foreground "#eeeeec" :background "#2e3436")))) | 36 | ;; Tango palette colors. |
| 34 | '(cursor ((t (:foreground "#2e3436" :background "#fce94f")))) | 37 | (butter-1 "#fce94f") (butter-2 "#edd400") (butter-3 "#c4a000") |
| 35 | '(highlight ((t (:foreground "#2e3436" :background "#edd400")))) | 38 | (orange-1 "#fcaf3e") (orange-2 "#f57900") (orange-3 "#ce5c00") |
| 36 | '(region ((t (:background "#555753")))) | 39 | (choc-1 "#e9b96e") (choc-2 "#c17d11") (choc-3 "#8f5902") |
| 37 | '(font-lock-builtin-face ((t (:foreground "#ad7fa8")))) | 40 | (cham-1 "#8ae234") (cham-2 "#73d216") (cham-3 "#4e9a06") |
| 38 | '(font-lock-comment-face ((t (:foreground "#73d216")))) | 41 | (blue-1 "#729fcf") (blue-2 "#3465a4") (blue-3 "#204a87") |
| 39 | '(font-lock-constant-face ((t (:foreground "#e6a8df")))) | 42 | (plum-1 "#ad7fa8") (plum-2 "#75507b") (plum-3 "#5c3566") |
| 40 | '(font-lock-function-name-face ((t (:foreground "#fce94f")))) | 43 | (red-1 "#ef2929") (red-2 "#cc0000") (red-3 "#a40000") |
| 41 | '(font-lock-keyword-face ((t (:foreground "#8cc4ff")))) | 44 | (alum-1 "#eeeeec") (alum-2 "#d3d7cf") (alum-3 "#babdb6") |
| 42 | '(font-lock-string-face ((t (:foreground "#e9b96e")))) | 45 | (alum-4 "#888a85") (alum-5 "#555753") (alum-6 "#2e3436") |
| 43 | '(font-lock-type-face ((t (:foreground "#a5ff4d")))) | 46 | ;; Not in Tango palette; used for better contrast. |
| 44 | '(font-lock-variable-name-face ((t (:foreground "#fcaf3e")))) | 47 | (cham-0 "#b4fa70") (blue-0 "#8cc4ff") (plum-0 "#e6a8df") |
| 45 | '(font-lock-warning-face ((t (:foreground "#ef2929")))) | 48 | (red-0 "#ff4b4b") (alum-5.5 "#41423f") (alum-7 "#212526")) |
| 46 | '(button ((t (:underline t :foreground "#729fcf")))) | 49 | |
| 47 | '(link ((t (:underline t :foreground "#729fcf")))) | 50 | (custom-theme-set-faces |
| 48 | '(link-visited ((t (:underline t :foreground "#3465a4")))) | 51 | 'tango-dark |
| 49 | '(mode-line ((t (:box (:line-width -1 :style released-button) | 52 | `(default ((,class (:foreground ,alum-1 :background ,alum-6)))) |
| 50 | :background "#d3d7cf" :foreground "black")))) | 53 | `(cursor ((,class (:foreground ,alum-6 :background ,butter-1)))) |
| 51 | '(mode-line-inactive ((t (:box (:line-width -1 :style released-button) | 54 | ;; Highlighting faces |
| 52 | :background "#555753" :foreground "white")))) | 55 | `(fringe ((,class (:background ,alum-7)))) |
| 53 | '(isearch ((t (:foreground "#ffffff" :background "#ce5c00")))) | 56 | `(highlight ((,class (:foreground ,alum-6 :background ,butter-2)))) |
| 54 | '(lazy-highlight ((t (:background "#8f5902")))) | 57 | `(region ((,class (:background ,alum-5)))) |
| 55 | '(gnus-group-news-1 ((t (:foreground "#ad7fa8")))) | 58 | `(secondary-selection ((,class (:background ,blue-3)))) |
| 56 | '(gnus-group-news-1-low ((t (:foreground "#75507b")))) | 59 | `(isearch ((,class (:foreground ,alum-1 :background ,orange-3)))) |
| 57 | '(gnus-group-news-2 ((t (:foreground "#729fcf")))) | 60 | `(lazy-highlight ((,class (:background ,choc-3)))) |
| 58 | '(gnus-group-news-2-low ((t (:foreground "#3465a4")))) | 61 | `(trailing-whitespace ((,class (:background ,red-3)))) |
| 59 | '(gnus-group-news-3 ((t (:foreground "#8ae234")))) | 62 | ;; Mode line faces |
| 60 | '(gnus-group-news-3-low ((t (:foreground "#73d216")))) | 63 | `(mode-line ((,class |
| 61 | '(gnus-group-news-4 ((t (:foreground "#e9b9e6")))) | 64 | (:box (:line-width -1 :style released-button) |
| 62 | '(gnus-group-news-4-low ((t (:foreground "#c17d11")))) | 65 | :background ,alum-2 :foreground ,alum-6)))) |
| 63 | '(gnus-group-news-5 ((t (:foreground "#fcaf3e")))) | 66 | `(mode-line-inactive ((,class |
| 64 | '(gnus-group-news-5-low ((t (:foreground "#f57900")))) | 67 | (:box (:line-width -1 :style released-button) |
| 65 | '(gnus-group-news-low ((t (:foreground "#edd400")))) | 68 | :background ,alum-5 :foreground ,alum-1)))) |
| 66 | '(gnus-group-mail-1 ((t (:foreground "#ad7fa8")))) | 69 | ;; Escape and prompt faces |
| 67 | '(gnus-group-mail-1-low ((t (:foreground "#75507b")))) | 70 | `(minibuffer-prompt ((,class (:foreground ,cham-0)))) |
| 68 | '(gnus-group-mail-2 ((t (:foreground "#729fcf")))) | 71 | `(escape-glyph ((,class (:foreground ,butter-3)))) |
| 69 | '(gnus-group-mail-2-low ((t (:foreground "#3465a4")))) | 72 | ;; Font lock faces |
| 70 | '(gnus-group-mail-3 ((t (:foreground "#8ae234")))) | 73 | `(font-lock-builtin-face ((,class (:foreground ,plum-1)))) |
| 71 | '(gnus-group-mail-3-low ((t (:foreground "#73d216")))) | 74 | `(font-lock-comment-face ((,class (:foreground ,cham-2)))) |
| 72 | '(gnus-group-mail-low ((t (:foreground "#edd400")))) | 75 | `(font-lock-constant-face ((,class (:foreground ,plum-0)))) |
| 73 | '(gnus-header-content ((t (:weight normal :foreground "#c4a000")))) | 76 | `(font-lock-function-name-face ((,class (:foreground ,butter-1)))) |
| 74 | '(gnus-header-from ((t (:foreground "#edd400")))) | 77 | `(font-lock-keyword-face ((,class (:foreground ,cham-0)))) |
| 75 | '(gnus-header-subject ((t (:foreground "#8ae234")))) | 78 | `(font-lock-string-face ((,class (:foreground ,choc-1)))) |
| 76 | '(gnus-header-name ((t (:foreground "#729fcf")))) | 79 | `(font-lock-type-face ((,class (:foreground ,blue-0)))) |
| 77 | '(gnus-header-newsgroups ((t (:foreground "#c17d11")))) | 80 | `(font-lock-variable-name-face ((,class (:foreground ,orange-1)))) |
| 78 | '(message-header-name ((t (:foreground "#729fcf")))) | 81 | `(font-lock-warning-face ((,class (:foreground ,red-0)))) |
| 79 | '(message-header-cc ((t (:foreground "#c4a000")))) | 82 | ;; Button and link faces |
| 80 | '(message-header-other ((t (:foreground "#c17d11")))) | 83 | `(button ((,class (:underline t :foreground ,blue-1)))) |
| 81 | '(message-header-subject ((t (:foreground "#8ae234")))) | 84 | `(link ((,class (:underline t :foreground ,blue-1)))) |
| 82 | '(message-header-to ((t (:foreground "#edd400")))) | 85 | `(link-visited ((,class (:underline t :foreground ,blue-2)))) |
| 83 | '(message-cited-text ((t (:foreground "#8ae234")))) | 86 | ;; Gnus faces |
| 84 | '(message-separator ((t (:foreground "#ad7fa8"))))) | 87 | `(gnus-group-news-1 ((,class (:foreground ,plum-1)))) |
| 88 | `(gnus-group-news-1-low ((,class (:foreground ,plum-2)))) | ||
| 89 | `(gnus-group-news-2 ((,class (:foreground ,blue-1)))) | ||
| 90 | `(gnus-group-news-2-low ((,class (:foreground ,blue-2)))) | ||
| 91 | `(gnus-group-news-3 ((,class (:foreground ,cham-1)))) | ||
| 92 | `(gnus-group-news-3-low ((,class (:foreground ,cham-2)))) | ||
| 93 | `(gnus-group-news-4 ((,class (:foreground ,plum-0)))) | ||
| 94 | `(gnus-group-news-4-low ((,class (:foreground ,choc-2)))) | ||
| 95 | `(gnus-group-news-5 ((,class (:foreground ,orange-1)))) | ||
| 96 | `(gnus-group-news-5-low ((,class (:foreground ,orange-2)))) | ||
| 97 | `(gnus-group-news-low ((,class (:foreground ,butter-2)))) | ||
| 98 | `(gnus-group-mail-1 ((,class (:foreground ,plum-1)))) | ||
| 99 | `(gnus-group-mail-1-low ((,class (:foreground ,plum-2)))) | ||
| 100 | `(gnus-group-mail-2 ((,class (:foreground ,blue-1)))) | ||
| 101 | `(gnus-group-mail-2-low ((,class (:foreground ,blue-2)))) | ||
| 102 | `(gnus-group-mail-3 ((,class (:foreground ,cham-1)))) | ||
| 103 | `(gnus-group-mail-3-low ((,class (:foreground ,cham-2)))) | ||
| 104 | `(gnus-group-mail-low ((,class (:foreground ,butter-2)))) | ||
| 105 | `(gnus-header-content ((,class (:weight normal :foreground ,butter-3)))) | ||
| 106 | `(gnus-header-from ((,class (:foreground ,butter-2)))) | ||
| 107 | `(gnus-header-subject ((,class (:foreground ,cham-1)))) | ||
| 108 | `(gnus-header-name ((,class (:foreground ,blue-1)))) | ||
| 109 | `(gnus-header-newsgroups ((,class (:foreground ,choc-2)))) | ||
| 110 | ;; Message faces | ||
| 111 | `(message-header-name ((,class (:foreground ,blue-1)))) | ||
| 112 | `(message-header-cc ((,class (:foreground ,butter-3)))) | ||
| 113 | `(message-header-other ((,class (:foreground ,choc-2)))) | ||
| 114 | `(message-header-subject ((,class (:foreground ,cham-1)))) | ||
| 115 | `(message-header-to ((,class (:foreground ,butter-2)))) | ||
| 116 | `(message-cited-text ((,class (:foreground ,cham-1)))) | ||
| 117 | `(message-separator ((,class (:foreground ,plum-1)))) | ||
| 118 | ;; SMerge faces | ||
| 119 | `(smerge-refined-change ((,class (:background ,blue-3)))) | ||
| 120 | ;; Ediff faces | ||
| 121 | `(ediff-current-diff-A ((,class (:background ,alum-5)))) | ||
| 122 | `(ediff-fine-diff-A ((,class (:background ,blue-3)))) | ||
| 123 | `(ediff-even-diff-A ((,class (:background ,alum-5.5)))) | ||
| 124 | `(ediff-odd-diff-A ((,class (:background ,alum-5.5)))) | ||
| 125 | `(ediff-current-diff-B ((,class (:background ,alum-5)))) | ||
| 126 | `(ediff-fine-diff-B ((,class (:background ,choc-3)))) | ||
| 127 | `(ediff-even-diff-B ((,class (:background ,alum-5.5)))) | ||
| 128 | `(ediff-odd-diff-B ((,class (:background ,alum-5.5)))) | ||
| 129 | ;; Flyspell faces | ||
| 130 | `(flyspell-duplicate ((,class (:underline ,orange-1)))) | ||
| 131 | `(flyspell-incorrect ((,class (:underline ,red-1)))) | ||
| 132 | ;; Semantic faces | ||
| 133 | `(semantic-decoration-on-includes ((,class (:underline ,alum-4)))) | ||
| 134 | `(semantic-decoration-on-private-members-face | ||
| 135 | ((,class (:background ,plum-3)))) | ||
| 136 | `(semantic-decoration-on-protected-members-face | ||
| 137 | ((,class (:background ,choc-3)))) | ||
| 138 | `(semantic-decoration-on-unknown-includes | ||
| 139 | ((,class (:background ,red-3)))) | ||
| 140 | `(semantic-decoration-on-unparsed-includes | ||
| 141 | ((,class (:background ,alum-5.5)))) | ||
| 142 | `(semantic-tag-boundary-face ((,class (:overline ,blue-1)))) | ||
| 143 | `(semantic-unmatched-syntax-face ((,class (:underline ,red-1))))) | ||
| 144 | |||
| 145 | (custom-theme-set-variables | ||
| 146 | 'tango-dark | ||
| 147 | `(ansi-color-names-vector [,alum-7 ,red-0 ,cham-0 ,butter-1 | ||
| 148 | ,blue-1 ,plum-1 ,blue-0 ,alum-1]))) | ||
| 85 | 149 | ||
| 86 | (provide-theme 'tango-dark) | 150 | (provide-theme 'tango-dark) |
| 87 | 151 | ||
diff --git a/etc/themes/tango-theme.el b/etc/themes/tango-theme.el index f0492c048af..29fc6a6b4d5 100644 --- a/etc/themes/tango-theme.el +++ b/etc/themes/tango-theme.el | |||
| @@ -1,6 +1,9 @@ | |||
| 1 | ;;; tango-theme.el --- Tango-based custom theme for faces | 1 | ;;; tango-theme.el --- Tango-based custom theme for faces |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2010 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2010, 2011 Free Software Foundation, Inc. |
| 4 | |||
| 5 | ;; Authors: Chong Yidong <cyd@stupidchicken> | ||
| 6 | ;; Jan Moringen <jan.moringen@uni-bielefeld.de> | ||
| 4 | 7 | ||
| 5 | ;; This file is part of GNU Emacs. | 8 | ;; This file is part of GNU Emacs. |
| 6 | 9 | ||
| @@ -25,63 +28,117 @@ | |||
| 25 | ;;; Code: | 28 | ;;; Code: |
| 26 | 29 | ||
| 27 | (deftheme tango | 30 | (deftheme tango |
| 28 | "Theme for faces, based on the Tango palette on a light background. | 31 | "Theme for faces, based on the Tango palette with a light background. |
| 29 | Basic, Font Lock, Isearch, Gnus, and Message faces are included.") | 32 | Basic, Font Lock, Isearch, Gnus, Message, Ediff, Flyspell, |
| 30 | 33 | Semantic, and Ansi-Color faces are included.") | |
| 31 | (custom-theme-set-faces | 34 | |
| 32 | 'tango | 35 | (let ((class '((class color) (min-colors 89))) |
| 33 | '(default ((t (:foreground "#16191a" :background "#eeeeec")))) | 36 | ;; Tango palette colors. |
| 34 | '(cursor ((t (:foreground "#eeeeec" :background "#204a87")))) | 37 | (butter-1 "#fce94f") (butter-2 "#edd400") (butter-3 "#c4a000") |
| 35 | '(highlight ((t (:background "#babdb6")))) | 38 | (orange-1 "#fcaf3e") (orange-2 "#f57900") (orange-3 "#ce5c00") |
| 36 | '(region ((t (:background "#babdb6")))) | 39 | (choc-1 "#e9b96e") (choc-2 "#c17d11") (choc-3 "#8f5902") |
| 37 | '(font-lock-builtin-face ((t (:weight bold :foreground "#204a87")))) | 40 | (cham-1 "#8ae234") (cham-2 "#73d216") (cham-3 "#4e9a06") |
| 38 | '(font-lock-comment-face ((t (:foreground "#204a87")))) | 41 | (blue-1 "#729fcf") (blue-2 "#3465a4") (blue-3 "#204a87") |
| 39 | '(font-lock-constant-face ((t (:weight bold :foreground "#5c3566")))) | 42 | (plum-1 "#ad7fa8") (plum-2 "#75507b") (plum-3 "#5c3566") |
| 40 | '(font-lock-function-name-face ((t (:weight bold :foreground "#ce5c00")))) | 43 | (red-1 "#ef2929") (red-2 "#cc0000") (red-3 "#a40000") |
| 41 | '(font-lock-keyword-face ((t (:foreground "#a40000")))) | 44 | (alum-1 "#eeeeec") (alum-2 "#d3d7cf") (alum-3 "#babdb6") |
| 42 | '(font-lock-string-face ((t (:foreground "#5c3566")))) | 45 | (alum-4 "#888a85") (alum-5 "#555753") (alum-6 "#2e3436") |
| 43 | '(font-lock-type-face ((t (:weight bold :foreground "#4e9a06")))) | 46 | ;; Not in Tango palette; used for better contrast. |
| 44 | '(font-lock-variable-name-face ((t (:weight bold :foreground "#c17d11")))) | 47 | (cham-4 "#346604") (blue-0 "#8cc4ff")) |
| 45 | '(font-lock-warning-face ((t (:foreground "#cc0000")))) | 48 | |
| 46 | '(button ((t (:underline t :foreground "#204a87")))) | 49 | (custom-theme-set-faces |
| 47 | '(link ((t (:underline t :foreground "#204a87")))) | 50 | 'tango |
| 48 | '(link-visited ((t (:underline t :foreground "#3465a4")))) | 51 | `(default ((,class (:foreground ,"#16191a" :background ,alum-1)))) |
| 49 | '(mode-line ((t (:box (:line-width -1 :style released-button) | 52 | `(cursor ((,class (:foreground ,alum-1 :background ,blue-3)))) |
| 50 | :background "#d3d7cf" :foreground "black")))) | 53 | ;; Highlighting faces |
| 51 | '(mode-line-inactive ((t (:box (:line-width -1 :style released-button) | 54 | `(fringe ((,class (:background ,alum-2)))) |
| 52 | :background "#babdb6" :foreground "black")))) | 55 | `(highlight ((,class (:background ,alum-3)))) |
| 53 | '(isearch ((t (:foreground "#ffffff" :background "#ce5c00")))) | 56 | `(region ((,class (:background ,alum-3)))) |
| 54 | '(lazy-highlight ((t (:background "#e9b96e")))) | 57 | `(secondary-selection ((,class (:background ,blue-0)))) |
| 55 | '(gnus-group-news-1 ((t (:weight bold :foreground "#5c3566")))) | 58 | `(isearch ((,class (:foreground ,"#ffffff" :background ,orange-3)))) |
| 56 | '(gnus-group-news-1-low ((t (:foreground "#5c3566")))) | 59 | `(lazy-highlight ((,class (:background ,choc-1)))) |
| 57 | '(gnus-group-news-2 ((t (:weight bold :foreground "#204a87")))) | 60 | `(trailing-whitespace ((,class (:background ,red-1)))) |
| 58 | '(gnus-group-news-2-low ((t (:foreground "#204a87")))) | 61 | ;; Mode line faces |
| 59 | '(gnus-group-news-3 ((t (:weight bold :foreground "#4e0a06")))) | 62 | `(mode-line ((,class (:box (:line-width -1 :style released-button) |
| 60 | '(gnus-group-news-3-low ((t (:foreground "#4e0a06")))) | 63 | :background ,alum-2 :foreground ,alum-6)))) |
| 61 | '(gnus-group-news-4 ((t (:weight bold :foreground "#7a4c02")))) | 64 | `(mode-line-inactive ((,class (:box (:line-width -1 :style released-button) |
| 62 | '(gnus-group-news-4-low ((t (:foreground "#7a4c02")))) | 65 | :background ,alum-4 :foreground ,alum-6)))) |
| 63 | '(gnus-group-news-5 ((t (:weight bold :foreground "#ce5c00")))) | 66 | ;; Escape and prompt faces |
| 64 | '(gnus-group-news-5-low ((t (:foreground "#ce5c00")))) | 67 | `(minibuffer-prompt ((,class (:weight bold :foreground ,blue-3)))) |
| 65 | '(gnus-group-news-low ((t (:foreground "#888a85")))) | 68 | `(escape-glyph ((,class (:foreground ,red-3)))) |
| 66 | '(gnus-group-mail-1 ((t (:weight bold :foreground "#5c3566")))) | 69 | ;; Font lock faces |
| 67 | '(gnus-group-mail-1-low ((t (:foreground "#5c3566")))) | 70 | `(font-lock-builtin-face ((,class (:weight bold :foreground ,plum-3)))) |
| 68 | '(gnus-group-mail-2 ((t (:weight bold :foreground "#204a87")))) | 71 | `(font-lock-comment-face ((,class (:foreground ,cham-4)))) |
| 69 | '(gnus-group-mail-2-low ((t (:foreground "#204a87")))) | 72 | `(font-lock-constant-face ((,class (:weight bold :foreground ,blue-3)))) |
| 70 | '(gnus-group-mail-3 ((t (:weight bold :foreground "#4e0a06")))) | 73 | `(font-lock-function-name-face ((,class (:foreground ,red-3)))) |
| 71 | '(gnus-group-mail-3-low ((t (:foreground "#4e0a06")))) | 74 | `(font-lock-keyword-face ((,class (:weight bold :foreground ,choc-2)))) |
| 72 | '(gnus-group-mail-low ((t (:foreground "#888a85")))) | 75 | `(font-lock-string-face ((,class (:foreground ,plum-3)))) |
| 73 | '(gnus-header-content ((t (:foreground "#4e9a06")))) | 76 | `(font-lock-type-face ((,class (:foreground ,blue-3)))) |
| 74 | '(gnus-header-from ((t (:weight bold :foreground "#c4a000")))) | 77 | `(font-lock-variable-name-face ((,class (:weight bold :foreground ,orange-3)))) |
| 75 | '(gnus-header-subject ((t (:foreground "#4e0a06")))) | 78 | `(font-lock-warning-face ((,class (:foreground ,red-2)))) |
| 76 | '(gnus-header-name ((t (:foreground "#204a87")))) | 79 | ;; Button and link faces |
| 77 | '(gnus-header-newsgroups ((t (:foreground "#888a85")))) | 80 | `(button ((,class (:underline t :foreground ,blue-3)))) |
| 78 | '(message-header-name ((t (:foreground "#204a87")))) | 81 | `(link ((,class (:underline t :foreground ,blue-3)))) |
| 79 | '(message-header-cc ((t (:foreground "#c4a000")))) | 82 | `(link-visited ((,class (:underline t :foreground ,blue-2)))) |
| 80 | '(message-header-other ((t (:foreground "#c17d11")))) | 83 | ;; Gnus faces |
| 81 | '(message-header-subject ((t (:foreground "#4e0a06")))) | 84 | `(gnus-group-news-1 ((,class (:weight bold :foreground ,plum-3)))) |
| 82 | '(message-header-to ((t (:weight bold :foreground "#c4a000")))) | 85 | `(gnus-group-news-1-low ((,class (:foreground ,plum-3)))) |
| 83 | '(message-cited-text ((t (:foreground "#888a85")))) | 86 | `(gnus-group-news-2 ((,class (:weight bold :foreground ,blue-3)))) |
| 84 | '(message-separator ((t (:weight bold :foreground "#4e9a06"))))) | 87 | `(gnus-group-news-2-low ((,class (:foreground ,blue-3)))) |
| 88 | `(gnus-group-news-3 ((,class (:weight bold :foreground ,"#4e0a06")))) | ||
| 89 | `(gnus-group-news-3-low ((,class (:foreground ,"#4e0a06")))) | ||
| 90 | `(gnus-group-news-4 ((,class (:weight bold :foreground ,"#7a4c02")))) | ||
| 91 | `(gnus-group-news-4-low ((,class (:foreground ,"#7a4c02")))) | ||
| 92 | `(gnus-group-news-5 ((,class (:weight bold :foreground ,orange-3)))) | ||
| 93 | `(gnus-group-news-5-low ((,class (:foreground ,orange-3)))) | ||
| 94 | `(gnus-group-news-low ((,class (:foreground ,"#888a85")))) | ||
| 95 | `(gnus-group-mail-1 ((,class (:weight bold :foreground ,plum-3)))) | ||
| 96 | `(gnus-group-mail-1-low ((,class (:foreground ,plum-3)))) | ||
| 97 | `(gnus-group-mail-2 ((,class (:weight bold :foreground ,blue-3)))) | ||
| 98 | `(gnus-group-mail-2-low ((,class (:foreground ,blue-3)))) | ||
| 99 | `(gnus-group-mail-3 ((,class (:weight bold :foreground ,"#4e0a06")))) | ||
| 100 | `(gnus-group-mail-3-low ((,class (:foreground ,"#4e0a06")))) | ||
| 101 | `(gnus-group-mail-low ((,class (:foreground ,"#888a85")))) | ||
| 102 | `(gnus-header-content ((,class (:foreground ,cham-3)))) | ||
| 103 | `(gnus-header-from ((,class (:weight bold :foreground ,butter-3)))) | ||
| 104 | `(gnus-header-subject ((,class (:foreground ,"#4e0a06")))) | ||
| 105 | `(gnus-header-name ((,class (:foreground ,blue-3)))) | ||
| 106 | `(gnus-header-newsgroups ((,class (:foreground ,"#888a85")))) | ||
| 107 | ;; Message faces | ||
| 108 | `(message-header-name ((,class (:foreground ,blue-3)))) | ||
| 109 | `(message-header-cc ((,class (:foreground ,butter-3)))) | ||
| 110 | `(message-header-other ((,class (:foreground ,choc-2)))) | ||
| 111 | `(message-header-subject ((,class (:foreground ,"#4e0a06")))) | ||
| 112 | `(message-header-to ((,class (:weight bold :foreground ,butter-3)))) | ||
| 113 | `(message-cited-text ((,class (:foreground ,"#888a85")))) | ||
| 114 | `(message-separator ((,class (:weight bold :foreground ,cham-3)))) | ||
| 115 | ;; SMerge | ||
| 116 | `(smerge-refined-change ((,class (:background ,plum-1)))) | ||
| 117 | ;; Ediff | ||
| 118 | `(ediff-current-diff-A ((,class (:background ,blue-1)))) | ||
| 119 | `(ediff-fine-diff-A ((,class (:background ,plum-1)))) | ||
| 120 | `(ediff-current-diff-B ((,class (:background ,butter-1)))) | ||
| 121 | `(ediff-fine-diff-B ((,class (:background ,orange-1)))) | ||
| 122 | ;; Flyspell | ||
| 123 | `(flyspell-duplicate ((,class (:underline ,orange-1)))) | ||
| 124 | `(flyspell-incorrect ((,class (:underline ,red-1)))) | ||
| 125 | ;; Semantic faces | ||
| 126 | `(semantic-decoration-on-includes ((,class (:underline ,cham-4)))) | ||
| 127 | `(semantic-decoration-on-private-members-face | ||
| 128 | ((,class (:background ,alum-2)))) | ||
| 129 | `(semantic-decoration-on-protected-members-face | ||
| 130 | ((,class (:background ,alum-2)))) | ||
| 131 | `(semantic-decoration-on-unknown-includes | ||
| 132 | ((,class (:background ,choc-3)))) | ||
| 133 | `(semantic-decoration-on-unparsed-includes | ||
| 134 | ((,class (:underline ,orange-3)))) | ||
| 135 | `(semantic-tag-boundary-face ((,class (:overline ,blue-1)))) | ||
| 136 | `(semantic-unmatched-syntax-face ((,class (:underline ,red-1))))) | ||
| 137 | |||
| 138 | (custom-theme-set-variables | ||
| 139 | 'tango | ||
| 140 | `(ansi-color-names-vector [,alum-6 ,red-3 ,cham-3 ,butter-3 | ||
| 141 | ,blue-3 ,plum-3 ,blue-1 ,alum-1]))) | ||
| 85 | 142 | ||
| 86 | (provide-theme 'tango) | 143 | (provide-theme 'tango) |
| 87 | 144 | ||