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

Function isDarkModeEnabled

public/js/aiChat.js:81–86  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

79}
80
81function isDarkModeEnabled() {
82 return !!(
83 document.documentElement.classList.contains('dark-mode')
84 || document.body.classList.contains('dark-mode')
85 );
86}
87
88function normalizeSourceId(value) {
89 const v = String(value || '').trim();

Callers 2

applyThemeFunction · 0.85
appendMessageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected