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

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

[elpa] externals/modus-operandi-theme 1b2ddc5 023/153: Apply distant-for


From: Stefan Monnier
Subject: [elpa] externals/modus-operandi-theme 1b2ddc5 023/153: Apply distant-foreground to mode lines
Date: Thu, 18 Mar 2021 13:47:31 -0400 (EDT)

branch: externals/modus-operandi-theme
commit 1b2ddc569454d897ee9f9d623805312079ae3a4f
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Apply distant-foreground to mode lines
    
    This is in response to further feedback from Nicolas De Jaeghere in
    issue 80: https://gitlab.com/protesilaos/modus-themes/-/issues/80
---
 modus-operandi-theme.el | 6 ++++--
 modus-vivendi-theme.el  | 6 ++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/modus-operandi-theme.el b/modus-operandi-theme.el
index 49f8f46..0d0b2b9 100644
--- a/modus-operandi-theme.el
+++ b/modus-operandi-theme.el
@@ -3057,13 +3057,15 @@ Also bind `class' to ((class color) (min-colors 89))."
 ;;;;; modeline
    `(mode-line ((,class ,@(modus-operandi-theme-mode-line-attrs
                            fg-active bg-active fg-dim bg-active
-                           fg-alt bg-active 'alt-style))))
+                           fg-alt bg-active 'alt-style)
+                        :distant-foreground ,bg-main)))
    `(mode-line-buffer-id ((,class :inherit bold)))
    `(mode-line-emphasis ((,class :inherit bold :foreground ,blue-active)))
    `(mode-line-highlight ((,class :inherit modus-theme-active-blue :box 
(:line-width -1 :style pressed-button))))
    `(mode-line-inactive ((,class ,@(modus-operandi-theme-mode-line-attrs
                                     fg-inactive bg-inactive fg-alt bg-dim
-                                    bg-region bg-active))))
+                                    bg-region bg-active)
+                                 :distant-foreground ,bg-alt)))
 ;;;;; mood-line
    `(mood-line-modified ((,class :foreground ,magenta-active)))
    `(mood-line-status-error ((,class :inherit bold :foreground ,red-active)))
diff --git a/modus-vivendi-theme.el b/modus-vivendi-theme.el
index 8ea6235..e6651a3 100644
--- a/modus-vivendi-theme.el
+++ b/modus-vivendi-theme.el
@@ -3057,13 +3057,15 @@ Also bind `class' to ((class color) (min-colors 89))."
 ;;;;; modeline
    `(mode-line ((,class ,@(modus-vivendi-theme-mode-line-attrs
                            fg-active bg-active fg-dim bg-active
-                           fg-alt bg-active 'alt-style))))
+                           fg-alt bg-active 'alt-style)
+                        :distant-foreground ,bg-main)))
    `(mode-line-buffer-id ((,class :inherit bold)))
    `(mode-line-emphasis ((,class :inherit bold :foreground ,blue-active)))
    `(mode-line-highlight ((,class :inherit modus-theme-active-blue :box 
(:line-width -1 :style pressed-button))))
    `(mode-line-inactive ((,class ,@(modus-vivendi-theme-mode-line-attrs
                                     fg-inactive bg-inactive fg-alt bg-dim
-                                    bg-region bg-active))))
+                                    bg-region bg-active)
+                                 :distant-foreground ,bg-alt)))
 ;;;;; mood-line
    `(mood-line-modified ((,class :foreground ,magenta-active)))
    `(mood-line-status-error ((,class :inherit bold :foreground ,red-active)))



reply via email to

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