branch: externals/modus-themes
commit ee32b1a0d4b241f6658b35c10f299f08a98a0376
Author: David Edmondson <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>

    Add rst-mode heading faces
    
    Use the org-mode heading faces for rst-mode headings.
    
    Signed-off-by: David Edmondson <[email protected]>
---
 modus-themes.el | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/modus-themes.el b/modus-themes.el
index 9df27454c1..c30f9d508a 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)))

Reply via email to