MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / applyTheme

Function applyTheme

dashboard/shell/src/main.jsx:77–79  ·  view source on GitHub ↗
(theme)

Source from the content-addressed store, hash-verified

75}
76
77function applyTheme(theme) {
78 document.documentElement.setAttribute("data-theme", theme);
79}
80
81// Apply immediately (before React render) to avoid flash.
82applyTheme(getInitialTheme());

Callers 2

main.jsxFile · 0.85
AppFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected