aboutsummaryrefslogtreecommitdiff
path: root/scripts/theme-studio/generate.py
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-16 08:27:53 -0500
committerCraig Jennings <c@cjennings.net>2026-06-16 08:27:53 -0500
commitc96c1e9f94f52876b3a8c6ab8e35a00e5f556f3d (patch)
treeb9ae25a0f4a2dad3309f088aea9adf4d78a091eb /scripts/theme-studio/generate.py
parent5c74f731862d8e8464f06d77a1d5ae2f0f3d5a1d (diff)
downloaddotemacs-c96c1e9f94f52876b3a8c6ab8e35a00e5f556f3d.tar.gz
dotemacs-c96c1e9f94f52876b3a8c6ab8e35a00e5f556f3d.zip
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.
Diffstat (limited to 'scripts/theme-studio/generate.py')
-rw-r--r--scripts/theme-studio/generate.py1
1 files changed, 1 insertions, 0 deletions
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),