From d2e2d00fe17f3f5c8dcea3418d6ef07ae9ea644c Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Fri, 6 Sep 2024 08:19:43 +0100 Subject: [PATCH] fix(tui): don't set background for normal repo alias This didn't look good when using a light coloured terminal. --- crates/cli/src/tui/components/repo/identity.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/crates/cli/src/tui/components/repo/identity.rs b/crates/cli/src/tui/components/repo/identity.rs index 6bfa3f5..ce20e41 100644 --- a/crates/cli/src/tui/components/repo/identity.rs +++ b/crates/cli/src/tui/components/repo/identity.rs @@ -54,8 +54,7 @@ impl<'a> Identity<'a> { let mut spans = vec![" ".into()]; match alert { None => spans.push( - Span::from(self.repo_alias.to_string()) - .style(Style::default().fg(Color::Cyan).bg(Color::Black)), + Span::from(self.repo_alias.to_string()).style(Style::default().fg(Color::Cyan)), ), Some(alert) => { spans.push(