pub fn colored_string<T: Display>( content: T, color: Option<Color>, style: Option<Style>, ) -> String
Helper function to conditionally create a string with ANSI coloring for terminal output