From 7efb15a3149447bfd259fc156338f9d09a4df9a6 Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Fri, 18 Sep 2020 13:01:37 +0200 Subject: Make "verbatim"/"code" stand out MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I'd like to apply serif fonts to Org code blocks as well, but org-block applies to things other than code… --- eighters-theme.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/eighters-theme.el b/eighters-theme.el index 7f7978b..f01f6b5 100644 --- a/eighters-theme.el +++ b/eighters-theme.el @@ -104,6 +104,8 @@ '(outline-6 ((t (:height 1.0 :inherit (variable-pitch font-lock-function-name-face))))) '(outline-7 ((t (:height 1.0 :inherit (variable-pitch font-lock-function-name-face))))) '(outline-8 ((t (:height 1.0 :inherit (variable-pitch font-lock-function-name-face))))) + '(org-code ((t (:inherit (fixed-pitch-serif))))) + '(org-verbatim ((t (:inherit (fixed-pitch-serif))))) '(org-block ((t (:extend t :inherit (highlight))))) '(org-quote ((t (:slant italic :inherit (org-block))))) '(org-date ((t (:inherit (font-lock-string-face))))) @@ -140,7 +142,10 @@ '(magit-diff-revision-summary-highlight ((t (:inherit (magit-section-heading magit-section-highlight))))) '(magit-diffstat-added ((t (:inherit (diff-indicator-added))))) '(magit-diffstat-removed ((t (:inherit (diff-indicator-removed))))) - '(magit-section-highlight ((t (:inherit (highlight)))))) + '(magit-section-highlight ((t (:inherit (highlight))))) + '(markdown-code-face ((t (:inherit (fixed-pitch-serif))))) + '(markdown-inline-code-face ((t (:inherit (markdown-code-face))))) + '(markdown-pre-face ((t (:extend t :inherit (markdown-code-face highlight)))))) (custom-theme-set-variables 'eighters '(ansi-color-names-vector -- cgit v1.2.3