MCPcopy Create free account
hub / github.com/winfunc/opcode / useTheme

Function useTheme

src/hooks/useTheme.ts:22–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20 * await setCustomColors({ background: 'oklch(0.98 0.01 240)' });
21 */
22export const useTheme = () => {
23 return useThemeContext();
24};

Callers 8

StreamMessageComponentFunction · 0.90
SettingsFunction · 0.90
ReadResultWidgetFunction · 0.90
WriteWidgetFunction · 0.90
EditWidgetFunction · 0.90
EditResultWidgetFunction · 0.90
MCPWidgetFunction · 0.90
MultiEditWidgetFunction · 0.90

Calls 1

useThemeContextFunction · 0.90

Tested by

no test coverage detected