MCPcopy
hub / github.com/RedPlanetHQ/core / getColors

Function getColors

packages/cli/src/config/index.ts:149–155  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

147let cachedColors: Colors | null = null;
148
149export function getColors(): Colors {
150 if (!cachedColors) {
151 const selectedTheme = defaultTheme;
152 cachedColors = getThemeColors(selectedTheme);
153 }
154 return cachedColors;
155}
156
157// Legacy export for backwards compatibility - use a getter to avoid circular dependency
158export const colors = new Proxy({} as Colors, {

Callers 1

getFunction · 0.85

Calls 1

getThemeColorsFunction · 0.90

Tested by

no test coverage detected