From 1e10023c65acb36b5e6c378771d8a1773b1b3f9e Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Thu, 2 Jul 2026 22:09:55 -0400 Subject: fix(theme-studio): pin mode-line at an absolute height MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit mode-line's :height was unspecified, so a buffer that remaps its default face larger (the nov reading view) inflated its modeline with it. Seed an absolute 130 (1/10pt) on mode-line — build_uimap gains apply_modeline_height_default, mirroring the hover-box default — and set it in WIP.json. Also drop the stray :height 2 from mode-line-inactive (a JSON integral-float collapse that rendered inactive bars at 0.2pt); inactive now inherits mode-line's height. Theme regenerated and loaded live; the editable-height spec covers making this tunable in the studio. --- themes/WIP-theme.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'themes') diff --git a/themes/WIP-theme.el b/themes/WIP-theme.el index 2f8abeb6..7837f01e 100644 --- a/themes/WIP-theme.el +++ b/themes/WIP-theme.el @@ -39,9 +39,9 @@ '(region ((t (:background "#424f5e")))) '(hl-line ((t (:inherit highlight :background "#222223")))) '(highlight ((t (:foreground "#dab53d" :background "#424f5e" :distant-foreground "#100f0f")))) - '(mode-line ((t (:foreground "#cbd0d6" :background "#424f5e" :box (:line-width 1 :color "#a9b2bb"))))) + '(mode-line ((t (:foreground "#cbd0d6" :background "#424f5e" :height 130 :box (:line-width 1 :color "#a9b2bb"))))) '(mode-line-highlight ((t (:foreground "#e6ce88" :background "#424f5e")))) - '(mode-line-inactive ((t (:inherit mode-line :foreground "#100f0f" :height 2 :box (:line-width 1 :color "#54677d"))))) + '(mode-line-inactive ((t (:inherit mode-line :foreground "#100f0f" :box (:line-width 1 :color "#54677d"))))) '(fringe ((t (:foreground "#f3e7c5" :weight bold)))) '(line-number ((t (:foreground "#54677d")))) '(line-number-current-line ((t (:foreground "#e6ce88")))) -- cgit v1.2.3