fix(text-picker): theme the gallery → controls divider

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 <noreply@anthropic.com>
This commit is contained in:
scheinriese
2026-05-21 22:27:04 +02:00
parent cca86c04b8
commit 640ceeda8f

View File

@@ -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