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

Function initializeThemeWatcher

cli/src/utils/theme-system.ts:1120–1122  ·  view source on GitHub ↗
(setter: (name: ThemeName) => void)

Source from the content-addressed store, hash-verified

1118 * @param setter - Function to call when theme changes
1119 */
1120export const initializeThemeWatcher = (setter: (name: ThemeName) => void) => {
1121 themeStoreUpdater = setter
1122}
1123
1124/**
1125 * Recompute system theme and update store if it changed

Callers 1

initializeThemeStoreFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected