MCPcopy Create free account
hub / github.com/darkreader/darkreader / isDRSheet

Function isDRSheet

src/inject/dynamic-theme/stylesheet-proxy.ts:56–58  ·  view source on GitHub ↗
(sheet: CSSStyleSheet)

Source from the content-addressed store, hash-verified

54 }
55
56 function isDRSheet(sheet: CSSStyleSheet) {
57 return isDRElement(sheet.ownerNode as Element);
58 }
59
60 const updateSheetEvent = new CustomEvent('__darkreader__updateSheet');
61 const adoptedSheetChangeEvent = new CustomEvent('__darkreader__adoptedStyleSheetChange');

Callers 3

reportSheetChangeFunction · 0.85
reportSheetChangeAsyncFunction · 0.85
getCurrentValueFunction · 0.85

Calls 1

isDRElementFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…