mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-11-05 23:37:25 +00:00
feat(coding-agent): add per-run theme selection (#7722)
- add `--use-theme` for fixed and terminal-aware theme pairs - keep invocation state non-persistent until an explicit selection - preserve active themes across previews, reloads, and HTML exports
This commit is contained in:
parent
541045ae0e
commit
9795d60230
11 changed files with 232 additions and 24 deletions
|
|
@ -39,6 +39,23 @@ Select a theme via `/settings` or in `settings.json`:
|
|||
|
||||
On first run, pi detects your terminal background and defaults to `dark` or `light`.
|
||||
|
||||
### Initial Theme
|
||||
|
||||
Start an interactive run with a theme without changing the saved setting:
|
||||
|
||||
```bash
|
||||
pi --use-theme light
|
||||
```
|
||||
|
||||
To follow terminal appearance, use `lightTheme/darkTheme` syntax:
|
||||
|
||||
```bash
|
||||
pi --use-theme light/dark
|
||||
```
|
||||
|
||||
The CLI value is the initial theme for that run. Choosing another theme later in `/settings` applies it immediately
|
||||
and saves it normally.
|
||||
|
||||
## Creating a Custom Theme
|
||||
|
||||
1. Create a theme file:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue