Skip to content
Browse files

add zenburn, magit, hotkeys, hooks for textmate and centered cursor

  • Loading branch information...
1 parent 73ee70c commit 1e27f794d179e1c65a8174ade14b75f12c7c222d @jgv committed Mar 12, 2012
Showing with 523 additions and 11 deletions.
  1. +2 −0 .gitignore
  2. +7 −0 customizations/keys.el
  3. +9 −6 customizations/modes.el
  4. +2 −0 customizations/ui.el
  5. +2 −0 init.el
  6. +9 −5 sources.el
  7. +492 −0 themes/zenburn-theme.el
View
2 .gitignore
@@ -1,3 +1,5 @@
el-get
auto-save-list
*~
+.savehist
+.saveplace
View
7 customizations/keys.el
@@ -1,2 +1,9 @@
(setq mac-option-modifier 'meta)
(setq mac-command-modifier 'ctrl)
+
+(global-set-key [(meta n)] 'goto-line)
+(global-set-key [(meta s)] 'replace-string)
+(global-set-key [(meta \1)] 'shell)
+(global-set-key [(meta \2)] 'magit-status)
+(global-set-key [(meta \3)] 'desktop-read)
+(global-set-key [(meta \6)] 'grep-find)
View
15 customizations/modes.el
@@ -1,9 +1,3 @@
-;;(require 'textmate)
-;;(textmate-mode t)
-
-;;(require 'centered-cursor-mode)
-;;(global-centered-cursor-mode +1)
-
;; js, json, ejs, coffee
(add-to-list 'auto-mode-alist '("\\.json$" . js-mode))
(add-to-list 'auto-mode-alist '("\\.ejs$" . html-mode))
@@ -62,3 +56,12 @@
(autoload 'textile-mode "coffee-mode" nil t)
(add-to-list 'auto-mode-alist '("\\.coffee$" . coffee-mode))
(add-to-list 'auto-mode-alist '("Cakefile" . coffee-mode)))
+
+(defun magit-hook ()
+ (global-set-key (kbd "C-x C-z") 'magit-status))
+
+(defun centered-cursor-hook ()
+ (global-centered-cursor-mode +1))
+
+(defun textmate-hook ()
+ (textmate-mode t))
View
2 customizations/ui.el
@@ -30,3 +30,5 @@
dired-directory
(revert-buffer-function " %b"
("%b - Dir: " default-directory)))))))
+
+(load-theme 'zenburn t)
View
2 init.el
@@ -12,8 +12,10 @@
(load-file "~/.emacs.d/load-directory.el")
(add-to-list 'load-path "~/.emacs.d/customizations")
(add-to-list 'load-path "~/.emacs.d/utils")
+(add-to-list 'load-path "~/.emacs.d/themes")
(mapcar 'load-directory '("~/.emacs.d/utils"))
+(mapcar 'load-directory '("~/.emacs.d/themes"))
(mapcar 'load-directory '("~/.emacs.d/customizations"))
(unless (require 'el-get nil t)
View
14 sources.el
@@ -11,14 +11,17 @@
(:name textmate
:type git
:url "git://github.com/defunkt/textmate.el"
- :load "textmate.el")
+ :load "textmate.el"
+ :after (lambda () (textmate-hook)))
+ (:name magit
+ :after (lambda () (magit-hook)))
(:name rvm
:type git
:url "git://github.com/djwhitt/rvm.el.git"
:load "rvm.el"
:compile ("rvm.el")
:after (lambda() (rvm-use-default)))
- (:name yaml-mode
+ (:name yaml-mode
:type git
:url "git://github.com/yoshiki/yaml-mode.git"
:features yaml-mode
@@ -31,7 +34,8 @@
(:name centered-cursor-mode
:type git
:url "git://github.com/emacsmirror/centered-cursor-mode.git"
- :load "centered-cursor-mode.el")
+ :load "centered-cursor-mode.el"
+ :after (lambda () (centered-cursor-hook)))
(:name rainbow-mode
:type git
:url "git://github.com/emacsmirror/rainbow-mode.git"
@@ -46,12 +50,12 @@
:type git
:url "git://github.com/emacsmirror/textile-mode.git"
:features textile-mode
- :load (lambda () (textile-mode-hook)))
+ :after (lambda () (textile-mode-hook)))
(:name coffee-mode
:type git
:url "git://github.com/defunkt/coffee-mode.git"
:features coffee-mode
- :load (lambda () (coffee-mode-hook)))))
+ :after (lambda () (coffee-mode-hook)))))
(setq my-packages
(append '(el-get) (mapcar 'el-get-source-name el-get-sources)))
View
492 themes/zenburn-theme.el
@@ -0,0 +1,492 @@
+;;; zenburn-theme.el --- A low contrast color theme for Emacs.
+
+;; Copyright (C) 2011 Bozhidar Batsov
+
+;; Author: Bozhidar Batsov <bozhidar.batsov@gmail.com>
+;; URL: http://github.com/bbatsov/zenburn-emacs
+;; Version: 1.4
+
+;; This program 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.
+
+;; This program 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 this program. If not, see <http://www.gnu.org/licenses/>.
+
+;;; Commentary:
+;;
+;; A port of the popular Vim theme Zenburn for Emacs 24, built on top of
+;; the new built-in theme support in Emacs 24. There exists one other version of the
+;; theme by Daniel Brockman. My version was originally based on it,
+;; but it was in such a disarray, that I decided to rewrite it from
+;; scratch in a more maintainable manner (hopefully).
+;;
+;;; Installation:
+;;
+;; Drop the theme in a folder that is on `custom-theme-load-path'
+;; and enjoy!
+;;
+;; Don't forget that the theme requires Emacs 24.
+;;
+;;; Bugs
+;;
+;; None that I'm aware of.
+;;
+;;; Credits
+;;
+;; Jani Nurminen created the original theme for vim on such this port
+;; is based.
+;;
+;;; Code
+(deftheme zenburn "The Zenburn color theme")
+
+(let ((class '((class color) (min-colors 89)))
+ ;; Zenburn palette
+ ;; colors with +x are lighter, colors with -x are darker
+ (zenburn-fg "#dcdccc")
+ (zenburn-fg-1 "#656555")
+ (zenburn-bg-1 "#2b2b2b")
+ (zenburn-bg-05 "#383838")
+ (zenburn-bg "#3f3f3f")
+ (zenburn-bg+1 "#4f4f4f")
+ (zenburn-bg+2 "#5f5f5f")
+ (zenburn-bg+3 "#6f6f6f")
+ (zenburn-red+1 "#dca3a3")
+ (zenburn-red "#cc9393")
+ (zenburn-red-1 "#bc8383")
+ (zenburn-red-2 "#ac7373")
+ (zenburn-red-3 "#9c6363")
+ (zenburn-red-4 "#8c5353")
+ (zenburn-orange "#dfaf8f")
+ (zenburn-yellow "#f0dfaf")
+ (zenburn-yellow-1 "#e0cf9f")
+ (zenburn-yellow-2 "#d0bf8f")
+ (zenburn-green-1 "#5f7f5f")
+ (zenburn-green "#7f9f7f")
+ (zenburn-green+1 "#8fb28f")
+ (zenburn-green+2 "#9fc59f")
+ (zenburn-green+3 "#afd8af")
+ (zenburn-green+4 "#bfebbf")
+ (zenburn-cyan "#93e0e3")
+ (zenburn-blue+1 "#94bff3")
+ (zenburn-blue "#8cd0d3")
+ (zenburn-blue-1 "#7cb8bb")
+ (zenburn-blue-2 "#6ca0a3")
+ (zenburn-blue-3 "#5c888b")
+ (zenburn-blue-4 "#4c7073")
+ (zenburn-blue-5 "#366060")
+ (zenburn-magenta "#dc8cc3"))
+ (custom-theme-set-faces
+ 'zenburn
+ '(button ((t (:underline t))))
+ `(link ((,class (:foreground ,zenburn-yellow :underline t :weight bold))))
+ `(link-visited ((,class (:foreground ,zenburn-yellow-2 :underline t :weight normal))))
+
+ ;;; basic coloring
+ `(default ((,class (:foreground ,zenburn-fg :background ,zenburn-bg))))
+ `(cursor ((,class (:foreground ,zenburn-fg))))
+ `(escape-glyph-face ((,class (:foreground ,zenburn-red))))
+ `(fringe ((,class (:foreground ,zenburn-fg :background ,zenburn-bg+1))))
+ `(header-line ((,class (:foreground ,zenburn-yellow
+ :background ,zenburn-bg-1
+ :box (:line-width -1 :style released-button)))))
+ `(highlight ((,class (:background ,zenburn-bg-05))))
+
+ ;;; compilation
+ `(compilation-column-face ((,class (:foreground ,zenburn-yellow))))
+ `(compilation-enter-directory-face ((,class (:foreground ,zenburn-green))))
+ `(compilation-error-face ((,class (:foreground ,zenburn-red-1 :weight bold :underline t))))
+ `(compilation-face ((,class (:foreground ,zenburn-fg))))
+ `(compilation-info-face ((,class (:foreground ,zenburn-blue))))
+ `(compilation-info ((,class (:foreground ,zenburn-green+4 :underline t))))
+ `(compilation-leave-directory-face ((,class (:foreground ,zenburn-green))))
+ `(compilation-line-face ((,class (:foreground ,zenburn-yellow))))
+ `(compilation-line-number ((,class (:foreground ,zenburn-yellow))))
+ `(compilation-message-face ((,class (:foreground ,zenburn-blue))))
+ `(compilation-warning-face ((,class (:foreground ,zenburn-yellow-1 :weight bold :underline t))))
+
+ ;;; grep
+ `(grep-context-face ((,class (:foreground ,zenburn-fg))))
+ `(grep-error-face ((,class (:foreground ,zenburn-red-1 :weight bold :underline t))))
+ `(grep-hit-face ((,class (:foreground ,zenburn-blue))))
+ `(grep-match-face ((,class (:foreground ,zenburn-orange :weight bold))))
+ `(match ((,class (:background ,zenburn-bg-1 :foreground ,zenburn-orange :weight bold))))
+
+ ;; faces used by isearch
+ `(isearch ((,class (:foreground ,zenburn-yellow :background ,zenburn-bg-1))))
+ `(isearch-fail ((,class (:foreground ,zenburn-fg :background ,zenburn-red-4))))
+ `(lazy-highlight ((,class (:foreground ,zenburn-yellow :background ,zenburn-bg+2))))
+
+ `(menu ((,class (:foreground ,zenburn-fg :background ,zenburn-bg))))
+ `(minibuffer-prompt ((,class (:foreground ,zenburn-yellow))))
+ `(mode-line
+ ((,class (:foreground ,zenburn-green+1
+ :background ,zenburn-bg-1
+ :box (:line-width -1 :style released-button)))))
+ `(mode-line-buffer-id ((,class (:foreground ,zenburn-yellow :weight bold))))
+ `(mode-line-inactive
+ ((,class (:foreground ,zenburn-green-1
+ :background ,zenburn-bg-05
+ :box (:line-width -1 :style released-button)))))
+ `(region ((,class (:background ,zenburn-bg-1))))
+ `(secondary-selection ((,class (:background ,zenburn-bg+2))))
+ `(trailing-whitespace ((,class (:background ,zenburn-red))))
+ `(vertical-border ((,class (:foreground ,zenburn-fg))))
+
+ ;;; font lock
+ `(font-lock-builtin-face ((,class (:foreground ,zenburn-blue))))
+ `(font-lock-comment-face ((,class (:foreground ,zenburn-green))))
+ `(font-lock-comment-delimiter-face ((,class (:foreground ,zenburn-green))))
+ `(font-lock-constant-face ((,class (:foreground ,zenburn-green+4))))
+ `(font-lock-doc-face ((,class (:foreground ,zenburn-green+1))))
+ `(font-lock-doc-string-face ((,class (:foreground ,zenburn-blue+1))))
+ `(font-lock-function-name-face ((,class (:foreground ,zenburn-blue))))
+ `(font-lock-keyword-face ((,class (:foreground ,zenburn-yellow :weight bold))))
+ `(font-lock-negation-char-face ((,class (:foreground ,zenburn-fg))))
+ `(font-lock-preprocessor-face ((,class (:foreground ,zenburn-blue))))
+ `(font-lock-string-face ((,class (:foreground ,zenburn-red))))
+ `(font-lock-type-face ((,class (:foreground ,zenburn-blue))))
+ `(font-lock-variable-name-face ((,class (:foreground ,zenburn-orange))))
+ `(font-lock-warning-face ((,class (:foreground ,zenburn-yellow-1 :weight bold :underline t))))
+
+ `(c-annotation-face ((,class (:inherit font-lock-constant-face))))
+
+ ;;; external
+
+ ;; full-ack
+ `(ack-separator ((,class (:foreground ,zenburn-fg))))
+ `(ack-file ((,class (:foreground ,zenburn-blue))))
+ `(ack-line ((,class (:foreground ,zenburn-yellow))))
+ `(ack-match ((,class (:foreground ,zenburn-orange :background ,zenburn-bg-1 :weigth bold))))
+
+ ;; auto-complete
+ `(ac-candidate-face ((,class (:background ,zenburn-bg+3 :foreground "black"))))
+ `(ac-selection-face ((,class (:background ,zenburn-blue-4 :foreground ,zenburn-fg))))
+ `(popup-tip-face ((,class (:background ,zenburn-yellow-2 :foreground "black"))))
+ `(popup-scroll-bar-foreground-face ((,class (:background ,zenburn-blue-5))))
+ `(popup-scroll-bar-background-face ((,class (:background ,zenburn-bg-1))))
+ `(popup-isearch-match ((,class (:background ,zenburn-bg :foreground ,zenburn-fg))))
+
+ ;; diff
+ `(diff-added ((,class (:foreground ,zenburn-green+4))))
+ `(diff-changed ((,class (:foreground ,zenburn-yellow))))
+ `(diff-removed ((,class (:foreground ,zenburn-red))))
+ `(diff-header ((,class (:background ,zenburn-bg+1))))
+ `(diff-file-header
+ ((,class (:background ,zenburn-bg+2 :foreground ,zenburn-fg :bold t))))
+
+ ;; eshell
+ `(eshell-prompt ((,class (:foreground ,zenburn-yellow :weight bold))))
+ `(eshell-ls-archive ((,class (:foreground ,zenburn-red-1 :weight bold))))
+ `(eshell-ls-backup ((,class (:inherit font-lock-comment))))
+ `(eshell-ls-clutter ((,class (:inherit font-lock-comment))))
+ `(eshell-ls-directory ((,class (:foreground ,zenburn-blue+1 :weight bold))))
+ `(eshell-ls-executable ((,class (:foreground ,zenburn-red+1 :weight bold))))
+ `(eshell-ls-unreadable ((,class (:foreground ,zenburn-fg))))
+ `(eshell-ls-missing ((,class (:inherit font-lock-warning))))
+ `(eshell-ls-product ((,class (:inherit font-lock-doc))))
+ `(eshell-ls-special ((,class (:foreground ,zenburn-yellow :weight bold))))
+ `(eshell-ls-symlink ((,class (:foreground ,zenburn-cyan :weight bold))))
+
+ ;; flymake
+ `(flymake-errline ((,class (:foreground ,zenburn-red-1 :weight bold :underline t))))
+ `(flymake-warnline ((,class (:foreground ,zenburn-yellow-1 :weight bold :underline t))))
+
+ ;; flyspell
+ `(flyspell-duplicate ((,class (:foreground ,zenburn-yellow-1 :weight bold :underline t))))
+ `(flyspell-incorrect ((,class (:foreground ,zenburn-red-1 :weight bold :underline t))))
+
+ ;; erc
+ `(erc-action-face ((,class (:inherit erc-default-face))))
+ `(erc-bold-face ((,class (:weight bold))))
+ `(erc-current-nick-face ((,class (:foreground ,zenburn-blue :weight bold))))
+ `(erc-dangerous-host-face ((,class (:inherit font-lock-warning))))
+ `(erc-default-face ((,class (:foreground ,zenburn-fg))))
+ `(erc-direct-msg-face ((,class (:inherit erc-default))))
+ `(erc-error-face ((,class (:inherit font-lock-warning))))
+ `(erc-fool-face ((,class (:inherit erc-default))))
+ `(erc-highlight-face ((,class (:inherit hover-highlight))))
+ `(erc-input-face ((,class (:foreground ,zenburn-yellow))))
+ `(erc-keyword-face ((,class (:foreground ,zenburn-blue :weight bold))))
+ `(erc-nick-default-face ((,class (:foreground ,zenburn-yellow :weight bold))))
+ `(erc-my-nick-face ((,class (:foreground ,zenburn-red :weigth bold))))
+ `(erc-nick-msg-face ((,class (:inherit erc-default))))
+ `(erc-notice-face ((,class (:foreground ,zenburn-green))))
+ `(erc-pal-face ((,class (:foreground ,zenburn-orange :weight bold))))
+ `(erc-prompt-face ((,class (:foreground ,zenburn-orange :background ,zenburn-bg :weight bold))))
+ `(erc-timestamp-face ((,class (:foreground ,zenburn-green+1))))
+ `(erc-underline-face ((t (:underline t))))
+
+ ;; gnus
+ `(gnus-group-mail-1-face ((,class (:bold t :inherit gnus-group-mail-1-empty))))
+ `(gnus-group-mail-1-empty-face ((,class (:inherit gnus-group-news-1-empty))))
+ `(gnus-group-mail-2-face ((,class (:bold t :inherit gnus-group-mail-2-empty))))
+ `(gnus-group-mail-2-empty-face ((,class (:inherit gnus-group-news-2-empty))))
+ `(gnus-group-mail-3-face ((,class (:bold t :inherit gnus-group-mail-3-empty))))
+ `(gnus-group-mail-3-empty-face ((,class (:inherit gnus-group-news-3-empty))))
+ `(gnus-group-mail-4-face ((,class (:bold t :inherit gnus-group-mail-4-empty))))
+ `(gnus-group-mail-4-empty-face ((,class (:inherit gnus-group-news-4-empty))))
+ `(gnus-group-mail-5-face ((,class (:bold t :inherit gnus-group-mail-5-empty))))
+ `(gnus-group-mail-5-empty-face ((,class (:inherit gnus-group-news-5-empty))))
+ `(gnus-group-mail-6-face ((,class (:bold t :inherit gnus-group-mail-6-empty))))
+ `(gnus-group-mail-6-empty-face ((,class (:inherit gnus-group-news-6-empty))))
+ `(gnus-group-mail-low-face ((,class (:bold t :inherit gnus-group-mail-low-empty))))
+ `(gnus-group-mail-low-empty-face ((,class (:inherit gnus-group-news-low-empty))))
+ `(gnus-group-news-1-face ((,class (:bold t :inherit gnus-group-news-1-empty))))
+ `(gnus-group-news-2-face ((,class (:bold t :inherit gnus-group-news-2-empty))))
+ `(gnus-group-news-3-face ((,class (:bold t :inherit gnus-group-news-3-empty))))
+ `(gnus-group-news-4-face ((,class (:bold t :inherit gnus-group-news-4-empty))))
+ `(gnus-group-news-5-face ((,class (:bold t :inherit gnus-group-news-5-empty))))
+ `(gnus-group-news-6-face ((,class (:bold t :inherit gnus-group-news-6-empty))))
+ `(gnus-group-news-low-face ((,class (:bold t :inherit gnus-group-news-low-empty))))
+ `(gnus-header-content-face ((,class (:inherit message-header-other))))
+ `(gnus-header-from-face ((,class (:inherit message-header-from))))
+ `(gnus-header-name-face ((,class (:inherit message-header-name))))
+ `(gnus-header-newsgroups-face ((,class (:inherit message-header-other))))
+ `(gnus-header-subject-face ((,class (:inherit message-header-subject))))
+ `(gnus-summary-cancelled-face ((,class (:foreground ,zenburn-orange))))
+ `(gnus-summary-high-ancient-face ((,class (:foreground ,zenburn-blue))))
+ `(gnus-summary-high-read-face ((,class (:foreground ,zenburn-green :weight bold))))
+ `(gnus-summary-high-ticked-face ((,class (:foreground ,zenburn-orange :weight bold))))
+ `(gnus-summary-high-unread-face ((,class (:foreground ,zenburn-fg :weight bold))))
+ `(gnus-summary-low-ancient-face ((,class (:foreground ,zenburn-blue))))
+ `(gnus-summary-low-read-face ((t (:foreground ,zenburn-green))))
+ `(gnus-summary-low-ticked-face ((,class (:foreground ,zenburn-orange :weight bold))))
+ `(gnus-summary-low-unread-face ((,class (:foreground ,zenburn-fg))))
+ `(gnus-summary-normal-ancient-face ((,class (:foreground ,zenburn-blue))))
+ `(gnus-summary-normal-read-face ((,class (:foreground ,zenburn-green))))
+ `(gnus-summary-normal-ticked-face ((,class (:foreground ,zenburn-orange :weight bold))))
+ `(gnus-summary-normal-unread-face ((,class (:foreground ,zenburn-fg))))
+ `(gnus-summary-selected-face ((,class (:foreground ,zenburn-yellow :weight bold))))
+ `(gnus-cite-1-face ((,class (:foreground ,zenburn-blue))))
+ `(gnus-cite-10-face ((,class (:foreground ,zenburn-yellow-1))))
+ `(gnus-cite-11-face ((,class (:foreground ,zenburn-yellow))))
+ `(gnus-cite-2-face ((,class (:foreground ,zenburn-blue-1))))
+ `(gnus-cite-3-face ((,class (:foreground ,zenburn-blue-2))))
+ `(gnus-cite-4-face ((,class (:foreground ,zenburn-green+2))))
+ `(gnus-cite-5-face ((,class (:foreground ,zenburn-green+1))))
+ `(gnus-cite-6-face ((,class (:foreground ,zenburn-green))))
+ `(gnus-cite-7-face ((,class (:foreground ,zenburn-red))))
+ `(gnus-cite-8-face ((,class (:foreground ,zenburn-red-1))))
+ `(gnus-cite-9-face ((,class (:foreground ,zenburn-red-2))))
+ `(gnus-group-news-1-empty-face ((,class (:foreground ,zenburn-yellow))))
+ `(gnus-group-news-2-empty-face ((,class (:foreground ,zenburn-green+3))))
+ `(gnus-group-news-3-empty-face ((,class (:foreground ,zenburn-green+1))))
+ `(gnus-group-news-4-empty-face ((,class (:foreground ,zenburn-blue-2))))
+ `(gnus-group-news-5-empty-face ((,class (:foreground ,zenburn-blue-3))))
+ `(gnus-group-news-6-empty-face ((,class (:foreground ,zenburn-bg+2))))
+ `(gnus-group-news-low-empty-face ((,class (:foreground ,zenburn-bg+2))))
+ `(gnus-signature-face ((,class (:foreground ,zenburn-yellow))))
+ `(gnus-x-face ((,class (:background ,zenburn-fg :foreground ,zenburn-bg))))
+
+ ;; hl-line-mode
+ `(hl-line-face ((,class (:background ,zenburn-bg-1))))
+
+ ;; ido-mode
+ `(ido-first-match ((,class (:foreground ,zenburn-yellow :weight bold))))
+ `(ido-only-match ((,class (:foreground ,zenburn-orange :weight bold))))
+ `(ido-subdir ((,class (:foreground ,zenburn-yellow))))
+
+ ;; linum-mode
+ `(linum ((,class (:foreground ,zenburn-green+2 :background ,zenburn-bg))))
+
+ ;; magit
+ `(magit-section-title ((,class (:foreground ,zenburn-yellow :weight bold))))
+ `(magit-branch ((,class (:foreground ,zenburn-orange :weight bold))))
+
+ ;; message-mode
+ `(message-cited-text-face ((,class (:inherit font-lock-comment))))
+ `(message-header-name-face ((,class (:foreground ,zenburn-green+1))))
+ `(message-header-other-face ((,class (:foreground ,zenburn-green))))
+ `(message-header-to-face ((,class (:foreground ,zenburn-yellow :weight bold))))
+ `(message-header-from-face ((,class (:foreground ,zenburn-yellow :weight bold))))
+ `(message-header-cc-face ((,class (:foreground ,zenburn-yellow :weight bold))))
+ `(message-header-newsgroups-face ((,class (:foreground ,zenburn-yellow :weight bold))))
+ `(message-header-subject-face ((,class (:foreground ,zenburn-orange :weight bold))))
+ `(message-header-xheader-face ((,class (:foreground ,zenburn-green))))
+ `(message-mml-face ((,class (:foreground ,zenburn-yellow :weight bold))))
+ `(message-separator-face ((,class (:inherit font-lock-comment))))
+
+ ;; mew
+ `(mew-face-header-subject ((,class (:foreground ,zenburn-orange))))
+ `(mew-face-header-from ((,class (:foreground ,zenburn-yellow))))
+ `(mew-face-header-date ((,class (:foreground ,zenburn-green))))
+ `(mew-face-header-to ((,class (:foreground ,zenburn-red))))
+ `(mew-face-header-key ((,class (:foreground ,zenburn-green))))
+ `(mew-face-header-private ((,class (:foreground ,zenburn-green))))
+ `(mew-face-header-important ((,class (:foreground ,zenburn-blue))))
+ `(mew-face-header-marginal ((,class (:foreground ,zenburn-fg :weight bold))))
+ `(mew-face-header-warning ((,class (:foreground ,zenburn-red))))
+ `(mew-face-header-xmew ((,class (:foreground ,zenburn-green))))
+ `(mew-face-header-xmew-bad ((,class (:foreground ,zenburn-red))))
+ `(mew-face-body-url ((,class (:foreground ,zenburn-orange))))
+ `(mew-face-body-comment ((,class (:foreground ,zenburn-fg :slant italic))))
+ `(mew-face-body-cite1 ((,class (:foreground ,zenburn-green))))
+ `(mew-face-body-cite2 ((,class (:foreground ,zenburn-blue))))
+ `(mew-face-body-cite3 ((,class (:foreground ,zenburn-orange))))
+ `(mew-face-body-cite4 ((,class (:foreground ,zenburn-yellow))))
+ `(mew-face-body-cite5 ((,class (:foreground ,zenburn-red))))
+ `(mew-face-mark-review ((,class (:foreground ,zenburn-blue))))
+ `(mew-face-mark-escape ((,class (:foreground ,zenburn-green))))
+ `(mew-face-mark-delete ((,class (:foreground ,zenburn-red))))
+ `(mew-face-mark-unlink ((,class (:foreground ,zenburn-yellow))))
+ `(mew-face-mark-refile ((,class (:foreground ,zenburn-green))))
+ `(mew-face-mark-unread ((,class (:foreground ,zenburn-red-2))))
+ `(mew-face-eof-message ((,class (:foreground ,zenburn-green))))
+ `(mew-face-eof-part ((,class (:foreground ,zenburn-yellow))))
+
+ ;; nav
+ `(nav-face-heading ((,class (:foreground ,zenburn-yellow))))
+ `(nav-face-button-num ((,class (:foreground ,zenburn-cyan))))
+ `(nav-face-dir ((,class (:foreground ,zenburn-green))))
+ `(nav-face-hdir ((,class (:foreground ,zenburn-red))))
+ `(nav-face-file ((,class (:foreground ,zenburn-fg))))
+ `(nav-face-hfile ((,class (:foreground ,zenburn-red-4))))
+
+ ;; org-mode
+ `(org-agenda-date-today
+ ((,class (:foreground "white" :slant italic :weight bold))) t)
+ `(org-agenda-structure
+ ((,class (:inherit font-lock-comment-face))))
+ `(org-archived ((,class (:foreground ,zenburn-fg :weight bold))))
+ `(org-checkbox ((,class (:background ,zenburn-bg+2 :foreground "white"
+ :box (:line-width 1 :style released-button)))))
+ `(org-date ((,class (:foreground ,zenburn-blue :underline t))))
+ `(org-deadline-announce ((,class (:foreground ,zenburn-red-1))))
+ `(org-done ((,class (:bold t :weight bold :foreground ,zenburn-green+3))))
+ `(org-formula ((,class (:foreground ,zenburn-yellow-2))))
+ `(org-headline-done ((,class (:foreground ,zenburn-green+3))))
+ `(org-hide ((,class (:foreground ,zenburn-bg-1))))
+ `(org-level-1 ((,class (:foreground ,zenburn-orange))))
+ `(org-level-2 ((,class (:foreground ,zenburn-green+1))))
+ `(org-level-3 ((,class (:foreground ,zenburn-blue-1))))
+ `(org-level-4 ((,class (:foreground ,zenburn-yellow-2))))
+ `(org-level-5 ((,class (:foreground ,zenburn-cyan))))
+ `(org-level-6 ((,class (:foreground ,zenburn-green-1))))
+ `(org-level-7 ((,class (:foreground ,zenburn-red-4))))
+ `(org-level-8 ((,class (:foreground ,zenburn-blue-4))))
+ `(org-link ((,class (:foreground ,zenburn-yellow-2 :underline t))))
+ `(org-scheduled ((,class (:foreground ,zenburn-green+4))))
+ `(org-scheduled-previously ((,class (:foreground ,zenburn-red-4))))
+ `(org-scheduled-today ((,class (:foreground ,zenburn-blue+1))))
+ `(org-special-keyword ((,class (:foreground ,zenburn-yellow-1))))
+ `(org-table ((,class (:foreground ,zenburn-green+2))))
+ `(org-tag ((,class (:bold t :weight bold))))
+ `(org-time-grid ((,class (:foreground ,zenburn-orange))))
+ `(org-todo ((,class (:bold t :foreground ,zenburn-red :weight bold))))
+ `(org-upcoming-deadline ((,class (:inherit font-lock-keyword-face))))
+ `(org-warning ((,class (:bold t :foreground ,zenburn-red :weight bold))))
+
+ ;; outline
+ `(outline-8 ((,class (:inherit default))))
+ `(outline-7 ((,class (:inherit outline-8 :height 1.0))))
+ `(outline-6 ((,class (:inherit outline-7 :height 1.0))))
+ `(outline-5 ((,class (:inherit outline-6 :height 1.0))))
+ `(outline-4 ((,class (:inherit outline-5 :height 1.0))))
+ `(outline-3 ((,class (:inherit outline-4 :height 1.0))))
+ `(outline-2 ((,class (:inherit outline-3 :height 1.0))))
+ `(outline-1 ((,class (:inherit outline-2 :height 1.0))))
+
+ ;; rainbow-delimiters
+ `(rainbow-delimiters-depth-1-face ((,class (:foreground ,zenburn-cyan))))
+ `(rainbow-delimiters-depth-2-face ((,class (:foreground ,zenburn-yellow))))
+ `(rainbow-delimiters-depth-3-face ((,class (:foreground ,zenburn-blue+1))))
+ `(rainbow-delimiters-depth-4-face ((,class (:foreground ,zenburn-red+1))))
+ `(rainbow-delimiters-depth-5-face ((,class (:foreground ,zenburn-orange))))
+ `(rainbow-delimiters-depth-6-face ((,class (:foreground ,zenburn-blue-1))))
+ `(rainbow-delimiters-depth-7-face ((,class (:foreground ,zenburn-green+4))))
+ `(rainbow-delimiters-depth-8-face ((,class (:foreground ,zenburn-red-3))))
+ `(rainbow-delimiters-depth-9-face ((,class (:foreground ,zenburn-yellow-2))))
+ `(rainbow-delimiters-depth-10-face ((,class (:foreground ,zenburn-green+2))))
+ `(rainbow-delimiters-depth-11-face ((,class (:foreground ,zenburn-blue+1))))
+ `(rainbow-delimiters-depth-12-face ((,class (:foreground ,zenburn-red-4))))
+
+ ;; rpm-mode
+ `(rpm-spec-dir-face ((,class (:foreground ,zenburn-green))))
+ `(rpm-spec-doc-face ((,class (:foreground ,zenburn-green))))
+ `(rpm-spec-ghost-face ((,class (:foreground ,zenburn-red))))
+ `(rpm-spec-macro-face ((,class (:foreground ,zenburn-yellow))))
+ `(rpm-spec-obsolete-tag-face ((,class (:foreground ,zenburn-red))))
+ `(rpm-spec-package-face ((,class (:foreground ,zenburn-red))))
+ `(rpm-spec-section-face ((,class (:foreground ,zenburn-yellow))))
+ `(rpm-spec-tag-face ((,class (:foreground ,zenburn-blue))))
+ `(rpm-spec-var-face ((,class (:foreground ,zenburn-red))))
+
+ ;; show-paren
+ `(show-paren-mismatch ((,class (:foreground ,zenburn-red-3 :background ,zenburn-bg :weight bold))))
+ `(show-paren-match ((,class (:foreground ,zenburn-blue-1 :background ,zenburn-bg :weight bold))))
+
+ ;; SLIME
+ `(slime-repl-inputed-output-face ((,class (:foreground ,zenburn-red))))
+
+ ;; whitespace-mode
+ `(whitespace-space ((,class (:background ,zenburn-bg :foreground ,zenburn-bg+1))))
+ `(whitespace-hspace ((,class (:background ,zenburn-bg :foreground ,zenburn-bg+1))))
+ `(whitespace-tab ((,class (:background ,zenburn-bg :foreground ,zenburn-red))))
+ `(whitespace-newline ((,class (:foreground ,zenburn-bg+1))))
+ `(whitespace-trailing ((,class (:foreground ,zenburn-red :background ,zenburn-bg))))
+ `(whitespace-line ((,class (:background ,zenburn-bg-05 :foreground ,zenburn-magenta))))
+ `(whitespace-space-before-tab ((,class (:background ,zenburn-orange :foreground ,zenburn-orange))))
+ `(whitespace-indentation ((,class (:background ,zenburn-yellow :foreground ,zenburn-red))))
+ `(whitespace-empty ((,class (:background ,zenburn-yellow :foreground ,zenburn-red))))
+ `(whitespace-space-after-tab ((,class (:background ,zenburn-yellow :foreground ,zenburn-red))))
+
+ ;; wanderlust
+ `(wl-highlight-folder-few-face ((,class (:foreground ,zenburn-red-2))))
+ `(wl-highlight-folder-many-face ((,class (:foreground ,zenburn-red-1))))
+ `(wl-highlight-folder-path-face ((,class (:foreground ,zenburn-orange))))
+ `(wl-highlight-folder-unread-face ((,class (:foreground ,zenburn-blue))))
+ `(wl-highlight-folder-zero-face ((,class (:foreground ,zenburn-fg))))
+ `(wl-highlight-folder-unknown-face ((,class (:foreground ,zenburn-blue))))
+ `(wl-highlight-message-citation-header ((,class (:foreground ,zenburn-red-1))))
+ `(wl-highlight-message-cited-text-1 ((,class (:foreground ,zenburn-red))))
+ `(wl-highlight-message-cited-text-2 ((,class (:foreground ,zenburn-green+2))))
+ `(wl-highlight-message-cited-text-3 ((,class (:foreground ,zenburn-blue))))
+ `(wl-highlight-message-cited-text-4 ((,class (:foreground ,zenburn-blue+1))))
+ `(wl-highlight-message-header-contents-face ((,class (:foreground ,zenburn-green))))
+ `(wl-highlight-message-headers-face ((,class (:foreground ,zenburn-red+1))))
+ `(wl-highlight-message-important-header-contents ((,class (:foreground ,zenburn-green+2))))
+ `(wl-highlight-message-header-contents ((,class (:foreground ,zenburn-green+1))))
+ `(wl-highlight-message-important-header-contents2 ((,class (:foreground ,zenburn-green+2))))
+ `(wl-highlight-message-signature ((,class (:foreground ,zenburn-green))))
+ `(wl-highlight-message-unimportant-header-contents ((,class (:foreground ,zenburn-fg))))
+ `(wl-highlight-summary-answered-face ((,class (:foreground ,zenburn-blue))))
+ `(wl-highlight-summary-disposed-face ((,class (:foreground ,zenburn-fg
+ :slant italic))))
+ `(wl-highlight-summary-new-face ((,class (:foreground ,zenburn-blue))))
+ `(wl-highlight-summary-normal-face ((,class (:foreground ,zenburn-fg))))
+ `(wl-highlight-summary-thread-top-face ((,class (:foreground ,zenburn-yellow))))
+ `(wl-highlight-thread-indent-face ((,class (:foreground ,zenburn-magenta))))
+ `(wl-highlight-summary-refiled-face ((,class (:foreground ,zenburn-fg))))
+ `(wl-highlight-summary-displaying-face ((,class (:underline t :weight bold))))
+
+ ;; which-func-mode
+ `(which-func ((,class (:foreground ,zenburn-green+1)))))
+
+ ;;; custom theme variables
+ (custom-theme-set-variables
+ 'zenburn
+ `(ansi-color-names-vector [,zenburn-bg ,zenburn-red ,zenburn-green ,zenburn-yellow
+ ,zenburn-blue ,zenburn-magenta ,zenburn-cyan ,zenburn-fg])
+
+ ;; fill-column-indicator
+ `(fci-rule-color ,zenburn-bg-05)))
+
+;;;###autoload
+(when load-file-name
+ (add-to-list 'custom-theme-load-path
+ (file-name-as-directory (file-name-directory load-file-name))))
+
+(provide-theme 'zenburn)
+
+;; Local Variables:
+;; no-byte-compile: t
+;; End:
+
+;;; zenburn-theme.el ends here.

0 comments on commit 1e27f79

Please sign in to comment.
Something went wrong with that request. Please try again.