aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Stevenson2011-09-12 21:55:46 -0400
committerChong Yidong2011-09-12 21:55:46 -0400
commit76e20fd6a501daa9cba918725cde2ebd978cf6e4 (patch)
tree23a2ce8f1570888442055f4fbc1daf62060a0a2a
parent1cc15067897045fd59d8bfeb7ab542fcdd7bd274 (diff)
downloademacs-76e20fd6a501daa9cba918725cde2ebd978cf6e4.tar.gz
emacs-76e20fd6a501daa9cba918725cde2ebd978cf6e4.zip
* themes/adwaita-theme.el: New file.
-rw-r--r--etc/ChangeLog6
-rw-r--r--etc/themes/adwaita-theme.el106
-rw-r--r--etc/themes/deeper-blue-theme.el7
-rw-r--r--etc/themes/whiteboard-theme.el4
4 files changed, 117 insertions, 6 deletions
diff --git a/etc/ChangeLog b/etc/ChangeLog
index 431debda506..52129803583 100644
--- a/etc/ChangeLog
+++ b/etc/ChangeLog
@@ -1,7 +1,11 @@
12011-09-13 William Stevenson <yhvh2000@gmail.com>
2
3 * themes/adwaita-theme.el: New file.
4
12011-09-13 Scott Frazer <frazer.scott@gmail.com> 52011-09-13 Scott Frazer <frazer.scott@gmail.com>
2 6
3 * themes/whiteboard-theme.el: 7 * themes/whiteboard-theme.el:
4 * themes/deeper-blue-theme.el (deeper-blue): New files. 8 * themes/deeper-blue-theme.el: New files.
5 9
62011-09-05 Juri Linkov <juri@jurta.org> 102011-09-05 Juri Linkov <juri@jurta.org>
7 11
diff --git a/etc/themes/adwaita-theme.el b/etc/themes/adwaita-theme.el
new file mode 100644
index 00000000000..9e991847d5c
--- /dev/null
+++ b/etc/themes/adwaita-theme.el
@@ -0,0 +1,106 @@
1;;; adwaita-theme.el --- Tango-based custom theme for faces
2
3;; Copyright (C) 2010-2011 Free Software Foundation, Inc.
4
5;; Author: William Stevenson <yhvh2000@gmail.com>
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 adwaita
25 "Face colors similar to the default theme of Gnome 3 (Adwaita).
26The colors are chosen to match Adwaita window decorations and the
27default look of the Gnome 3 desktop.")
28
29(let ((class '((class color) (min-colors 89))))
30 (custom-theme-set-faces
31 'adwaita
32 `(cursor ((,class (:background "#00BBFF"))))
33 `(border-color ((,class (:background "#EDEDED"))))
34 `(default ((,class (:background "#EDEDED" :foreground "#2E3436"))))
35 `(fringe ((,class (:background "#E6E6E6"))))
36 `(mode-line ((,class (:box (:line-width -1 :style released-button)
37 :background "white" :foreground "#2E3436"))))
38 `(mode-line-inactive ((,class (:foreground "#C6C6C6" :background ,"white"))))
39 `(header-line ((,class (:foreground "#CCCCCC" :background "black"))))
40
41 `(minibuffer-prompt ((,class (:foreground "#0084C8" :bold t))))
42 `(region ((,class (:foreground unspecified :background "#C2D5E9"))))
43 `(dired-header ((,class (:bold t :foreground "#0084C8"))))
44 `(widget-button ((,class (:bold t :foreground "#0084C8"))))
45
46 `(success ((,class (:bold t :foreground "#4E9A06"))))
47 `(warning ((,class (:foreground "#CE5C00"))))
48 `(error ((,class (:foreground "#B50000"))))
49
50 `(font-lock-builtin-face ((,class (:foreground "#A020F0"))))
51 `(font-lock-constant-face ((,class (:foreground "#F5666D"))))
52 `(font-lock-comment-face ((,class (:foreground "#204A87"))))
53 `(font-lock-function-name-face ((,class (:foreground "#00578E" :bold t))))
54 `(font-lock-keyword-face ((,class (:bold t :foreground "#A52A2A"))))
55 `(font-lock-string-face ((,class (:foreground "#4E9A06"))))
56 `(font-lock-type-face ((,class (:foreground "#2F8B58" :bold t))))
57 `(font-lock-variable-name-face ((,class (:foreground "#0084C8" :bold t))))
58 `(font-lock-warning-face ((,class (:foreground "#F5666D" :bold t))))
59
60 `(link ((,class (:underline t :foreground "#0066CC"))))
61 `(link-visited ((,class (:underline t :foreground "#6799CC"))))
62 `(highlight ((,class (:foreground "white" :background "#4A90D9"))))
63 `(isearch ((,class (:foreground "white" :background "#77A4DD"))))
64
65 `(erc-action-face ((,class (:foreground "#F5666D"))))
66 `(erc-button ((,class (:foreground "#A8799C"))))
67 `(erc-current-nick-face ((,class (:bold t :foreground "#FF7092"))))
68 `(erc-error-face ((,class (:foreground "#F5666D" :bold t))))
69 `(erc-input-face ((,class (:foreground "black"))))
70 `(erc-keyword-face ((,class (:foreground "#F5666D"))))
71 `(erc-my-nick-face ((,class (:bold t :foreground "#FF8CA7"))))
72 `(erc-nick-default-face ((,class (:bold t :foreground "#0084C8"))))
73 `(erc-notice-face ((,class (:foreground "#0084C8"))))
74 `(erc-prompt-face ((,class (:foreground "black"))))
75 `(erc-timestamp-face ((,class (:foreground ,"#4CB64A"))))
76
77 `(magit-log-sha1 ((,class (:foreground "#FF7092"))))
78 `(magit-log-head-label-local ((,class (:foreground "#4F78B5"))))
79 `(magit-log-head-label-remote ((,class (:foreground ,"#4CB64A"))))
80 `(magit-branch ((,class (:bold t :foreground "#0084C8"))))
81 `(magit-section-title ((,class (:bold t :foreground "#00578E"))))
82 `(magit-item-highlight ((,class (:background "#FEFFBF"))))
83 `(magit-diff-add ((,class (:bold t :foreground "#4CB64A"))))
84 `(magit-diff-del ((,class (:bold nil :foreground "#F5666D"))))
85
86 `(gnus-group-mail-1-empty ((,class (:foreground "#00578E"))))
87 `(gnus-group-mail-1 ((,class (:bold t :foreground "#4F78B5"))))
88 `(gnus-group-mail-3-empty ((,class (:foreground "#00578E"))))
89 `(gnus-group-mail-3 ((,class (:bold t :foreground "#9CBB43"))))
90 `(gnus-group-news-3-empty ((,class (:foreground "#00578E"))))
91 `(gnus-group-news-3 ((,class (:bold t :foreground "#9CBB43"))))
92 `(gnus-header-name ((,class (:bold t :foreground "#0084C8"))))
93 `(gnus-header-subject ((,class (:bold t :foreground "#FF7092"))))
94 `(gnus-header-content ((,class (:foreground "#FF7092"))))
95 `(gnus-button ((,class (:bold t :foreground "#00578E"))))
96 `(gnus-cite-1 ((,class (:foreground "#00578E"))))
97 `(gnus-cite-2 ((,class (:foreground "#0084C8"))))
98
99 `(diff-added ((,class (:bold t :foreground "#4E9A06"))))
100 `(diff-removed ((,class (:bold t :foreground "#F5666D"))))))
101
102;; Local Variables:
103;; no-byte-compile: t
104;; End:
105
106;;; adwaita-theme.el ends here
diff --git a/etc/themes/deeper-blue-theme.el b/etc/themes/deeper-blue-theme.el
index 2430954e4a0..5c93e84d078 100644
--- a/etc/themes/deeper-blue-theme.el
+++ b/etc/themes/deeper-blue-theme.el
@@ -35,7 +35,6 @@
35 `(compilation-error ((,class (:foreground "Red1")))) 35 `(compilation-error ((,class (:foreground "Red1"))))
36 `(compilation-info ((,class (:weight normal :foreground "LightSkyBlue")))) 36 `(compilation-info ((,class (:weight normal :foreground "LightSkyBlue"))))
37 `(compilation-line-number ((,class (:foreground "LightGreen")))) 37 `(compilation-line-number ((,class (:foreground "LightGreen"))))
38 `(compilation-warning ((,class (:foreground "Yellow"))))
39 `(cperl-array-face ((,class (:foreground "yellow2")))) 38 `(cperl-array-face ((,class (:foreground "yellow2"))))
40 `(cperl-hash-face ((,class (:foreground "coral1")))) 39 `(cperl-hash-face ((,class (:foreground "coral1"))))
41 `(cursor ((,class (:background "green" :foreground "black")))) 40 `(cursor ((,class (:background "green" :foreground "black"))))
@@ -60,6 +59,7 @@
60 `(ediff-fine-diff-A ((,class (:background "skyblue4" :foreground "white")))) 59 `(ediff-fine-diff-A ((,class (:background "skyblue4" :foreground "white"))))
61 `(ediff-fine-diff-B ((,class (:background "cyan4" :foreground "white")))) 60 `(ediff-fine-diff-B ((,class (:background "cyan4" :foreground "white"))))
62 `(ediff-odd-diff-A ((,class (:background "Grey50" :foreground "White")))) 61 `(ediff-odd-diff-A ((,class (:background "Grey50" :foreground "White"))))
62 `(error ((,class (:foreground "red"))))
63 `(flymake-errline ((,class (:background nil :underline "red")))) 63 `(flymake-errline ((,class (:background nil :underline "red"))))
64 `(flymake-warnline ((,class (:background nil :underline "magenta3")))) 64 `(flymake-warnline ((,class (:background nil :underline "magenta3"))))
65 `(font-lock-builtin-face ((,class (:foreground "LightCoral")))) 65 `(font-lock-builtin-face ((,class (:foreground "LightCoral"))))
@@ -77,7 +77,6 @@
77 `(font-lock-string-face ((,class (:foreground "burlywood")))) 77 `(font-lock-string-face ((,class (:foreground "burlywood"))))
78 `(font-lock-type-face ((,class (:foreground "CadetBlue1")))) 78 `(font-lock-type-face ((,class (:foreground "CadetBlue1"))))
79 `(font-lock-variable-name-face ((,class (:foreground "SeaGreen2")))) 79 `(font-lock-variable-name-face ((,class (:foreground "SeaGreen2"))))
80 `(font-lock-warning-face ((,class (:foreground "red"))))
81 `(fringe ((,class (:background "black")))) 80 `(fringe ((,class (:background "black"))))
82 `(highlight ((,class (:background "DodgerBlue4")))) 81 `(highlight ((,class (:background "DodgerBlue4"))))
83 `(ido-first-match ((,class (:weight normal :foreground "orange")))) 82 `(ido-first-match ((,class (:weight normal :foreground "orange"))))
@@ -104,7 +103,9 @@
104 `(primary-selection ((,class (:background "blue3")))) 103 `(primary-selection ((,class (:background "blue3"))))
105 `(region ((,class (:background "#103050")))) 104 `(region ((,class (:background "#103050"))))
106 `(show-paren-match-face ((,class (:background "dodgerblue1" :foreground "white")))) 105 `(show-paren-match-face ((,class (:background "dodgerblue1" :foreground "white"))))
107 `(show-paren-mismatch-face ((,class (:background "red1" :foreground "white")))))) 106 `(show-paren-mismatch-face ((,class (:background "red1" :foreground "white"))))
107 `(success ((,class (:foreground "SeaGreen2"))))
108 `(warning ((,class (:foreground "Yellow"))))))
108 109
109(provide-theme 'deeper-blue) 110(provide-theme 'deeper-blue)
110 111
diff --git a/etc/themes/whiteboard-theme.el b/etc/themes/whiteboard-theme.el
index ca492b4e749..e0fa7ff7ff7 100644
--- a/etc/themes/whiteboard-theme.el
+++ b/etc/themes/whiteboard-theme.el
@@ -35,7 +35,6 @@
35 `(compilation-error ((,class (:foreground "Red1")))) 35 `(compilation-error ((,class (:foreground "Red1"))))
36 `(compilation-info ((,class (:weight normal :foreground "DeepSkyBlue4")))) 36 `(compilation-info ((,class (:weight normal :foreground "DeepSkyBlue4"))))
37 `(compilation-line-number ((,class (:foreground "DarkGreen")))) 37 `(compilation-line-number ((,class (:foreground "DarkGreen"))))
38 `(compilation-warning ((,class (:foreground "Yellow4"))))
39 `(cperl-array-face ((,class (:foreground "SlateBlue3")))) 38 `(cperl-array-face ((,class (:foreground "SlateBlue3"))))
40 `(cperl-hash-face ((,class (:foreground "turquoise3")))) 39 `(cperl-hash-face ((,class (:foreground "turquoise3"))))
41 `(cperl-nonoverridable-face ((,class (:foreground "orchid3")))) 40 `(cperl-nonoverridable-face ((,class (:foreground "orchid3"))))
@@ -86,7 +85,8 @@
86 `(primary-selection ((,class (:background "blue3")))) 85 `(primary-selection ((,class (:background "blue3"))))
87 `(region ((,class (:background "SkyBlue1")))) 86 `(region ((,class (:background "SkyBlue1"))))
88 `(show-paren-match-face ((,class (:background "dodgerblue1" :foreground "white")))) 87 `(show-paren-match-face ((,class (:background "dodgerblue1" :foreground "white"))))
89 `(show-paren-mismatch-face ((,class (:background "red1" :foreground "white")))))) 88 `(show-paren-mismatch-face ((,class (:background "red1" :foreground "white"))))
89 `(warning ((,class (:foreground "Yellow4"))))))
90 90
91(provide-theme 'whiteboard) 91(provide-theme 'whiteboard)
92 92