feat: generate Conjure color palette
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# tint
|
||||
|
||||
A small wrapper around [Tinty](https://github.com/tinted-theming/tinty) that manages light/dark theme pairs and applies the selected theme to Ghostty, Zed, Herdr, and OMP.
|
||||
A small wrapper around [Tinty](https://github.com/tinted-theming/tinty) that manages light/dark theme pairs and applies the selected theme to Ghostty, Zed, Herdr, OMP, and Conjure.
|
||||
|
||||
## Requirements
|
||||
|
||||
@@ -21,7 +21,7 @@ brew install tinty go
|
||||
brew install cormacrelf/tap/dark-notify
|
||||
```
|
||||
|
||||
Ghostty, Zed, Herdr, and OMP are optional consumers. Install only the applications you use.
|
||||
Ghostty, Zed, Herdr, OMP, and Conjure are optional consumers. Install only the applications you use.
|
||||
|
||||
## Install
|
||||
|
||||
@@ -119,6 +119,18 @@ The wrapper writes:
|
||||
|
||||
Configure OMP to use `tinty-current` where required.
|
||||
|
||||
### Conjure
|
||||
|
||||
The `apply-apps` flow writes `$XDG_CONFIG_HOME/conjure/theme.json`, falling back to `~/.config/conjure/theme.json` when `XDG_CONFIG_HOME` is unset, empty, or relative. The generated JSON contains seven opaque colors: `background`, `text`, `secondaryText`, `accent`, `glow`, `keyBackground`, and `error`, using Tinty semantic UI colors with Base16/Base24 or tinted8 palette fallbacks.
|
||||
|
||||
Opt in by adding this to `conjure/config.json` in the same configuration directory:
|
||||
|
||||
```json
|
||||
{"theme":"tint"}
|
||||
```
|
||||
|
||||
The wrapper never changes `config.json`. Optional entries in its `colors` object override generated colors. Conjure reads configuration only at launch: restart Conjure after applying a theme or editing its configuration. The wrapper does not signal, reload, restart, or notify Conjure.
|
||||
|
||||
## Usage
|
||||
|
||||
Show the current pair and available commands:
|
||||
|
||||
Reference in New Issue
Block a user