X-Git-Url: https://code.delx.au/gnu-emacs-elpa/blobdiff_plain/66d05f89242cd4b996ce5dcea0a5fcf9b4e5a1b6..04e7999447237a989bfece879928343ceba7c603:/ahungry-theme.el diff --git a/ahungry-theme.el b/ahungry-theme.el index 4a7d06996..97ee32589 100644 --- a/ahungry-theme.el +++ b/ahungry-theme.el @@ -1,11 +1,11 @@ ;;; ahungry-theme.el --- Ahungry color theme for Emacs. Make sure to (load-theme 'ahungry). -;; Copyright (C) 2015 Free Software Foundation, Inc. +;; Copyright (C) 2015,2016 Free Software Foundation, Inc. ;; Author: Matthew Carter ;; Maintainer: Matthew Carter ;; URL: https://github.com/ahungry/color-theme-ahungry -;; Version: 1.0.11 +;; Version: 1.2.0 ;; Keywords: ahungry palette color theme emacs color-theme deftheme ;; Package-Requires: ((emacs "24")) @@ -36,6 +36,16 @@ ;;; News: +;;;; Changes since 1.1.0: +;; - New variable ahungry-theme-font-settings to avoid overriding user font sizes +;; - Add info-mode faces + +;;;; Changes since 1.0.12: +;; - Add erc/jabber faces to begin with + +;;;; Changes since 1.0.11: +;; - Purple is too hard to read on poor contrast monitors, use a blue + ;;;; Changes since 1.0.10: ;; - Add faces for powerline/spaceline setup ;; - Reduce org-mode heading sizes slightly @@ -69,13 +79,23 @@ (deftheme ahungry "Ahungry Theme") +(defvar ahungry-theme-font-settings + '(:family "Terminus" :foundry "xos4" + :slant normal :weight normal + :height 100 :width normal) + "If set to nil, will avoid overriding the user font settings. +Leave this alone to retain defaults. + +Default value: + '(:family \"Terminus\" :foundry \"xos4\" + :slant normal :weight normal + :height 100 :width normal)") + (let ((mainbg (when (display-graphic-p) "#222222")));; "default"))) (custom-theme-set-faces 'ahungry ;; This is the theme name `(default ((t (:foreground "#ffffff" :background ,mainbg - :family "Terminus" :foundry "xos4" - :slant normal :weight normal - :height 100 :width normal)))) + ,@ahungry-theme-font-settings)))) '(cursor ((t (:background "#fce94f" :foreground "#ffffff")))) '(highlight ((t (:background "brown4" :foreground nil)))) '(border ((t (:background "#888a85")))) @@ -106,7 +126,7 @@ '(font-lock-keyword-face ((t (:foreground "#3cff00" :bold t)))) '(font-lock-string-face ((t (:foreground "#ff0077" :italic nil :bold nil)))) '(font-lock-type-face ((t (:foreground "#deff00" :bold t)))) - '(font-lock-variable-name-face ((t (:foreground "#9900ff" :bold t)))) + '(font-lock-variable-name-face ((t (:foreground "#0033ff" :bold t)))) '(font-lock-warning-face ((t (:bold t :foreground "#ff0000")))) '(font-lock-function-name-face ((t (:foreground "#ffee00" :bold t)))) '(comint-highlight-input ((t (:italic t :bold t)))) @@ -123,8 +143,6 @@ '(isearch-lazy-highlight-face ((t (:foreground "#2e3436" :background "#ff6600")))) '(show-paren-match-face ((t (:background "#ff6600" :foreground "#2e3436")))) '(show-paren-mismatch-face ((t (:background "#999999" :foreground "#ff6600")))) - '(info-xref ((t (:foreground "#33ffbb")))) - '(info-xref-visited ((t (:foreground "#999999")))) '(diary ((t (:bold t :foreground "#ff0000")))) '(message-cited-text ((t (:foreground "#ffc800")))) '(gnus-cite-1 ((t (:foreground "#999999")))) @@ -135,21 +153,21 @@ '(gnus-cite-face-2 ((t (:foreground "#cba559")))) '(gnus-cite-face-3 ((t (:foreground "#83ae92")))) '(gnus-cite-face-4 ((t (:foreground "#6898a7")))) - '(gnus-group-mail-1-empty ((t (:foreground "#00bbff")))) - '(gnus-group-mail-1 ((t (:bold t :foreground "#00bbff")))) - '(gnus-group-mail-2-empty ((t (:foreground "#00ffbb")))) - '(gnus-group-mail-2 ((t (:bold t :foreground "#00ffbb")))) + '(gnus-group-mail-1-empty ((t (:foreground "#009955")))) + '(gnus-group-mail-1 ((t (:bold t :foreground "#ff9900")))) + '(gnus-group-mail-2-empty ((t (:foreground "#009955")))) + '(gnus-group-mail-2 ((t (:bold t :foreground "#ffaa00")))) '(gnus-group-mail-3-empty ((t (:foreground "#009955")))) - '(gnus-group-mail-3 ((t (:bold t :foreground "#ffc800")))) - '(gnus-group-mail-low-empty ((t (:foreground "#005fff")))) + '(gnus-group-mail-3 ((t (:bold t :foreground "#ffcc00")))) + '(gnus-group-mail-low-empty ((t (:foreground "#009955")))) '(gnus-group-mail-low ((t (:bold t :foreground "#005fff")))) - '(gnus-group-news-1-empty ((t (:foreground "#00bbff")))) - '(gnus-group-news-1 ((t (:bold t :foreground "#00bbff")))) - '(gnus-group-news-2-empty ((t (:foreground "#00ffbb")))) - '(gnus-group-news-2 ((t (:bold t :foreground "#00ffbb")))) + '(gnus-group-news-1-empty ((t (:foreground "#009955")))) + '(gnus-group-news-1 ((t (:bold t :foreground "#ff9900")))) + '(gnus-group-news-2-empty ((t (:foreground "#009955")))) + '(gnus-group-news-2 ((t (:bold t :foreground "#ffaa00")))) '(gnus-group-news-3-empty ((t (:foreground "#009955")))) - '(gnus-group-news-3 ((t (:bold t :foreground "#ffc800")))) - '(gnus-group-news-low-empty ((t (:foreground "#005fff")))) + '(gnus-group-news-3 ((t (:bold t :foreground "#ffcc00")))) + '(gnus-group-news-low-empty ((t (:foreground "#009955")))) '(gnus-group-news-low ((t (:bold t :foreground "#005fff")))) '(gnus-header-name ((t (:bold t :foreground "#33ffbb")))) '(gnus-header-from ((t (:bold t :foreground "#ffc800")))) @@ -226,6 +244,24 @@ '(helm-selection ((t (:foreground "#ff0099" :italic t :bold t :background "#f2e997")))) '(helm-match ((t (:foreground "gold1")))) '(helm-visible-mark ((t (:background "#f2e997" :foreground "#ff0099" :bold nil :italic nil)))) + '(erc-nick-default-face ((t (:foreground "#ff0099")))) + '(erc-current-nick-face ((t (:foreground "#0099ff")))) + '(erc-input-face ((t (:foreground "#0099ff")))) + '(erc-prompt-face ((t (:background nil :foreground "#666666" :bold t :italic t)))) + '(erc-timestamp-face ((t (:background nil :foreground "#666666" :bold nil :italic t)))) + '(jabber-chat-prompt-foreign ((t (:foreground "#ff0099")))) + '(jabber-chat-prompt-local ((t (:foreground "#0099ff")))) + '(jabber-rare-time-face ((t (:foreground "#666666" :bold nil :italic t)))) + '(eshell-prompt ((t (:foreground "#0099ff")))) + '(info-menu-header ((t (:foreground "#0099ff" :bold t :underline t)))) + '(info-header-xref ((t (:foreground "#0099ff")))) + '(info-header-node ((t (:foreground "#ff0099" :bold t :italic t)))) + '(info-menu-star ((t (:foreground "#0099ff" :bold t)))) + '(info-xref-visited ((t (:foreground "#999999")))) + '(info-xref ((t (:foreground "#0099ff")))) + '(info-node ((t (:foreground "#ff0099")))) + '(info-title-1 ((t (:foreground "yellow" :bold t)))) + '(info-title-2 ((t (:foreground "#ff0099")))) ) (custom-theme-set-variables 'ahungry