From 63a4f0da6ed35acc63bdba2610cc96febbc92b71 Mon Sep 17 00:00:00 2001 From: l0ng-ai <24760907+l0ng-ai@users.noreply.github.com> Date: Sat, 8 Aug 2026 09:57:22 +0700 Subject: [PATCH] fix(theme): light the splitters up in the theme's accent MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit drag_border was never set, so the sidebar and panel splitters, the pane divider and the drop target for a dragged-in file all lit up in gpui-component's stock blue — the same blue under all nine presets. Measured on Rose Pine Dawn: the handle went from #656361 to #907aa9, the preset's own accent, which is already what the focus ring and an on switch use. --- src/ui/theme.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/ui/theme.rs b/src/ui/theme.rs index bc8a3c06..5bc1a1e2 100644 --- a/src/ui/theme.rs +++ b/src/ui/theme.rs @@ -493,6 +493,12 @@ pub(crate) fn apply_theme(mut window: Option<&mut Window>, cx: &mut App) { t.tokens.button_secondary_active = button_active.into(); t.ring = rgb(m.accent).into(); + // Every splitter and panel edge lights up with this while you drag it, and + // the drop target for a dragged-in file tints with it. Unset it is a fixed + // blue from gpui-component's stock theme — the same blue under all nine + // presets. It is an interaction highlight, so it belongs with the focus + // ring and the on-switch. + t.drag_border = rgb(m.accent).into(); #[cfg(target_os = "macos")] if let Some(window) = window.as_deref_mut() {