blob: 7c2c81e7468ffd7189b0cf8972c8474733ae71c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
const defaults: Record<string, string> = {
ask: "var(--icon-agent-ask-base)",
build: "var(--icon-agent-build-base)",
docs: "var(--icon-agent-docs-base)",
plan: "var(--icon-agent-plan-base)",
}
export function agentColor(name: string, custom?: string) {
if (custom) return custom
return defaults[name] ?? defaults[name.toLowerCase()]
}
|