From 761a7701740c97d73b7a11a64cf396591c4de08b Mon Sep 17 00:00:00 2001 From: Eshayat Al-Wasiu Date: Tue, 27 Oct 2026 17:38:57 +0600 Subject: [PATCH] Emphasize the server name in the delete confirmation Co-Authored-By: Codex (GPT-6.1) --- launcher/src/servers_page.rs | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/launcher/src/servers_page.rs b/launcher/src/servers_page.rs index 46482fee0..eb6ffef50 100644 --- a/launcher/src/servers_page.rs +++ b/launcher/src/servers_page.rs @@ -2407,11 +2407,15 @@ impl Launcher { disabled(confirm) }; section = section - .child( - text(theme::UI) - .text_color(t.ink) - .child(format!("Type {name} to confirm.")), - ) + .child(text(theme::UI).text_color(t.ink).child( + gpui::StyledText::new(format!("Type {name} to confirm.")).with_highlights([( + 5..5 + name.len(), + gpui::HighlightStyle { + font_weight: Some(FontWeight::BOLD), + ..Default::default() + }, + )]), + )) .child(field) .child( div()