Skip to content

Commit d201f45

Browse files
authored
Fix Title Visibility for bright backgrounds (#372)
remove color from description
1 parent 0520990 commit d201f45

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/setup/states.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ impl<K, S, C: ResourceSetupStatusCheck> std::fmt::Display for ResourceSetupInfo<
277277
};
278278
let status_str = format!("[ {:^9} ]", status_code);
279279
let status_full = status_str.color(AnsiColors::Cyan);
280-
let desc_colored = self.description.color(AnsiColors::BrightWhite);
280+
let desc_colored = &self.description;
281281
writeln!(f, "{} {}", status_full, desc_colored)?;
282282
if let Some(status_check) = &self.status_check {
283283
let changes = status_check.describe_changes();
@@ -393,7 +393,7 @@ impl std::fmt::Display for FormattedFlowSetupStatusCheck<'_> {
393393
f,
394394
"{} {}\n",
395395
ObjectSetupStatusCode(flow_ssc).to_string().color(AnsiColors::Cyan),
396-
format!("Flow: {}", self.0).color(AnsiColors::White)
396+
format!("Flow: {}", self.0)
397397
)?;
398398

399399
let mut f = indented(f).with_str(INDENT);

0 commit comments

Comments
 (0)