[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/telephone-line 2df6a1614b 012/195: Change default values o
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/telephone-line 2df6a1614b 012/195: Change default values of faces and separators according to review |
Date: |
Wed, 5 Jan 2022 02:59:17 -0500 (EST) |
branch: elpa/telephone-line
commit 2df6a1614b4337b1222d09976b79bc3c91399df2
Author: Daniel Bordak <dbordak@fastmail.fm>
Commit: Daniel Bordak <dbordak@fastmail.fm>
Change default values of faces and separators according to review
---
telephone-line.el | 75 +++++++++++++++++++++----------------------------------
1 file changed, 29 insertions(+), 46 deletions(-)
diff --git a/telephone-line.el b/telephone-line.el
index 3dd70136e8..7f0651648a 100644
--- a/telephone-line.el
+++ b/telephone-line.el
@@ -40,90 +40,73 @@
(define-namespace telephone-line-
(defface accent-active
- '((t (:background "grey22" :inherit mode-line)))
+ '((t (:foreground "white" :background "grey22" :inherit mode-line)))
"Accent face for mode-line."
:group 'telephone-line)
(defface accent-inactive
- '((t (:background "grey11" :inherit mode-line-inactive)))
+ '((t (:foreground "white" :background "grey11" :inherit mode-line-inactive)))
"Accent face for inactive mode-line."
:group 'telephone-line)
+(defface evil
+ '((t (:foreground "white" :weight bold :inherit mode-line)))
+ "Meta-face used for property inheritance on all telephone-line-evil faces."
+ :group 'telephone-line-evil)
+
(defface evil-insert
- '((((class color))
- :background "green" :weight bold :inherit mode-line)
- (t (:weight bold)))
- "face to fontify evil insert state"
+ '((t (:foreground "white" :background "green" :weight bold :inherit
mode-line)))
+ "Face used in evil color-coded segments when in Insert state."
:group 'telephone-line-evil)
(defface evil-normal
- '((((class color))
- :background "red" :weight bold :inherit mode-line)
- (t (:weight bold)))
- "face to fontify evil normal state"
+ '((t (:foreground "white" :background "red" :weight bold :inherit
mode-line)))
+ "Face used in evil color-coded segments when in Normal state."
:group 'telephone-line-evil)
(defface evil-visual
- '((((class color))
- :background "orange" :weight bold :inherit mode-line)
- (t (:weight bold)))
- "face to fontify evil visual state"
+ '((t (:foreground "white" :background "orange" :weight bold :inherit
mode-line)))
+ "Face used in evil color-coded segments when in Visual{,-Block,-Line} state."
:group 'telephone-line-evil)
-(defface evil-motion
- '((((class color))
- :background "blue" :weight bold :inherit mode-line)
- (t (:weight bold)))
- "face to fontify evil motion state"
+(defface evil-replace
+ '((t (:foreground "white" :background "black" :weight bold :inherit
mode-line)))
+ "Face used in evil color-coded segments when in Replace state."
:group 'telephone-line-evil)
-(defface evil-emacs
- '((((class color))
- :background "blue violet" :weight bold :inherit mode-line)
- (t (:weight bold)))
- "face to fontify evil emacs state"
+(defface evil-motion
+ '((t (:foreground "white" :background "blue" :weight bold :inherit
mode-line)))
+ "Face used in evil color-coded segments when in Motion state."
:group 'telephone-line-evil)
-(defface evil-replace
- '((((class color))
- :background "black" :weight bold :inherit mode-line)
- (t (:weight bold)))
- "face to fontify evil replace state"
+(defface evil-operator
+ '((t (:foreground "white" :background "sky blue" :weight bold :inherit
mode-line)))
+ "Face used in evil color-coded segments when in Operator state."
:group 'telephone-line-evil)
-(defface evil-operator
- '((((class color))
- :background "sky blue" :weight bold :inherit mode-line)
- (t (:weight bold)))
- "face to fontify evil replace state"
+(defface evil-emacs
+ '((t (:foreground "white" :background "blue violet" :weight bold :inherit
mode-line)))
+ "Face used in evil color-coded segments when in Emacs state."
:group 'telephone-line-evil)
-(defcustom primary-left-separator (if (window-system)
- #'telephone-line-abs-left
- #'telephone-line-utf-8-filled-left)
+(defcustom primary-left-separator #'telephone-line-abs-left
"The primary separator to use on the left-hand side."
:group 'telephone-line
:type 'function)
-(defcustom primary-right-separator (if (window-system)
- #'telephone-line-abs-right
- #'telephone-line-utf-8-filled-right)
+(defcustom primary-right-separator #'telephone-line-abs-right
"The primary separator to use on the right-hand side."
:group 'telephone-line
:type 'function)
-(defcustom secondary-left-separator (if (window-system)
- #'telephone-line-abs-hollow-left
- #'telephone-line-utf-8-left)
+(defcustom secondary-left-separator #'telephone-line-abs-hollow-left
"The secondary separator to use on the left-hand side.
Secondary separators do not incur a background color change."
:group 'telephone-line
:type 'function)
-(defcustom secondary-right-separator (if (window-system)
- #'telephone-line-abs-hollow-right
- #'telephone-line-utf-8-right)
+(defcustom secondary-right-separator #'telephone-line-abs-hollow-right
"The secondary separator to use on the right-hand side.
Secondary separators do not incur a background color change."
- [nongnu] elpa/telephone-line 34610ced86 034/195: Merge branch 'master' of github.com:dbordak/telephone-line, (continued)
- [nongnu] elpa/telephone-line 34610ced86 034/195: Merge branch 'master' of github.com:dbordak/telephone-line, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 892d651828 043/195: Fix readme formatting, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 9e4ba97039 058/195: Slight cleanup following the last two commits., ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 366b70a73d 040/195: Mention inspiration, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 7dba615894 016/195: Make note about unicode in readme, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 2ba4ae049d 047/195: Fix paradox async progress bar, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line bc999daf13 031/195: More cl -> cl-lib, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line a686ae4af2 036/195: Change lhs/rhs from outside-in to left-to-right, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line e8b9714bf2 014/195: Merge branch 'master' of github.com:dbordak/telephone-line, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 21dda16645 070/195: Fix it the right way..., ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 2df6a1614b 012/195: Change default values of faces and separators according to review,
ELPA Syncer <=
- [nongnu] elpa/telephone-line 627a41acca 071/195: Make Emacs 25 stop complaining, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 4b4a1fdaa3 080/195: Add face symbol map, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line fa2a272e98 029/195: Fix glaring separator issues, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line bcb747a5c0 023/195: Oops, another cl call, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line d80e1bd857 119/195: Radically redo segment definitions, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line d31a4a3e7f 121/195: Add experimental nyan-segment, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line abbeb654fb 095/195: Missed these from a while ago, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line a83dcda21b 096/195: Autoload the premade config, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 9822d32b2b 084/195: Update screenshots more, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line f1f017607f 094/195: Fill now uses first right-hand segment for color, ELPA Syncer, 2022/01/05