MCPcopy Create free account
hub / github.com/claude-code-best/claude-code / getFastIconString

Function getFastIconString

src/components/FastIcon.tsx:23–32  ·  view source on GitHub ↗
(applyColor = true, cooldown = false)

Source from the content-addressed store, hash-verified

21}
22
23export function getFastIconString(applyColor = true, cooldown = false): string {
24 if (!applyColor) {
25 return LIGHTNING_BOLT;
26 }
27 const themeName = resolveThemeSetting(getGlobalConfig().theme);
28 if (cooldown) {
29 return chalk.dim(color('promptBorder', themeName)(LIGHTNING_BOLT));
30 }
31 return color('fastMode', themeName)(LIGHTNING_BOLT);
32}

Callers 4

buildBorderTextFunction · 0.85
handleConfirmFunction · 0.85
handleCancelFunction · 0.85
handleFastModeShortcutFunction · 0.85

Calls 3

colorFunction · 0.90
resolveThemeSettingFunction · 0.85
getGlobalConfigFunction · 0.85

Tested by

no test coverage detected