[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
- [elpa] master a817342 14/67: ivy.el: Improve the highlighting in the minibuffer, (continued)
- [elpa] master a817342 14/67: ivy.el: Improve the highlighting in the minibuffer, Oleh Krehel, 2015/03/22
- [elpa] master 97ab66a 13/67: README.md: Update, Oleh Krehel, 2015/03/22
- [elpa] master eb829a9 16/67: Account for zero-length regex matches, Oleh Krehel, 2015/03/22
- [elpa] master 9bcf1dc 12/67: Update dependencies., Oleh Krehel, 2015/03/22
- [elpa] master 7cea819 18/67: ivy.el: Add `ivy-exit', Oleh Krehel, 2015/03/22
- [elpa] master eb1def0 17/67: Add initial-input optional argument, Oleh Krehel, 2015/03/22
- [elpa] master 2f5cc11 15/67: swiper.el: Use `with-selected-window' instead of `with-current-buffer', Oleh Krehel, 2015/03/22
- [elpa] master 02065be 19/67: swiper.el: Restore original point on canceling, Oleh Krehel, 2015/03/22
- [elpa] master 6a874a4 11/67: Add `ivy' back end, Oleh Krehel, 2015/03/22
- [elpa] master f268cc8 21/67: Reveal invisible overlays, Oleh Krehel, 2015/03/22
- [elpa] master 835208a 20/67: Inherit standard faces by default,
Oleh Krehel <=
- [elpa] master f148a94 24/67: Fix use of cl-incf, Oleh Krehel, 2015/03/22
- [elpa] master 2ed9ee2 23/67: Require delsel for `minibuffer-keyboard-quit', Oleh Krehel, 2015/03/22
- [elpa] master 1ca1660 22/67: swiper.el: Save position before last search, Oleh Krehel, 2015/03/22
- [elpa] master 02ca7a1 25/67: Add anchoring, Oleh Krehel, 2015/03/22
- [elpa] master b1ac649 26/67: Don't recenter unless necessary, Oleh Krehel, 2015/03/22
- [elpa] master a07c2e4 27/67: swiper.el: Make ivy the default back end, Oleh Krehel, 2015/03/22
- [elpa] master baa9df7 30/67: Truncate candidates to window width in the minibuffer, Oleh Krehel, 2015/03/22
- [elpa] master 7c6d00d 32/67: ivy.el (ivy-read): Return immediately for less than 2 candidates, Oleh Krehel, 2015/03/22
- [elpa] master 315be36 31/67: counsel.el: Add, Oleh Krehel, 2015/03/22
- [elpa] master 0772929 29/67: Add some rudimentary history handling, Oleh Krehel, 2015/03/22