From 8af6e2d54067749891a732329a99602169ff6512 Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Sat, 23 Mar 2019 19:33:39 +0100 Subject: Customize some AUCTeX faces - Vanilla tex-mode's faces work fine for me most of the time. - I don't see the point of adding colors to bold and italic text. - Shadowed markup is best markup. - The default color for dark themes is a bit in-your-face. Also use variable-pitch for outlines (including Org); wooksh pwettyah. --- eighters-theme.el | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/eighters-theme.el b/eighters-theme.el index ef548ff..3e3391a 100644 --- a/eighters-theme.el +++ b/eighters-theme.el @@ -88,14 +88,14 @@ '(sh-heredoc ((t (:foreground "gold")))) '(erc-input-face ((t (:foreground "brown1")))) '(erc-my-nick-face ((t (:foreground "brown1" :weight bold)))) - '(outline-1 ((t (:height 2.0 :inherit (font-lock-function-name-face))))) - '(outline-2 ((t (:height 1.7 :inherit (font-lock-function-name-face))))) - '(outline-3 ((t (:height 1.4 :inherit (font-lock-function-name-face))))) - '(outline-4 ((t (:height 1.1 :inherit (font-lock-function-name-face))))) - '(outline-5 ((t (:height 1.0 :inherit (font-lock-function-name-face))))) - '(outline-6 ((t (:height 1.0 :inherit (font-lock-function-name-face))))) - '(outline-7 ((t (:height 1.0 :inherit (font-lock-function-name-face))))) - '(outline-8 ((t (:height 1.0 :inherit (font-lock-function-name-face))))) + '(outline-1 ((t (:height 2.0 :inherit (variable-pitch font-lock-function-name-face))))) + '(outline-2 ((t (:height 1.7 :inherit (variable-pitch font-lock-function-name-face))))) + '(outline-3 ((t (:height 1.4 :inherit (variable-pitch font-lock-function-name-face))))) + '(outline-4 ((t (:height 1.1 :inherit (variable-pitch font-lock-function-name-face))))) + '(outline-5 ((t (:height 1.0 :inherit (variable-pitch font-lock-function-name-face))))) + '(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-block ((t (:inherit (highlight))))) '(org-date ((t (:inherit (font-lock-string-face))))) '(org-special-keyword ((t (:weight bold :inherit (font-lock-comment-face))))) @@ -103,6 +103,12 @@ '(diff-hl-insert ((t (:inherit (diff-added))))) '(diff-hl-change ((t (:foreground "yellow4" :inherit (diff-changed))))) '(diff-hl-delete ((t (:inherit (diff-removed))))) + '(font-latex-bold-face ((t (:inherit (bold))))) + '(font-latex-italic-face ((t (:inherit (italic))))) + '(font-latex-math-face ((t (:inherit (tex-math))))) + '(font-latex-script-char-face ((t (:inherit (shadow))))) + '(font-latex-sectioning-5-face ((t (:inherit (variable-pitch font-lock-function-name-face))))) + '(font-latex-verbatim-face ((t (:inherit (tex-verbatim))))) '(magit-blame-highlight ((t (:inherit (highlight shadow))))) '(magit-diff-added ((t (:inherit (diff-added))))) '(magit-diff-added-highlight ((t (:inherit (diff-added))))) -- cgit v1.2.3