MCPcopy Index your code
hub / github.com/anomalyco/opencode / theme.ts

File theme.ts

packages/opencode/src/cli/cmd/run/theme.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// Theme resolution for direct interactive mode.
2//
3// Derives scrollback and footer colors from the terminal's actual palette.
4// resolveRunTheme() queries the renderer for the terminal's palette,

Callers

nothing calls this directly

Calls 6

rgbaFunction · 0.85
alphaFunction · 0.85
splashShadowFunction · 0.85
tintFunction · 0.70
toneFunction · 0.70
fromMethod · 0.45

Tested by

no test coverage detected