mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-17 10:06:13 +00:00
08b0fee82a
Also, remove the :foreground attributes from cursor faces in built-in themes, since that attribute is unmeaningful.
98 lines
5.0 KiB
EmacsLisp
98 lines
5.0 KiB
EmacsLisp
;;; 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"))))
|
|
`(cperl-array-face ((,class (:foreground "SlateBlue3"))))
|
|
`(cperl-hash-face ((,class (:foreground "turquoise3"))))
|
|
`(cperl-nonoverridable-face ((,class (:foreground "orchid3"))))
|
|
`(cursor ((,class (:background "Green4"))))
|
|
`(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"))))
|
|
`(warning ((,class (:foreground "Yellow4"))))))
|
|
|
|
(provide-theme 'whiteboard)
|
|
|
|
;; Local Variables:
|
|
;; no-byte-compile: t
|
|
;; End:
|
|
|
|
;;; whiteboard-theme.el ends here
|