mirror of
https://github.com/openai/codex.git
synced 2026-04-28 02:11:08 +03:00
fix: brighten transcript copy affordance (#8697)
- set the pill text to white so it stays legible on light themes - render the icon in bold light cyan so it stands out - reran `just fmt`, `just fix -p codex-tui2`, and `cargo test -p codex-tui2` after the tweak https://github.com/user-attachments/assets/6c296b8d-84fb-45b9-bce7-57982e0d531b
This commit is contained in:
@@ -275,8 +275,8 @@ impl TranscriptCopyUi {
|
||||
};
|
||||
|
||||
let pill_area = Rect::new(x, y, pill_width, 1);
|
||||
let base_style = Style::new().bg(Color::DarkGray);
|
||||
let icon_style = base_style.fg(Color::Cyan);
|
||||
let base_style = Style::new().bg(Color::DarkGray).fg(Color::White);
|
||||
let icon_style = base_style.add_modifier(Modifier::BOLD).fg(Color::LightCyan);
|
||||
let bold_style = base_style.add_modifier(Modifier::BOLD);
|
||||
|
||||
let mut spans: Vec<Span<'static>> = vec![
|
||||
|
||||
Reference in New Issue
Block a user