原始内容
Modus Themes for pi
Previews
Modus Operandi (light)
Modus Vivendi (dark)
Install
npm
pi install npm:pi-modus-themes
git
pi install git:github.com/hron/pi-modus-themes
Select
In pi, run /settings and choose modus-operandi or modus-vivendi.
Generate
Themes are generated from palette definitions in src/palettes.js:
npm run generate
Colors
Palette colors and semantic mappings are taken from the official Modus themes by Protesilaos Stavrou.
Publishing (for maintainers)
This package is automatically published to npm via GitHub Actions when a new GitHub Release is created.
Steps to publish a new version
- Run
npm run release -- <bump>where<bump>isminor,patch, ormajor. - Push remote:
git push. release-itcreates a GitHub Release, which triggers the publish workflow.
Required setup
Add an NPM_TOKEN secret in Settings → Secrets and variables → Actions with an npm automation token that has publish access to pi-modus-themes.

