From 112e40bd5596f5bbba890d51c90878feb7652da9 Mon Sep 17 00:00:00 2001 From: Protesilaos Stavrou Date: Fri, 30 Dec 2022 12:32:36 +0200 Subject: [PATCH] Make verbatim/code/macro faces use conditional fixed-pitch They conform with 'modus-themes-mixed-fonts' --- modus-themes.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modus-themes.el b/modus-themes.el index 3164054..abd4bc9 100644 --- a/modus-themes.el +++ b/modus-themes.el @@ -1496,9 +1496,9 @@ is a less intense variant of BG." `(modus-themes-lang-note ((,c :underline (:style wave :color ,underline-note)))) `(modus-themes-lang-warning ((,c :underline (:style wave :color ,underline-warning)))) ;;;;; markup - `(modus-themes-prose-code ((,c :foreground ,prose-code))) - `(modus-themes-prose-macro ((,c :foreground ,prose-macro))) - `(modus-themes-prose-verbatim ((,c :foreground ,prose-verbatim))) + `(modus-themes-prose-code ((,c :inherit modus-themes-fixed-pitch :foreground ,prose-code))) + `(modus-themes-prose-macro ((,c :inherit modus-themes-fixed-pitch :foreground ,prose-macro))) + `(modus-themes-prose-verbatim ((,c :inherit modus-themes-fixed-pitch :foreground ,prose-verbatim))) ;;;;; search `(modus-themes-search-current ((,c :background ,bg-yellow-intense :foreground ,fg-main))) `(modus-themes-search-lazy ((,c :background ,bg-cyan-intense :foreground ,fg-main)))