MCPcopy Create free account
hub / github.com/Forward-Future/loopy / script.js

File script.js

loop-library/site/script.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1const themeToggle = document.querySelector("#theme-toggle");
2const themeColor = document.querySelector('meta[name="theme-color"]');
3const themeMedia = window.matchMedia("(prefers-color-scheme: dark)");
4const THEME_STORAGE_KEY = "loop-library-theme";

Callers

nothing calls this directly

Calls 15

applyThemeFunction · 0.85
readStoredThemeFunction · 0.85
applySortFunction · 0.85
normalizeFunction · 0.85
applyCategoryFunction · 0.85
updateLibraryFunction · 0.85
syncUrlStateFunction · 0.85
focusFirstVisibleLoopFunction · 0.85
readUrlStateFunction · 0.85
copyTextFunction · 0.85
showToastFunction · 0.85
showCopyFallbackFunction · 0.85

Tested by

no test coverage detected