From 11e3a27e752e845e583348c497b2c5b0208c8a52 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Fri, 22 May 2026 18:15:00 -0500 Subject: fix(dashboard): center the banner subtitle and color the navigator and items The banner subtitle sat left of center because dashboard-banner-title-offset was 5, which over-shifts. I dropped it to 3, which lines the subtitle up under the banner image. The navigator and the recentf/project/bookmark list rendered in the default near-white. I set dashboard-items-face to steel+2 so they pick up a theme color, and the section headers stay blue via dashboard-heading. The navigator and the items share dashboard-items-face, because the navigator is drawn with a dashboard-items-face overlay that wins over its per-button dashboard-navigator face, so they take one color by design here. --- modules/dashboard-config.el | 2 +- themes/dupre-faces.el | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/dashboard-config.el b/modules/dashboard-config.el index cb97a076..803c249d 100644 --- a/modules/dashboard-config.el +++ b/modules/dashboard-config.el @@ -51,7 +51,7 @@ ;; The default centering can be off due to font width calculations. ;; This override allows manual adjustment via dashboard-banner-title-offset. -(defvar dashboard-banner-title-offset 5 +(defvar dashboard-banner-title-offset 3 "Offset to adjust banner title centering. Positive values shift left, negative values shift right. Adjust this if the title doesn't appear centered under the banner image.") diff --git a/themes/dupre-faces.el b/themes/dupre-faces.el index 53f131e5..fdd61a55 100644 --- a/themes/dupre-faces.el +++ b/themes/dupre-faces.el @@ -487,7 +487,7 @@ ;;;;; Dashboard `(dashboard-banner-logo-title ((t (:foreground ,yellow :weight bold :height 1.2)))) `(dashboard-heading ((t (:foreground ,blue :weight bold)))) - `(dashboard-items-face ((t (:foreground ,fg)))) + `(dashboard-items-face ((t (:foreground ,steel+2)))) `(dashboard-no-items-face ((t (:foreground ,gray)))) `(dashboard-navigator ((t (:foreground ,blue)))) `(dashboard-footer ((t (:foreground ,gray :slant italic)))) -- cgit v1.2.3