Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
77
function applyTheme(theme) {
78
document.documentElement.setAttribute(
"data-theme"
, theme);
79
}
80
81
// Apply immediately (before React render) to avoid flash.
82
applyTheme(getInitialTheme());
Callers
2
main.jsx
File · 0.85
App
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected