aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeilei332 <LeiYiXia29@outlook.com>2025-04-05 17:34:42 +0800
committerLeilei332 <LeiYiXia29@outlook.com>2025-04-05 17:34:42 +0800
commitc4fc4175fc9a2f2169ae75558526e754c7dff9aa (patch)
treec4f8d6236f5e42386384dced2b8381be4f60160d
parent3dd2f8fb425abdcbeb5e4b648fc48dbd508648eb (diff)
Add adoc-mode support
-rw-r--r--ef-themes.el19
1 files changed, 19 insertions, 0 deletions
diff --git a/ef-themes.el b/ef-themes.el
index f979152..0dd0e8b 100644
--- a/ef-themes.el
+++ b/ef-themes.el
@@ -1003,6 +1003,25 @@ text should not be underlined as well) yet still blend in."
`(tooltip ((,c :background ,bg-alt :foreground ,fg-intense)))
`(trailing-whitespace ((,c :background ,bg-red-intense :foreground ,fg-intense)))
`(warning ((,c :inherit bold :foreground ,warning)))
+;;;; adoc-mode
+ `(adoc-code-face ((,c :inherit font-lock-constant-face)))
+ `(adoc-command-face ((,c :foreground ,prose-macro)))
+ `(adoc-complex-replacement-face ((,c :background ,bg-magenta-subtle :foreground ,magenta)))
+ `(adoc-emphasis-face ((,c (:inherit bold))))
+ `(adoc-gen-face ((,c :foreground ,blue)))
+ `(adoc-meta-face ((,c :inherit ef-themes-fixed-pitch :foreground ,prose-metadata)))
+ `(adoc-meta-hide-face ((,c :inherit ef-themes-fixed-pitch :foreground ,prose-metadata)))
+ `(adoc-replacement-face ((,c :inherit font-lock-escape-face)))
+ `(adoc-secondary-text-face ((,c :inherit ef-themes-fixed-pitch :foreground ,prose-metadata-value)))
+ `(adoc-table-face ((,c :inherit ef-themes-fixed-pitch :foreground ,prose-table)))
+ `(adoc-title-0-face ((,c :inherit ef-themes-heading-0)))
+ `(adoc-title-1-face ((,c :inherit ef-themes-heading-1)))
+ `(adoc-title-2-face ((,c :inherit ef-themes-heading-2)))
+ `(adoc-title-3-face ((,c :inherit ef-themes-heading-3)))
+ `(adoc-title-4-face ((,c :inherit ef-themes-heading-4)))
+ `(adoc-title-5-face ((,c :inherit ef-themes-heading-5)))
+ `(adoc-typewriter-face ((,c :foreground ,prose-verbatim)))
+ `(adoc-verbatim-face ((,c :foreground ,prose-verbatim)))
;;;; all-the-icons
`(all-the-icons-blue ((,c :foreground ,blue-cooler)))
`(all-the-icons-blue-alt ((,c :foreground ,blue-warmer)))