-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add: Hover and Selected states to the palette editor. #37962
Add: Hover and Selected states to the palette editor. #37962
Conversation
Size Change: +84 B (0%) Total Size: 1.13 MB
ℹ️ View Unchanged
|
Thanks, @jorgefilipecosta, this looks good to me! It's a pity that we have this double border, but I imagine it's difficult to fix without modifying the CSS of the entire list, and in any case, it would be more suited for a follow-up issue. |
Thank you for the review @javierarce I will try to fix the double border as a follow-up. |
@jorgefilipecosta @javierarce This works out of the box for buttons. But it disappears when I change the background color of a button. Also, my color settings don't show separate color settings for the hover state. I assume there needs to be a switch set in the theme.json? What would be the right settings? We probably need to update the documentation. Or am I missing what this PR was about? |
Hi @bph, This PR is about the hoover and selected states for the palette editor component itself: The blue line indicates the selected color did not exist before. This is just a change for the internal components. We don't offer anything to allow users to change hoover and selected states of blocks like buttons yet and this PR is not related to that. I think a good issue to check related to that is #38277. |
Yes, @jorgefilipecosta I was obviously on a totally different planet when I tried to tested this. Thanks so much for setting me straight. |
Fixes: #37832
Adds the hoover and selected states following the proposed design.
Screenshots