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

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

[elpa] externals/modus-operandi-theme 863999f 067/153: Make markdown hea


From: Stefan Monnier
Subject: [elpa] externals/modus-operandi-theme 863999f 067/153: Make markdown headers scale
Date: Thu, 18 Mar 2021 13:47:41 -0400 (EDT)

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

    Make markdown headers scale
    
    This is because the following variables, defined in markdown-mode, do
    not work with themed faces:
    
    (setq markdown-header-scaling t)
    (setq markdown-header-scaling-values '(2.0 1.7 1.4 1.1 1.0 1.0))
---
 modus-operandi-theme.el | 12 ++++++++----
 modus-vivendi-theme.el  | 12 ++++++++----
 2 files changed, 16 insertions(+), 8 deletions(-)

diff --git a/modus-operandi-theme.el b/modus-operandi-theme.el
index a661e68..066747c 100644
--- a/modus-operandi-theme.el
+++ b/modus-operandi-theme.el
@@ -3122,13 +3122,17 @@ Also bind `class' to ((class color) (min-colors 89))."
    `(markdown-header-delimiter-face ((,class 
,@(modus-operandi-theme-bold-weight) :foreground ,fg-dim)))
    `(markdown-header-face ((t nil)))
    `(markdown-header-face-1 ((,class ,@(modus-operandi-theme-heading
-                                        1 fg-main magenta-alt-other 
magenta-nuanced-bg bg-region))))
+                                        1 fg-main magenta-alt-other 
magenta-nuanced-bg bg-region)
+                                     ,@(modus-operandi-theme-scale 
modus-operandi-theme-scale-4))))
    `(markdown-header-face-2 ((,class ,@(modus-operandi-theme-heading
-                                        2 fg-special-warm magenta-alt 
red-nuanced-bg bg-region))))
+                                        2 fg-special-warm magenta-alt 
red-nuanced-bg bg-region)
+                                     ,@(modus-operandi-theme-scale 
modus-operandi-theme-scale-3))))
    `(markdown-header-face-3 ((,class ,@(modus-operandi-theme-heading
-                                        3 fg-special-cold blue blue-nuanced-bg 
bg-region))))
+                                        3 fg-special-cold blue blue-nuanced-bg 
bg-region)
+                                     ,@(modus-operandi-theme-scale 
modus-operandi-theme-scale-2))))
    `(markdown-header-face-4 ((,class ,@(modus-operandi-theme-heading
-                                        4 fg-special-mild cyan cyan-nuanced-bg 
bg-region))))
+                                        4 fg-special-mild cyan cyan-nuanced-bg 
bg-region)
+                                     ,@(modus-operandi-theme-scale 
modus-operandi-theme-scale-1))))
    `(markdown-header-face-5 ((,class ,@(modus-operandi-theme-heading
                                         5 fg-special-calm green-alt-other 
green-nuanced-bg bg-region))))
    `(markdown-header-face-6 ((,class ,@(modus-operandi-theme-heading
diff --git a/modus-vivendi-theme.el b/modus-vivendi-theme.el
index a6b6457..3271c19 100644
--- a/modus-vivendi-theme.el
+++ b/modus-vivendi-theme.el
@@ -3122,13 +3122,17 @@ Also bind `class' to ((class color) (min-colors 89))."
    `(markdown-header-delimiter-face ((,class 
,@(modus-vivendi-theme-bold-weight) :foreground ,fg-dim)))
    `(markdown-header-face ((t nil)))
    `(markdown-header-face-1 ((,class ,@(modus-vivendi-theme-heading
-                                        1 fg-main magenta-alt-other 
magenta-nuanced-bg bg-region))))
+                                        1 fg-main magenta-alt-other 
magenta-nuanced-bg bg-region)
+                                     ,@(modus-vivendi-theme-scale 
modus-vivendi-theme-scale-4))))
    `(markdown-header-face-2 ((,class ,@(modus-vivendi-theme-heading
-                                        2 fg-special-warm magenta-alt 
red-nuanced-bg bg-region))))
+                                        2 fg-special-warm magenta-alt 
red-nuanced-bg bg-region)
+                                     ,@(modus-vivendi-theme-scale 
modus-vivendi-theme-scale-3))))
    `(markdown-header-face-3 ((,class ,@(modus-vivendi-theme-heading
-                                        3 fg-special-cold blue blue-nuanced-bg 
bg-region))))
+                                        3 fg-special-cold blue blue-nuanced-bg 
bg-region)
+                                     ,@(modus-vivendi-theme-scale 
modus-vivendi-theme-scale-2))))
    `(markdown-header-face-4 ((,class ,@(modus-vivendi-theme-heading
-                                        4 fg-special-mild cyan cyan-nuanced-bg 
bg-region))))
+                                        4 fg-special-mild cyan cyan-nuanced-bg 
bg-region)
+                                     ,@(modus-vivendi-theme-scale 
modus-vivendi-theme-scale-1))))
    `(markdown-header-face-5 ((,class ,@(modus-vivendi-theme-heading
                                         5 fg-special-calm green-alt-other 
green-nuanced-bg bg-region))))
    `(markdown-header-face-6 ((,class ,@(modus-vivendi-theme-heading



reply via email to

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