branch: externals/modus-operandi-theme
commit 84ea727d33633d302e81633d5acf9fd327bcd9ab
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>
Add tentative support for MARKUP-FACES (adoc-mode)
Addresses issue 23:
https://gitlab.com/protesilaos/modus-themes/-/issues/23
I just consider this "tentative" because there may still be some further
refinements to be made.
---
README.org | 1 +
modus-operandi-theme.el | 38 ++++++++++++++++++++++++++++++++++++++
modus-vivendi-theme.el | 38 ++++++++++++++++++++++++++++++++++++++
3 files changed, 77 insertions(+)
diff --git a/README.org b/README.org
index d3c9aac..337392b 100644
--- a/README.org
+++ b/README.org
@@ -275,6 +275,7 @@ the "full support" may not be 100% true…
+ lsp-ui
+ magit
+ markdown-mode
++ markup-faces (=adoc-mode=)
+ mentor
+ messages
+ modeline
diff --git a/modus-operandi-theme.el b/modus-operandi-theme.el
index 633c30e..b3080e2 100644
--- a/modus-operandi-theme.el
+++ b/modus-operandi-theme.el
@@ -165,6 +165,7 @@
;; lsp-ui
;; magit
;; markdown-mode
+;; markup-faces (`adoc-mode')
;; mentor
;; messages
;; modeline
@@ -1720,6 +1721,43 @@ between foreground and background is >= 7:1)."
`(markdown-strike-through-face ((,class (:strike-through t))))
`(markdown-table-face ((,class (:foreground ,fg-special-cold))))
`(markdown-url-face ((,class (:foreground ,blue))))
+ ;;;; markup-faces (`adoc-mode')
+ `(markup-anchor-face ((,class (:foreground ,fg-inactive))))
+ `(markup-attribute-face ((,class (:foreground ,fg-inactive :slant italic))))
+ `(markup-big-face ((,class (:height 1.3 :foreground ,blue-nuanced))))
+ `(markup-bold-face ((,class (:foreground ,red-nuanced :weight bold))))
+ `(markup-code-face ((,class (:inherit fixed-pitch :foreground ,magenta))))
+ `(markup-command-face ((,class (:foreground ,fg-inactive))))
+ `(markup-comment-face ((,class (:foreground ,fg-alt :slant
,modus-theme-slant))))
+ `(markup-complex-replacement-face ((,class (:box (:line-width 2 :color nil
:style released-button)
+ :inherit
modus-theme-refine-magenta))))
+ `(markup-emphasis-face ((,class (:foreground ,fg-special-cold :slant
italic))))
+ `(markup-error-face ((,class (:foreground ,red :weight bold))))
+ `(markup-gen-face ((,class (:foreground ,magenta-alt))))
+ `(markup-internal-reference-face ((,class (:foreground ,fg-inactive
:underline t))))
+ `(markup-italic-face ((,class (:foreground ,fg-special-cold :slant
italic))))
+ `(markup-list-face ((,class (:inherit modus-theme-special-calm))))
+ `(markup-meta-face ((,class (:foreground ,fg-inactive))))
+ `(markup-meta-hide-face ((,class (:foreground ,fg-alt))))
+ `(markup-passthrough-face ((,class (:inherit fixed-pitch :foreground
,cyan))))
+ `(markup-preprocessor-face ((,class (:foreground ,magenta))))
+ `(markup-replacement-face ((,class (:foreground ,yellow-alt-other))))
+ `(markup-secondary-text-face ((,class (:height 0.8 :foreground
,magenta-nuanced))))
+ `(markup-small-face ((,class (:height 0.8 :foreground ,fg-main))))
+ `(markup-strong-face ((,class (:foreground ,red-nuanced :weight bold))))
+ `(markup-subscript-face ((,class (:height 0.8 :foreground
,fg-special-cold))))
+ `(markup-superscript-face ((,class (:height 0.8 :foreground
,fg-special-cold))))
+ `(markup-table-cell-face ((,class (:inherit modus-theme-special-cold))))
+ `(markup-table-face ((,class (:inherit modus-theme-subtle-cyan))))
+ `(markup-table-row-face ((,class (:inherit modus-theme-subtle-cyan))))
+ `(markup-title-0-face ((,class (:height 3.0 :foreground ,blue-nuanced))))
+ `(markup-title-1-face ((,class (:height 2.4 :foreground ,blue-nuanced))))
+ `(markup-title-2-face ((,class (:height 1.8 :foreground ,blue-nuanced))))
+ `(markup-title-3-face ((,class (:height 1.4 :foreground ,blue-nuanced))))
+ `(markup-title-4-face ((,class (:height 1.2 :foreground ,blue-nuanced))))
+ `(markup-title-5-face ((,class (:height 1.2 :foreground ,blue-nuanced
:underline t))))
+ `(markup-value-face ((,class (:foreground ,fg-inactive))))
+ `(markup-verbatim-face ((,class (:inherit modus-theme-special-mild))))
;;;; mentor
`(mentor-download-message ((,class (:foreground ,fg-special-warm))))
`(mentor-download-name ((,class (:foreground ,fg-special-cold))))
diff --git a/modus-vivendi-theme.el b/modus-vivendi-theme.el
index 183ff0a..480309e 100644
--- a/modus-vivendi-theme.el
+++ b/modus-vivendi-theme.el
@@ -165,6 +165,7 @@
;; lsp-ui
;; magit
;; markdown-mode
+;; markup-faces (`adoc-mode')
;; mentor
;; messages
;; modeline
@@ -1720,6 +1721,43 @@ between foreground and background is >= 7:1)."
`(markdown-strike-through-face ((,class (:strike-through t))))
`(markdown-table-face ((,class (:foreground ,fg-special-cold))))
`(markdown-url-face ((,class (:foreground ,blue))))
+ ;;;; markup-faces (`adoc-mode')
+ `(markup-anchor-face ((,class (:foreground ,fg-inactive))))
+ `(markup-attribute-face ((,class (:foreground ,fg-inactive :slant italic))))
+ `(markup-big-face ((,class (:height 1.3 :foreground ,blue-nuanced))))
+ `(markup-bold-face ((,class (:foreground ,red-nuanced :weight bold))))
+ `(markup-code-face ((,class (:inherit fixed-pitch :foreground ,magenta))))
+ `(markup-command-face ((,class (:foreground ,fg-inactive))))
+ `(markup-comment-face ((,class (:foreground ,fg-alt :slant
,modus-theme-slant))))
+ `(markup-complex-replacement-face ((,class (:box (:line-width 2 :color nil
:style released-button)
+ :inherit
modus-theme-refine-magenta))))
+ `(markup-emphasis-face ((,class (:foreground ,fg-special-cold :slant
italic))))
+ `(markup-error-face ((,class (:foreground ,red :weight bold))))
+ `(markup-gen-face ((,class (:foreground ,magenta-alt))))
+ `(markup-internal-reference-face ((,class (:foreground ,fg-inactive
:underline t))))
+ `(markup-italic-face ((,class (:foreground ,fg-special-cold :slant
italic))))
+ `(markup-list-face ((,class (:inherit modus-theme-special-calm))))
+ `(markup-meta-face ((,class (:foreground ,fg-inactive))))
+ `(markup-meta-hide-face ((,class (:foreground ,fg-alt))))
+ `(markup-passthrough-face ((,class (:inherit fixed-pitch :foreground
,cyan))))
+ `(markup-preprocessor-face ((,class (:foreground ,magenta))))
+ `(markup-replacement-face ((,class (:foreground ,yellow-alt-other))))
+ `(markup-secondary-text-face ((,class (:height 0.8 :foreground
,magenta-nuanced))))
+ `(markup-small-face ((,class (:height 0.8 :foreground ,fg-main))))
+ `(markup-strong-face ((,class (:foreground ,red-nuanced :weight bold))))
+ `(markup-subscript-face ((,class (:height 0.8 :foreground
,fg-special-cold))))
+ `(markup-superscript-face ((,class (:height 0.8 :foreground
,fg-special-cold))))
+ `(markup-table-cell-face ((,class (:inherit modus-theme-special-cold))))
+ `(markup-table-face ((,class (:inherit modus-theme-subtle-cyan))))
+ `(markup-table-row-face ((,class (:inherit modus-theme-subtle-cyan))))
+ `(markup-title-0-face ((,class (:height 3.0 :foreground ,blue-nuanced))))
+ `(markup-title-1-face ((,class (:height 2.4 :foreground ,blue-nuanced))))
+ `(markup-title-2-face ((,class (:height 1.8 :foreground ,blue-nuanced))))
+ `(markup-title-3-face ((,class (:height 1.4 :foreground ,blue-nuanced))))
+ `(markup-title-4-face ((,class (:height 1.2 :foreground ,blue-nuanced))))
+ `(markup-title-5-face ((,class (:height 1.2 :foreground ,blue-nuanced
:underline t))))
+ `(markup-value-face ((,class (:foreground ,fg-inactive))))
+ `(markup-verbatim-face ((,class (:inherit modus-theme-special-mild))))
;;;; mentor
`(mentor-download-message ((,class (:foreground ,fg-special-warm))))
`(mentor-download-name ((,class (:foreground ,fg-special-cold))))