@davehardy20/pi-theme-switcher
v0.1.0
Published
Pi package for switching TUI themes on the fly.
Maintainers
Readme
@davehardy20/pi-theme-switcher
Pi package for switching TUI themes on the fly.
What it adds
/theme— interactive theme picker/theme <name>— switch directly to a named theme/theme-status— show package name, version, source path, active theme, and available themesCtrl+Shift+T— cycle through themesswitch_themetool — let Pi change the current theme without reloading- temporary theme swatch widget after a switch
Install
From git:
pi install git:github.com/davehardy20/pi-theme-switcherFrom a local checkout during development:
pi install /Users/dave/tools/pi-theme-switcherFor one run only:
pi -e /Users/dave/tools/pi-theme-switcherNotes
- Theme switching is available only in the interactive TUI.
- If commands appear twice, Pi is probably loading both this package
and the old local
agent/extensions/theme-switcher.tsfile. - Disable or remove the old local auto-discovered extension before reload verification.
Update flow
- update the package repo
- push to GitHub
- run
pi update --extensionsor reinstall the package - run
/reload
/reload alone does not fetch newer package commits.
Troubleshooting
Run /theme-status to confirm:
- package name
- package version
- loaded source path
- active theme
- visible theme list
Build and test
npm run typecheck
npm run test
npm run build