pub fn dim(text: &str, mode: ColorMode) -> StringExpand description
ColorMode, Role, color_of, paint and dim moved to
headwater_check::paint, and are re-exported here unchanged.
Finding::render, Run::render, explain’s renderer and the two sweep
renderers all need them and none of the three crates that declare those
functions may depend on headwater-cli, so the types live where every
caller can reach them — see the module comment of
engine/crates/check/src/paint.rs for the full reasoning. What stays here
is stdout_color and stderr_color: the one fact only this crate
holds, which stream this process is attached to.
Dim weight, the one part of the Plain fallback that is not color.