mirror of
https://github.com/openai/codex.git
synced 2026-11-12 21:20:34 +00:00
fix(tui): fade unused usage bar on dark backgrounds
This commit is contained in:
@@ -501,7 +501,7 @@ fn usage_bar_empty_style_for(terminal_bg: Option<(u8, u8, u8)>) -> Style {
|
||||
))
|
||||
} else {
|
||||
Style::default().fg(usage_best_color(
|
||||
/*target*/ blend(/*fg*/ (255, 255, 255), bg, /*alpha*/ 0.3),
|
||||
/*target*/ blend(/*fg*/ (255, 255, 255), bg, /*alpha*/ 0.22),
|
||||
Color::DarkGray,
|
||||
))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user