MCPcopy Create free account
hub / github.com/anomalyco/opencode / diffBg

Function diffBg

packages/opencode/src/cli/cmd/run/scrollback.writer.tsx:110–110  ·  view source on GitHub ↗
(color: ColorInput)

Source from the content-addressed store, hash-verified

108 const color = createMemo(() => entryColor(props.commit, theme()))
109 const suppressBackgrounds = createMemo(() => props.opts?.suppressBackgrounds === true)
110 const diffBg = (color: ColorInput) => (suppressBackgrounds() ? transparent : color)
111 const streaming = createMemo(() => props.commit.phase === "progress")
112 const text = createMemo(() => {
113 const next = body()

Callers 1

RunEntryContentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected