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

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

[elpa] externals/modus-operandi-theme cc23874 062/153: Add new headings'


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

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

    Add new headings' option to Markdown headers
    
    See commit c9ce126ea.
---
 modus-operandi-theme.el | 14 +++++++++++++-
 modus-vivendi-theme.el  | 14 +++++++++++++-
 2 files changed, 26 insertions(+), 2 deletions(-)

diff --git a/modus-operandi-theme.el b/modus-operandi-theme.el
index d661f45..831051e 100644
--- a/modus-operandi-theme.el
+++ b/modus-operandi-theme.el
@@ -3113,7 +3113,19 @@ Also bind `class' to ((class color) (min-colors 89))."
    `(markdown-footnote-text-face ((,class :foreground ,fg-main :slant 
,modus-theme-slant)))
    `(markdown-gfm-checkbox-face ((,class :foreground ,cyan-alt-other)))
    `(markdown-header-delimiter-face ((,class 
,@(modus-operandi-theme-bold-weight) :foreground ,fg-dim)))
-   `(markdown-header-face ((,class :inherit bold)))
+   `(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))))
+   `(markdown-header-face-2 ((,class ,@(modus-operandi-theme-heading
+                                        2 fg-special-warm magenta-alt 
red-nuanced-bg bg-region))))
+   `(markdown-header-face-3 ((,class ,@(modus-operandi-theme-heading
+                                        3 fg-special-cold blue blue-nuanced-bg 
bg-region))))
+   `(markdown-header-face-4 ((,class ,@(modus-operandi-theme-heading
+                                        4 fg-special-mild cyan cyan-nuanced-bg 
bg-region))))
+   `(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
+                                        6 yellow-nuanced yellow-alt-other 
yellow-nuanced-bg bg-region))))
    `(markdown-header-rule-face ((,class :inherit bold :foreground 
,fg-special-warm)))
    `(markdown-hr-face ((,class :inherit bold :foreground ,fg-special-warm)))
    `(markdown-html-attr-name-face ((,class :inherit fixed-pitch :foreground 
,cyan)))
diff --git a/modus-vivendi-theme.el b/modus-vivendi-theme.el
index 99fc9a7..5c079f7 100644
--- a/modus-vivendi-theme.el
+++ b/modus-vivendi-theme.el
@@ -3113,7 +3113,19 @@ Also bind `class' to ((class color) (min-colors 89))."
    `(markdown-footnote-text-face ((,class :foreground ,fg-main :slant 
,modus-theme-slant)))
    `(markdown-gfm-checkbox-face ((,class :foreground ,cyan-alt-other)))
    `(markdown-header-delimiter-face ((,class 
,@(modus-vivendi-theme-bold-weight) :foreground ,fg-dim)))
-   `(markdown-header-face ((,class :inherit bold)))
+   `(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))))
+   `(markdown-header-face-2 ((,class ,@(modus-vivendi-theme-heading
+                                        2 fg-special-warm magenta-alt 
red-nuanced-bg bg-region))))
+   `(markdown-header-face-3 ((,class ,@(modus-vivendi-theme-heading
+                                        3 fg-special-cold blue blue-nuanced-bg 
bg-region))))
+   `(markdown-header-face-4 ((,class ,@(modus-vivendi-theme-heading
+                                        4 fg-special-mild cyan cyan-nuanced-bg 
bg-region))))
+   `(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
+                                        6 yellow-nuanced yellow-alt-other 
yellow-nuanced-bg bg-region))))
    `(markdown-header-rule-face ((,class :inherit bold :foreground 
,fg-special-warm)))
    `(markdown-hr-face ((,class :inherit bold :foreground ,fg-special-warm)))
    `(markdown-html-attr-name-face ((,class :inherit fixed-pitch :foreground 
,cyan)))



reply via email to

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