MCPcopy Index your code
hub / github.com/darkreader/darkreader / resetStaticThemes

Method resetStaticThemes

src/background/devtools.ts:271–276  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

269 }
270
271 private static resetStaticThemes(): void {
272 DevTools.store.remove(DevTools.KEY_STATIC);
273 ConfigManager.overrides.staticThemes = null;
274 ConfigManager.handleStaticThemes();
275 DevTools.onChange();
276 }
277
278 private static applyStaticThemes(text: string) {
279 const formatted = formatStaticThemes(parseStaticThemes(text));

Callers

nothing calls this directly

Calls 3

handleStaticThemesMethod · 0.80
onChangeMethod · 0.80
removeMethod · 0.65

Tested by

no test coverage detected