Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dylan-sutton-chavez/edge-python
/ isDark
Function
isDark
docs/components/shiki.js:27–28 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
25
}
26
27
const
isDark = () =>
28
typeof document !==
'undefined'
&& document.documentElement.classList.contains(
'dark'
)
29
30
export
function
createHighlight(rerender) {
31
let
hl = null
Callers
1
highlight
Function · 0.85
Calls
1
contains
Method · 0.45
Tested by
no test coverage detected