From 640ceeda8f0502c436437491cab60c309529a468 Mon Sep 17 00:00:00 2001 From: scheinriese Date: Thu, 21 May 2026 22:27:04 +0200 Subject: [PATCH] =?UTF-8?q?fix(text-picker):=20theme=20the=20gallery=20?= =?UTF-8?q?=E2=86=92=20controls=20divider?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The separator between the gallery row (Initials / Abbreviated / Custom) and the Text/Alignment controls used `shui/separator {:class "my-0 opacity-50 -mx-3"}` — shadcn's default `bg-border opacity-50` which fades to near-invisible against the dark OG bg. Swap to the shared `.icon-picker-separator` class (already in use for icon + asset picker topbar dividers). Pulls the themed `--lx-gray-05 → --ls-border-color → --rx-gray-05` chain at full opacity, so the line is visible across themes. `-mx-3` preserved for the edge-to-edge layout. Co-Authored-By: Claude Opus 4.7 --- src/main/frontend/components/icon.cljs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/frontend/components/icon.cljs b/src/main/frontend/components/icon.cljs index eecc5cc659..2ecb62d908 100644 --- a/src/main/frontend/components/icon.cljs +++ b/src/main/frontend/components/icon.cljs @@ -6548,7 +6548,11 @@ (shui/tabler-icon "pencil" {:size 20}))] [:span.text-picker-gallery-label label]]))] - (shui/separator {:class "my-0 opacity-50 -mx-3"}) + ;; Themed via the shared `icon-picker-separator` class instead of + ;; shadcn's `bg-border opacity-50` default, which fades the line + ;; to near-invisible in dark OG. `-mx-3` keeps the edge-to-edge + ;; geometry that the original layout depended on. + (shui/separator {:class "my-0 -mx-3 icon-picker-separator"}) ;; Controls row: Text input + Alignment side by side [:div.text-picker-controls-row