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

Function tone

packages/opencode/src/cli/cmd/run/theme.ts:594–599  ·  view source on GitHub ↗
(body: ColorInput, start?: ColorInput)

Source from the content-addressed store, hash-verified

592}
593
594function tone(body: ColorInput, start?: ColorInput): Tone {
595 return {
596 body,
597 start,
598 }
599}
600
601const fallbackSplashIndexed = Array.from({ length: 256 }, (_, index) => RGBA.fromIndex(index))
602const fallbackSplashLeft = RGBA.fromIndex(67)

Callers 1

theme.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected