Himanshu Bhardwaj f3baec6658
✨ Add an options button to color assets (#13189)
* ✨ Add an options button to color assets

Color assets could only be renamed, edited, duplicated or deleted from
the right-click menu, which tablet users can't open. Add a three-dot
options button, like the one on typography assets, that opens the same
menu below the button. It shows on hover and focus, and stays visible on
devices without hover.

Closes #12618

AI-assisted-by: Claude Opus 5.5

* 🐛 Keep the color asset options button reachable by keyboard

The options button was hidden with visibility, which also takes it out
of the tab order, so :focus-within could never reveal it from the
keyboard. Hide it with opacity instead, so Tab reaches the button and
shows it.

Open the menu through one helper for both the right click and the
button, so both keep clearing the selection first.

AI-assisted-by: Claude Opus 5.5

* 🐛 Toggle the color asset menu and fix its row and focus

---------

Co-authored-by: Luis de Dios <luis.dedios@kaleidos.net>
2026-11-24 19:59:45 +01:00
..