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

Function createEditorTheme

apps/kimi-code/src/tui/theme/pi-tui-theme.ts:63–74  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61}
62
63export function createEditorTheme(): EditorTheme {
64 return {
65 borderColor: (s) => chalk.hex(currentTheme.color('border'))(s),
66 selectList: {
67 selectedPrefix: (s) => chalk.hex(currentTheme.color('primary'))(s),
68 selectedText: (s) => chalk.hex(currentTheme.color('primary'))(s),
69 description: (s) => chalk.hex(currentTheme.color('textMuted'))(s),
70 scrollInfo: (s) => chalk.hex(currentTheme.color('textMuted'))(s),
71 noMatch: (s) => chalk.hex(currentTheme.color('textMuted'))(s),
72 },
73 };
74}

Callers 1

constructorMethod · 0.90

Calls 1

colorMethod · 0.80

Tested by

no test coverage detected