(color: string, theme: AppTheme)
| 28 | |
| 29 | /** Dim a rail color for inactive hunks by blending toward the panel background. */ |
| 30 | export function dimRailColor(color: string, theme: AppTheme) { |
| 31 | return blendHex(color, theme.panel, INACTIVE_RAIL_BLEND); |
| 32 | } |
| 33 | |
| 34 | /** Pick the stack-view rail color for one rendered row. */ |
| 35 | export function stackRailColor(kind: StackLineCell["kind"], theme: AppTheme, selected: boolean) { |
no test coverage detected