From 0a28163ef5f9e55530a9263426e5d7f02a640ee9 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 12 Oct 2026 18:26:05 +0000 Subject: [PATCH] Round the Current/New band halves and add a divider Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_013rGmDUNr1hUf4zo1X3dak8 --- src/ui/color_select/picker.rs | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/src/ui/color_select/picker.rs b/src/ui/color_select/picker.rs index f620c8845..5d9668c42 100644 --- a/src/ui/color_select/picker.rs +++ b/src/ui/color_select/picker.rs @@ -289,15 +289,29 @@ impl ColorPicker { .height(Length::Fill) .style(move |_theme: &Theme, _status| button::Style { background: Some(current_bg.into()), + border: Border { + radius: iced::border::radius(7.0).right(0.0), + ..Border::default() + }, ..Default::default() }); + let divider = container(Space::new()) + .width(1) + .height(Length::Fill) + .style(|_theme: &Theme| filled(Color::from_rgba(0.0, 0.0, 0.0, 0.35))); let new = container(half( t!("New").into_owned(), math::short_name(self.pending), new_bg, )) - .style(move |_theme: &Theme| filled(new_bg)); - container(row![current, new]) + .style(move |_theme: &Theme| container::Style { + border: Border { + radius: iced::border::radius(7.0).left(0.0), + ..Border::default() + }, + ..filled(new_bg) + }); + container(row![current, divider, new]) .width(Length::Fill) .height(60) .padding(1)