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

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

[elpa] externals/modus-vivendi-theme 976b05e 52/73: Stop scaling Latex s


From: Stefan Monnier
Subject: [elpa] externals/modus-vivendi-theme 976b05e 52/73: Stop scaling Latex sectioning faces
Date: Wed, 26 Aug 2020 09:21:02 -0400 (EDT)

branch: externals/modus-vivendi-theme
commit 976b05e54c67a5b26598fe209375deae8f544c49
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Stop scaling Latex sectioning faces
    
    This is meant to address issue 77, which also contains the reasoning for
    this change: https://gitlab.com/protesilaos/modus-themes/-/issues/77
---
 modus-operandi-theme.el | 16 +++++-----------
 modus-vivendi-theme.el  | 16 +++++-----------
 2 files changed, 10 insertions(+), 22 deletions(-)

diff --git a/modus-operandi-theme.el b/modus-operandi-theme.el
index 57a78be..c11fcee 100644
--- a/modus-operandi-theme.el
+++ b/modus-operandi-theme.el
@@ -1270,18 +1270,12 @@ Also bind `class' to ((class color) (min-colors 89))."
    `(font-latex-italic-face ((,class :foreground ,fg-special-calm :slant 
italic)))
    `(font-latex-math-face ((,class :foreground ,cyan-alt-other)))
    `(font-latex-script-char-face ((,class :foreground ,cyan-alt-other)))
-   `(font-latex-sectioning-0-face ((,class :inherit ,modus-theme-variable-pitch
-                                           :foreground ,blue-nuanced
-                                           ,@(modus-operandi-theme-scale 
modus-operandi-theme-scale-4))))
-   `(font-latex-sectioning-1-face ((,class :inherit (bold 
,modus-theme-variable-pitch) :foreground ,blue-nuanced
-                                           ,@(modus-operandi-theme-scale 
modus-operandi-theme-scale-3))))
-   `(font-latex-sectioning-2-face ((,class :inherit (bold 
,modus-theme-variable-pitch) :foreground ,blue-nuanced
-                                           ,@(modus-operandi-theme-scale 
modus-operandi-theme-scale-2))))
-   `(font-latex-sectioning-3-face ((,class :inherit (bold 
,modus-theme-variable-pitch) :foreground ,blue-nuanced
-                                           ,@(modus-operandi-theme-scale 
modus-operandi-theme-scale-1))))
+   `(font-latex-sectioning-0-face ((,class :inherit 
,modus-theme-variable-pitch :foreground ,blue-nuanced)))
+   `(font-latex-sectioning-1-face ((,class :inherit (bold 
,modus-theme-variable-pitch) :foreground ,blue-nuanced)))
+   `(font-latex-sectioning-2-face ((,class :inherit (bold 
,modus-theme-variable-pitch) :foreground ,blue-nuanced)))
+   `(font-latex-sectioning-3-face ((,class :inherit (bold 
,modus-theme-variable-pitch) :foreground ,blue-nuanced)))
    `(font-latex-sectioning-4-face ((,class :inherit (bold 
,modus-theme-variable-pitch) :foreground ,blue-nuanced)))
-   `(font-latex-sectioning-5-face ((,class :inherit ,modus-theme-variable-pitch
-                                           :foreground ,blue-nuanced)))
+   `(font-latex-sectioning-5-face ((,class :inherit 
,modus-theme-variable-pitch :foreground ,blue-nuanced)))
    `(font-latex-sedate-face ((,class ,@(modus-operandi-theme-bold-weight) 
:foreground ,magenta-alt-other)))
    `(font-latex-slide-title-face ((,class :inherit (bold 
,modus-theme-variable-pitch) :foreground ,cyan-nuanced
                                           ,@(modus-operandi-theme-scale 
modus-operandi-theme-scale-4))))
diff --git a/modus-vivendi-theme.el b/modus-vivendi-theme.el
index af077f3..6d23dbc 100644
--- a/modus-vivendi-theme.el
+++ b/modus-vivendi-theme.el
@@ -1270,18 +1270,12 @@ Also bind `class' to ((class color) (min-colors 89))."
    `(font-latex-italic-face ((,class :foreground ,fg-special-calm :slant 
italic)))
    `(font-latex-math-face ((,class :foreground ,cyan-alt-other)))
    `(font-latex-script-char-face ((,class :foreground ,cyan-alt-other)))
-   `(font-latex-sectioning-0-face ((,class :inherit ,modus-theme-variable-pitch
-                                           :foreground ,blue-nuanced
-                                           ,@(modus-vivendi-theme-scale 
modus-vivendi-theme-scale-4))))
-   `(font-latex-sectioning-1-face ((,class :inherit (bold 
,modus-theme-variable-pitch) :foreground ,blue-nuanced
-                                           ,@(modus-vivendi-theme-scale 
modus-vivendi-theme-scale-3))))
-   `(font-latex-sectioning-2-face ((,class :inherit (bold 
,modus-theme-variable-pitch) :foreground ,blue-nuanced
-                                           ,@(modus-vivendi-theme-scale 
modus-vivendi-theme-scale-2))))
-   `(font-latex-sectioning-3-face ((,class :inherit (bold 
,modus-theme-variable-pitch) :foreground ,blue-nuanced
-                                           ,@(modus-vivendi-theme-scale 
modus-vivendi-theme-scale-1))))
+   `(font-latex-sectioning-0-face ((,class :inherit 
,modus-theme-variable-pitch :foreground ,blue-nuanced)))
+   `(font-latex-sectioning-1-face ((,class :inherit (bold 
,modus-theme-variable-pitch) :foreground ,blue-nuanced)))
+   `(font-latex-sectioning-2-face ((,class :inherit (bold 
,modus-theme-variable-pitch) :foreground ,blue-nuanced)))
+   `(font-latex-sectioning-3-face ((,class :inherit (bold 
,modus-theme-variable-pitch) :foreground ,blue-nuanced)))
    `(font-latex-sectioning-4-face ((,class :inherit (bold 
,modus-theme-variable-pitch) :foreground ,blue-nuanced)))
-   `(font-latex-sectioning-5-face ((,class :inherit ,modus-theme-variable-pitch
-                                           :foreground ,blue-nuanced)))
+   `(font-latex-sectioning-5-face ((,class :inherit 
,modus-theme-variable-pitch :foreground ,blue-nuanced)))
    `(font-latex-sedate-face ((,class ,@(modus-vivendi-theme-bold-weight) 
:foreground ,magenta-alt-other)))
    `(font-latex-slide-title-face ((,class :inherit (bold 
,modus-theme-variable-pitch) :foreground ,cyan-nuanced
                                           ,@(modus-vivendi-theme-scale 
modus-vivendi-theme-scale-4))))



reply via email to

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