MCPcopy Index your code
hub / github.com/cifertech/DisplayKit / getCurrentDisplayKitTheme

Function getCurrentDisplayKitTheme

app.js:800–804  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

798}
799
800function getCurrentDisplayKitTheme() {
801 return document.documentElement.getAttribute("data-theme")
802 || localStorage.getItem("theme")
803 || "dark";
804}
805
806function buildEmbeddedToolUrl(baseHref) {
807 const theme = getCurrentDisplayKitTheme();

Callers 3

buildEmbeddedToolUrlFunction · 0.85
openEmbeddedToolFunction · 0.85
app.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected