.wc-block-text-toolbar-button {
align-items: center;
&.is-toggled,
&.is-toggled:focus {
background: $core-grey-dark-500;
color: $white;
}
.block-editor-block-toolbar__slot {
// prevents text toolbar items shrinking to avoid other buttons overlapping.
flex-shrink: 0;