From 83317ed4bff93b5cf98d3d3ec82dad66dd5b2207 Mon Sep 17 00:00:00 2001 From: Charley Cunningham Date: Fri, 30 Jan 2026 12:39:15 -0800 Subject: [PATCH] Make plan highlight use popup grey background (#10253) ## Summary - align proposed plan background with popup surface color by reusing `user_message_bg` - remove the custom blue-tinted plan background image --- codex-rs/tui/src/style.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/codex-rs/tui/src/style.rs b/codex-rs/tui/src/style.rs index 2b4ab4c4d..fc8fd4c50 100644 --- a/codex-rs/tui/src/style.rs +++ b/codex-rs/tui/src/style.rs @@ -40,10 +40,5 @@ pub fn user_message_bg(terminal_bg: (u8, u8, u8)) -> Color { #[allow(clippy::disallowed_methods)] pub fn proposed_plan_bg(terminal_bg: (u8, u8, u8)) -> Color { - let (top, alpha) = if is_light(terminal_bg) { - ((0, 110, 150), 0.08) - } else { - ((80, 170, 220), 0.2) - }; - best_color(blend(top, terminal_bg, alpha)) + user_message_bg(terminal_bg) }