Skip to main content

diff_add_word_bg

Function diff_add_word_bg 

Source
pub fn diff_add_word_bg(theme: DiffTheme, level: DiffColorLevel) -> Color
Expand description

Stronger addition-chip background for word-level (intra-line) highlights.

Sits on top of the subtle full-width add tint so only the tokens that actually changed pop (IntelliJ / GitHub two-level background).