# HG changeset patch # User Oleksandr Gavenko # Date 1479571598 -7200 # Node ID 6e3c4ea65439c1698294b1f9229e90ed357c987b # Parent 8cde360dda539c9565522e54592ae167fc300ff5 Redefine some web-mode faces. diff -r 8cde360dda53 -r 6e3c4ea65439 .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")