MCPcopy Create free account
hub / github.com/Useful-Scripts-Extension/useful-script / getTheme

Function getTheme

popup/helpers/theme.js:38–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36if (currentThemeKey !== "default") setTheme(currentThemeKey);
37
38export function getTheme() {
39 return currentThemeKey;
40}
41
42export function setTheme(themeKey) {
43 if (themeKey in THEME) {

Callers 1

initSettingsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected