From: David Edmondson <dme@dme.org>
Use the org-mode heading faces for rst-mode headings.
Signed-off-by: David Edmondson <dme@dme.org>
---
modus-themes.el | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/modus-themes.el b/modus-themes.el
index 9df2745..c30f9d5 100644
--- a/modus-themes.el
+++ b/modus-themes.el
@@ -3458,6 +3458,13 @@ FG and BG are the main colors."
;;;;; rmail
`(rmail-header-name ((,c :inherit bold)))
`(rmail-highlight ((,c :inherit bold :foreground ,mail-other)))
+;;;;; rst-mode
+ `(rst-level-1 ((,c :inherit modus-themes-heading-1)))
+ `(rst-level-2 ((,c :inherit modus-themes-heading-2)))
+ `(rst-level-3 ((,c :inherit modus-themes-heading-3)))
+ `(rst-level-4 ((,c :inherit modus-themes-heading-4)))
+ `(rst-level-5 ((,c :inherit modus-themes-heading-5)))
+ `(rst-level-6 ((,c :inherit modus-themes-heading-6)))
;;;;; ruler-mode
`(ruler-mode-column-number ((,c :inherit ruler-mode-default)))
`(ruler-mode-comment-column ((,c :inherit ruler-mode-default :foreground ,red)))
--
2.38.4
> From: ~dme <dme@git.sr.ht>
> Date: Mon, 24 Apr 2023 11:30:39 +0100
>
> From: David Edmondson <dme@dme.org>
>
> Use the org-mode heading faces for rst-mode headings.
>
> Signed-off-by: David Edmondson <dme@dme.org>
> ---
> modus-themes.el | 7 +++++++
> 1 file changed, 7 insertions(+)
I installed your patch, updated the manual, and pushed the changes.
Thank you!
--
Protesilaos Stavrou
https://protesilaos.com