From c96c1e9f94f52876b3a8c6ab8e35a00e5f556f3d Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Tue, 16 Jun 2026 08:27:53 -0500 Subject: feat(theme-studio): add gnus as a view package mu4e renders the open message with gnus, so the article-view headers, quote levels, signature, and inline emphasis are all gnus faces, not mu4e ones. gnus ships them as bright greens on a dark background, and the theme had no way to reach them. I added gnus as a bespoke view package: the article-view face set in face_data.py with palette seeds that mirror the mu4e header treatment, a realistic preview (header block, emphasized body, an 11-level quoted reply chain, signature), and a #gnustest gate that asserts every emitted face is a real gnus face. Theming and exporting gnus in the studio retires the green in the live view. --- scripts/theme-studio/generate.py | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts/theme-studio/generate.py') diff --git a/scripts/theme-studio/generate.py b/scripts/theme-studio/generate.py index 632bbc23a..c489b79cc 100644 --- a/scripts/theme-studio/generate.py +++ b/scripts/theme-studio/generate.py @@ -228,6 +228,7 @@ _BESPOKE_APPS=[ ("magit","magit","magit",MAGIT_FACES,"magit-",MAGIT_SEED), ("elfeed","elfeed","elfeed",ELFEED_FACES,"elfeed-",ELFEED_SEED), ("mu4e","mu4e","mu4e",MU4E_FACES,"mu4e-",MU4E_SEED), + ("gnus","gnus (mu4e article view)","gnus",GNUS_FACES,"gnus-",GNUS_SEED), ("org-faces","org-faces","orgfaces",ORGFACES_FACES,"org-faces-",ORGFACES_SEED), ("ghostel","ghostel","ghostel",GHOSTEL_FACES,"ghostel-",GHOSTEL_SEED), ("auto-dim-other-buffers","auto-dim","autodim",AUTODIM_FACES,"auto-dim-other-buffers-",AUTODIM_SEED), -- cgit v1.2.3