branch: externals/modus-themes
commit b4eca2c241b4cfd23637f7620bb7f8e6a96ecbb7
Author: Protesilaos <[email protected]>
Commit: Protesilaos <[email protected]>

    Add support for markdown-ts-mode
---
 doc/modus-themes.org |  1 +
 modus-themes.el      | 31 ++++++++++++++++++++++++++++++-
 2 files changed, 31 insertions(+), 1 deletion(-)

diff --git a/doc/modus-themes.org b/doc/modus-themes.org
index 8def066f9e..7a6f378371 100644
--- a/doc/modus-themes.org
+++ b/doc/modus-themes.org
@@ -5145,6 +5145,7 @@ have lots of extensions, so the "full support" may not be 
100% true…
 + man
 + marginalia
 + markdown-mode
++ markdown-ts-mode [ Part of {{{development-version}}}. ]
 + markup-faces (~adoc-mode~)
 + mb-depth
 + mct
diff --git a/modus-themes.el b/modus-themes.el
index cc296dfabf..0ce90877a6 100644
--- a/modus-themes.el
+++ b/modus-themes.el
@@ -6200,7 +6200,36 @@ If COLOR is unspecified, then return :box unspecified."
     `(markdown-missing-link-face ((,c :foreground ,warning)))
     `(markdown-pre-face ((,c :inherit modus-themes-fixed-pitch :background 
,bg-prose-block-contents :extend t)))
     `(markdown-table-face ((,c :inherit modus-themes-fixed-pitch :foreground 
,prose-table)))
-    `(markdown-url-face ((,c :foreground ,fg-alt)))
+    `(markdown-url-face ((,c :background ,bg-link :foreground ,fg-link)))
+;;;;; markdown-ts-mode
+    `(markdown-ts-block-quote ((,c :inherit modus-themes-slant :foreground 
,docstring)))
+    `(markdown-ts-bold ((,c :inherit bold)))
+    `(markdown-ts-code-block ((,c :inherit modus-themes-fixed-pitch 
:background ,bg-prose-block-contents :extend t)))
+    `(markdown-ts-code-block-markup-hidden ((,c :inherit 
modus-themes-fixed-pitch :background ,bg-prose-block-contents :extend t)))
+    `(markdown-ts-code-span ((,c :inherit modus-themes-fixed-pitch :background 
,bg-prose-code :foreground ,fg-prose-code)))
+    `(markdown-ts-delimiter ((,c :foreground ,fg-dim)))
+    `(markdown-ts-emphasis ((,c :inherit italic)))
+    `(markdown-ts-entity-reference ((,c :inherit modus-themes-fixed-pitch 
:background ,bg-prose-verbatim :foreground ,fg-prose-verbatim)))
+    `(markdown-ts-hard-line-break-backslash ((,c :foreground ,rx-backslash)))
+    `(markdown-ts-hard-line-break-backslash-hidden ((,c :foreground 
,rx-backslash)))
+    `(markdown-ts-hard-line-break-space ((,c :foreground ,err :underline t)))
+    `(markdown-ts-hard-line-break-space-hidden ((,c :foreground ,err 
:underline t)))
+    `(markdown-ts-heading-1 ((,c :inherit modus-themes-heading-1)))
+    `(markdown-ts-heading-2 ((,c :inherit modus-themes-heading-2)))
+    `(markdown-ts-heading-3 ((,c :inherit modus-themes-heading-3)))
+    `(markdown-ts-heading-4 ((,c :inherit modus-themes-heading-4)))
+    `(markdown-ts-heading-5 ((,c :inherit modus-themes-heading-5)))
+    `(markdown-ts-heading-6 ((,c :inherit modus-themes-heading-6)))
+    `(markdown-ts-html-block ((,c :inherit modus-themes-fixed-pitch 
:background ,bg-prose-block-contents :extend t)))
+    `(markdown-ts-html-tag ((,c :foreground ,fg-dim)))
+    `(markdown-ts-indented-code-block ((,c :inherit modus-themes-fixed-pitch 
:background ,bg-prose-block-contents :extend t)))
+    `(markdown-ts-language-keyword ((,c :inherit modus-themes-fixed-pitch 
:background ,bg-prose-block-delimiter :foreground ,fg-prose-block-delimiter)))
+    `(markdown-ts-latex ((,c :foreground ,type)))
+    `(markdown-ts-numeric-character-reference ((,c :foreground ,number)))
+    `(markdown-ts-table ((,c :inherit modus-themes-fixed-pitch :foreground 
,prose-table)))
+    `(markdown-ts-table-cell ((,c :inherit modus-themes-fixed-pitch 
:foreground ,prose-table)))
+    `(markdown-ts-table-delimiter-cell ((,c :inherit modus-themes-fixed-pitch 
:foreground ,prose-table)))
+    `(markdown-ts-table-header ((,c :inherit (modus-themes-bold 
modus-themes-fixed-pitch) :foreground ,prose-table)))
 ;;;;; markup-faces (`adoc-mode')
     `(markup-attribute-face ((,c :inherit modus-themes-fixed-pitch :foreground 
,fg-dim)))
     `(markup-bold-face ((,c :inherit bold)))

Reply via email to