MCPcopy Create free account
hub / github.com/codeaashu/claude-code / useTheme

Function useTheme

web/lib/theme.tsx:70–74  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

68}
69
70export function useTheme(): ThemeContextValue {
71 const ctx = useContext(ThemeContext)
72 if (!ctx) throw new Error('useTheme must be used within a ThemeProvider')
73 return ctx
74}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected