branch: externals/modus-operandi-theme
commit 7dd0b0eafbb99e5466bed12069e955057b2589db
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>
Add support for new FOUNTAIN-MODE heading faces
---
modus-operandi-theme.el | 23 ++++++++++++++++++++++-
modus-vivendi-theme.el | 23 ++++++++++++++++++++++-
2 files changed, 44 insertions(+), 2 deletions(-)
diff --git a/modus-operandi-theme.el b/modus-operandi-theme.el
index 5995fc5..1531df1 100644
--- a/modus-operandi-theme.el
+++ b/modus-operandi-theme.el
@@ -1328,7 +1328,28 @@ between foreground and background is >= 7:1)."
`(fountain-page-number ((,class (:foreground ,yellow-alt :weight bold))))
`(fountain-paren ((,class (:foreground ,cyan))))
`(fountain-scene-heading ((,class (:foreground ,fg-special-calm :weight
bold))))
- `(fountain-section-heading ((,class (:foreground ,green-alt-other :weight
bold))))
+ `(fountain-section-heading ((,class (:inherit ,modus-theme-variable-pitch
+ :foreground ,fg-main :weight
bold
+ ,@(when
modus-operandi-theme-scale-headings
+ (list :height
modus-operandi-theme-scale-4))))))
+ `(fountain-section-heading-1 ((,class (:inherit ,modus-theme-variable-pitch
+ :foreground ,fg-main
:weight bold
+ ,@(when
modus-operandi-theme-scale-headings
+ (list :height
modus-operandi-theme-scale-4))))))
+ `(fountain-section-heading-2 ((,class (:inherit ,modus-theme-variable-pitch
+ :foreground
,fg-special-warm :weight bold
+ ,@(when
modus-operandi-theme-scale-headings
+ (list :height
modus-operandi-theme-scale-3))))))
+ `(fountain-section-heading-3 ((,class (:inherit ,modus-theme-variable-pitch
+ :foreground
,fg-special-cold :weight bold
+ ,@(when
modus-operandi-theme-scale-headings
+ (list :height
modus-operandi-theme-scale-2))))))
+ `(fountain-section-heading-4 ((,class (:inherit ,modus-theme-variable-pitch
+ :foreground
,fg-special-mild :weight bold
+ ,@(when
modus-operandi-theme-scale-headings
+ (list :height
modus-operandi-theme-scale-1))))))
+ `(fountain-section-heading-5 ((,class (:inherit ,modus-theme-variable-pitch
+ :foreground
,fg-special-calm :weight bold))))
`(fountain-synopsis ((,class (:foreground ,green))))
`(fountain-template ((,class (:foreground ,magenta-alt))))
`(fountain-trans ((,class (:foreground ,magenta :weight bold))))
diff --git a/modus-vivendi-theme.el b/modus-vivendi-theme.el
index d557668..6ff5012 100644
--- a/modus-vivendi-theme.el
+++ b/modus-vivendi-theme.el
@@ -1328,7 +1328,28 @@ between foreground and background is >= 7:1)."
`(fountain-page-number ((,class (:foreground ,yellow-alt :weight bold))))
`(fountain-paren ((,class (:foreground ,cyan))))
`(fountain-scene-heading ((,class (:foreground ,fg-special-calm :weight
bold))))
- `(fountain-section-heading ((,class (:foreground ,green-alt-other :weight
bold))))
+ `(fountain-section-heading ((,class (:inherit ,modus-theme-variable-pitch
+ :foreground ,fg-main :weight
bold
+ ,@(when
modus-vivendi-theme-scale-headings
+ (list :height
modus-vivendi-theme-scale-4))))))
+ `(fountain-section-heading-1 ((,class (:inherit ,modus-theme-variable-pitch
+ :foreground ,fg-main
:weight bold
+ ,@(when
modus-vivendi-theme-scale-headings
+ (list :height
modus-vivendi-theme-scale-4))))))
+ `(fountain-section-heading-2 ((,class (:inherit ,modus-theme-variable-pitch
+ :foreground
,fg-special-warm :weight bold
+ ,@(when
modus-vivendi-theme-scale-headings
+ (list :height
modus-vivendi-theme-scale-3))))))
+ `(fountain-section-heading-3 ((,class (:inherit ,modus-theme-variable-pitch
+ :foreground
,fg-special-cold :weight bold
+ ,@(when
modus-vivendi-theme-scale-headings
+ (list :height
modus-vivendi-theme-scale-2))))))
+ `(fountain-section-heading-4 ((,class (:inherit ,modus-theme-variable-pitch
+ :foreground
,fg-special-mild :weight bold
+ ,@(when
modus-vivendi-theme-scale-headings
+ (list :height
modus-vivendi-theme-scale-1))))))
+ `(fountain-section-heading-5 ((,class (:inherit ,modus-theme-variable-pitch
+ :foreground
,fg-special-calm :weight bold))))
`(fountain-synopsis ((,class (:foreground ,green))))
`(fountain-template ((,class (:foreground ,magenta-alt))))
`(fountain-trans ((,class (:foreground ,magenta :weight bold))))