From a258f9b467c0c2bde0799b2be9f704311ba254af Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Fri, 17 Feb 2012 09:58:18 +0100 Subject: Make ready for possibly marmalade/elpa addition. --- tron-theme.el | 79 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 75 insertions(+), 4 deletions(-) diff --git a/tron-theme.el b/tron-theme.el index ae93e3c..cfcd44d 100644 --- a/tron-theme.el +++ b/tron-theme.el @@ -1,3 +1,68 @@ +;;; tron-theme.el --- A theme loosely based on Tron: Legacy colors + +;; Copyright (C) 2012 Tom Willemsen + +;; Author: Tom Willemsen +;; Created: Wed Jan 4 2012 +;; Version: 11 +;; Keywords: faces +;; URL: http://ryuslash.org/tron-theme/ + +;; This file 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 file 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 file; If not, see . + +;;; Commentary: + +;; tron-theme is an Emacs theme that is loosely based on the colors +;; observed in the movie Tron: Legacy. + +;;; Change Log: + +;; 1 - Initial release. +;; 2 - Decrease size of the `org-level-*' faces. +;; 3 - Add `info-title-1' through `info-title-4', `info-xref' and +;; `info-xref-visited' faces. +;; 4 - Add `custom-button', `custom-button-mouse' and +;; `custom-button-pressed' faces. +;; 5 - Add `css-property' and `css-proprietary-property' faces. +;; 6 - Add `erc-default-face', `erc-input-face' and +;; `erc-nick-default-face' faces. +;; 7 - Change `mode-line', `mode-line-buffer-id' and +;; `mode-line-inactive' faces. +;; 8 - Add `region' face. +;; - Add riley's changes: +;; - Add `show-paren-match-face', `eshell-ls-archive-face', +;; `eshell-ls-backup-face', `eshell-ls-clutter-face', +;; `eshell-ls-directory-face', `eshell-ls-executable-face', +;; `eshell-ls-missing-face', `eshell-ls-product-face', +;; `eshell-ls-readonly-face', `eshell-ls-readonly-face', +;; `eshell-ls-special-face', `eshell-ls-symlink-face', +;; `eshell-ls-unreadable-face', `eshell-prompt-face', +;; `eshell-test-failed-face' and `eshell-test-ok-face' faces. +;; - Change `font-lock-comment-face' face. +;; 9 - Fix typo in `font-lock-variable-name-face' face. +;; - Add `magit-header', `magit-diff-add', `magit-diff-del', +;; `magit-diff-hunk-header', `magit-diff-file-header', +;; `magit-item-highlight' and `magit-item-mark' faces. +;; 10 - Add `rst-level-1-face' through `rst-level-6-face' faces. +;; 11 - Change `font-lock-warning-face', `header-line', +;; `jabber-chat-prompt-local' and `jabber-chat-text-local' +;; faces. +;; - Add header. +;; - Add local variables, enable `rainbow-mode'. + +;;; Code: + (deftheme tron "Create 2012-01-01") @@ -8,7 +73,7 @@ '(cursor ((t (:background "#15abc3")))) '(default ((t (:background "#000000" :foreground "#15abc3")))) '(fringe ((t (:inherit 'default)))) - '(header-line ((t (:inherit 'default :box (:line-width 1 :color "#15abc3"))))) + '(header-line ((t (:inherit 'mode-line)))) '(linum ((t (:inherit 'default)))) '(mouse ((t (:foreground "#e0c625")))) '(region ((t (:background "#e0c625" :foreground "#000000")))) @@ -57,7 +122,7 @@ '(font-lock-string-face ((t (:foreground "#05e4a5")))) '(font-lock-type-face ((t (:foreground "#035390" :weight bold)))) '(font-lock-variable-name-face ((t (:foreground "#00815b")))) - '(font-lock-warning-face ((t (:foreground "#000000" :background "#e0c624")))) + '(font-lock-warning-face ((t (:foreground "OrangeRed")))) ;; info '(info-title-1 ((t (:inherit 'org-level-1)))) @@ -129,10 +194,10 @@ '(markdown-header-face-6 ((t (:inherit 'org-level-6)))) ;; jabber - '(jabber-chat-prompt-local ((t (:inherit 'default :weight bold)))) + '(jabber-chat-prompt-local ((t (:foreground "#15abc3" :weight bold)))) '(jabber-chat-prompt-foreign ((t (:inherit 'font-lock-function-name-face)))) '(jabber-chat-prompt-system ((t (:inherit 'font-lock-doc-face)))) - '(jabber-chat-text-local ((t (:inherit 'default)))) + '(jabber-chat-text-local ((t (:foreground "#15abc3")))) '(jabber-chat-text-foreign ((t (:inherit 'font-lock-function-name-face :weight normal)))) ;; erc @@ -141,3 +206,9 @@ '(erc-nick-default-face ((t (:inherit 'jabber-chat-prompt-system))))) (provide-theme 'tron) + +;; Local Variables: +;; eval: (rainbow-mode 1) +;; End: + +;;; tron-theme.el ends here -- cgit v1.2.3-54-g00ecf