Make org-macro conditionally use fixed-pitch

This means that it will inherit 'fixed-pitch' by default, unless
'modus-themes-no-mixed-fonts' is non-nil.

Also makes the face consistent with org-code, as seen in commit 37e0400.
This commit is contained in:
Protesilaos Stavrou 2021-03-03 19:18:32 +02:00
parent 37e0400a1c
commit b5a198df86
No known key found for this signature in database
GPG key ID: 99BD6459CD5CA3EA

View file

@ -5430,7 +5430,8 @@ by virtue of calling either of `modus-themes-load-operandi' and
`(org-level-8 ((,class :inherit modus-theme-heading-8)))
`(org-link ((,class :inherit button)))
`(org-list-dt ((,class :inherit bold)))
`(org-macro ((,class :background ,blue-nuanced-bg :foreground ,magenta-alt-other)))
`(org-macro ((,class ,@(modus-themes--mixed-fonts)
:background ,blue-nuanced-bg :foreground ,magenta-alt-other)))
`(org-meta-line ((,class ,@(modus-themes--mixed-fonts) :foreground ,fg-alt)))
`(org-mode-line-clock ((,class :foreground ,fg-main)))
`(org-mode-line-clock-overrun ((,class :inherit modus-theme-active-red)))