docs: update color documentation to include theme options

This commit is contained in:
Idris Gadi
2026-01-31 13:55:59 +05:30
parent 9d31628b15
commit 571245f93a

View File

@@ -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