From a89b34535b5e4e151bd8729849208ec168d39cb3 Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Wed, 11 Jan 2023 02:06:35 +0100 Subject: Start adding Markdown & Org faces --- .emacs.d/eighters-theme.el | 70 +++++++++++++++++++++++++++++++++++++--------- 1 file changed, 57 insertions(+), 13 deletions(-) (limited to '.emacs.d') diff --git a/.emacs.d/eighters-theme.el b/.emacs.d/eighters-theme.el index f7cd3c2..0be10be 100644 --- a/.emacs.d/eighters-theme.el +++ b/.emacs.d/eighters-theme.el @@ -103,6 +103,18 @@ (defface eighters-button nil "Face for elements that can be \"pushed\" with RET.") +(defface eighters-citation-1 nil + "Face for level 1 citations.") +(defface eighters-citation-2 nil + "Face for level 2 citations.") +(defface eighters-citation-3 nil + "Face for level 3 citations.") +(defface eighters-citation-4 nil + "Face for level 4 citations.") +(defface eighters-citation-5 nil + "Face for level 5 citations.") +(defface eighters-citation-6 nil + "Face for level 6 citations.") (defface eighters-date nil "Face for text that describes dates.") (defface eighters-identity nil @@ -141,6 +153,12 @@ `(eighters-title-4 ((t (:foreground ,fg-red-subtle :weight bold :height 1.04 :inherit variable-pitch)))) `(eighters-title-5 ((t (:foreground ,fg-magenta-subtle :weight bold :inherit variable-pitch)))) `(eighters-title-6 ((t (:foreground ,fg-blue-subtle :slant italic :inherit variable-pitch)))) + `(eighters-citation-1 ((t (:foreground ,fg-cyan-dim)))) + `(eighters-citation-2 ((t (:foreground ,fg-green-dim)))) + `(eighters-citation-3 ((t (:foreground ,fg-yellow-dim)))) + `(eighters-citation-4 ((t (:foreground ,fg-red-dim)))) + `(eighters-citation-5 ((t (:foreground ,fg-magenta-dim)))) + `(eighters-citation-6 ((t (:foreground ,fg-blue-dim)))) `(eighters-ui ((t (:inherit variable-pitch)))) ;;; Standard faces. `(ansi-color-black ((t (:foreground ,bg :background ,bg)))) @@ -200,17 +218,17 @@ `(gnus-group-news-3 ((t (:foreground ,fg-magenta :weight bold)))) `(gnus-group-news-3-empty ((t (:foreground ,fg-magenta-dim)))) `(gnus-button ((t (:inherit link)))) - `(gnus-cite-1 ((t (:foreground ,fg-cyan-dim)))) - `(gnus-cite-2 ((t (:foreground ,fg-green-dim)))) - `(gnus-cite-3 ((t (:foreground ,fg-yellow-dim)))) - `(gnus-cite-4 ((t (:foreground ,fg-red-dim)))) - `(gnus-cite-5 ((t (:foreground ,fg-magenta-dim)))) - `(gnus-cite-6 ((t (:foreground ,fg-blue-dim)))) - `(gnus-cite-7 ((t (:foreground ,fg-cyan-dim)))) - `(gnus-cite-8 ((t (:foreground ,fg-green-dim)))) - `(gnus-cite-9 ((t (:foreground ,fg-yellow-dim)))) - `(gnus-cite-10 ((t (:foreground ,fg-red-dim)))) - `(gnus-cite-11 ((t (:foreground ,fg-magenta-dim)))) + `(gnus-cite-1 ((t (:inherit eighters-citation-1)))) + `(gnus-cite-2 ((t (:inherit eighters-citation-2)))) + `(gnus-cite-3 ((t (:inherit eighters-citation-3)))) + `(gnus-cite-4 ((t (:inherit eighters-citation-4)))) + `(gnus-cite-5 ((t (:inherit eighters-citation-5)))) + `(gnus-cite-6 ((t (:inherit eighters-citation-6)))) + `(gnus-cite-7 ((t (:inherit eighters-citation-1)))) + `(gnus-cite-8 ((t (:inherit eighters-citation-2)))) + `(gnus-cite-9 ((t (:inherit eighters-citation-3)))) + `(gnus-cite-10 ((t (:inherit eighters-citation-4)))) + `(gnus-cite-11 ((t (:inherit eighters-citation-5)))) `(gnus-header ((t ()))) `(gnus-header-content ((t (:inherit gnus-header)))) `(gnus-header-from ((t (:inherit (eighters-identity gnus-header))))) @@ -240,11 +258,15 @@ `(isearch-fail ((t (:background ,bg-red :weight bold)))) `(isearch-group-1 ((t (:background ,bg-red :foreground ,fg-blue :inverse-video t)))) `(isearch-group-2 ((t (:background ,bg-red :foreground ,fg-cyan :inverse-video t)))) - `(lazy-highlight ((t (:background ,bg-cyan)))) + `(lazy-highlight ((t (:background ,bg-cyan :foreground ,fg-cyan-subtle)))) `(link ((t (:foreground ,fg-blue :underline t)))) `(link-visited ((t (:foreground ,fg-magenta-dim :underline t)))) `(Man-overstrike ((t (:foreground ,fg-cyan :inherit bold)))) `(match ((t (:background ,bg-blue)))) + `(message-cited-text-1 ((t (:inherit eighters-citation-1)))) + `(message-cited-text-2 ((t (:inherit eighters-citation-2)))) + `(message-cited-text-3 ((t (:inherit eighters-citation-3)))) + `(message-cited-text-4 ((t (:inherit eighters-citation-4)))) `(minibuffer-prompt ((t (:background ,bg-blue :foreground ,fg-blue-subtle :weight bold)))) `(mm-uu-extract ((t (:background ,bg-green-dimmer)))) `(mode-line ((t (:background ,bg-hl :box (:color ,fg) :inherit eighters-ui)))) @@ -256,7 +278,19 @@ `(outline-4 ((t (:inherit eighters-title-4)))) `(outline-5 ((t (:inherit eighters-title-5)))) `(outline-6 ((t (:inherit eighters-title-6)))) - `(region ((t (:background ,bg-blue)))) + `(org-block ((t (:background ,bg-hl-dimmer :inherit fixed-pitch-serif)))) + `(org-block-begin-line ((t (:background ,bg-hl-dim :inherit shadow :extend t)))) + `(org-block-end-line ((t (:background ,bg-hl-dim :inherit shadow :extend t)))) + `(org-checkbox ((t (:foreground ,fg-yellow :weight bold)))) + `(org-code ((t (:foreground ,fg-green-dim :inherit fixed-pitch-serif)))) + `(org-date ((t (:inherit eighters-date)))) + `(org-done ((t (:inherit success)))) + `(org-drawer ((t (:inherit shadow)))) + `(org-ellipsis ((t (:inherit shadow)))) + `(org-special-keyword ((t (:inherit shadow)))) + `(org-todo ((t (:inherit error)))) + `(org-verbatim ((t (:foreground ,fg-magenta-dim :inherit fixed-pitch-serif)))) + `(region ((t (:background ,bg-blue-dim)))) `(separator-line ((t (:background ,bg-hl :height 0.1)))) `(shadow ((t (:foreground ,fg-dimmer)))) `(show-paren-match ((t (:foreground ,fg-cyan :inverse-video t)))) @@ -322,6 +356,16 @@ `(diff-hl-delete ((t (:foreground ,fg-red :background ,bg-red)))) `(diff-hl-insert ((t (:foreground ,fg-blue :background ,bg-blue)))) `(diff-hl-change ((t (:foreground ,fg-yellow :background ,bg-yellow)))) + `(markdown-blockquote-face ((t (:inherit eighters-citation-1)))) + `(markdown-code-face ((t (:inherit fixed-pitch-serif)))) + `(markdown-header-face-1 ((t (:inherit eighters-title-1)))) + `(markdown-header-face-2 ((t (:inherit eighters-title-2)))) + `(markdown-header-face-3 ((t (:inherit eighters-title-3)))) + `(markdown-header-face-4 ((t (:inherit eighters-title-4)))) + `(markdown-header-face-5 ((t (:inherit eighters-title-5)))) + `(markdown-header-face-6 ((t (:inherit eighters-title-6)))) + `(markdown-inline-code-face ((t (:foreground ,fg-magenta-dim :inherit markdown-code-face)))) + `(markdown-pre-face ((t (:background ,bg-hl-dimmer :inherit markdown-code-face :extend t)))) `(which-key-group-description-face ((t (:foreground ,fg-green-dim)))) `(which-key-key-face ((t :weight bold :inherit help-key-binding))) ;;;; Magit. -- cgit v1.2.3