aboutsummaryrefslogtreecommitdiff
path: root/modules/dashboard-config.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-22 18:15:00 -0500
committerCraig Jennings <c@cjennings.net>2026-05-22 18:15:00 -0500
commit11e3a27e752e845e583348c497b2c5b0208c8a52 (patch)
tree4bd3d3eea99c66bc21481795b3a824c0f642853c /modules/dashboard-config.el
parentec42e0f6c7e9452d79898a096eca2710b23a9d60 (diff)
downloaddotemacs-11e3a27e752e845e583348c497b2c5b0208c8a52.tar.gz
dotemacs-11e3a27e752e845e583348c497b2c5b0208c8a52.zip
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.
Diffstat (limited to 'modules/dashboard-config.el')
-rw-r--r--modules/dashboard-config.el2
1 files changed, 1 insertions, 1 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.")