]> code.delx.au - gnu-emacs-elpa/commitdiff
Add default values for minibuffer faces
authorOleh Krehel <ohwoeowho@gmail.com>
Sun, 6 Sep 2015 11:30:43 +0000 (13:30 +0200)
committerOleh Krehel <ohwoeowho@gmail.com>
Sun, 6 Sep 2015 11:30:43 +0000 (13:30 +0200)
* swiper.el (swiper-minibuffer-match-face-1):
(swiper-minibuffer-match-face-2):
(swiper-minibuffer-match-face-3):
(swiper-minibuffer-match-face-4): Update.

Re #215

swiper.el

index c97f9c89e8e3b1a799a88df304140b652ebf9e0b..0de97e7c6586cf45c755b6fb66afdd13cb4da6ab 100644 (file)
--- a/swiper.el
+++ b/swiper.el
   "Face for `swiper' matches modulo 3.")
 
 (defface swiper-minibuffer-match-face-1
-    '((t (:inherit isearch-lazy-highlight-face)))
-  "The background face for `swiper' minibuffer matches.")
+  '((((class color) (background light))
+     :background "#dddddd")
+    (((class color) (background dark))
+     :background "#555555"))
+  "The background face for `swiper' minibuffer matches."
+  :group 'function-args-faces)
 
 (defface swiper-minibuffer-match-face-2
-    '((t (:inherit isearch)))
+  '((((class color) (background light))
+     :background "#bbbbbb" :weight bold)
+    (((class color) (background dark))
+     :background "#777777" :weight bold))
   "Face for `swiper' minibuffer matches modulo 1.")
 
 (defface swiper-minibuffer-match-face-3
-    '((t (:inherit match)))
+  '((((class color) (background light))
+     :background "#bbbbff" :weight bold)
+    (((class color) (background dark))
+     :background "#7777ff" :weight bold))
   "Face for `swiper' minibuffer matches modulo 2.")
 
 (defface swiper-minibuffer-match-face-4
-    '((t (:inherit isearch-fail)))
+  '((((class color) (background light))
+     :background "#ffbbff" :weight bold)
+    (((class color) (background dark))
+     :background "#ff77ff" :weight bold))
   "Face for `swiper' minibuffer matches modulo 3.")
 
 (defface swiper-line-face