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

Function getColorPaletteSync

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

Source from the content-addressed store, hash-verified

58 * Custom themes are not supported here — falls back to dark.
59 */
60export function getColorPaletteSync(theme: ThemeName): ColorPalette {
61 if (theme === 'light') return getBuiltInPalette('light');
62 return getBuiltInPalette('dark');
63}

Callers

nothing calls this directly

Calls 1

getBuiltInPaletteFunction · 0.90

Tested by

no test coverage detected