From 3d5bac826d681e45b61794befeb4d630534b1a29 Mon Sep 17 00:00:00 2001 From: Vincent Zhang Date: Tue, 4 Jun 2019 03:02:34 +0800 Subject: [PATCH] Add face: dashboard-footer. --- dashboard-widgets.el | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/dashboard-widgets.el b/dashboard-widgets.el index 68220313..4f3b667b 100644 --- a/dashboard-widgets.el +++ b/dashboard-widgets.el @@ -119,7 +119,7 @@ to the specified width, with aspect ratio preserved." :height 1.1 :v-adjust -0.05 :face 'font-lock-keyword-face) - ">") + (propertize ">" 'face 'dashboard-footer)) "Footer's icon.") (defvar dashboard-startup-banner 'official @@ -181,6 +181,11 @@ If nil it is disabled. Possible values for list-type are: "Face used for widget headings." :group 'dashboard) +(defface dashboard-footer + '((t (:inherit font-lock-doc-face))) + "Face used for widget headings." + :group 'dashboard) + (define-obsolete-face-alias 'dashboard-text-banner-face 'dashboard-text-banner "1.2.6") (define-obsolete-face-alias @@ -440,7 +445,7 @@ WIDGET-PARAMS are passed to the \"widget-create\" function." (dashboard-center-line dashboard-footer) (insert dashboard-footer-icon) (insert " ") - (insert (propertize dashboard-footer 'face 'font-lock-doc-face)))) + (insert (propertize dashboard-footer 'face 'dashboard-footer)))) ;; ;; Recentf