MCPcopy 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
83function tone() {
84 return nativeTheme.shouldUseDarkColors ? "dark" : "light"
85}
86
87function defaultBackgroundColor() {
88 return oc2Background[tone()]

Callers 3

defaultBackgroundColorFunction · 0.70
overlayFunction · 0.70
createMainWindowFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected