MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / detectIDETheme

Function detectIDETheme

cli/src/utils/theme-system.ts:614–627  ·  view source on GitHub ↗
(
  env: CliEnv = getCliEnv(),
)

Source from the content-addressed store, hash-verified

612}
613
614export const detectIDETheme = (
615 env: CliEnv = getCliEnv(),
616): ThemeName | null => {
617 const theme = detectVSCodeTheme(env)
618 if (theme) return theme
619
620 const jbTheme = detectJetBrainsTheme(env)
621 if (jbTheme) return jbTheme
622
623 const zedTheme = detectZedTheme(env)
624 if (zedTheme) return zedTheme
625
626 return null
627}
628
629export const getIDEThemeConfigPaths = (
630 env: CliEnv = getCliEnv(),

Callers

nothing calls this directly

Calls 4

getCliEnvFunction · 0.90
detectVSCodeThemeFunction · 0.85
detectJetBrainsThemeFunction · 0.85
detectZedThemeFunction · 0.85

Tested by

no test coverage detected