diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-22 18:15:00 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-22 18:15:00 -0500 |
| commit | a9c731c59986401c8f2b88c40d14600c9f79ec82 (patch) | |
| tree | 9311983419b1854b356f997929f670465ad5502d | |
| parent | 884a438520e4a092fbc32f9c2786e678f75577bc (diff) | |
| download | dotemacs-a9c731c59986401c8f2b88c40d14600c9f79ec82.tar.gz dotemacs-a9c731c59986401c8f2b88c40d14600c9f79ec82.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.
| -rw-r--r-- | modules/dashboard-config.el | 2 | ||||
| -rw-r--r-- | 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 cb97a076d..803c249d5 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 53f131e5b..fdd61a55a 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)))) |
