emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/modus-operandi-theme 1057ede 51/54: Add support for NXM


From: Stefan Monnier
Subject: [elpa] externals/modus-operandi-theme 1057ede 51/54: Add support for NXML-MODE
Date: Thu, 4 Jun 2020 08:20:20 -0400 (EDT)

branch: externals/modus-operandi-theme
commit 1057edec21883bcffeeda2b544178f151509e4d5
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Add support for NXML-MODE
    
    This is a built-in library which would inherit from font-lock.  These
    changes are meant to improve some semantic constructs and to make sure
    colours are combined better.
---
 README.org              |  1 +
 modus-operandi-theme.el | 26 ++++++++++++++++++++++++++
 modus-vivendi-theme.el  | 26 ++++++++++++++++++++++++++
 3 files changed, 53 insertions(+)

diff --git a/README.org b/README.org
index c261b82..da4f45a 100644
--- a/README.org
+++ b/README.org
@@ -802,6 +802,7 @@ the "full support" may not be 100% true…
 + neotree
 + no-emoji
 + num3-mode
++ nxml-mode
 + orderless
 + org*
 + org-journal
diff --git a/modus-operandi-theme.el b/modus-operandi-theme.el
index 3e7b7ae..6494b4c 100644
--- a/modus-operandi-theme.el
+++ b/modus-operandi-theme.el
@@ -221,6 +221,7 @@
 ;;     neotree
 ;;     no-emoji
 ;;     num3-mode
+;;     nxml-mode
 ;;     orderless
 ;;     org
 ;;     org-journal
