[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/orderless acc2645cf3 030/204: Even better match faces (
From: |
ELPA Syncer |
Subject: |
[elpa] externals/orderless acc2645cf3 030/204: Even better match faces (kindly contributed by Protesilaos) |
Date: |
Tue, 11 Jan 2022 12:58:14 -0500 (EST) |
branch: externals/orderless
commit acc2645cf35dfdbdf53c7f1e1f95cdced8763883
Author: Omar Antolín <omar.antolin@gmail.com>
Commit: Omar Antolín <omar.antolin@gmail.com>
Even better match faces (kindly contributed by Protesilaos)
---
orderless.el | 36 ++++++++++++++++++++++++++++--------
1 file changed, 28 insertions(+), 8 deletions(-)
diff --git a/orderless.el b/orderless.el
index 306e11357f..9e0ca24b08 100644
--- a/orderless.el
+++ b/orderless.el
@@ -51,20 +51,40 @@
"Completion method that matches space-separated regexps in any order."
:group 'completion)
-(defface orderless-match-face-0 '((t :background "#5ada88"))
- "Face for maches of components numbered 0 mod 4."
+(defface orderless-match-face-0
+ '((((class color) (min-colors 88) (background dark))
+ (:foreground "#72a4ff" :weight bold))
+ (((class color) (min-colors 88) (background light))
+ (:foreground "#223fbf" :weight bold))
+ (t :foreground "blue" :weight bold))
+ "Face for matches of components numbered 0 mod 4."
:group 'orderless)
-(defface orderless-match-face-1 '((t :background "#d5baff"))
- "Face for maches of components numbered 1 mod 4."
+(defface orderless-match-face-1
+ '((((class color) (min-colors 88) (background dark))
+ (:foreground "#ed92f8" :weight bold))
+ (((class color) (min-colors 88) (background light))
+ (:foreground "#8f0075" :weight bold))
+ (t :foreground "magenta" :weight bold))
+ "Face for matches of components numbered 1 mod 4."
:group 'orderless)
-(defface orderless-match-face-2 '((t :background "#6aaeff"))
- "Face for maches of components numbered 2 mod 4."
+(defface orderless-match-face-2
+ '((((class color) (min-colors 88) (background dark))
+ (:foreground "#90d800" :weight bold))
+ (((class color) (min-colors 88) (background light))
+ (:foreground "#145a00" :weight bold))
+ (t :foreground "green" :weight bold))
+ "Face for matches of components numbered 2 mod 4."
:group 'orderless)
-(defface orderless-match-face-3 '((t :background "#ff8892"))
- "Face for maches of components numbered 3 mod 4."
+(defface orderless-match-face-3
+ '((((class color) (min-colors 88) (background dark))
+ (:foreground "#f0ce43" :weight bold))
+ (((class color) (min-colors 88) (background light))
+ (:foreground "#804000" :weight bold))
+ (t :foreground "yellow" :weight bold))
+ "Face for matches of components numbered 3 mod 4."
:group 'orderless)
(defcustom orderless-regexp-separator " +"
- [elpa] externals/orderless ba93f3e521 055/204: Typo in README pointed out by codecoll, (continued)
- [elpa] externals/orderless ba93f3e521 055/204: Typo in README pointed out by codecoll, ELPA Syncer, 2022/01/11
- [elpa] externals/orderless c23a9a40be 050/204: Typo in README, ELPA Syncer, 2022/01/11
- [elpa] externals/orderless 40d46ba925 080/204: Fix typo, ELPA Syncer, 2022/01/11
- [elpa] externals/orderless a3471e47aa 083/204: Explain company integration (+ misc formatting improvements), ELPA Syncer, 2022/01/11
- [elpa] externals/orderless 7e57a5458c 085/204: Allow dispatcher to modify component without handling it, ELPA Syncer, 2022/01/11
- [elpa] externals/orderless 7a547b5722 093/204: Drew says "progressive completion", ELPA Syncer, 2022/01/11
- [elpa] externals/orderless 99e90bf139 103/204: Declare orderless-old-component-separator obsolete too, ELPA Syncer, 2022/01/11
- [elpa] externals/orderless 42bca066b9 108/204: Split dispatchers into their own variable, ELPA Syncer, 2022/01/11
- [elpa] externals/orderless 81248a8dbf 109/204: Merge branch 'dispatcher', ELPA Syncer, 2022/01/11
- [elpa] externals/orderless 0efa87672d 011/204: Fix bug on no matches, ELPA Syncer, 2022/01/11
- [elpa] externals/orderless acc2645cf3 030/204: Even better match faces (kindly contributed by Protesilaos),
ELPA Syncer <=
- [elpa] externals/orderless 6ada0ad21c 035/204: Add docstrings to functions, ELPA Syncer, 2022/01/11
- [elpa] externals/orderless a371c26c69 003/204: Stronger wording for warning, ELPA Syncer, 2022/01/11
- [elpa] externals/orderless d576dc9fac 028/204: Add reminder that match faces only are used if orderless "wins", ELPA Syncer, 2022/01/11
- [elpa] externals/orderless 6aabc83f02 022/204: Remove warning and stuff about SPC, ELPA Syncer, 2022/01/11
- [elpa] externals/orderless 1ad6bd254b 021/204: Only copy and highlight once the candidate is known to match, ELPA Syncer, 2022/01/11
- [elpa] externals/orderless f2af44bf2e 057/204: Mention Icicles's progressive matching, ELPA Syncer, 2022/01/11
- [elpa] externals/orderless 1631eb1733 073/204: Fix autoload for ivy, ELPA Syncer, 2022/01/11
- [elpa] externals/orderless 862eed345c 075/204: Add more orderless initialism styles, ELPA Syncer, 2022/01/11
- [elpa] externals/orderless e3644defcd 088/204: Add orderless-pattern-compiler variable for maximum flexibility, ELPA Syncer, 2022/01/11
- [elpa] externals/orderless 436ef98b16 089/204: Add optional argument for dispatches: total number of components, ELPA Syncer, 2022/01/11