MCPcopy Create free account
hub / github.com/modem-dev/hunk / selectionHighlightBg

Function selectionHighlightBg

src/ui/diff/rowStyle.ts:20–22  ·  view source on GitHub ↗
(baseBg: string, theme: AppTheme)

Source from the content-addressed store, hash-verified

18 * harder toward the visible highlight color.
19 */
20export function selectionHighlightBg(baseBg: string, theme: AppTheme) {
21 return blendHex(theme.selectedHunk, baseBg, SELECTION_BG_BLEND);
22}
23
24/** Return the neutral active-hunk rail color for the current theme. */
25export function neutralRailColor(theme: AppTheme) {

Callers 3

renderInlineSpansFunction · 0.90
applySelectionPaletteFunction · 0.90
applySelectionPrefixFunction · 0.90

Calls 1

blendHexFunction · 0.90

Tested by

no test coverage detected