Update copyright year to 2014 by running admin/update-copyright.
[emacs.git] / etc / themes / adwaita-theme.el
blob8810aaf9cf7b8b92e465c52a9cfa548491b66efd
1 ;;; adwaita-theme.el --- Tango-based custom theme for faces
3 ;; Copyright (C) 2010-2014 Free Software Foundation, Inc.
5 ;; Author: William Stevenson <yhvh2000@gmail.com>
7 ;; This file is part of GNU Emacs.
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.
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.
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/>.
22 ;;; Code:
24 (deftheme adwaita
25 "Face colors similar to the default theme of Gnome 3 (Adwaita).
26 The colors are chosen to match Adwaita window decorations and the
27 default look of the Gnome 3 desktop.")
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"))))
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"))))
46 `(success ((,class (:bold t :foreground "#4E9A06"))))
47 `(warning ((,class (:foreground "#CE5C00"))))
48 `(error ((,class (:foreground "#B50000"))))
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))))
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"))))
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"))))
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"))))
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"))))
99 `(diff-added ((,class (:bold t :foreground "#4E9A06"))))
100 `(diff-removed ((,class (:bold t :foreground "#F5666D"))))))
102 ;; Local Variables:
103 ;; no-byte-compile: t
104 ;; End:
106 ;;; adwaita-theme.el ends here