]> code.delx.au - gnu-emacs-elpa/blobdiff - ahungry-theme.el
Add some better defaults for helm selections
[gnu-emacs-elpa] / ahungry-theme.el
index d17cee7ca395bf0bbd96675f2721b77bbbcc59b0..533305dbb475a42586e21b177fda64c449d9bf67 100644 (file)
@@ -1,11 +1,11 @@
-;;; ahungry-theme.el --- Ahungry color theme for Emacs.
+;;; ahungry-theme.el --- Ahungry color theme for Emacs.  Make sure to (load-theme 'ahungry).
 
 ;; Copyright (C) 2015  Free Software Foundation, Inc.
 
 ;; Author: Matthew Carter <m@ahungry.com>
 ;; Maintainer: Matthew Carter <m@ahungry.com>
 ;; URL: https://github.com/ahungry/color-theme-ahungry
-;; Version: 1.0.3
+;; Version: 1.0.6
 ;; Keywords: ahungry palette color theme emacs color-theme deftheme
 ;; Package-Requires: ((emacs "24"))
 
 ;; transparent background.  If you load it from a GUI, it will default
 ;; to a dark background.
 
+;;; News:
+
+;;;; Changes since 1.0.5:
+;; - Add a few colors for helm (the defaults did not work well with this theme)
+
+;;;; Changes since 1.0.4:
+;; - Don't circumvent normal autoloads functionality, use the comment load method
+
+;;;; Changes since 1.0.3:
+;; - Manually include an autoloads file to make sure
+;;   custom-theme-load-path is filled out
+;; - Update description to make mention of (load-theme 'ahungry) for new users
+
 ;;; Code:
 
 (deftheme ahungry
    '(magit-item-highlight ((t (:background "#111111" :slant normal :weight extra-bold :inverse-video nil))))
    '(minibuffer-prompt ((t (:foreground "#0055ff" :bold t))))
    '(web-mode-html-tag-bracket-face ((t (:foreground "#666666"))))
+   '(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))))
    )
   (custom-theme-set-variables
    'ahungry
    '(red "#ffffff"))
   )
 
+;;;###autoload
+(when (and load-file-name (boundp 'custom-theme-load-path))
+ (add-to-list
+      'custom-theme-load-path
+      (file-name-as-directory (file-name-directory load-file-name))))
+
 (provide-theme 'ahungry)
 
 ;;; ahungry-theme.el ends here