cli: Don't force bold output to be white

On terminals in light mode, it makes the bold stuff invisible.

Signed-off-by: Richard Levitte <richard@levitte.org>
This commit is contained in:
Richard Levitte 2024-03-13 11:28:27 +01:00 committed by cloudhead
parent cd9b46fe51
commit b495358c5f
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ pub fn badge_secondary<D: std::fmt::Display>(input: D) -> Paint<String> {
}
pub fn bold<D: std::fmt::Display>(input: D) -> Paint<D> {
Paint::white(input).bold()
Paint::new(input).bold()
}
pub fn dim<D: std::fmt::Display>(input: D) -> Paint<D> {