Two new themes from Scott Frazer.

* themes/whiteboard-theme.el:
* themes/deeper-blue-theme.el (deeper-blue): New files.
This commit is contained in:
Scott Frazer 2011-09-12 20:34:13 -04:00 committed by Chong Yidong
parent 64b5194776
commit 1cc1506789
3 changed files with 217 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2011-09-13 Scott Frazer <frazer.scott@gmail.com>
* themes/whiteboard-theme.el:
* themes/deeper-blue-theme.el (deeper-blue): New files.
2011-09-05 Juri Linkov <juri@jurta.org>
* grep.txt: Add `eval' to the Local Variables section that

View file

@ -0,0 +1,115 @@
;;; deeper-blue-theme.el --- Custom theme for faces
;; Copyright (C) 2011 Free Software Foundation, Inc.
;; Author: Scott Frazer <frazer.scott@gmail.com>
;; This file is part of GNU Emacs.
;; GNU Emacs is free software: you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;; GNU Emacs is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
;;; Code:
(deftheme deeper-blue
"Face colors using a deep blue backgound.")
(let ((class '((class color) (min-colors 89))))
(custom-theme-set-faces
'deeper-blue
`(Info-title-1-face ((,class (:family "helv" :weight bold :height 1.728))))
`(Info-title-2-face ((,class (:family "helv" :weight bold :height 1.44))))
`(Info-title-3-face ((,class (:family "helv" :weight bold :height 1.2))))
`(Info-title-4-face ((,class (:family "helv" :weight bold))))
`(compilation-column-number ((,class (:foreground "LightGreen"))))
`(compilation-error ((,class (:foreground "Red1"))))
`(compilation-info ((,class (:weight normal :foreground "LightSkyBlue"))))
`(compilation-line-number ((,class (:foreground "LightGreen"))))
`(compilation-warning ((,class (:foreground "Yellow"))))
`(cperl-array-face ((,class (:foreground "yellow2"))))
`(cperl-hash-face ((,class (:foreground "coral1"))))
`(cursor ((,class (:background "green" :foreground "black"))))
`(default ((,class (:background "#181a26" :foreground "gray80"))))
`(diff-added ((,class (nil))))
`(diff-changed ((,class (nil))))
`(diff-context ((,class (:foreground "seashell4"))))
`(diff-file-header ((,class (:background "grey60"))))
`(diff-function ((,class (:inherit diff-header))))
`(diff-header ((,class (:background "grey45"))))
`(diff-hunk-header ((,class (:inherit diff-header))))
`(diff-index ((,class (:inherit diff-file-header))))
`(diff-indicator-added ((,class (:foreground "white" :background "darkolivegreen"))))
`(diff-indicator-changed ((,class (:foreground "white" :background "dodgerblue4"))))
`(diff-indicator-removed ((,class (:foreground "white" :background "indianred4"))))
`(diff-refine-change ((,class (:background "skyblue4"))))
`(diff-removed ((,class (nil))))
`(dired-marked ((,class (:background "dodgerblue3" :foreground "white"))))
`(ediff-current-diff-A ((,class (:background "green4" :foreground "white"))))
`(ediff-current-diff-B ((,class (:background "darkorange3" :foreground "white"))))
`(ediff-even-diff-B ((,class (:background "Grey50" :foreground "White"))))
`(ediff-fine-diff-A ((,class (:background "skyblue4" :foreground "white"))))
`(ediff-fine-diff-B ((,class (:background "cyan4" :foreground "white"))))
`(ediff-odd-diff-A ((,class (:background "Grey50" :foreground "White"))))
`(flymake-errline ((,class (:background nil :underline "red"))))
`(flymake-warnline ((,class (:background nil :underline "magenta3"))))
`(font-lock-builtin-face ((,class (:foreground "LightCoral"))))
`(font-lock-comment-delimiter-face ((,class (:foreground "gray50"))))
`(font-lock-comment-face ((,class (:foreground "gray50"))))
`(font-lock-constant-face ((,class (:foreground "DarkOliveGreen3"))))
`(font-lock-doc-face ((,class (:foreground "moccasin"))))
`(font-lock-doc-string-face ((,class (:foreground "moccasin"))))
`(font-lock-function-name-face ((,class (:foreground "goldenrod"))))
`(font-lock-keyword-face ((,class (:foreground "DeepSkyBlue1"))))
`(font-lock-preprocessor-face ((,class (:foreground "gold"))))
`(font-lock-reference-face ((,class (:foreground "LightCoral"))))
`(font-lock-regexp-grouping-backslash ((,class (:weight bold))))
`(font-lock-regexp-grouping-construct ((,class (:weight bold))))
`(font-lock-string-face ((,class (:foreground "burlywood"))))
`(font-lock-type-face ((,class (:foreground "CadetBlue1"))))
`(font-lock-variable-name-face ((,class (:foreground "SeaGreen2"))))
`(font-lock-warning-face ((,class (:foreground "red"))))
`(fringe ((,class (:background "black"))))
`(highlight ((,class (:background "DodgerBlue4"))))
`(ido-first-match ((,class (:weight normal :foreground "orange"))))
`(ido-only-match ((,class (:foreground "green"))))
`(ido-subdir ((,class (:foreground nil :inherit font-lock-keyword-face))))
`(info-header-node ((,class (:foreground "DeepSkyBlue1"))))
`(info-header-xref ((,class (:foreground "SeaGreen2"))))
`(info-menu-header ((,class (:family "helv" :weight bold))))
`(info-node ((,class (:foreground "DeepSkyBlue1"))))
`(info-xref ((,class (:foreground "SeaGreen2"))))
`(isearch ((,class (:background "coral2" :foreground "white"))))
`(isearch-lazy-highlight-face ((,class (:background "coral4" :foreground "white"))))
`(lazy-highlight ((,class (:background "cadetblue" :foreground "white"))))
`(match ((,class (:background "DeepPink4"))))
`(minibuffer-prompt ((,class (:foreground "CadetBlue1"))))
`(mode-line ((,class (:background "gray75" :foreground "black" :box (:line-width 1 :style released-button)))))
`(mode-line-buffer-id ((,class (:weight bold :background nil :foreground "blue4"))))
`(mode-line-inactive ((,class (:background "gray40" :foreground "black" :box (:line-width 1 :color "gray40" :style nil)))))
`(outline-1 ((,class (:foreground "SkyBlue1"))))
`(outline-2 ((,class (:foreground "CadetBlue1"))))
`(outline-3 ((,class (:foreground "LightSteelBlue1"))))
`(outline-4 ((,class (:foreground "turquoise2"))))
`(outline-5 ((,class (:foreground "aquamarine1"))))
`(primary-selection ((,class (:background "blue3"))))
`(region ((,class (:background "#103050"))))
`(show-paren-match-face ((,class (:background "dodgerblue1" :foreground "white"))))
`(show-paren-mismatch-face ((,class (:background "red1" :foreground "white"))))))
(provide-theme 'deeper-blue)
;; Local Variables:
;; no-byte-compile: t
;; End:
;;; deeper-blue-theme.el ends here

View file

@ -0,0 +1,97 @@
;;; whiteboard-theme.el --- Custom theme for faces
;; Copyright (C) 2011 Free Software Foundation, Inc.
;; Author: Scott Frazer <frazer.scott@gmail.com>
;; This file is part of GNU Emacs.
;; GNU Emacs is free software: you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;; GNU Emacs is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
;;; Code:
(deftheme whiteboard
"Face colors similar to markers on a whiteboard.")
(let ((class '((class color) (min-colors 89))))
(custom-theme-set-faces
'whiteboard
`(Info-title-1-face ((,class (:family "helv" :weight bold :height 1.728))))
`(Info-title-2-face ((,class (:family "helv" :weight bold :height 1.44))))
`(Info-title-3-face ((,class (:family "helv" :weight bold :height 1.2))))
`(Info-title-4-face ((,class (:family "helv" :weight bold))))
`(compilation-column-number ((,class (:foreground "DarkGreen"))))
`(compilation-error ((,class (:foreground "Red1"))))
`(compilation-info ((,class (:weight normal :foreground "DeepSkyBlue4"))))
`(compilation-line-number ((,class (:foreground "DarkGreen"))))
`(compilation-warning ((,class (:foreground "Yellow4"))))
`(cperl-array-face ((,class (:foreground "SlateBlue3"))))
`(cperl-hash-face ((,class (:foreground "turquoise3"))))
`(cperl-nonoverridable-face ((,class (:foreground "orchid3"))))
`(cursor ((,class (:background "Green4" :foreground "gainsboro"))))
`(default ((,class (:background "whitesmoke" :foreground "black"))))
`(dired-marked ((,class (:background "dodgerblue3" :foreground "white"))))
`(flymake-errline ((,class (:background nil :underline "red"))))
`(flymake-warnline ((,class (:background nil :underline "magenta3"))))
`(font-lock-builtin-face ((,class (:foreground "DarkOrange3"))))
`(font-lock-comment-delimiter-face ((,class (:foreground "gray50"))))
`(font-lock-comment-face ((,class (:foreground "gray50"))))
`(font-lock-constant-face ((,class (:foreground "DarkOliveGreen4"))))
`(font-lock-doc-face ((,class (:foreground "peru"))))
`(font-lock-doc-string-face ((,class (:foreground "peru"))))
`(font-lock-function-name-face ((,class (:foreground "goldenrod3"))))
`(font-lock-keyword-face ((,class (:foreground "DodgerBlue2"))))
`(font-lock-preprocessor-face ((,class (:foreground "gold3"))))
`(font-lock-reference-face ((,class (:foreground "salmon"))))
`(font-lock-regexp-grouping-backslash ((,class (:weight bold))))
`(font-lock-regexp-grouping-construct ((,class (:weight bold))))
`(font-lock-string-face ((,class (:foreground "burlywood4"))))
`(font-lock-type-face ((,class (:foreground "DeepSkyBlue4"))))
`(font-lock-variable-name-face ((,class (:foreground "SeaGreen4"))))
`(font-lock-warning-face ((,class (:foreground "red"))))
`(fringe ((,class (:background "gainsboro"))))
`(highlight ((,class (:background "SkyBlue1"))))
`(ido-first-match ((,class (:weight normal :foreground "DarkOrange3"))))
`(ido-only-match ((,class (:foreground "SeaGreen4"))))
`(ido-subdir ((,class (:foreground nil :inherit font-lock-keyword-face))))
`(info-header-node ((,class (:foreground "DeepSkyBlue1"))))
`(info-header-xref ((,class (:foreground "SeaGreen2"))))
`(info-menu-header ((,class (:family "helv" :weight bold))))
`(info-node ((,class (:foreground "DeepSkyBlue1"))))
`(info-xref ((,class (:foreground "SeaGreen4"))))
`(isearch ((,class (:background "coral2" :foreground "white"))))
`(isearch-lazy-highlight-face ((,class (:background "coral4" :foreground "white"))))
`(lazy-highlight ((,class (:background "cadetblue" :foreground "white"))))
`(match ((,class (:background "LightPink1"))))
`(minibuffer-prompt ((,class (:foreground "DodgerBlue4"))))
`(mode-line ((,class (:background "gray75" :foreground "black" :box (:line-width 1 :style released-button)))))
`(mode-line-buffer-id ((,class (:weight bold :background nil :foreground "blue4"))))
`(mode-line-inactive ((,class (:background "gray40" :foreground "black" :box (:line-width 1 :color "gray40" :style nil)))))
`(outline-1 ((,class (:foreground "Blue3"))))
`(outline-2 ((,class (:foreground "DodgerBlue"))))
`(outline-3 ((,class (:foreground "SteelBlue"))))
`(outline-4 ((,class (:foreground "RoyalBlue"))))
`(outline-5 ((,class (:foreground "DeepSkyBlue"))))
`(primary-selection ((,class (:background "blue3"))))
`(region ((,class (:background "SkyBlue1"))))
`(show-paren-match-face ((,class (:background "dodgerblue1" :foreground "white"))))
`(show-paren-mismatch-face ((,class (:background "red1" :foreground "white"))))))
(provide-theme 'whiteboard)
;; Local Variables:
;; no-byte-compile: t
;; End:
;;; whiteboard-theme.el ends here