diff options
| author | Craig Jennings <c@cjennings.net> | 2026-07-02 13:29:37 -0400 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-07-02 13:29:37 -0400 |
| commit | 172c00e0a450309938bb4e87e612c715707ab1cf (patch) | |
| tree | 51564dff134e65bad9625377c79a3deffa965e4d /scripts/theme-studio/app_inventory.py | |
| parent | 8a93f68c10770c592468862dc9ec08386b291447 (diff) | |
| download | dotemacs-172c00e0a450309938bb4e87e612c715707ab1cf.tar.gz dotemacs-172c00e0a450309938bb4e87e612c715707ab1cf.zip | |
feat(theme-studio): realistic scenes for company, transient, and friends
Five daily-driver apps leave the generic face-name list: company (a completion popup with every row variant, inline ghost preview, tooltip search, and the echo frontend), company-box (the icons variant), transient (a magit-commit-style panel exercising every key class), magit-section (status-buffer headings with child counts and the highlighted section), and rainbow-delimiters (buffer-honest nesting depths 1-9 plus the cycle past 9 and both error faces). A new test gates realism: every face of each covered app must appear verbatim in its renderer, so a scene can't silently skip faces.
Diffstat (limited to 'scripts/theme-studio/app_inventory.py')
| -rw-r--r-- | scripts/theme-studio/app_inventory.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/scripts/theme-studio/app_inventory.py b/scripts/theme-studio/app_inventory.py index b5b33a56..81d6d532 100644 --- a/scripts/theme-studio/app_inventory.py +++ b/scripts/theme-studio/app_inventory.py @@ -17,10 +17,15 @@ from face_data import BESPOKE_APP_SPECS, PINNED_PACKAGE_FACES BESPOKE_APPS = {spec[0] for spec in BESPOKE_APP_SPECS} | {"org"} -# Inventory apps (not in BESPOKE_APPS) default to the generic preview. A few have -# a dedicated PACKAGE_PREVIEWS renderer in app.js, keyed by name here. +# Inventory apps (not in BESPOKE_APPS) default to the generic preview. Apps with +# a dedicated PACKAGE_PREVIEWS renderer in app.js are keyed by name here. PREVIEW_KEYS = { "markdown-mode": "markdown", + "company": "company", + "company-box": "companybox", + "transient": "transient", + "magit-section": "magitsection", + "rainbow-delimiters": "rainbowdelims", } # Custom display labels for inventory apps whose package name is an acronym |
