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

Method saveStaticThemes

src/background/devtools.ts:257–259  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

255 }
256
257 private static saveStaticThemes(text: string): void {
258 DevTools.store.set(DevTools.KEY_STATIC, text);
259 }
260
261 static async getStaticThemesText(): Promise<string> {
262 let rawThemes = await DevTools.getSavedStaticThemes();

Callers 1

applyStaticThemesMethod · 0.80

Calls 1

setMethod · 0.65

Tested by

no test coverage detected