diff options
| author | Paul Eggert | 2011-06-14 11:58:22 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-06-14 11:58:22 -0700 |
| commit | e8f2a944716884ba72b9ef3a49db2d5bca428ac9 (patch) | |
| tree | b29969e69560533e46d173b27311c24248f440c1 /etc | |
| parent | f66c7cf8f794d6f7fd9ccb8794ffc519e4e89795 (diff) | |
| parent | c5dd5a516c9f0f4b622452c42e34e95ca2e2fae5 (diff) | |
| download | emacs-e8f2a944716884ba72b9ef3a49db2d5bca428ac9.tar.gz emacs-e8f2a944716884ba72b9ef3a49db2d5bca428ac9.zip | |
Merge from trunk.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/ChangeLog | 4 | ||||
| -rw-r--r-- | etc/themes/dichromacy-theme.el | 127 | ||||
| -rw-r--r-- | etc/themes/light-blue-theme.el | 2 | ||||
| -rw-r--r-- | etc/themes/misterioso-theme.el | 2 | ||||
| -rw-r--r-- | etc/themes/tango-dark-theme.el | 2 | ||||
| -rw-r--r-- | etc/themes/tango-theme.el | 2 | ||||
| -rw-r--r-- | etc/themes/tsdh-dark-theme.el | 3 | ||||
| -rw-r--r-- | etc/themes/tsdh-light-theme.el | 3 | ||||
| -rw-r--r-- | etc/themes/wheatgrass-theme.el | 2 | ||||
| -rw-r--r-- | etc/themes/wombat-theme.el | 2 |
10 files changed, 141 insertions, 8 deletions
diff --git a/etc/ChangeLog b/etc/ChangeLog index 78c19326afe..109124af4ee 100644 --- a/etc/ChangeLog +++ b/etc/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2011-06-14 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * themes/dichromacy-theme.el: New theme. | ||
| 4 | |||
| 1 | 2011-06-07 Paul Eggert <eggert@cs.ucla.edu> | 5 | 2011-06-07 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 6 | ||
| 3 | * NEWS: Mention new configure option --with-wide-int. | 7 | * NEWS: Mention new configure option --with-wide-int. |
diff --git a/etc/themes/dichromacy-theme.el b/etc/themes/dichromacy-theme.el new file mode 100644 index 00000000000..0105080ab08 --- /dev/null +++ b/etc/themes/dichromacy-theme.el | |||
| @@ -0,0 +1,127 @@ | |||
| 1 | ;;; dichromacy-theme.el --- color theme suitable for color-blind users | ||
| 2 | |||
| 3 | ;; Copyright (C) 2011 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | ;; Author: Chong Yidong <cyd@stupidchicken> | ||
| 6 | |||
| 7 | ;; This file is part of GNU Emacs. | ||
| 8 | |||
| 9 | ;; GNU Emacs is free software: you can redistribute it and/or modify | ||
| 10 | ;; it under the terms of the GNU General Public License as published by | ||
| 11 | ;; the Free Software Foundation, either version 3 of the License, or | ||
| 12 | ;; (at your option) any later version. | ||
| 13 | |||
| 14 | ;; GNU Emacs is distributed in the hope that it will be useful, | ||
| 15 | ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 16 | ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 17 | ;; GNU General Public License for more details. | ||
| 18 | |||
| 19 | ;; You should have received a copy of the GNU General Public License | ||
| 20 | ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. | ||
| 21 | |||
| 22 | ;;; Code: | ||
| 23 | |||
| 24 | (deftheme dichromacy | ||
| 25 | "Face colors suitable for red/green color-blind users. | ||
| 26 | The color palette is from B. Wong, Nature Methods 8, 441 (2011). | ||
| 27 | It is intended to provide good variability while being easily | ||
| 28 | differentiated by individuals with protanopia or deuteranopia. | ||
| 29 | |||
| 30 | Basic, Font Lock, Isearch, Gnus, Message, Flyspell, and | ||
| 31 | Ansi-Color faces are included.") | ||
| 32 | |||
| 33 | (let ((class '((class color) (min-colors 89))) | ||
| 34 | (orange "#e69f00") | ||
| 35 | (skyblue "#56b4e9") | ||
| 36 | (bluegreen "#009e73") | ||
| 37 | (yellow "#f8ec59") | ||
| 38 | (blue "#0072b2") | ||
| 39 | (vermillion "#d55e00") | ||
| 40 | (redpurple "#cc79a7") | ||
| 41 | (bluegray "#848ea9")) | ||
| 42 | (custom-theme-set-faces | ||
| 43 | 'dichromacy | ||
| 44 | `(default ((,class (:foreground "black" :background "white")))) | ||
| 45 | `(cursor ((,class (:foreground "white" :background "black")))) | ||
| 46 | ;; Highlighting faces | ||
| 47 | `(fringe ((,class (:background "#f7f7f7")))) | ||
| 48 | `(highlight ((,class (:foreground ,blue :background "#e5e5e5")))) | ||
| 49 | `(region ((,class (:foreground unspecified :background ,yellow)))) | ||
| 50 | `(secondary-selection ((,class (:background "#e5e5e5")))) | ||
| 51 | `(isearch ((,class (:foreground "white" :background ,vermillion)))) | ||
| 52 | `(lazy-highlight ((,class (:foreground "white" :background ,redpurple)))) | ||
| 53 | `(trailing-whitespace ((,class (:background ,vermillion)))) | ||
| 54 | ;; Mode line faces | ||
| 55 | `(mode-line ((,class (:box (:line-width -1 :style released-button) | ||
| 56 | :background "#e5e5e5" :foreground "black")))) | ||
| 57 | `(mode-line-inactive ((,class (:box (:line-width -1 :style released-button) | ||
| 58 | :background "#b0b0b0" | ||
| 59 | :foreground "black")))) | ||
| 60 | ;; Escape and prompt faces | ||
| 61 | `(minibuffer-prompt ((,class (:weight bold :foreground ,blue)))) | ||
| 62 | `(escape-glyph ((,class (:foreground ,vermillion)))) | ||
| 63 | ;; Font lock faces | ||
| 64 | `(font-lock-builtin-face ((,class (:foreground ,blue)))) | ||
| 65 | `(font-lock-comment-face ((,class (:slant italic :foreground ,bluegreen)))) | ||
| 66 | `(font-lock-constant-face ((,class (:weight bold :foreground ,vermillion)))) | ||
| 67 | `(font-lock-function-name-face ((,class (:foreground ,vermillion)))) | ||
| 68 | `(font-lock-keyword-face ((,class (:weight bold :foreground ,skyblue)))) | ||
| 69 | `(font-lock-string-face ((,class (:foreground ,bluegray)))) | ||
| 70 | `(font-lock-type-face ((,class (:weight bold :foreground ,blue)))) | ||
| 71 | `(font-lock-variable-name-face ((,class (:weight bold :foreground ,orange)))) | ||
| 72 | `(font-lock-warning-face ((,class (:weight bold :slant italic | ||
| 73 | :foreground ,vermillion)))) | ||
| 74 | ;; Button and link faces | ||
| 75 | `(button ((,class (:underline t :foreground ,blue)))) | ||
| 76 | `(link ((,class (:underline t :foreground ,blue)))) | ||
| 77 | `(link-visited ((,class (:underline t :foreground ,redpurple)))) | ||
| 78 | ;; Gnus faces | ||
| 79 | `(gnus-group-news-1 ((,class (:weight bold :foreground ,vermillion)))) | ||
| 80 | `(gnus-group-news-1-low ((,class (:foreground ,vermillion)))) | ||
| 81 | `(gnus-group-news-2 ((,class (:weight bold :foreground ,orange)))) | ||
| 82 | `(gnus-group-news-2-low ((,class (:foreground ,orange)))) | ||
| 83 | `(gnus-group-news-3 ((,class (:weight bold :foreground ,skyblue)))) | ||
| 84 | `(gnus-group-news-3-low ((,class (:foreground ,skyblue)))) | ||
| 85 | `(gnus-group-news-4 ((,class (:weight bold :foreground ,redpurple)))) | ||
| 86 | `(gnus-group-news-4-low ((,class (:foreground ,redpurple)))) | ||
| 87 | `(gnus-group-news-5 ((,class (:weight bold :foreground ,blue)))) | ||
| 88 | `(gnus-group-news-5-low ((,class (:foreground ,blue)))) | ||
| 89 | `(gnus-group-news-low ((,class (:foreground ,bluegreen)))) | ||
| 90 | `(gnus-group-mail-1 ((,class (:weight bold :foreground ,vermillion)))) | ||
| 91 | `(gnus-group-mail-1-low ((,class (:foreground ,vermillion)))) | ||
| 92 | `(gnus-group-mail-2 ((,class (:weight bold :foreground ,orange)))) | ||
| 93 | `(gnus-group-mail-2-low ((,class (:foreground ,orange)))) | ||
| 94 | `(gnus-group-mail-3 ((,class (:weight bold :foreground ,skyblue)))) | ||
| 95 | `(gnus-group-mail-3-low ((,class (:foreground ,skyblue)))) | ||
| 96 | `(gnus-group-mail-low ((,class (:foreground ,bluegreen)))) | ||
| 97 | `(gnus-header-content ((,class (:foreground ,redpurple)))) | ||
| 98 | `(gnus-header-from ((,class (:weight bold :foreground ,blue)))) | ||
| 99 | `(gnus-header-subject ((,class (:foreground ,orange)))) | ||
| 100 | `(gnus-header-name ((,class (:foreground ,skyblue)))) | ||
| 101 | `(gnus-header-newsgroups ((,class (:foreground ,vermillion)))) | ||
| 102 | ;; Message faces | ||
| 103 | `(message-header-name ((,class (:foreground ,skyblue)))) | ||
| 104 | `(message-header-cc ((,class (:foreground ,vermillion)))) | ||
| 105 | `(message-header-other ((,class (:foreground ,bluegreen)))) | ||
| 106 | `(message-header-subject ((,class (:foreground ,orange)))) | ||
| 107 | `(message-header-to ((,class (:weight bold :foreground ,blue)))) | ||
| 108 | `(message-cited-text ((,class (:slant italic :foreground ,bluegreen)))) | ||
| 109 | `(message-separator ((,class (:weight bold :foreground ,redpurple)))) | ||
| 110 | ;; Flyspell | ||
| 111 | `(flyspell-duplicate ((,class (:weight unspecified :foreground unspecified | ||
| 112 | :slant unspecified :underline ,orange)))) | ||
| 113 | `(flyspell-incorrect ((,class (:weight unspecified :foreground unspecified | ||
| 114 | :slant unspecified :underline ,redpurple))))) | ||
| 115 | |||
| 116 | (custom-theme-set-variables | ||
| 117 | 'dichromacy | ||
| 118 | `(ansi-color-names-vector ["black" ,vermillion ,bluegreen ,yellow | ||
| 119 | ,blue ,redpurple ,skyblue "white"]))) | ||
| 120 | |||
| 121 | (provide-theme 'dichromacy) | ||
| 122 | |||
| 123 | ;; Local Variables: | ||
| 124 | ;; no-byte-compile: t | ||
| 125 | ;; End: | ||
| 126 | |||
| 127 | ;;; dichromacy-theme.el ends here | ||
diff --git a/etc/themes/light-blue-theme.el b/etc/themes/light-blue-theme.el index 60f9fa8dc9d..98c74b268af 100644 --- a/etc/themes/light-blue-theme.el +++ b/etc/themes/light-blue-theme.el | |||
| @@ -26,7 +26,7 @@ | |||
| 26 | ;;; Code: | 26 | ;;; Code: |
| 27 | 27 | ||
| 28 | (deftheme light-blue | 28 | (deftheme light-blue |
| 29 | "Theme with a light blue backgound.") | 29 | "Face colors utilizing a light blue backgound.") |
| 30 | 30 | ||
| 31 | (let ((class '((class color) (min-colors 89)))) | 31 | (let ((class '((class color) (min-colors 89)))) |
| 32 | (custom-theme-set-faces | 32 | (custom-theme-set-faces |
diff --git a/etc/themes/misterioso-theme.el b/etc/themes/misterioso-theme.el index 864d31d9b09..ab4b2bc6191 100644 --- a/etc/themes/misterioso-theme.el +++ b/etc/themes/misterioso-theme.el | |||
| @@ -22,7 +22,7 @@ | |||
| 22 | ;;; Code: | 22 | ;;; Code: |
| 23 | 23 | ||
| 24 | (deftheme misterioso | 24 | (deftheme misterioso |
| 25 | "Theme for faces, using light colors on a dark gray background.") | 25 | "Predominantly blue/cyan faces on a dark cyan background.") |
| 26 | 26 | ||
| 27 | (let ((class '((class color) (min-colors 89)))) | 27 | (let ((class '((class color) (min-colors 89)))) |
| 28 | 28 | ||
diff --git a/etc/themes/tango-dark-theme.el b/etc/themes/tango-dark-theme.el index a5731ab7d7d..b5621d10320 100644 --- a/etc/themes/tango-dark-theme.el +++ b/etc/themes/tango-dark-theme.el | |||
| @@ -28,7 +28,7 @@ | |||
| 28 | ;;; Code: | 28 | ;;; Code: |
| 29 | 29 | ||
| 30 | (deftheme tango-dark | 30 | (deftheme tango-dark |
| 31 | "Theme for faces, based on the Tango palette with a dark background. | 31 | "Face colors using the Tango palette (dark background). |
| 32 | Basic, Font Lock, Isearch, Gnus, Message, Ediff, Flyspell, | 32 | Basic, Font Lock, Isearch, Gnus, Message, Ediff, Flyspell, |
| 33 | Semantic, and Ansi-Color faces are included.") | 33 | Semantic, and Ansi-Color faces are included.") |
| 34 | 34 | ||
diff --git a/etc/themes/tango-theme.el b/etc/themes/tango-theme.el index 7be50a17f5f..c58e0036353 100644 --- a/etc/themes/tango-theme.el +++ b/etc/themes/tango-theme.el | |||
| @@ -28,7 +28,7 @@ | |||
| 28 | ;;; Code: | 28 | ;;; Code: |
| 29 | 29 | ||
| 30 | (deftheme tango | 30 | (deftheme tango |
| 31 | "Theme for faces, based on the Tango palette with a light background. | 31 | "Face colors using the Tango palette (light background). |
| 32 | Basic, Font Lock, Isearch, Gnus, Message, Ediff, Flyspell, | 32 | Basic, Font Lock, Isearch, Gnus, Message, Ediff, Flyspell, |
| 33 | Semantic, and Ansi-Color faces are included.") | 33 | Semantic, and Ansi-Color faces are included.") |
| 34 | 34 | ||
diff --git a/etc/themes/tsdh-dark-theme.el b/etc/themes/tsdh-dark-theme.el index b4fe0b59237..aaa43435ddf 100644 --- a/etc/themes/tsdh-dark-theme.el +++ b/etc/themes/tsdh-dark-theme.el | |||
| @@ -20,7 +20,8 @@ | |||
| 20 | ;;; Code: | 20 | ;;; Code: |
| 21 | 21 | ||
| 22 | (deftheme tsdh-dark | 22 | (deftheme tsdh-dark |
| 23 | "Theme with dark background used and created by Tassilo Horn.") | 23 | "Minor tweaks to the Emacs dark-background defaults. |
| 24 | Used and created by Tassilo Horn.") | ||
| 24 | 25 | ||
| 25 | (custom-theme-set-faces | 26 | (custom-theme-set-faces |
| 26 | 'tsdh-dark | 27 | 'tsdh-dark |
diff --git a/etc/themes/tsdh-light-theme.el b/etc/themes/tsdh-light-theme.el index 4eda7a4b7c3..e7a2bafb03e 100644 --- a/etc/themes/tsdh-light-theme.el +++ b/etc/themes/tsdh-light-theme.el | |||
| @@ -20,7 +20,8 @@ | |||
| 20 | ;;; Code: | 20 | ;;; Code: |
| 21 | 21 | ||
| 22 | (deftheme tsdh-light | 22 | (deftheme tsdh-light |
| 23 | "Black on white theme used and created by Tassilo Horn.") | 23 | "Minor tweaks to the Emacs white-background defaults. |
| 24 | Used and created by Tassilo Horn.") | ||
| 24 | 25 | ||
| 25 | (custom-theme-set-faces | 26 | (custom-theme-set-faces |
| 26 | 'tsdh-light | 27 | 'tsdh-light |
diff --git a/etc/themes/wheatgrass-theme.el b/etc/themes/wheatgrass-theme.el index 7fd241c5057..3a08bb63d96 100644 --- a/etc/themes/wheatgrass-theme.el +++ b/etc/themes/wheatgrass-theme.el | |||
| @@ -20,7 +20,7 @@ | |||
| 20 | ;;; Code: | 20 | ;;; Code: |
| 21 | 21 | ||
| 22 | (deftheme wheatgrass | 22 | (deftheme wheatgrass |
| 23 | "A high-contrast theme with a black background. | 23 | "High-contrast green/blue/brown faces on a black background. |
| 24 | Basic, Font Lock, Isearch, Gnus, and Message faces are included. | 24 | Basic, Font Lock, Isearch, Gnus, and Message faces are included. |
| 25 | The default face foreground is wheat, with other faces in shades | 25 | The default face foreground is wheat, with other faces in shades |
| 26 | of green, brown, and blue.") | 26 | of green, brown, and blue.") |
diff --git a/etc/themes/wombat-theme.el b/etc/themes/wombat-theme.el index 6a16b52ee24..2aa64f894bf 100644 --- a/etc/themes/wombat-theme.el +++ b/etc/themes/wombat-theme.el | |||
| @@ -22,7 +22,7 @@ | |||
| 22 | ;;; Code: | 22 | ;;; Code: |
| 23 | 23 | ||
| 24 | (deftheme wombat | 24 | (deftheme wombat |
| 25 | "Theme for faces, using easy-on-the eyes colors on a dark gray background. | 25 | "Medium-contrast faces with a dark gray background. |
| 26 | Adapted, with permission, from a Vim color scheme by Lars H. Nielsen. | 26 | Adapted, with permission, from a Vim color scheme by Lars H. Nielsen. |
| 27 | Basic, Font Lock, Isearch, Gnus, Message, and Ansi-Color faces | 27 | Basic, Font Lock, Isearch, Gnus, Message, and Ansi-Color faces |
| 28 | are included.") | 28 | are included.") |