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

Function neutralRailColor

src/ui/diff/rowStyle.ts:25–27  ·  view source on GitHub ↗
(theme: AppTheme)

Source from the content-addressed store, hash-verified

23
24/** Return the neutral active-hunk rail color for the current theme. */
25export function neutralRailColor(theme: AppTheme) {
26 return theme.lineNumberFg;
27}
28
29/** Dim a rail color for inactive hunks by blending toward the panel background. */
30export function dimRailColor(color: string, theme: AppTheme) {

Callers 5

renderHeaderLikeRowFunction · 0.90
renderHeaderRowFunction · 0.90
stackRailColorFunction · 0.85
splitLeftRailColorFunction · 0.85
splitRightRailColorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected