Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Add tabs for gradient and color #19133
This PR implements tabs for Gradient and Solid colors in the blocks that support gradients (Cover and Button) as suggested by @mtias.
The components existing ColorControl and PanelColorSettings that are equivalent to the new ones but with juts color support were updated to just use the new components.
Currently, the use colors hook already returns PanelColorSettings rendered so I guess we should update the hook to also support gradients as a next step.
cc: @mcsf as he showed interest in checking this PR.
How has this been tested?
I verified I could correctly use the Gradient UI in cover and button.