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

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

[elpa] externals/modus-vivendi-theme 54a2534 066/110: Adapt KEYCAST to n


From: Stefan Monnier
Subject: [elpa] externals/modus-vivendi-theme 54a2534 066/110: Adapt KEYCAST to new 3D modeline option
Date: Wed, 29 Apr 2020 21:40:08 -0400 (EDT)

branch: externals/modus-vivendi-theme
commit 54a25347503cbf47428ac4a1ee32544c19d4375b
Author: Protesilaos Stavrou <address@hidden>
Commit: Protesilaos Stavrou <address@hidden>

    Adapt KEYCAST to new 3D modeline option
    
    The three-dimensional modeline was first introduced in b874c79 and
    received some more refinements ever since.
---
 modus-operandi-theme.el | 5 ++++-
 modus-vivendi-theme.el  | 5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/modus-operandi-theme.el b/modus-operandi-theme.el
index 30aaae3..06dbcb8 100644
--- a/modus-operandi-theme.el
+++ b/modus-operandi-theme.el
@@ -1952,7 +1952,10 @@ AMOUNT is a customisation option."
    `(kaocha-runner-warning-face ((,class (:foreground ,yellow))))
    ;;;; keycast
    `(keycast-command ((,class (:foreground ,blue-active :weight bold))))
-   `(keycast-key ((,class (:inherit modus-theme-active-blue))))
+   `(keycast-key ((,class (:box ,(modus-operandi-theme-modeline-box 
blue-intense blue-active t -3)
+                                ,@(modus-operandi-theme-modeline-props
+                                   blue-active bg-main
+                                   blue-active bg-active)))))
    ;;;; line numbers (display-line-numbers-mode and global variant)
    `(line-number ((,class (:background ,bg-dim :foreground ,fg-alt))))
    `(line-number-current-line ((,class (:background ,bg-active :foreground 
,fg-active :weight bold))))
diff --git a/modus-vivendi-theme.el b/modus-vivendi-theme.el
index 48a31bb..89affd6 100644
--- a/modus-vivendi-theme.el
+++ b/modus-vivendi-theme.el
@@ -1952,7 +1952,10 @@ AMOUNT is a customisation option."
    `(kaocha-runner-warning-face ((,class (:foreground ,yellow))))
    ;;;; keycast
    `(keycast-command ((,class (:foreground ,blue-active :weight bold))))
-   `(keycast-key ((,class (:inherit modus-theme-active-blue))))
+   `(keycast-key ((,class (:box ,(modus-vivendi-theme-modeline-box 
blue-intense blue-active t -3)
+                                ,@(modus-vivendi-theme-modeline-props
+                                   blue-active bg-main
+                                   blue-active bg-active)))))
    ;;;; line numbers (display-line-numbers-mode and global variant)
    `(line-number ((,class (:background ,bg-dim :foreground ,fg-alt))))
    `(line-number-current-line ((,class (:background ,bg-active :foreground 
,fg-active :weight bold))))



reply via email to

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