From f101c676cc9485aa22ec088a71d8afc72cda3d58 Mon Sep 17 00:00:00 2001 From: Kwik Kwik <4840430+sirikid@users.noreply.github.com> Date: Sat, 31 Aug 2019 22:24:18 +0000 Subject: [PATCH] Inherit faces from appropriate builtin ones (#441) --- elixir-mode.el | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/elixir-mode.el b/elixir-mode.el index b7426e13..4f5ac9d9 100644 --- a/elixir-mode.el +++ b/elixir-mode.el @@ -78,21 +78,13 @@ (defvar elixir-attribute-face 'elixir-attribute-face) (defface elixir-attribute-face - '((((class color) (min-colors 88) (background light)) - :foreground "MediumPurple4") - (((class color) (background dark)) - (:foreground "thistle")) - (t nil)) + '((t (:inherit font-lock-preprocessor-face))) "For use with module attribute tokens." :group 'font-lock-faces) (defvar elixir-atom-face 'elixir-atom-face) (defface elixir-atom-face - '((((class color) (min-colors 88) (background light)) - :foreground "RoyalBlue4") - (((class color) (background dark)) - (:foreground "light sky blue")) - (t nil)) + '((t (:inherit font-lock-builtin-face))) "For use with atoms & map keys." :group 'font-lock-faces)