Small addition to glasses.el (bug#8524)
[emacs.git] / etc / themes / misterioso-theme.el
blob864d31d9b09505544843fed77bd67182f2dc7e3d
1 ;;; misterioso-theme.el --- Custom face theme for Emacs
3 ;; Copyright (C) 2011 Free Software Foundation, Inc.
5 ;; Author: Sebastian Hermida
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 misterioso
25 "Theme for faces, using light colors on a dark gray background.")
27 (let ((class '((class color) (min-colors 89))))
29 (custom-theme-set-faces
30 'misterioso
31 ;; Ensure sufficient contrast on 256-color xterms.
32 `(default ((((class color) (min-colors 4096))
33 (:background "#2d3743" :foreground "#e1e1e0"))
34 (,class
35 (:background "#3a3a3a" :foreground "#e1e1e0"))))
36 `(cursor ((,class (:background "#415160" :foreground "#415160"))))
37 ;; Highlighting faces
38 `(fringe ((,class (:background "#2e3748"))))
39 `(highlight ((,class (:background "#338f86" :foreground "#e1e1e0"))))
40 `(region ((,class (:background "#2d4948" :foreground "#e1e1e0"))))
41 `(isearch ((,class (:background "#fcffad" :foreground "#000000"))))
42 `(lazy-highlight ((,class (:background "#338f86"))))
43 `(trailing-whitespace ((,class (:background "#ff4242"))))
44 ;; Mode line faces
45 `(mode-line ((,class (:background "#212931" :foreground "#eeeeec"))))
46 `(mode-line-inactive
47 ((,class (:background "#878787" :foreground "#eeeeec"))))
48 `(header-line ((,class (:background "#e5e5e5" :foreground "#333333"))))
49 ;; Escape and prompt faces
50 `(minibuffer-prompt ((,class (:foreground "#729fcf" :weight bold))))
51 ;; Font lock faces
52 `(font-lock-builtin-face ((,class (:foreground "#23d7d7"))))
53 `(font-lock-comment-face ((,class (:foreground "#74af68"))))
54 `(font-lock-constant-face ((,class (:foreground "#008b8b"))))
55 `(font-lock-function-name-face
56 ((,class (:foreground "#00ede1" :weight bold))))
57 `(font-lock-keyword-face ((,class (:foreground "#ffad29" :weight bold))))
58 `(font-lock-string-face ((,class (:foreground "#e67128"))))
59 `(font-lock-type-face ((,class (:foreground "#34cae2"))))
60 `(font-lock-variable-name-face ((,class (:foreground "#dbdb95"))))
61 `(font-lock-warning-face ((,class (:foreground "#ff4242" :weight bold))))
62 ;; Buttons and links
63 `(button ((,class (:underline t))))
64 `(link ((,class (:foreground "#59e9ff" :underline t))))
65 `(link-visited ((,class (:foreground "#ed74cd" :underline t))))
66 ;; Gnus faces
67 `(gnus-group-news-1 ((,class (:foreground "#ff4242" :weight bold))))
68 `(gnus-group-news-1-low ((,class (:foreground "#ff4242"))))
69 `(gnus-group-news-2 ((,class (:foreground "#00ede1" :weight bold))))
70 `(gnus-group-news-2-low ((,class (:foreground "#00ede1"))))
71 `(gnus-group-news-3 ((,class (:foreground "#23d7d7" :weight bold))))
72 `(gnus-group-news-3-low ((,class (:foreground "#23d7d7"))))
73 `(gnus-group-news-4 ((,class (:foreground "#74af68" :weight bold))))
74 `(gnus-group-news-4-low ((,class (:foreground "#74af68"))))
75 `(gnus-group-news-5 ((,class (:foreground "#dbdb95" :weight bold))))
76 `(gnus-group-news-5-low ((,class (:foreground "#dbdb95"))))
77 `(gnus-group-news-low ((,class (:foreground "#008b8b"))))
78 `(gnus-group-mail-1 ((,class (:foreground "#ff4242" :weight bold))))
79 `(gnus-group-mail-1-low ((,class (:foreground "#ff4242"))))
80 `(gnus-group-mail-2 ((,class (:foreground "#00ede1" :weight bold))))
81 `(gnus-group-mail-2-low ((,class (:foreground "#00ede1"))))
82 `(gnus-group-mail-3 ((,class (:foreground "#23d7d7" :weight bold))))
83 `(gnus-group-mail-3-low ((,class (:foreground "#23d7d7"))))
84 `(gnus-group-mail-low ((,class (:foreground "#008b8b"))))
85 `(gnus-header-content ((,class (:weight normal :foreground "#ffad29"))))
86 `(gnus-header-from ((,class (:foreground "#e67128" :weight bold))))
87 `(gnus-header-subject ((,class (:foreground "#dbdb95"))))
88 `(gnus-header-name ((,class (:foreground "#00ede1"))))
89 `(gnus-header-newsgroups ((,class (:foreground "#e67128"))))
90 ;; Message faces
91 `(message-header-name ((,class (:foreground "#ffad29" :weight bold))))
92 `(message-header-cc ((,class (:foreground "#e67128"))))
93 `(message-header-other ((,class (:foreground "#e67128"))))
94 `(message-header-subject ((,class (:foreground "#dbdb95"))))
95 `(message-header-to ((,class (:foreground "#00ede1"))))
96 `(message-cited-text ((,class (:foreground "#74af68"))))
97 `(message-separator ((,class (:foreground "#23d7d7"))))))
99 (custom-theme-set-variables
100 'misterioso
101 '(ansi-color-names-vector ["#2d3743" "#ff4242" "#74af68" "#dbdb95"
102 "#34cae2" "#008b8b" "#00ede1" "#e1e1e0"]))
104 (provide-theme 'misterioso)
106 ;; Local Variables:
107 ;; no-byte-compile: t
108 ;; End:
110 ;;; misterioso-theme.el ends here