MCPcopy Index your code
hub / github.com/anomalyco/opencode / splashTheme

Function splashTheme

packages/opencode/src/cli/cmd/run/theme.ts:489–498  ·  view source on GitHub ↗
(theme: TuiThemeCurrent, indexed: RGBA[])

Source from the content-addressed store, hash-verified

487}
488
489function splashTheme(theme: TuiThemeCurrent, indexed: RGBA[]): RunSplashTheme {
490 const left = nearestIndexed(indexed, theme.textMuted)
491 const right = nearestIndexed(indexed, theme.text)
492 return {
493 left,
494 right,
495 leftShadow: splashShadow(indexed, theme.background, left, 0.14),
496 rightShadow: splashShadow(indexed, theme.background, right, 0.14),
497 }
498}
499
500function map(
501 footerTheme: TuiThemeCurrent,

Callers 1

resolveRunThemeFunction · 0.85

Calls 2

nearestIndexedFunction · 0.85
splashShadowFunction · 0.85

Tested by

no test coverage detected