Package: @hexos/react-ui

Retrieves the color scheme for a given agent identifier.

Performs case-insensitive lookup in AGENT_COLORS. Returns the default color scheme if the agent ID is not found in the predefined set.

function getAgentColors(agentId: string): (typeof AGENT_COLORS)['default']

Parameters

agentId

string