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
chore: Remove unused css from ColorPalette component #17152
This PR removes CSS code from the ColorPalette component that is not used anywhere.
Searching on all files of the repository for components-color-palette__clear-color and components-color-palette__clear-color-line does not return any occurrences (besides the removed CSS). That means the selector will never be used making the code useless.
If an element used this classes in an indirect way e.g. string concatenation the most probable file to do that would be https://github.com/WordPress/gutenberg//blob/8e18cafdf823c274c8f81ae16ca7b1cbf7f062f3/packages/components/src/color-palette/index.js and manually checking it we can see the classes are not used.
How has this been tested?
I verified the color pallet component still works as before.