From f1b893e9bd6473ea5321b2d571877833d3f7ff00 Mon Sep 17 00:00:00 2001 From: Arctic Ice Studio Date: Sat, 25 Mar 2017 18:03:26 +0100 Subject: [PATCH] GHI-#8 Implement support for the "web-mode" package --- nord-theme.el | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/nord-theme.el b/nord-theme.el index a984e36..caa56cd 100644 --- a/nord-theme.el +++ b/nord-theme.el @@ -347,6 +347,39 @@ `(rainbow-delimiters-depth-7-face ((,class :foreground ,nord14))) `(rainbow-delimiters-depth-8-face ((,class :foreground ,nord15))) `(rainbow-delimiters-unmatched-face ((,class :foreground ,nord11))) + + ;; > Web Mode + `(web-mode-attr-tag-custom-face ((,class (:foreground ,nord-attribute)))) + `(web-mode-builtin-face ((,class (:foreground ,nord-keyword)))) + `(web-mode-comment-face ((,class (:foreground ,nord-comment)))) + `(web-mode-comment-keyword-face ((,class (:foreground ,nord-comment)))) + `(web-mode-constant-face ((,class (:foreground ,nord-variable)))) + `(web-mode-css-at-rule-face ((,class (:foreground ,nord-annotation)))) + `(web-mode-css-function-face ((,class (:foreground ,nord-method)))) + `(web-mode-css-property-name-face ((,class (:foreground ,nord-keyword)))) + `(web-mode-css-pseudo-class-face ((,class (:foreground ,nord-class)))) + `(web-mode-css-selector-face ((,class (:foreground ,nord-keyword)))) + `(web-mode-css-string-face ((,class (:foreground ,nord-string)))) + `(web-mode-doctype-face ((,class (:foreground ,nord-preprocessor)))) + `(web-mode-function-call-face ((,class (:foreground ,nord-method)))) + `(web-mode-function-name-face ((,class (:foreground ,nord-method)))) + `(web-mode-html-attr-name-face ((,class (:foreground ,nord-attribute)))) + `(web-mode-html-attr-equal-face ((,class (:foreground ,nord-punctuation)))) + `(web-mode-html-attr-value-face ((,class (:foreground ,nord-string)))) + `(web-mode-html-entity-face ((,class (:foreground ,nord-keyword)))) + `(web-mode-html-tag-bracket-face ((,class (:foreground ,nord-punctuation)))) + `(web-mode-html-tag-custom-face ((,class (:foreground ,nord-tag)))) + `(web-mode-html-tag-face ((,class (:foreground ,nord-tag)))) + `(web-mode-html-tag-namespaced-face ((,class (:foreground ,nord-keyword)))) + `(web-mode-json-key-face ((,class (:foreground ,nord-class)))) + `(web-mode-json-string-face ((,class (:foreground ,nord-string)))) + `(web-mode-keyword-face ((,class (:foreground ,nord-keyword)))) + `(web-mode-preprocessor-face ((,class (:foreground ,nord-preprocessor)))) + `(web-mode-string-face ((,class (:foreground ,nord-string)))) + `(web-mode-symbol-face ((,class (:foreground ,nord-variable)))) + `(web-mode-type-face ((,class (:foreground ,nord-class)))) + `(web-mode-warning-face ((,class (:inherit ,font-lock-warning-face)))) + `(web-mode-variable-name-face ((,class (:foreground ,nord-variable)))) ;; +--- UI ---+ ))