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

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

[nongnu] elpa/alect-themes 87fcb3f 184/269: Add 'alect-author' auxiliary


From: ELPA Syncer
Subject: [nongnu] elpa/alect-themes 87fcb3f 184/269: Add 'alect-author' auxiliary face
Date: Thu, 21 Oct 2021 17:59:15 -0400 (EDT)

branch: elpa/alect-themes
commit 87fcb3f4a54591d3f6b1b0bffe75fc97cdfcdef5
Author: Alex Kost <alezost@gmail.com>
Commit: Alex Kost <alezost@gmail.com>

    Add 'alect-author' auxiliary face
    
    Modify 'magit-log-author' to use it.
---
 alect-themes.el | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/alect-themes.el b/alect-themes.el
index 0475253..2b85f5b 100644
--- a/alect-themes.el
+++ b/alect-themes.el
@@ -112,6 +112,12 @@ Used for various prompts like `minibuffer-prompt' or 
`eshell-prompt'."
 Used for date/time faces like `org-date' or `erc-timestamp-face'."
   :group 'alect)
 
+(defface alect-author
+  '((t nil))
+  "Auxiliary face for inheriting by some other faces.
+Used for author faces like `magit-log-author' or `change-log-name'."
+  :group 'alect)
+
 (defface alect-selected-item
   '((t nil))
   "Auxiliary face for inheriting by some other faces.
@@ -421,6 +427,7 @@ For INVERT, see `alect-get-color'."
          (alect-prompt         ((,c :foreground ,(gc 'magenta-1)
                                     :weight bold)))
          (alect-time           ((,c :foreground ,(gc 'cyan-2))))
+         (alect-author           ((,c :foreground ,(gc 'magenta-1))))
          (alect-selected-item  ((,c :background ,(gc 'bg)
                                     :box (:line-width -1
                                           :color ,(gc 'fg+1)
@@ -1070,7 +1077,7 @@ For INVERT, see `alect-get-color'."
                                                  :weight bold)))
          (magit-hash                        ((,c :foreground ,(gc 'yellow+2))))
          (magit-log-date                    ((,c :inherit alect-time)))
-         (magit-log-author                  ((,c :foreground ,(gc 
'magenta-1))))
+         (magit-log-author                  ((,c :inherit alect-author)))
          (magit-reflog-checkout             ((,c :inherit magit-branch-local)))
          (magit-reflog-remote               ((,c :inherit 
magit-branch-remote)))
          (magit-reflog-commit               ((,c :foreground ,(gc 'green-1))))



reply via email to

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