Redefine some web-mode faces.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sat, 19 Nov 2016 18:06:38 +0200
changeset 1448 6e3c4ea65439
parent 1447 8cde360dda53
child 1449 61455bf4fb87
Redefine some web-mode faces.
.emacs-my
--- a/.emacs-my	Sat Nov 19 17:46:22 2016 +0200
+++ b/.emacs-my	Sat Nov 19 18:06:38 2016 +0200
@@ -3255,6 +3255,21 @@
   (add-to-list 'auto-mode-alist '("\\.djhtml\\'" . web-mode))
   (add-to-list 'auto-mode-alist '("\\.html?\\'" . web-mode)) )
 
+(face-spec-set 'web-mode-html-tag-face
+               '((((class color) (min-colors 16)) :foreground "blue")
+                 (((type tty) (class mono)) :inverse-video t)))
+(face-spec-set 'web-mode-html-tag-custom-face
+               '((((class color) (min-colors 16)) :foreground "red")
+                 (((type tty) (class mono)) :inverse-video t)))
+(face-spec-set 'web-mode-html-tag-custom-face
+               '((((class color) (min-colors 16)) :foreground "red")
+                 (((type tty) (class mono)) :inverse-video t)))
+(face-spec-set 'web-mode-html-tag-bracket-face
+               '((((background dark)) . (:foreground "white"))
+                 (((background light)) . (:foreground "black"))))
+(copy-face 'font-lock-variable-name-face 'web-mode-html-attr-name-face)
+(copy-face 'web-mode-html-tag-bracket-face 'web-mode-html-attr-equal-face)
+
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 (message "sgml")