MCPcopy Index your code
hub / github.com/codeaashu/claude-code / getSystemThemeName

Function getSystemThemeName

src/utils/systemTheme.ts:24–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22 * updates the cache on live changes.
23 */
24export function getSystemThemeName(): SystemTheme {
25 if (cachedSystemTheme === undefined) {
26 cachedSystemTheme = detectFromColorFgBg() ?? 'dark'
27 }
28 return cachedSystemTheme
29}
30
31/**
32 * Update the cached terminal theme. Called by the watcher when the OSC 11

Callers 2

ThemeProviderFunction · 0.85
resolveThemeSettingFunction · 0.85

Calls 1

detectFromColorFgBgFunction · 0.85

Tested by

no test coverage detected