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

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

[elpa] externals/modus-operandi-theme 7c37202 17/54: Don't set backgroun


From: Stefan Monnier
Subject: [elpa] externals/modus-operandi-theme 7c37202 17/54: Don't set background in regular ORG modeline clock
Date: Thu, 4 Jun 2020 08:20:12 -0400 (EDT)

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

    Don't set background in regular ORG modeline clock
    
    This fixes a mistake of mine.  The use of `bg-main' in the modeline
    meant that the clock's area would look the same as that of the buffer.
    Whereas now it will inherit the modeline's background (bg-active or
    bg-inactive).
    
    While the use of `fg-main' (pure black/white depending on the theme)
    ensures that the clock has a text colour that is more intense than the
    ordinary text on the modeline (though without having any accent that
    would draw too much attention to it).
---
 modus-operandi-theme.el | 2 +-
 modus-vivendi-theme.el  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modus-operandi-theme.el b/modus-operandi-theme.el
index 003737f..10b39cd 100644
--- a/modus-operandi-theme.el
+++ b/modus-operandi-theme.el
@@ -2583,7 +2583,7 @@ Also bind `class' to ((class color) (min-colors 89))."
    `(org-list-dt ((,class (:weight bold))))
    `(org-macro ((,class (:inherit org-latex-and-related))))
    `(org-meta-line ((,class (:inherit fixed-pitch :foreground ,fg-alt :slant 
,modus-theme-slant))))
-   `(org-mode-line-clock ((,class (:background ,bg-main :foreground 
,fg-main))))
+   `(org-mode-line-clock ((,class (:foreground ,fg-main))))
    `(org-mode-line-clock-overrun ((,class (:inherit modus-theme-active-red))))
    `(org-priority ((,class (,@(modus-operandi-theme-org-todo-block 
blue-nuanced-bg blue-nuanced magenta)
                             ,@(modus-operandi-theme-heading-foreground magenta 
blue-alt)))))
diff --git a/modus-vivendi-theme.el b/modus-vivendi-theme.el
index 169db5a..5b69d62 100644
--- a/modus-vivendi-theme.el
+++ b/modus-vivendi-theme.el
@@ -2583,7 +2583,7 @@ Also bind `class' to ((class color) (min-colors 89))."
    `(org-list-dt ((,class (:weight bold))))
    `(org-macro ((,class (:inherit org-latex-and-related))))
    `(org-meta-line ((,class (:inherit fixed-pitch :foreground ,fg-alt :slant 
,modus-theme-slant))))
-   `(org-mode-line-clock ((,class (:background ,bg-main :foreground 
,fg-main))))
+   `(org-mode-line-clock ((,class (:foreground ,fg-main))))
    `(org-mode-line-clock-overrun ((,class (:inherit modus-theme-active-red))))
    `(org-priority ((,class (,@(modus-vivendi-theme-org-todo-block 
blue-nuanced-bg blue-nuanced magenta)
                             ,@(modus-vivendi-theme-heading-foreground magenta 
blue-alt)))))



reply via email to

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