From 7d2628e8058a2636d0cf39c9de941d6e6e839527 Mon Sep 17 00:00:00 2001 From: Tilman Roeder Date: Wed, 16 Oct 2024 15:00:22 +0100 Subject: [PATCH] Make the divider rule color more muted (#19255) I've been a bit annoyed by the hover divider rule being extremely bright compared to other divider rules in the UI. This PR updates their color to use the regular border color from the current theme instead of the muted (but still pretty bright) text color. Apologies for the unsolicited PR (and please feel free to close if it goes against some other plans / designs you already have in place :). #### Example screenshot before: Screenshot 2024-10-15 at 23 29 18 #### Example screenshot after: Screenshot 2024-10-15 at 23 28 16 *** Release Notes: - Make the divider rule in LSP hovers more muted --- crates/editor/src/hover_popover.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/editor/src/hover_popover.rs b/crates/editor/src/hover_popover.rs index 269e9e9e03e0614af11362b9b2593e5ebcceacac..9200dd7b8c697c5838fa46e738b19e91289aa83e 100644 --- a/crates/editor/src/hover_popover.rs +++ b/crates/editor/src/hover_popover.rs @@ -525,7 +525,7 @@ async fn parse_blocks( font_family: Some(buffer_font_family), ..Default::default() }, - rule_color: Color::Muted.color(cx), + rule_color: cx.theme().colors().border, block_quote_border_color: Color::Muted.color(cx), block_quote: TextStyleRefinement { color: Some(Color::Muted.color(cx)),