Skip to content

chore(theme): finish theme rename follow-up after #1666#1678

Merged
esengine merged 1 commit into
mainfrom
chore/theme-rename-follow-up
May 24, 2026
Merged

chore(theme): finish theme rename follow-up after #1666#1678
esengine merged 1 commit into
mainfrom
chore/theme-rename-follow-up

Conversation

@esengine

Copy link
Copy Markdown
Owner

Summary

Follow-up cleanup after #1666 — that PR renamed/dropped themes (tokyo-nightmidnight, removed default/github-dark/github-light, added deep-blue) but missed three surfaces:

  • src/cli/ui/slash/commands.ts:97/theme slash command's argsHint and argCompleter still advertised the removed names and were missing midnight / deep-blue
  • src/i18n/EN.ts:450 and src/i18n/zh-CN.ts:432themeCaption dicts still held entries for the removed themes and had no labels for the new themes, so the picker would render the literal i18n key (e.g. wizard.themeCaption.midnight) next to the new theme names

Drop the stale entries from both locales, add captions for midnight and deep-blue, and trim the slash command lists to the actual theme set.

Test plan

  • grep confirms zero remaining references to removed theme names in src/cli/ui/slash and src/i18n
  • npx tsc --noEmit
  • npx vitest run tests/slash.test.ts tests/theme-tokens.test.ts tests/config.test.ts — 224 passed / 1 skipped

#1666 renamed/dropped themes (tokyo-night → midnight, removed
default/github-dark/github-light, added deep-blue) but missed three
surfaces:

- `/theme` slash command's `argsHint` and `argCompleter` still advertised
  the removed names and were missing `midnight` / `deep-blue`
- i18n `themeCaption` dicts in EN.ts and zh-CN.ts still held the removed
  entries and had no labels for the new themes, so the picker would
  render the literal i18n key (e.g. `wizard.themeCaption.midnight`)
  next to the new theme names

Drop the stale entries from both locales, add captions for `midnight`
and `deep-blue`, and trim the slash command lists to the actual theme
set. The "default" caption is gone because the theme itself was removed.
@esengine esengine merged commit 1c3cfba into main May 24, 2026
3 checks passed
@esengine esengine deleted the chore/theme-rename-follow-up branch May 24, 2026 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant