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

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

[elpa] externals/modus-vivendi-theme 3c60a60 11/73: Avoid setting a fore


From: Stefan Monnier
Subject: [elpa] externals/modus-vivendi-theme 3c60a60 11/73: Avoid setting a foreground in generic italic face
Date: Wed, 26 Aug 2020 09:20:52 -0400 (EDT)

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

    Avoid setting a foreground in generic italic face
    
    This can create undesired side-effects, such as the colouration of
    emails in the original screenshot posted in issue 72:
    https://gitlab.com/protesilaos/modus-themes/-/issues/72
---
 modus-operandi-theme.el | 4 ++--
 modus-vivendi-theme.el  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/modus-operandi-theme.el b/modus-operandi-theme.el
index d22a693..d4c3e10 100644
--- a/modus-operandi-theme.el
+++ b/modus-operandi-theme.el
@@ -1080,7 +1080,7 @@ Also bind `class' to ((class color) (min-colors 89))."
    `(header-line-highlight ((,class :inherit modus-theme-active-blue)))
    `(homoglyph ((,class :foreground ,fg-escape-char-construct)))
    `(ibuffer-locked-buffer ((,class :foreground ,yellow-alt-other)))
-   `(italic ((,class :foreground ,fg-special-cold :slant italic)))
+   `(italic ((,class :slant italic)))
    `(nobreak-hyphen ((,class :foreground ,fg-escape-char-construct)))
    `(nobreak-space ((,class :foreground ,fg-escape-char-construct :underline 
t)))
    `(minibuffer-prompt ((,class :foreground ,cyan-alt-other)))
@@ -2678,7 +2678,7 @@ Also bind `class' to ((class color) (min-colors 89))."
    `(markdown-html-tag-delimiter-face ((,class :inherit fixed-pitch 
:foreground ,fg-special-mild)))
    `(markdown-html-tag-name-face ((,class :inherit fixed-pitch :foreground 
,magenta-alt)))
    `(markdown-inline-code-face ((,class :inherit fixed-pitch :foreground 
,magenta)))
-   `(markdown-italic-face ((,class :slant italic)))
+   `(markdown-italic-face ((,class :foreground ,fg-special-cold :slant 
italic)))
    `(markdown-language-info-face ((,class :inherit fixed-pitch :foreground 
,fg-special-cold)))
    `(markdown-language-keyword-face ((,class :inherit fixed-pitch :foreground 
,green-alt-other)))
    `(markdown-line-break-face ((,class :inherit modus-theme-refine-cyan 
:underline t)))
diff --git a/modus-vivendi-theme.el b/modus-vivendi-theme.el
index 695d2f8..75a915a 100644
--- a/modus-vivendi-theme.el
+++ b/modus-vivendi-theme.el
@@ -1080,7 +1080,7 @@ Also bind `class' to ((class color) (min-colors 89))."
    `(header-line-highlight ((,class :inherit modus-theme-active-blue)))
    `(homoglyph ((,class :foreground ,fg-escape-char-construct)))
    `(ibuffer-locked-buffer ((,class :foreground ,yellow-alt-other)))
-   `(italic ((,class :foreground ,fg-special-cold :slant italic)))
+   `(italic ((,class :slant italic)))
    `(nobreak-hyphen ((,class :foreground ,fg-escape-char-construct)))
    `(nobreak-space ((,class :foreground ,fg-escape-char-construct :underline 
t)))
    `(minibuffer-prompt ((,class :foreground ,cyan-alt-other)))
@@ -2678,7 +2678,7 @@ Also bind `class' to ((class color) (min-colors 89))."
    `(markdown-html-tag-delimiter-face ((,class :inherit fixed-pitch 
:foreground ,fg-special-mild)))
    `(markdown-html-tag-name-face ((,class :inherit fixed-pitch :foreground 
,magenta-alt)))
    `(markdown-inline-code-face ((,class :inherit fixed-pitch :foreground 
,magenta)))
-   `(markdown-italic-face ((,class :slant italic)))
+   `(markdown-italic-face ((,class :foreground ,fg-special-cold :slant 
italic)))
    `(markdown-language-info-face ((,class :inherit fixed-pitch :foreground 
,fg-special-cold)))
    `(markdown-language-keyword-face ((,class :inherit fixed-pitch :foreground 
,green-alt-other)))
    `(markdown-line-break-face ((,class :inherit modus-theme-refine-cyan 
:underline t)))



reply via email to

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