MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / fg

Method fg

apps/kimi-code/src/tui/theme/theme.ts:39–41  ·  view source on GitHub ↗
(token: ColorToken, text: string)

Source from the content-addressed store, hash-verified

37 /* ── Foreground helpers ── */
38
39 fg(token: ColorToken, text: string): string {
40 return chalk.hex(this._palette[token])(text);
41 }
42
43 boldFg(token: ColorToken, text: string): string {
44 return chalk.hex(this._palette[token]).bold(text);

Callers 15

banner.test.tsFile · 0.80
initMethod · 0.80
tintMethod · 0.80
showProgressSpinnerMethod · 0.80
updateActivityPaneMethod · 0.80
tintMethod · 0.80
renderUserMessageMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected