diff --git a/README.org b/README.org index dbbb992c..b9fedd57 100644 --- a/README.org +++ b/README.org @@ -220,7 +220,7 @@ It is possible to customize Dashboard's appearance using the following faces: Highlights text banners. - ~dashboard-heading~ :: Highlights widget headings. -- ~widget-button~ :: +- ~dashboard-items-face~ :: Highlights widget items. * Shortcuts diff --git a/dashboard-widgets.el b/dashboard-widgets.el index 274004d7..d4c1a262 100644 --- a/dashboard-widgets.el +++ b/dashboard-widgets.el @@ -298,7 +298,12 @@ If nil it is disabled. Possible values for list-type are: "Face used for widget headings." :group 'dashboard) -(defface dashboard-no-items +(defface dashboard-items-face + '((t (:inherit widget-button))) + "Face used for items." + :group 'dashboard) + +(defface dashboard-no-items-face '((t (:inherit widget-button))) "Face used for no items." :group 'dashboard) @@ -537,7 +542,7 @@ If MESSAGEBUF is not nil then MSG is also written in message buffer." (when title (propertize title 'face face))) :help-echo help :action action - :button-face 'widget-button + :button-face 'dashboard-items-face :mouse-face 'highlight :button-prefix prefix :button-suffix suffix @@ -566,7 +571,7 @@ WIDGET-PARAMS are passed to the \"widget-create\" function." ,@widget-params) ,shortcut) (dashboard-insert-shortcut ,shortcut ,section-name)) - (insert (propertize "\n --- No items ---" 'face 'dashboard-no-items))))) + (insert (propertize "\n --- No items ---" 'face 'dashboard-no-items-face))))) ;; ;; Section list @@ -599,7 +604,7 @@ WIDGET-PARAMS are passed to the \"widget-create\" function." (widget-create 'item :tag tag :action ,action - :button-face 'widget-button + :button-face 'dashboard-items-face :mouse-face 'highlight :button-prefix "" :button-suffix ""