From 789f0a3474e6ad6c11e07f2c61d5994b2375bdba Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Wed, 29 Apr 2020 11:41:07 +0200 Subject: Added support for markup-faces MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This also includes adoc-mode. Signed-off-by: Miquel Sabaté Solà --- CHANGELOG.org | 1 + soria-theme.el | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/CHANGELOG.org b/CHANGELOG.org index 09d3936..181bd08 100644 --- a/CHANGELOG.org +++ b/CHANGELOG.org @@ -4,6 +4,7 @@ ** Next +- Added support for =markup-faces= (which also include =adoc-mode=). - Added support for =company-mode= and =company-box=. See [[https://github.com/mssola/soria/commit/390f03333e2e6083ee5d7f9b36c2e794105cf466][390f03333e2e]]. - Fixed Helm selection for GNU Emacs 27.x. See [[https://github.com/mssola/soria/commit/41520c0418a2a5468ac7696159a7dedb558187a7][41520c0418a2]]. - Added support for =org-drawer= and =org-special-keyword=. See [[https://github.com/mssola/soria/commit/8539cc132c92519b9053ed48d1bdecac6a64bdd5][8539cc132c92]]. diff --git a/soria-theme.el b/soria-theme.el index de41164..947dbe0 100644 --- a/soria-theme.el +++ b/soria-theme.el @@ -1387,6 +1387,53 @@ The theme has to be reloaded after changing anything in this group." `(org-special-keyword ((,class (:inherit org-done)))) + ;; markup-faces (which also includes adoc-mode) + + `(markup-title-0-face + ((,class (:inherit org-level-1)))) + + `(markup-title-1-face + ((,class (:inherit org-level-1)))) + + `(markup-title-2-face + ((,class (:inherit org-level-2)))) + + `(markup-title-3-face + ((,class (:inherit org-level-3)))) + + `(markup-title-4-face + ((,class (:inherit org-level-4)))) + + `(markup-title-5-face + ((,class (:inherit org-level-5)))) + + `(markup-meta-face + ((,class (:inherit org-level-1)))) + + `(markup-meta-hide-face + ((,class (:inherit org-level-1)))) + + `(markup-list-face + ((,class (:inherit org-table)))) + + `(markup-internal-reference-face + ((,class (:inherit link)))) + + `(markup-reference-face + ((,class (:inherit link)))) + + `(markup-typewriter-face + ((,class (:inherit org-verbatim)))) + + `(markup-verbatim-face + ((,class (:inherit org-verbatim)))) + + `(markup-comment-face + ((,class (:inherit font-lock-comment-face)))) + + `(markup-anchor-face + ((,class (:inherit org-target)))) + ;; modeline: this is the base for faces from some modelines (doom-modeline). `(mode-line-emphasis -- cgit v1.2.3