Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/anomalyco/opencode
/ tone
Function
tone
packages/desktop/src/main/windows.ts:83–85 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
81
}
82
83
function
tone() {
84
return
nativeTheme.shouldUseDarkColors ?
"dark"
:
"light"
85
}
86
87
function
defaultBackgroundColor() {
88
return
oc2Background[tone()]
Callers
3
defaultBackgroundColor
Function · 0.70
overlay
Function · 0.70
createMainWindow
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected