mirror of
https://github.com/logseq/logseq.git
synced 2026-05-28 06:34:34 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user