feat: bundle Terebi Sunset as a selectable local theme
This commit is contained in:
@@ -38,6 +38,7 @@ The installer:
|
||||
- Copies the versioned `default-state.toml` to the installed `state.toml` only when no state file already exists.
|
||||
- Creates `~/.config/herdr/config.toml` if needed.
|
||||
- Runs `tinty sync` to download the configured theme repositories.
|
||||
- Installs bundled custom schemes into Tinty's data directory.
|
||||
- Creates and loads a `dark-notify` LaunchAgent for automatic macOS appearance switching.
|
||||
|
||||
Add the binary directory to your shell path:
|
||||
@@ -172,6 +173,23 @@ TINTY_PAIR_APPEARANCE=light tint swamp
|
||||
TINTY_PAIR_APPEARANCE=dark tint swamp
|
||||
```
|
||||
|
||||
### Terebi Sunset
|
||||
|
||||
The bundled [`base16-terebi-sunset`](schemes/base16/terebi-sunset.yaml) palette comes from the sibling Terebi project. It preserves the player's brown, cream, sand, orange and ember colors and adds the remaining Base16 syntax hues. It is dark-only; keep your existing light theme.
|
||||
|
||||
`make install` installs it automatically. To install just the palette and updated wrapper without syncing repositories or reloading the appearance agent:
|
||||
|
||||
```sh
|
||||
make install-schemes
|
||||
go build -o "$HOME/.local/bin/tint" .
|
||||
tint favorite base16-terebi-sunset
|
||||
tint dark:base16-terebi-sunset
|
||||
```
|
||||
|
||||
Setting the dark side preserves the light side and applies whichever side matches macOS appearance. Use `tint dark` to apply the saved dark side immediately.
|
||||
|
||||
Tinty stores the YAML under `$(tinty config --data-dir-path)/custom-schemes/base16/terebi-sunset.yaml` and builds the installed app templates when applying it. Both theme validation and app palette lookup support [Tinty's native custom schemes](https://github.com/tinted-theming/tinty/blob/v0.34.0/USAGE.md#use-your-own-schemes), so Ghostty, Zed, Herdr, OMP and Conjure use the normal application flow. List local palettes with `tinty list --custom-schemes`. Reinstalling updates the bundled palette without changing the saved pair or favorites; uninstalling removes the bundled YAML.
|
||||
|
||||
## Update
|
||||
|
||||
After changing or updating the wrapper source:
|
||||
|
||||
Reference in New Issue
Block a user