emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master 835208a 20/67: Inherit standard faces by default


From: Oleh Krehel
Subject: [elpa] master 835208a 20/67: Inherit standard faces by default
Date: Sun, 22 Mar 2015 17:33:55 +0000

branch: master
commit 835208a0ec80e5e8d8109b6c96406002c9642401
Author: Steve Purcell <address@hidden>
Commit: Steve Purcell <address@hidden>

    Inherit standard faces by default
    
    Every time a new custom face definition is created, it breaks every existing
    theme.  Better, then, to inherit standard faces by default.
    
    This commit has the side benefit of making the faces defined here legible in
    themes with dark backgrounds.
---
 ivy.el    |    2 +-
 swiper.el |   10 +++++-----
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/ivy.el b/ivy.el
index b922df5..54d9c46 100644
--- a/ivy.el
+++ b/ivy.el
@@ -43,7 +43,7 @@
   :group 'convenience)
 
 (defface ivy-current-match
-    '((t (:background "#e5b7c0")))
+  '((t (:inherit highlight)))
   "Face used by Ivy for highlighting first match.")
 
 (defcustom ivy-height 10
diff --git a/swiper.el b/swiper.el
index b838124..871082e 100644
--- a/swiper.el
+++ b/swiper.el
@@ -49,23 +49,23 @@
           (const :tag "Ivy" ivy)))
 
 (defface swiper-match-face-1
-    '((t (:background "#FEEA89")))
+  '((t (:inherit isearch-lazy-highlight-face)))
   "Face for `swiper' matches.")
 
 (defface swiper-match-face-2
-  '((t (:background "#F9A35A")))
+  '((t (:inherit isearch)))
   "Face for `swiper' matches.")
 
 (defface swiper-match-face-3
-  '((t (:background "#fb7905")))
+  '((t (:inherit match)))
   "Face for `swiper' matches.")
 
 (defface swiper-match-face-4
-  '((t (:background "#F15C79")))
+  '((t (:inherit isearch)))
   "Face for `swiper' matches.")
 
 (defface swiper-line-face
-  '((t (:background "#f3d3d3")))
+  '((t (:inherit highlight)))
   "Face for current `swiper' line.")
 
 (defcustom swiper-faces '(swiper-match-face-1



reply via email to

[Prev in Thread] Current Thread [Next in Thread]