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

Function setOscDetectedTheme

cli/src/utils/theme-system.ts:1108–1110  ·  view source on GitHub ↗
(theme: ThemeName | null)

Source from the content-addressed store, hash-verified

1106
1107export const getOscDetectedTheme = (): ThemeName | null => oscDetectedTheme
1108export const setOscDetectedTheme = (theme: ThemeName | null): void => {
1109 oscDetectedTheme = theme
1110}
1111export const setThemeResolver = (resolver: () => ThemeName) => {
1112 themeResolver = resolver
1113}

Callers 1

mainFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected