MCPcopy Create free account
hub / github.com/arctic-cli/interface / mapThemeName

Function mapThemeName

packages/arctic/src/cli/opencode-config-import.ts:74–79  ·  view source on GitHub ↗
(opencodeTheme: string)

Source from the content-addressed store, hash-verified

72]
73
74function mapThemeName(opencodeTheme: string): string | undefined {
75 if (ARCTIC_THEMES.includes(opencodeTheme)) {
76 return opencodeTheme
77 }
78 return OPENCODE_TO_ARCTIC_THEME_MAP[opencodeTheme]
79}
80
81async function getOpenCodeConfigPath(): Promise<string | undefined> {
82 const configFiles = ["opencode.json", "opencode.jsonc"]

Callers 1

mergeConfigsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected