feat(tui): allow theme colors in agent customization (#11444)
This commit is contained in:
parent
6b5cf936a2
commit
95211a8854
4 changed files with 26 additions and 9 deletions
|
|
@ -576,18 +576,21 @@ Users can always invoke any subagent directly via the `@` autocomplete menu, eve
|
|||
|
||||
Customize the agent's visual appearance in the UI with the `color` option. This affects how the agent appears in the interface.
|
||||
|
||||
Use a valid hex color (e.g., `#FF5733`) or theme color: `primary`, `secondary`, `accent`, `success`, `warning`, `error`, `info`.
|
||||
|
||||
```json title="opencode.json"
|
||||
{
|
||||
"agent": {
|
||||
"creative": {
|
||||
"color": "#ff6b6b"
|
||||
},
|
||||
"code-reviewer": {
|
||||
"color": "accent"
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Must be a valid hex color code like `#FF5733`.
|
||||
|
||||
---
|
||||
|
||||
### Top P
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue