Skip to main content

readable_text

Function readable_text 

Source
pub fn readable_text(surface: &Color) -> Color
Expand description

Pick whichever of the two default text colors reads best on surface. Used both as the fallback inside resolve_text_token and as a direct utility for “I just need text that works”.