aboutsummaryrefslogtreecommitdiff
path: root/scripts/theme-studio/generate.py
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-14 21:59:09 -0500
committerCraig Jennings <c@cjennings.net>2026-06-14 21:59:28 -0500
commit4c4a10da4ea4d5536bcc27d70cdccdec58e48060 (patch)
tree540b230e4d7c7f84160359315289d2dbf15f64b3 /scripts/theme-studio/generate.py
parent318b1bb4c2c4e8bdc1f29158629d8637146636de (diff)
downloaddotemacs-4c4a10da4ea4d5536bcc27d70cdccdec58e48060.tar.gz
dotemacs-4c4a10da4ea4d5536bcc27d70cdccdec58e48060.zip
chore(theme-studio): remove dead code and clear a type warning
- ramp (app-core.js) and its test-ramp.mjs: superseded by regenColumn, no production caller. - optList (app-core.js) and its tests: superseded by paletteOptionList. - ITALIC in generate.py: computed, never read (ITALIC_MAP is the live one). - a stray empty string in MU4E_FACES that .split() silently dropped. - the dead #familytest alias in the columntest gate, which HASHES never listed. - widen face_rows to Sequence[str], clearing the list-invariance warnings on the APPS calls.
Diffstat (limited to 'scripts/theme-studio/generate.py')
-rw-r--r--scripts/theme-studio/generate.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/theme-studio/generate.py b/scripts/theme-studio/generate.py
index e3ec3981c..523f3206d 100644
--- a/scripts/theme-studio/generate.py
+++ b/scripts/theme-studio/generate.py
@@ -212,7 +212,7 @@ UIMAP=build_uimap(UI_FACES,DEFAULTS)
# this dir), instead of the hardcoded defaults above. Unset leaves them unchanged.
# Placed after every default it overrides (notably UIMAP) so the merge has targets.
# Mirrors what the in-page Import does, so reseed and import agree.
-LOCKS=[]; ITALIC=[k for k,v in ITALIC_MAP.items() if v]
+LOCKS=[]
# THEME_STUDIO_SEED=<file>.json opens an existing theme as the starting point.
# Unset starts empty: only bg/fg are in the palette.
_seed=os.environ.get('THEME_STUDIO_SEED')