MCPcopy
hub / github.com/codeaashu/claude-code / getModeColor

Function getModeColor

src/utils/permissions/PermissionMode.ts:139–141  ·  view source on GitHub ↗
(mode: PermissionMode)

Source from the content-addressed store, hash-verified

137}
138
139export function getModeColor(mode: PermissionMode): ModeColorKey {
140 return getModeConfig(mode).color
141}
142

Callers 8

renderToolResultMessageFunction · 0.85
renderToolResultMessageFunction · 0.85
ModeIndicatorFunction · 0.85
TeammateListItemFunction · 0.85
TeammateDetailViewFunction · 0.85

Calls 1

getModeConfigFunction · 0.85

Tested by

no test coverage detected