Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anomalyco/opencode
/ themePreferenceLabelKey
Function
themePreferenceLabelKey
packages/stats/app/src/routes/stats-shell.tsx:528–532 ·
view source on GitHub ↗
(preference: ThemePreference)
Source
from the content-addressed store, hash-verified
526
}
527
528
function themePreferenceLabelKey(preference: ThemePreference) {
529
if (preference ===
"dark"
) return
"theme.dark"
530
if (preference ===
"light"
) return
"theme.light"
531
return
"theme.system"
532
}
Callers
1
Footer
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected