Add rst-mode heading faces

Use the org-mode heading faces for rst-mode headings.

Signed-off-by: David Edmondson <dme@dme.org>
This commit is contained in:
David Edmondson 2023-04-24 11:30:39 +01:00 committed by Protesilaos Stavrou
parent 2431375725
commit ee32b1a0d4
No known key found for this signature in database
GPG key ID: 99BD6459CD5CA3EA

View file

@ -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)))