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

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

[elpa] externals/modus-operandi-theme adc6239 076/153: Make helpful-head


From: Stefan Monnier
Subject: [elpa] externals/modus-operandi-theme adc6239 076/153: Make helpful-heading consistent with other heading
Date: Thu, 18 Mar 2021 13:47:43 -0400 (EDT)

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

    Make helpful-heading consistent with other heading
    
    This concerns the customisation options:
    
    + modus-operandi-theme-headings
    + modus-vivendi-theme-headings
    
    This tweak is in response to feedback I received in issue 90:
    https://gitlab.com/protesilaos/modus-themes/-/issues/90.
    
    Thanks to Nicolas De Jaeghere for the continued support!
---
 modus-operandi-theme.el | 5 +++--
 modus-vivendi-theme.el  | 5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/modus-operandi-theme.el b/modus-operandi-theme.el
index 59159ea..8509e5a 100644
--- a/modus-operandi-theme.el
+++ b/modus-operandi-theme.el
@@ -2680,8 +2680,9 @@ Also bind `class' to ((class color) (min-colors 89))."
    `(helm-xref-file-name ((,class :inherit bold :foreground ,fg-special-cold)))
    `(helm-xref-file-name ((,class :foreground ,fg-special-warm)))
 ;;;;; helpful
-   `(helpful-heading  ((,class :inherit (bold ,modus-theme-variable-pitch) 
:foreground ,fg-main
-                               ,@(modus-operandi-theme-scale 
modus-operandi-theme-scale-4))))
+   `(helpful-heading ((,class ,@(modus-operandi-theme-heading
+                             1 fg-main magenta-alt-other magenta-nuanced-bg 
bg-region)
+                          ,@(modus-operandi-theme-scale 
modus-operandi-theme-scale-4))))
 ;;;;; highlight region or ad-hoc regexp
    `(hi-black-b ((,class :background ,fg-main :foreground ,bg-main)))
    `(hi-blue ((,class :background ,bg-alt :foreground ,blue :underline t)))
diff --git a/modus-vivendi-theme.el b/modus-vivendi-theme.el
index e30080b..a93dbb7 100644
--- a/modus-vivendi-theme.el
+++ b/modus-vivendi-theme.el
@@ -2680,8 +2680,9 @@ Also bind `class' to ((class color) (min-colors 89))."
    `(helm-xref-file-name ((,class :inherit bold :foreground ,fg-special-cold)))
    `(helm-xref-file-name ((,class :foreground ,fg-special-warm)))
 ;;;;; helpful
-   `(helpful-heading  ((,class :inherit (bold ,modus-theme-variable-pitch) 
:foreground ,fg-main
-                               ,@(modus-vivendi-theme-scale 
modus-vivendi-theme-scale-4))))
+   `(helpful-heading ((,class ,@(modus-vivendi-theme-heading
+                                 1 fg-main magenta-alt-other 
magenta-nuanced-bg bg-region)
+                              ,@(modus-vivendi-theme-scale 
modus-vivendi-theme-scale-4))))
 ;;;;; highlight region or ad-hoc regexp
    `(hi-black-b ((,class :background ,fg-main :foreground ,bg-main)))
    `(hi-blue ((,class :background ,bg-alt :foreground ,blue :underline t)))



reply via email to

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