Joen A.
Joen A.
Here's a first stab mockup for this, and I would love your feedback. Starting with the work outlined in #45507, I took a look at how this could exist on...
CC: @WordPress/gutenberg-design
> I like this idea and I would like to believe, a formula should transform these values to X,Y (apply in CSS) and also reverse transform them without issues. Thank...
Having tinkered a bit with this now, it's clear that approach I had thought of with regards to layered shadows that I was thinking of, inspired by #39427, is unlikely...
Based on explorations, I have some new concepts to share, that should hopefully be simpler for the first version. I would imagine we could start with a preset-first design: *...
Nice, I can see further simplification work. Though I abandoned the idea of showing a shadow preset in that small 20x20 area in the ItemGroup, it simply didn't have space...
I tend to think we should stick to the pattern of ItemGroups opening flyout menus, and since there's a preview in the canvas for the post editor, and in the...
@madhusudhand I'm not convinced we should go with the immediate dropdown, I still think it's best to use the ItemGroup with the flyout pattern that shows "Default" and "Theme" presets...
> For context, a stacked shadow need not be always from a preset. > A theme developer can define stacked shadow for a button only (not a theme preset) in...
Thank you @madhusudhand, PR looks great. I left some feedback, but wasn't able to get the presets to show up. I'm happy to provide you with some default shadows for...