Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add BlockIconWithColors component; Use the component in the inspector. #7263
This PR implements a new component BlockIconWithColors that displays a block icon with foreground an background colors applied.
How has this been tested?
I added the test blocks by pasting the gist on the console.
I added the product block, selected it and checked on the inserter that product block appears as before.
I verified on the inspector that product block now has the brand colors.
I verified that core blocks on the inspector appear with a small design change and everything works as expected.