MCPcopy Create free account
hub / github.com/codeaashu/claude-code / defaultSyntaxThemeName

Function defaultSyntaxThemeName

src/native-ts/color-diff/index.ts:182–186  ·  view source on GitHub ↗
(themeName: string)

Source from the content-addressed store, hash-verified

180}
181
182function defaultSyntaxThemeName(themeName: string): string {
183 if (themeName.includes('ansi')) return 'ansi'
184 if (themeName.includes('dark')) return 'Monokai Extended'
185 return 'GitHub'
186}
187
188// highlight.js scope → syntect Monokai Extended foreground (measured from the
189// Rust module's output so colors match the original exactly)

Callers 1

getSyntaxThemeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected