branch: externals/ef-themes commit 786827f3836dfaa95458e06a012353c76b8996a5 Author: Protesilaos Stavrou <i...@protesilaos.com> Commit: Protesilaos Stavrou <i...@protesilaos.com>
Add support for markdown-mode --- ef-themes.el | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/ef-themes.el b/ef-themes.el index 03ada5aa9f..5b99835cdd 100644 --- a/ef-themes.el +++ b/ef-themes.el @@ -672,6 +672,31 @@ Helper function for `ef-themes-preview-colors'." `(marginalia-type ((,c :foreground ,type))) `(marginalia-value ((,c :inherit shadow))) `(marginalia-version ((,c :foreground ,accent-1))) +;;;; markdown-mode + `(markdown-blockquote-face ((,c :inherit font-lock-doc-face))) + `(markdown-bold-face ((,c :inherit bold))) + `(markdown-code-face ((,c :background ,bg-dim :extend t))) + `(markdown-gfm-checkbox-face ((,c :foreground ,warning))) + `(markdown-header-face (( ))) + `(markdown-header-face-1 ((,c :inherit bold :height 1.7 :foreground ,rainbow-0))) + `(markdown-header-face-2 ((,c :inherit bold :height 1.6 :foreground ,rainbow-1))) + `(markdown-header-face-3 ((,c :inherit bold :height 1.5 :foreground ,rainbow-2))) + `(markdown-header-face-4 ((,c :inherit bold :height 1.4 :foreground ,rainbow-3))) + `(markdown-header-face-5 ((,c :inherit bold :height 1.3 :foreground ,rainbow-4))) + `(markdown-header-face-6 ((,c :inherit bold :height 1.2 :foreground ,rainbow-5))) + `(markdown-highlighting-face ((,c :background ,bg-info :foreground ,info))) + `(markdown-inline-code-face ((,c :foreground ,accent-1))) ; same as `org-code' + `(markdown-italic-face ((,c :inherit italic))) + `(markdown-language-keyword-face ((,c :background ,bg-alt))) + `(markdown-line-break-face ((,c :inherit nobreak-space))) + `(markdown-link-face ((,c :inherit link))) + `(markdown-markup-face ((,c :inherit shadow))) + `(markdown-metadata-key-face ((,c :inherit bold))) + `(markdown-metadata-value-face ((,c :foreground ,string))) + `(markdown-missing-link-face ((,c :inherit warning))) + `(markdown-pre-face ((,c :inherit markdown-code-face))) + `(markdown-table-face ((,c :foreground ,fg-alt))) ; same as `org-table' + `(markdown-url-face ((,c :inherit link :underline nil))) ;;;; messages `(message-cited-text-1 ((,c :foreground ,mail-0))) `(message-cited-text-2 ((,c :foreground ,mail-1)))