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

Function wordBackground

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

Source from the content-addressed store, hash-verified

377}
378
379function wordBackground(marker: Marker, theme: Theme): Color {
380 switch (marker) {
381 case '+':
382 return theme.addWord
383 case '-':
384 return theme.deleteWord
385 case ' ':
386 return theme.background
387 }
388}
389
390function decorationColor(marker: Marker, theme: Theme): Color {
391 switch (marker) {

Callers 1

applyBackgroundFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected