Previously, the Icon block color controls were placed inside a custom InspectorControls panel. However, we can now set group="color" when setting up an InspectorControls panel, which allows us to hook into the native "Color" panel.
This PR takes advantage of this change and moves the Icon and Background color controls to the native "Color" panel. Another benefit of this approach is that the Colors now appear at the top of the Style panel. Custom panels will always appear below native panels for block supports.
Previously, the Icon block color controls were placed inside a custom
InspectorControls
panel. However, we can now setgroup="color"
when setting up anInspectorControls
panel, which allows us to hook into the native "Color" panel.This PR takes advantage of this change and moves the Icon and Background color controls to the native "Color" panel. Another benefit of this approach is that the Colors now appear at the top of the Style panel. Custom panels will always appear below native panels for block supports.