@@ -2554,6 +2555,31 @@ Also bind `class' to ((class color) (min-colors 89))."
    `(no-emoji ((,class (:foreground ,cyan))))
    ;;;; num3-mode
    `(num3-face-even ((,class (:background ,bg-alt :weight bold))))
+   ;;;; nxml-mode
+   `(nxml-attribute-colon ((,class (:foreground ,fg-main))))
+   `(nxml-attribute-local-name ((,class (:foreground ,cyan-alt))))
+   `(nxml-attribute-prefix ((,class (:foreground ,cyan-alt-other :weight 
,modus-theme-bold))))
+   `(nxml-attribute-value ((,class (:foreground ,blue))))
+   `(nxml-cdata-section-CDATA ((,class (:foreground ,red-alt :weight 
,modus-theme-bold))))
+   `(nxml-cdata-section-delimiter ((,class (:foreground ,red-alt))))
+   `(nxml-char-ref-delimiter ((,class (:foreground ,green-alt-other))))
+   `(nxml-char-ref-number ((,class (:foreground ,green-alt-other :weight 
,modus-theme-bold))))
+   `(nxml-delimited-data ((,class (:foreground ,fg-special-cold :slant 
,modus-theme-slant))))
+   `(nxml-delimiter ((,class (:foreground ,fg-dim))))
+   `(nxml-element-colon ((,class (:foreground ,fg-main))))
+   `(nxml-element-local-name ((,class (:foreground ,magenta))))
+   `(nxml-element-prefix ((,class (:foreground ,magenta-alt :weight 
,modus-theme-bold))))
+   `(nxml-entity-ref-delimiter ((,class (:foreground ,green-alt-other))))
+   `(nxml-entity-ref-name ((,class (:foreground ,green-alt-other :weight 
,modus-theme-bold))))
+   `(nxml-glyph ((,class (:inherit modus-theme-intense-neutral))))
+   `(nxml-hash ((,class (:foreground ,blue-alt :weight ,modus-theme-bold))))
+   `(nxml-heading ((,class (:weight bold))))
+   `(nxml-name ((,class (:foreground ,magenta-alt :weight ,modus-theme-bold))))
+   `(nxml-namespace-attribute-colon ((,class (:foreground ,fg-main))))
+   `(nxml-namespace-attribute-prefix ((,class (:foreground ,cyan))))
+   `(nxml-processing-instruction-target ((,class (:foreground 
,magenta-alt-other :weight ,modus-theme-bold))))
+   `(nxml-prolog-keyword ((,class (:foreground ,magenta-alt-other :weight 
,modus-theme-bold))))
+   `(nxml-ref ((,class (:foreground ,green-alt-other :weight 
,modus-theme-bold))))
    ;;;; orderless
    `(orderless-match-face-0 ((,class (,@(modus-operandi-theme-completions
                                          blue-alt blue-refine-bg 
blue-refine-fg)
diff --git a/modus-vivendi-theme.el b/modus-vivendi-theme.el
index f22fb0d..667b931 100644
--- a/modus-vivendi-theme.el
+++ b/modus-vivendi-theme.el
@@ -221,6 +221,7 @@
 ;;     neotree
 ;;     no-emoji
 ;;     num3-mode
+;;     nxml-mode
 ;;     orderless
 ;;     org
 ;;     org-journal
@@ -2554,6 +2555,31 @@ Also bind `class' to ((class color) (min-colors 89))."
    `(no-emoji ((,class (:foreground ,cyan))))
    ;;;; num3-mode
    `(num3-face-even ((,class (:background ,bg-alt :weight bold))))
+   ;;;; nxml-mode
+   `(nxml-attribute-colon ((,class (:foreground ,fg-main))))
+   `(nxml-attribute-local-name ((,class (:foreground ,cyan-alt))))
+   `(nxml-attribute-prefix ((,class (:foreground ,cyan-alt-other :weight 
,modus-theme-bold))))
+   `(nxml-attribute-value ((,class (:foreground ,blue))))
+   `(nxml-cdata-section-CDATA ((,class (:foreground ,red-alt :weight 
,modus-theme-bold))))
+   `(nxml-cdata-section-delimiter ((,class (:foreground ,red-alt))))
+   `(nxml-char-ref-delimiter ((,class (:foreground ,green-alt-other))))
+   `(nxml-char-ref-number ((,class (:foreground ,green-alt-other :weight 
,modus-theme-bold))))
+   `(nxml-delimited-data ((,class (:foreground ,fg-special-cold :slant 
,modus-theme-slant))))
+   `(nxml-delimiter ((,class (:foreground ,fg-dim))))
+   `(nxml-element-colon ((,class (:foreground ,fg-main))))
+   `(nxml-element-local-name ((,class (:foreground ,magenta))))
+   `(nxml-element-prefix ((,class (:foreground ,magenta-alt :weight 
,modus-theme-bold))))
+   `(nxml-entity-ref-delimiter ((,class (:foreground ,green-alt-other))))
+   `(nxml-entity-ref-name ((,class (:foreground ,green-alt-other :weight 
,modus-theme-bold))))
+   `(nxml-glyph ((,class (:inherit modus-theme-intense-neutral))))
+   `(nxml-hash ((,class (:foreground ,blue-alt :weight ,modus-theme-bold))))
+   `(nxml-heading ((,class (:weight bold))))
+   `(nxml-name ((,class (:foreground ,magenta-alt :weight ,modus-theme-bold))))
+   `(nxml-namespace-attribute-colon ((,class (:foreground ,fg-main))))
+   `(nxml-namespace-attribute-prefix ((,class (:foreground ,cyan))))
+   `(nxml-processing-instruction-target ((,class (:foreground 
,magenta-alt-other :weight ,modus-theme-bold))))
+   `(nxml-prolog-keyword ((,class (:foreground ,magenta-alt-other :weight 
,modus-theme-bold))))
+   `(nxml-ref ((,class (:foreground ,green-alt-other :weight 
,modus-theme-bold))))
    ;;;; orderless
    `(orderless-match-face-0 ((,class (,@(modus-vivendi-theme-completions
                                          blue-alt blue-refine-bg 
blue-refine-fg)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]