summaryrefslogtreecommitdiffhomepage
path: root/packages/web/src/content/docs
diff options
context:
space:
mode:
authorIdris Gadi <[email protected]>2026-02-04 02:39:21 +0530
committerGitHub <[email protected]>2026-02-03 15:09:21 -0600
commit95211a8854d2ce4b89c784f0f2393cc921cf0f33 (patch)
tree1c42a590de7ab8a0cd6dcac6bd2b1606cdcc95ce /packages/web/src/content/docs
parent6b5cf936a27a98b84e3e92f8f41723bad1024cde (diff)
downloadopencode-95211a8854d2ce4b89c784f0f2393cc921cf0f33.tar.gz
opencode-95211a8854d2ce4b89c784f0f2393cc921cf0f33.zip
feat(tui): allow theme colors in agent customization (#11444)
Diffstat (limited to 'packages/web/src/content/docs')
-rw-r--r--packages/web/src/content/docs/agents.mdx7
1 files changed, 5 insertions, 2 deletions
diff --git a/packages/web/src/content/docs/agents.mdx b/packages/web/src/content/docs/agents.mdx
index 62957ad91..755c4ba25 100644
--- a/packages/web/src/content/docs/agents.mdx
+++ b/packages/web/src/content/docs/agents.mdx
@@ -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