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

Function resetWindowTheme

src/background/window-theme.ts:90–96  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

88}
89
90export function resetWindowTheme(): void {
91 if (typeof browser !== 'undefined' && browser.theme && browser.theme.reset) {
92 // BUG: resets browser theme to entire
93 // https://bugzilla.mozilla.org/show_bug.cgi?id=1415267
94 browser.theme.reset();
95 }
96}

Callers 2

changeSettingsMethod · 0.90
onAppToggleMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected