MCPcopy
hub / github.com/codeaashu/claude-code / handler

Function handler

web/lib/theme.tsx:50–50  ·  view source on GitHub ↗
(e: MediaQueryListEvent)

Source from the content-addressed store, hash-verified

48 const mq = window.matchMedia('(prefers-color-scheme: light)')
49 apply(mq.matches ? 'light' : 'dark')
50 const handler = (e: MediaQueryListEvent) => apply(e.matches ? 'light' : 'dark')
51 mq.addEventListener('change', handler)
52 return () => mq.removeEventListener('change', handler)
53 } else {

Callers 7

useKeybindingFunction · 0.50
useKeybindingsFunction · 0.50
useFilePermissionDialogFunction · 0.50
registerHookEventHandlerFunction · 0.50
dispatchClickFunction · 0.50
processDispatchQueueFunction · 0.50
handlePermissionResponseFunction · 0.50

Calls 1

applyFunction · 0.70

Tested by

no test coverage detected