branch: externals/modus-operandi-theme
commit 74431eb6748fc7f028e01ef3c0d5cea09c4c5552
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>
Add *tentative* support for WEB-MODE (issue #17)
---
README.org | 1 +
modus-operandi-theme.el | 75 +++++++++++++++++++++++++++++++++++++++++++++++++
modus-vivendi-theme.el | 75 +++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 151 insertions(+)
diff --git a/README.org b/README.org
index 44c59ee..b689399 100644
--- a/README.org
+++ b/README.org
@@ -316,6 +316,7 @@ the "full support" may not be 100% true…
+ vc (built-in mode line status for version control)
+ visual-regexp
+ volatile-highlights
++ web-mode
+ wgrep
+ which-function-mode
+ which-key
diff --git a/modus-operandi-theme.el b/modus-operandi-theme.el
index b8114a2..f88ebc1 100644
--- a/modus-operandi-theme.el
+++ b/modus-operandi-theme.el
@@ -206,6 +206,7 @@
;; vc (built-in mode line status for version control)
;; visual-regexp
;; volatile-highlights
+;; web-mode
;; wgrep
;; which-function-mode
;; which-key
@@ -2214,6 +2215,80 @@ between foreground and background is >= 7:1)."
`(vr/match-separator-face ((,class (:inherit modus-theme-intense-neutral
:weight bold))))
;;;; volatile-highlights
`(vhl/default-face ((,class (:background ,bg-alt :foreground
,blue-nuanced))))
+ ;;;; web-mode
+ `(web-mode-annotation-face ((,class (:inherit web-mode-comment-face))))
+ `(web-mode-annotation-html-face ((,class (:inherit web-mode-comment-face))))
+ `(web-mode-annotation-tag-face ((,class (:inherit web-mode-comment-face
:underline t))))
+ `(web-mode-block-attr-name-face ((,class (:foreground ,blue))))
+ `(web-mode-block-attr-value-face ((,class (:foreground ,cyan-alt-other))))
+ `(web-mode-block-comment-face ((,class (:inherit web-mode-comment-face))))
+ `(web-mode-block-control-face ((,class (:foreground ,magenta-alt :weight
,modus-theme-bold))))
+ `(web-mode-block-delimiter-face ((,class (:foreground ,fg-main))))
+ `(web-mode-block-face ((,class (:background ,bg-dim))))
+ `(web-mode-block-string-face ((,class (:inherit web-mode-string-face))))
+ `(web-mode-bold-face ((,class (:weight bold))))
+ `(web-mode-builtin-face ((,class (:foreground ,magenta-alt :weight
,modus-theme-bold))))
+ `(web-mode-comment-face ((,class (:foreground ,fg-alt :slant
,modus-theme-slant))))
+ `(web-mode-comment-keyword-face ((,class (:background ,bg-dim :foreground
,yellow :weight bold))))
+ `(web-mode-constant-face ((,class (:foreground ,blue-alt-other))))
+ `(web-mode-css-at-rule-face ((,class (:foreground ,blue-alt-other))))
+ `(web-mode-css-color-face ((,class (:foreground ,magenta-alt :weight
,modus-theme-bold))))
+ `(web-mode-css-comment-face ((,class (:inherit web-mode-comment-face))))
+ `(web-mode-css-function-face ((,class (:foreground ,magenta-alt :weight
,modus-theme-bold))))
+ `(web-mode-css-priority-face ((,class (:foreground ,yellow-alt :weight
,modus-theme-bold))))
+ `(web-mode-css-property-name-face ((,class (:foreground ,cyan))))
+ `(web-mode-css-pseudo-class-face ((,class (:foreground ,cyan-alt-other))))
+ `(web-mode-css-selector-face ((,class (:foreground ,magenta-alt-other
:weight ,modus-theme-bold))))
+ `(web-mode-css-string-face ((,class (:inherit web-mode-string-face))))
+ `(web-mode-css-variable-face ((,class (:foreground ,fg-special-warm))))
+ `(web-mode-current-column-highlight-face ((,class (:background ,bg-alt))))
+ `(web-mode-current-element-highlight-face ((,class (:inherit
modus-theme-special-mild))))
+ `(web-mode-doctype-face ((,class (:foreground ,fg-special-cold :slant
,modus-theme-slant))))
+ `(web-mode-error-face ((,class (:inherit modus-theme-intense-red))))
+ `(web-mode-filter-face ((,class (:foreground ,magenta))))
+ `(web-mode-folded-face ((,class (:underline t))))
+ `(web-mode-function-call-face ((,class (:foreground ,magenta))))
+ `(web-mode-function-name-face ((,class (:foreground ,magenta))))
+ `(web-mode-html-attr-custom-face ((,class (:foreground ,cyan))))
+ `(web-mode-html-attr-engine-face ((,class (:foreground ,fg-main))))
+ `(web-mode-html-attr-equal-face ((,class (:foreground ,fg-main))))
+ `(web-mode-html-attr-name-face ((,class (:foreground ,cyan))))
+ `(web-mode-html-attr-value-face ((,class (:foreground ,blue-alt-other))))
+ `(web-mode-html-entity-face ((,class (:foreground ,yellow-alt-other :slant
,modus-theme-slant))))
+ `(web-mode-html-tag-bracket-face ((,class (:foreground ,fg-dim))))
+ `(web-mode-html-tag-custom-face ((,class (:foreground ,magenta))))
+ `(web-mode-html-tag-face ((,class (:foreground ,magenta))))
+ `(web-mode-html-tag-namespaced-face ((,class (:foreground ,magenta-alt
:weight ,modus-theme-bold))))
+ `(web-mode-html-tag-unclosed-face ((,class (:foreground ,red :underline
t))))
+ `(web-mode-inlay-face ((,class (:background ,bg-alt))))
+ `(web-mode-italic-face ((,class (:slant italic))))
+ `(web-mode-javascript-comment-face ((,class (:inherit
web-mode-comment-face))))
+ `(web-mode-javascript-string-face ((,class (:inherit
web-mode-string-face))))
+ `(web-mode-json-comment-face ((,class (:inherit web-mode-comment-face))))
+ `(web-mode-json-context-face ((,class (:foreground ,magenta-alt))))
+ `(web-mode-json-key-face ((,class (:foreground ,blue-nuanced))))
+ `(web-mode-json-string-face ((,class (:inherit web-mode-string-face))))
+ `(web-mode-jsx-depth-1-face ((,class (:background ,blue-intense-bg
:foreground ,fg-main))))
+ `(web-mode-jsx-depth-2-face ((,class (:background ,blue-subtle-bg
:foreground ,fg-main))))
+ `(web-mode-jsx-depth-3-face ((,class (:background ,bg-special-cold
:foreground ,fg-special-cold))))
+ `(web-mode-jsx-depth-4-face ((,class (:background ,bg-alt :foreground
,blue-refine-fg))))
+ `(web-mode-jsx-depth-5-face ((,class (:background ,bg-alt :foreground
,blue-nuanced))))
+ `(web-mode-keyword-face ((,class (:foreground ,magenta-alt-other :weight
,modus-theme-bold))))
+ `(web-mode-param-name-face ((,class (:foreground ,magenta))))
+ `(web-mode-part-comment-face ((,class (:inherit web-mode-comment-face))))
+ `(web-mode-part-face ((,class (:inherit web-mode-block-face))))
+ `(web-mode-part-string-face ((,class (:inherit web-mode-string-face))))
+ `(web-mode-preprocessor-face ((,class (:foreground ,magenta))))
+ `(web-mode-script-face ((,class (:inherit web-mode-part-face))))
+ `(web-mode-sql-keyword-face ((,class (:foreground ,yellow :weight bold))))
+ `(web-mode-string-face ((,class (:foreground ,blue-alt))))
+ `(web-mode-style-face ((,class (:inherit web-mode-part-face))))
+ `(web-mode-symbol-face ((,class (:foreground ,blue-alt-other))))
+ `(web-mode-type-face ((,class (:foreground ,magenta-alt))))
+ `(web-mode-underline-face ((,class (:underline t))))
+ `(web-mode-variable-name-face ((,class (:foreground ,cyan))))
+ `(web-mode-warning-face ((,class (:background ,bg-alt :foreground
,yellow-alt-other :weight bold))))
+ `(web-mode-whitespace-face ((,class (:background ,bg-whitespace :foreground
,fg-whitespace))))
;;;; wgrep
`(wgrep-delete-face ((,class (:inherit modus-theme-refine-yellow))))
`(wgrep-done-face ((,class (:inherit modus-theme-refine-blue))))
diff --git a/modus-vivendi-theme.el b/modus-vivendi-theme.el
index 00641c8..c32ccf8 100644
--- a/modus-vivendi-theme.el
+++ b/modus-vivendi-theme.el
@@ -206,6 +206,7 @@
;; vc (built-in mode line status for version control)
;; visual-regexp
;; volatile-highlights
+;; web-mode
;; wgrep
;; which-function-mode
;; which-key
@@ -2214,6 +2215,80 @@ between foreground and background is >= 7:1)."
`(vr/match-separator-face ((,class (:inherit modus-theme-intense-neutral
:weight bold))))
;;;; volatile-highlights
`(vhl/default-face ((,class (:background ,bg-alt :foreground
,blue-nuanced))))
+ ;;;; web-mode
+ `(web-mode-annotation-face ((,class (:inherit web-mode-comment-face))))
+ `(web-mode-annotation-html-face ((,class (:inherit web-mode-comment-face))))
+ `(web-mode-annotation-tag-face ((,class (:inherit web-mode-comment-face
:underline t))))
+ `(web-mode-block-attr-name-face ((,class (:foreground ,blue))))
+ `(web-mode-block-attr-value-face ((,class (:foreground ,cyan-alt-other))))
+ `(web-mode-block-comment-face ((,class (:inherit web-mode-comment-face))))
+ `(web-mode-block-control-face ((,class (:foreground ,magenta-alt :weight
,modus-theme-bold))))
+ `(web-mode-block-delimiter-face ((,class (:foreground ,fg-main))))
+ `(web-mode-block-face ((,class (:background ,bg-dim))))
+ `(web-mode-block-string-face ((,class (:inherit web-mode-string-face))))
+ `(web-mode-bold-face ((,class (:weight bold))))
+ `(web-mode-builtin-face ((,class (:foreground ,magenta-alt :weight
,modus-theme-bold))))
+ `(web-mode-comment-face ((,class (:foreground ,fg-alt :slant
,modus-theme-slant))))
+ `(web-mode-comment-keyword-face ((,class (:background ,bg-dim :foreground
,yellow :weight bold))))
+ `(web-mode-constant-face ((,class (:foreground ,blue-alt-other))))
+ `(web-mode-css-at-rule-face ((,class (:foreground ,blue-alt-other))))
+ `(web-mode-css-color-face ((,class (:foreground ,magenta-alt :weight
,modus-theme-bold))))
+ `(web-mode-css-comment-face ((,class (:inherit web-mode-comment-face))))
+ `(web-mode-css-function-face ((,class (:foreground ,magenta-alt :weight
,modus-theme-bold))))
+ `(web-mode-css-priority-face ((,class (:foreground ,yellow-alt :weight
,modus-theme-bold))))
+ `(web-mode-css-property-name-face ((,class (:foreground ,cyan))))
+ `(web-mode-css-pseudo-class-face ((,class (:foreground ,cyan-alt-other))))
+ `(web-mode-css-selector-face ((,class (:foreground ,magenta-alt-other
:weight ,modus-theme-bold))))
+ `(web-mode-css-string-face ((,class (:inherit web-mode-string-face))))
+ `(web-mode-css-variable-face ((,class (:foreground ,fg-special-warm))))
+ `(web-mode-current-column-highlight-face ((,class (:background ,bg-alt))))
+ `(web-mode-current-element-highlight-face ((,class (:inherit
modus-theme-special-mild))))
+ `(web-mode-doctype-face ((,class (:foreground ,fg-special-cold :slant
,modus-theme-slant))))
+ `(web-mode-error-face ((,class (:inherit modus-theme-intense-red))))
+ `(web-mode-filter-face ((,class (:foreground ,magenta))))
+ `(web-mode-folded-face ((,class (:underline t))))
+ `(web-mode-function-call-face ((,class (:foreground ,magenta))))
+ `(web-mode-function-name-face ((,class (:foreground ,magenta))))
+ `(web-mode-html-attr-custom-face ((,class (:foreground ,cyan))))
+ `(web-mode-html-attr-engine-face ((,class (:foreground ,fg-main))))
+ `(web-mode-html-attr-equal-face ((,class (:foreground ,fg-main))))
+ `(web-mode-html-attr-name-face ((,class (:foreground ,cyan))))
+ `(web-mode-html-attr-value-face ((,class (:foreground ,blue-alt-other))))
+ `(web-mode-html-entity-face ((,class (:foreground ,yellow-alt-other :slant
,modus-theme-slant))))
+ `(web-mode-html-tag-bracket-face ((,class (:foreground ,fg-dim))))
+ `(web-mode-html-tag-custom-face ((,class (:foreground ,magenta))))
+ `(web-mode-html-tag-face ((,class (:foreground ,magenta))))
+ `(web-mode-html-tag-namespaced-face ((,class (:foreground ,magenta-alt
:weight ,modus-theme-bold))))
+ `(web-mode-html-tag-unclosed-face ((,class (:foreground ,red :underline
t))))
+ `(web-mode-inlay-face ((,class (:background ,bg-alt))))
+ `(web-mode-italic-face ((,class (:slant italic))))
+ `(web-mode-javascript-comment-face ((,class (:inherit
web-mode-comment-face))))
+ `(web-mode-javascript-string-face ((,class (:inherit
web-mode-string-face))))
+ `(web-mode-json-comment-face ((,class (:inherit web-mode-comment-face))))
+ `(web-mode-json-context-face ((,class (:foreground ,magenta-alt))))
+ `(web-mode-json-key-face ((,class (:foreground ,blue-nuanced))))
+ `(web-mode-json-string-face ((,class (:inherit web-mode-string-face))))
+ `(web-mode-jsx-depth-1-face ((,class (:background ,blue-intense-bg
:foreground ,fg-main))))
+ `(web-mode-jsx-depth-2-face ((,class (:background ,blue-subtle-bg
:foreground ,fg-main))))
+ `(web-mode-jsx-depth-3-face ((,class (:background ,bg-special-cold
:foreground ,fg-special-cold))))
+ `(web-mode-jsx-depth-4-face ((,class (:background ,bg-alt :foreground
,blue-refine-fg))))
+ `(web-mode-jsx-depth-5-face ((,class (:background ,bg-alt :foreground
,blue-nuanced))))
+ `(web-mode-keyword-face ((,class (:foreground ,magenta-alt-other :weight
,modus-theme-bold))))
+ `(web-mode-param-name-face ((,class (:foreground ,magenta))))
+ `(web-mode-part-comment-face ((,class (:inherit web-mode-comment-face))))
+ `(web-mode-part-face ((,class (:inherit web-mode-block-face))))
+ `(web-mode-part-string-face ((,class (:inherit web-mode-string-face))))
+ `(web-mode-preprocessor-face ((,class (:foreground ,magenta))))
+ `(web-mode-script-face ((,class (:inherit web-mode-part-face))))
+ `(web-mode-sql-keyword-face ((,class (:foreground ,yellow :weight bold))))
+ `(web-mode-string-face ((,class (:foreground ,blue-alt))))
+ `(web-mode-style-face ((,class (:inherit web-mode-part-face))))
+ `(web-mode-symbol-face ((,class (:foreground ,blue-alt-other))))
+ `(web-mode-type-face ((,class (:foreground ,magenta-alt))))
+ `(web-mode-underline-face ((,class (:underline t))))
+ `(web-mode-variable-name-face ((,class (:foreground ,cyan))))
+ `(web-mode-warning-face ((,class (:background ,bg-alt :foreground
,yellow-alt-other :weight bold))))
+ `(web-mode-whitespace-face ((,class (:background ,bg-whitespace :foreground
,fg-whitespace))))
;;;; wgrep
`(wgrep-delete-face ((,class (:inherit modus-theme-refine-yellow))))
`(wgrep-done-face ((,class (:inherit modus-theme-refine-blue))))