From 59f4f54e518db3323cd7aaabfdc48ecb2bdaf40d Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 14 Jun 2026 19:09:37 -0500 Subject: feat(theme-studio): auto-dim split preview auto-dim-other-buffers is a package face, not a theme face, so build-inventory.el (it scans only elpa/straight packages) never listed it and the studio couldn't theme it. This adds it as a bespoke app. The preview is a vertical split: the focused window on the left in real syntax colors, the same code on the right collapsed to the single auto-dim-other-buffers face, the way Emacs renders a non-selected window. Both panes follow the language selector. A trailing row shows auto-dim-other-buffers-hide, whose foreground matches the background so it vanishes when dimmed. A #autodimtest gate covers the split, the uniform recolor, and language sync. --- scripts/theme-studio/face_data.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'scripts/theme-studio/face_data.py') diff --git a/scripts/theme-studio/face_data.py b/scripts/theme-studio/face_data.py index d5999f816..a662d612c 100644 --- a/scripts/theme-studio/face_data.py +++ b/scripts/theme-studio/face_data.py @@ -143,6 +143,12 @@ GHOSTEL_SEED={ "ghostel-color-blue":{"fg":"blue"},"ghostel-color-magenta":{"fg":"regal"},"ghostel-color-cyan":{"fg":"sage"},"ghostel-color-white":{"fg":"silver"}, "ghostel-color-bright-black":{"fg":"steel"},"ghostel-color-bright-red":{"fg":"#de4949"},"ghostel-color-bright-green":{"fg":"#84b068"},"ghostel-color-bright-yellow":{"fg":"#eed376"}, "ghostel-color-bright-blue":{"fg":"#7a9abe"},"ghostel-color-bright-magenta":{"fg":"#b07fd0"},"ghostel-color-bright-cyan":{"fg":"#7fc0a8"},"ghostel-color-bright-white":{"fg":"white"}} +# auto-dim-other-buffers: non-selected windows recede to a faded fg on a near-black +# bg. The -hide face keeps org hidden text invisible in a dimmed window (fg=bg). +AUTODIM_FACES=("auto-dim-other-buffers auto-dim-other-buffers-hide").split() +AUTODIM_SEED={ + "auto-dim-other-buffers":{"fg":"#5e6770","bg":"#000000"}, + "auto-dim-other-buffers-hide":{"fg":"#000000","bg":"#000000"}} DASHBOARD_FACES=("dashboard-banner-logo-title dashboard-text-banner dashboard-heading " "dashboard-items-face dashboard-navigator dashboard-no-items-face dashboard-footer-face dashboard-footer-icon-face").split() DASHBOARD_SEED={ -- cgit v1.2.3