MCPcopy Create free account
hub / github.com/error311/FileRise / getActiveTheme

Function getActiveTheme

public/js/sharedDropView.js:125–127  ·  view source on GitHub ↗
(storedTheme)

Source from the content-addressed store, hash-verified

123 }
124
125 function getActiveTheme(storedTheme) {
126 return (storedTheme === 'light' || storedTheme === 'dark') ? storedTheme : getSystemTheme();
127 }
128
129 function applyTheme(theme) {
130 if (theme === 'light' || theme === 'dark') {

Callers 2

updateThemeLabelFunction · 0.70
sharedDropView.jsFile · 0.70

Calls 1

getSystemThemeFunction · 0.70

Tested by

no test coverage detected