Skip to main content

diff_hunk_bg

Function diff_hunk_bg 

Source
pub fn diff_hunk_bg(theme: DiffTheme, _level: DiffColorLevel) -> Color
Expand description

Get background color for hunk header (@@ -old +new @@) lines.

Neutral blue-grey tint (not red/green) so hunk separators stay visually distinct from add/del content while still painting full-width.