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

Function setTheme

web/lib/theme.tsx:58–61  ·  view source on GitHub ↗
(t: Theme)

Source from the content-addressed store, hash-verified

56 }, [theme])
57
58 const setTheme = (t: Theme) => {
59 setThemeState(t)
60 localStorage.setItem(storageKey, t)
61 }
62
63 return (
64 <ThemeContext.Provider value={{ theme, resolvedTheme, setTheme }}>

Callers 3

handleThemeSelectionFunction · 0.50
ConfigFunction · 0.50
ThemePickerCommandFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected