86 lines
3.4 KiB
EmacsLisp
86 lines
3.4 KiB
EmacsLisp
;;; color-theme-tango.el --- Tango palette color theme for GNU Emacs.
|
|
|
|
;; Taken from http://www.emacswiki.org/emacs/color-theme-tango.el
|
|
|
|
;; Copyright (C) 2010 danranx@gmail.com
|
|
|
|
;; Author: danranx@gmail.com
|
|
;; Keywords: tango color theme
|
|
;; URL: http://github.com/gorakhargosh/color-themes-collection
|
|
;; Version: 0.0.2
|
|
;; Package-Requires: ((color-theme "6.6.1"))
|
|
|
|
;; This file is NOT a part of GNU Emacs.
|
|
|
|
;;; License:
|
|
|
|
;; This 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 2, or (at your option) any later
|
|
;; version.
|
|
;;
|
|
;; This 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; see the file COPYING. If not, write to the
|
|
;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
|
|
;; MA 02111-1307, USA.
|
|
|
|
;;; Code:
|
|
|
|
|
|
(require 'color-theme)
|
|
|
|
(defun color-theme-tango ()
|
|
"A color theme based on Tango Palette."
|
|
(interactive)
|
|
(color-theme-install
|
|
'(color-theme-tango
|
|
((background-color . "#2e3436")
|
|
(background-mode . dark)
|
|
(border-color . "#888a85")
|
|
(cursor-color . "#fce94f")
|
|
(foreground-color . "#eeeeec")
|
|
(mouse-color . "#8ae234"))
|
|
((help-highlight-face . underline)
|
|
(ibuffer-dired-buffer-face . font-lock-function-name-face)
|
|
(ibuffer-help-buffer-face . font-lock-comment-face)
|
|
(ibuffer-hidden-buffer-face . font-lock-warning-face)
|
|
(ibuffer-occur-match-face . font-lock-warning-face)
|
|
(ibuffer-read-only-buffer-face . font-lock-type-face)
|
|
(ibuffer-special-buffer-face . font-lock-keyword-face)
|
|
(ibuffer-title-face . font-lock-type-face))
|
|
(border ((t (:background "#888a85"))))
|
|
(fringe ((t (:background "grey10"))))
|
|
(mode-line ((t (:foreground "#eeeeec" :background "#555753"))))
|
|
(region ((t (:background "#555753"))))
|
|
(font-lock-builtin-face ((t (:foreground "#729fcf"))))
|
|
(font-lock-comment-face ((t (:foreground "#888a85"))))
|
|
(font-lock-constant-face ((t (:foreground "#8ae234"))))
|
|
(font-lock-doc-face ((t (:foreground "#888a85"))))
|
|
(font-lock-keyword-face ((t (:foreground "#729fcf" :bold t))))
|
|
(font-lock-string-face ((t (:foreground "#ad7fa8" :italic t))))
|
|
(font-lock-type-face ((t (:foreground "#8ae234" :bold t))))
|
|
(font-lock-variable-name-face ((t (:foreground "#eeeeec"))))
|
|
(font-lock-warning-face ((t (:bold t :foreground "#f57900"))))
|
|
(font-lock-function-name-face ((t (:foreground "#edd400" :bold t :italic t))))
|
|
(comint-highlight-input ((t (:italic t :bold t))))
|
|
(comint-highlight-prompt ((t (:foreground "#8ae234"))))
|
|
(isearch ((t (:background "#f57900" :foreground "#2e3436"))))
|
|
(isearch-lazy-highlight-face ((t (:foreground "#2e3436" :background "#e9b96e"))))
|
|
(show-paren-match-face ((t (:foreground "#2e3436" :background "#73d216"))))
|
|
(show-paren-mismatch-face ((t (:background "#ad7fa8" :foreground "#2e3436"))))
|
|
(minibuffer-prompt ((t (:foreground "#729fcf" :bold t))))
|
|
(info-xref ((t (:foreground "#729fcf"))))
|
|
(info-xref-visited ((t (:foreground "#ad7fa8"))))
|
|
)))
|
|
|
|
(color-theme-tango)
|
|
|
|
(provide 'color-theme-tango)
|
|
|
|
;;; color-theme-tango.el ends here
|