branch: externals/modus-themes commit 5d9a43beb8f66c44301fafd01892532a59f894e0 Author: Leilei332 <leiyixi...@outlook.com> Commit: Leilei332 <leiyixi...@outlook.com>
Add adoc-mode support Adapt color for adoc-mode faces --- modus-themes.el | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/modus-themes.el b/modus-themes.el index e709ec4c5e..ec9c9cf5ab 100644 --- a/modus-themes.el +++ b/modus-themes.el @@ -1723,6 +1723,24 @@ FG and BG are the main colors." `(link ((,c :inherit button))) `(link-visited ((,c :background ,bg-link-visited :foreground ,fg-link-visited :underline ,underline-link-visited))) `(tooltip ((,c :background ,bg-active :foreground ,fg-main))) +;;;;; adoc-mode + `(adoc-code-face ((,c :inherit font-lock-constant-face))) + `(adoc-command-face ((,c :inherit modus-themes-prose-macro))) + `(adoc-complex-replacement-face ((,c :background ,bg-magenta-subtle :foreground ,magenta))) + `(adoc-emphasis-face ((t (:inherit bold)))) + `(adoc-gen-face ((,c :foreground ,blue))) + `(adoc-meta-face ((,c :inherit modus-themes-fixed-pitch :foreground ,prose-metadata))) + `(adoc-replacement-face ((,c :inherit font-lock-escape-face))) + `(adoc-secondary-text-face ((,c :inherit modus-themes-fixed-pitch :foreground ,prose-metadata-value))) + `(adoc-table-face ((,c :inherit modus-themes-fixed-pitch :foreground ,prose-table))) + `(adoc-title-0-face ((,c :inherit modus-themes-heading-0))) + `(adoc-title-1-face ((,c :inherit modus-themes-heading-1))) + `(adoc-title-2-face ((,c :inherit modus-themes-heading-2))) + `(adoc-title-3-face ((,c :inherit modus-themes-heading-3))) + `(adoc-title-4-face ((,c :inherit modus-themes-heading-4))) + `(adoc-title-5-face ((,c :inherit modus-themes-heading-5))) + `(adoc-typewriter-face ((,c :inherit modus-themes-prose-verbatim))) + `(adoc-verbatim-face ((,c :inherit modus-themes-prose-verbatim))) ;;;;; agda2-mode `(agda2-highlight-bound-variable-face ((,c :inherit font-lock-variable-name-face))) `(agda2-highlight-catchall-clause-face ((,c :background ,bg-inactive)))