Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
36
if
(currentThemeKey !==
"default"
) setTheme(currentThemeKey);
37
38
export
function
getTheme() {
39
return
currentThemeKey;
40
}
41
42
export
function
setTheme(themeKey) {
43
if
(themeKey in THEME) {
Callers
1
initSettings
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected