:group 'convenience)
(defface ivy-current-match
- '((t (:inherit highlight)))
+ '((((class color) (background light))
+ :background "#1a4b77" :foreground "white")
+ (((class color) (background dark))
+ :background "#65a7e2" :foreground "black"))
"Face used by Ivy for highlighting first match.")
(defface ivy-confirm-face
`propertize' or `add-face-text-property' in this case."
(require 'colir)
(condition-case nil
- (colir-blend-face-background 0 (length str) face str)
+ (progn
+ (colir-blend-face-background 0 (length str) face str)
+ (let ((foreground (face-foreground face)))
+ (when foreground
+ (add-face-text-property
+ 0 (length str)
+ `(:foreground ,foreground)
+ nil
+ str))))
(error
(ignore-errors
(font-lock-append-text-property 0 (length str) 'face face str))))
(defface swiper-minibuffer-match-face-1
'((((class color) (background light))
- :background "#dddddd")
+ :background "#d3d3d3")
(((class color) (background dark))
:background "#555555"))
"The background face for `swiper' minibuffer matches."
(defface swiper-minibuffer-match-face-2
'((((class color) (background light))
- :background "#bbbbbb" :weight bold)
+ :background "#e99ce8" :weight bold)
(((class color) (background dark))
:background "#777777" :weight bold))
"Face for `swiper' minibuffer matches modulo 1.")
'((((class color) (background light))
:background "#ffbbff" :weight bold)
(((class color) (background dark))
- :background "#ff77ff" :weight bold))
+ :background "#8a498a" :weight bold))
"Face for `swiper' minibuffer matches modulo 3.")
(defface swiper-line-face