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

Function apply

web/components/layout/ThemeProvider.tsx:34–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32 };
33
34 const apply = () => {
35 const resolved = resolve();
36 setResolvedTheme(resolved);
37 // Dark is the default; add `.light` class for light theme
38 document.documentElement.classList.toggle("light", resolved === "light");
39 };
40
41 apply();
42 mediaQuery.addEventListener("change", apply);

Callers 1

ThemeProviderFunction · 0.70

Calls 2

toggleMethod · 0.80
resolveFunction · 0.70

Tested by

no test coverage detected