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
Update: Refactor ColorPalette by extracting its design #17154
This PR extracts the design from the ColorPalette component. So ColorPalette just contains the color-related functionality and CircularOptionPicker an internal component contains the UI to render a set of buttons as circles and a set of actions at the bottom.
We are implementing a set of Gradient presents #16662 (comment) so extracting this component allows us to use the same UI for the Gradient Presets without code repetition.
Missing updates to unit tests.
How has this been tested?
I checked that the color functionality still works exactly as before.