MCPcopy Create free account
hub / github.com/codeaashu/claude-code / lineBackground

Function lineBackground

src/native-ts/color-diff/index.ts:368–377  ·  view source on GitHub ↗
(marker: Marker, theme: Theme)

Source from the content-addressed store, hash-verified

366}
367
368function lineBackground(marker: Marker, theme: Theme): Color {
369 switch (marker) {
370 case '+':
371 return theme.addLine
372 case '-':
373 return theme.deleteLine
374 case ' ':
375 return theme.background
376 }
377}
378
379function wordBackground(marker: Marker, theme: Theme): Color {
380 switch (marker) {

Callers 4

wrapTextFunction · 0.85
addLineNumberFunction · 0.85
addMarkerFunction · 0.85
applyBackgroundFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected