From 6866bf6a8054d65644d275b6d2908fcafd426f4c Mon Sep 17 00:00:00 2001 From: Juri Linkov Date: Tue, 19 Jul 2005 11:43:26 +0000 Subject: [PATCH] (widget-inactive): Inherit from `shadow'. --- lisp/wid-edit.el | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/lisp/wid-edit.el b/lisp/wid-edit.el index 062a7886789..d861429e212 100644 --- a/lisp/wid-edit.el +++ b/lisp/wid-edit.el @@ -441,14 +441,8 @@ new value.") (prog1 (progn ,@form) (goto-char (point-max)))))) -(defface widget-inactive '((((class grayscale color) - (background dark)) - (:foreground "light gray")) - (((class grayscale color) - (background light)) - (:foreground "dim gray")) - (t - (:slant italic))) +(defface widget-inactive + '((t :inherit shadow)) "Face used for inactive widgets." :group 'widget-faces) ;; backward-compatibility alias -- 2.39.2