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

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

[elpa] externals/modus-operandi-theme 83351ab 065/153: Add new headings'


From: Stefan Monnier
Subject: [elpa] externals/modus-operandi-theme 83351ab 065/153: Add new headings' option to Info headers
Date: Thu, 18 Mar 2021 13:47:40 -0400 (EDT)

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

    Add new headings' option to Info headers
---
 modus-operandi-theme.el | 17 +++++++++++------
 modus-vivendi-theme.el  | 17 +++++++++++------
 2 files changed, 22 insertions(+), 12 deletions(-)

diff --git a/modus-operandi-theme.el b/modus-operandi-theme.el
index 08880ae..bde370b 100644
--- a/modus-operandi-theme.el
+++ b/modus-operandi-theme.el
@@ -2783,17 +2783,22 @@ Also bind `class' to ((class color) (min-colors 89))."
    `(info-header-node ((,class :inherit bold :foreground ,fg-alt)))
    `(info-header-xref ((,class :foreground ,blue-active)))
    `(info-index-match ((,class :inherit match)))
-   `(info-menu-header ((,class :inherit (bold ,modus-theme-variable-pitch) 
:foreground ,fg-main
-                               ,@(modus-operandi-theme-scale 
modus-operandi-theme-scale-2))))
+   `(info-menu-header ((,class ,@(modus-operandi-theme-heading
+                              3 fg-special-cold blue blue-nuanced-bg bg-region)
+                           ,@(modus-operandi-theme-scale 
modus-operandi-theme-scale-2))))
    `(info-menu-star ((,class :foreground ,red)))
    `(info-node ((,class :inherit bold)))
-   `(info-title-1 ((,class :inherit (bold ,modus-theme-variable-pitch) 
:foreground ,fg-main
+   `(info-title-1 ((,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))))
-   `(info-title-2 ((,class :inherit (bold ,modus-theme-variable-pitch) 
:foreground ,fg-special-warm
+   `(info-title-2 ((,class ,@(modus-operandi-theme-heading
+                              2 fg-special-warm magenta-alt red-nuanced-bg 
bg-region)
                            ,@(modus-operandi-theme-scale 
modus-operandi-theme-scale-3))))
-   `(info-title-3 ((,class :inherit (bold ,modus-theme-variable-pitch) 
:foreground ,fg-special-cold
+   `(info-title-3 ((,class ,@(modus-operandi-theme-heading
+                              3 fg-special-cold blue blue-nuanced-bg bg-region)
                            ,@(modus-operandi-theme-scale 
modus-operandi-theme-scale-2))))
-   `(info-title-4 ((,class :inherit (bold ,modus-theme-variable-pitch) 
:foreground ,fg-special-mild
+   `(info-title-4 ((,class ,@(modus-operandi-theme-heading
+                              4 fg-special-mild cyan cyan-nuanced-bg bg-region)
                            ,@(modus-operandi-theme-scale 
modus-operandi-theme-scale-1))))
 ;;;;; info-colors
    `(info-colors-lisp-code-block ((,class :inherit fixed-pitch)))
diff --git a/modus-vivendi-theme.el b/modus-vivendi-theme.el
index c62543a..4afbe9c 100644
--- a/modus-vivendi-theme.el
+++ b/modus-vivendi-theme.el
@@ -2783,17 +2783,22 @@ Also bind `class' to ((class color) (min-colors 89))."
    `(info-header-node ((,class :inherit bold :foreground ,fg-alt)))
    `(info-header-xref ((,class :foreground ,blue-active)))
    `(info-index-match ((,class :inherit match)))
-   `(info-menu-header ((,class :inherit (bold ,modus-theme-variable-pitch) 
:foreground ,fg-main
-                               ,@(modus-vivendi-theme-scale 
modus-vivendi-theme-scale-2))))
+   `(info-menu-header ((,class ,@(modus-vivendi-theme-heading
+                              3 fg-special-cold blue blue-nuanced-bg bg-region)
+                           ,@(modus-vivendi-theme-scale 
modus-vivendi-theme-scale-2))))
    `(info-menu-star ((,class :foreground ,red)))
    `(info-node ((,class :inherit bold)))
-   `(info-title-1 ((,class :inherit (bold ,modus-theme-variable-pitch) 
:foreground ,fg-main
+   `(info-title-1 ((,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))))
-   `(info-title-2 ((,class :inherit (bold ,modus-theme-variable-pitch) 
:foreground ,fg-special-warm
+   `(info-title-2 ((,class ,@(modus-vivendi-theme-heading
+                              2 fg-special-warm magenta-alt red-nuanced-bg 
bg-region)
                            ,@(modus-vivendi-theme-scale 
modus-vivendi-theme-scale-3))))
-   `(info-title-3 ((,class :inherit (bold ,modus-theme-variable-pitch) 
:foreground ,fg-special-cold
+   `(info-title-3 ((,class ,@(modus-vivendi-theme-heading
+                              3 fg-special-cold blue blue-nuanced-bg bg-region)
                            ,@(modus-vivendi-theme-scale 
modus-vivendi-theme-scale-2))))
-   `(info-title-4 ((,class :inherit (bold ,modus-theme-variable-pitch) 
:foreground ,fg-special-mild
+   `(info-title-4 ((,class ,@(modus-vivendi-theme-heading
+                              4 fg-special-mild cyan cyan-nuanced-bg bg-region)
                            ,@(modus-vivendi-theme-scale 
modus-vivendi-theme-scale-1))))
 ;;;;; info-colors
    `(info-colors-lisp-code-block ((,class :inherit fixed-pitch)))



reply via email to

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