mirror of
https://github.com/logseq/logseq.git
synced 2026-05-18 18:02:35 +00:00
The icon-picker topbar now ropes the color swatch and trash button into the same arrow-key rove as the tabs (data-topbar-stop + the controller's :topbar region). Tabs auto-activate when arrow-roved over (e.detail = 0 discriminates programmatic clicks from real ones, so the on-change handler keeps focus inside the topbar instead of bouncing to search). Topbar focus styling is unified across both pickers so back / tabs / segments / color / trash all paint the same blue ring (the trio of browser-default outline, custom --lx-accent-09 outline, and shui's --ring box-shadow no longer disagrees). Trash and inactive tabs need opacity:1 on :focus-visible so the base opacity-60 doesn't dim the ring into a muted glow. Tile-to-tile transition no longer animates outline-color: animating it from `currentColor` (e.g. red on a tinted icon) briefly tinted the focus ring red before the accent color landed. Width and offset still glide so the ring grows/shrinks smoothly; color snaps instantly. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>