Skip to main content

render_note

Function render_note 

Source
pub fn render_note(msg: &str) -> String
Expand description

Render the themed Note line for msg: gutter-aligned bold-green label. The third status label — informational lines that are neither warnings nor errors (host-target selection, auto-snapshot activation). The bold-green deliberately matches the section-verb palette (not yellow/red): a note is a neutral peer of the section headers, not an alert. Shared so the Note palette/label lives in exactly one place rather than being open-coded per call site.