Conversation
|
Is this using a Dashicon? If so, can we either use a custom SVG or Material icon here? This icon feels a little off. |
Yes it is Dashicon. The If the previous icon looks better compared to this one, maybe we can wait a bit for this change? |
| icon="insert" | ||
| icon="plus-alt" | ||
| onClick={ onInsertClick } | ||
| extraProps={ styles.addBlockButton } |
There was a problem hiding this comment.
We shouldn't be setting the icon's color attribute as it will be prone to error if we add css rules to this addBlockButton class. Also it's best practice to group styling in style or className.
So:
extraProps={ { style: styles.addBlockButton } }|
Thanks @Tug and @iamthomasbishop for the review! I implemented the suggested changes and tweaked a bit the look of the icon as Thomas suggested, adding a border to it. Now it looks 😎 |
|
That looks so much better. Thank you! <3 |
|
Updated with the changes requested for a better clarity on the intention. |
|
I updated the implementation of this, with a new Would you mind @Tug taking another look? |
|
Thank you! |

fixes: #546
This PR implements the changes made in WordPress/gutenberg#14631 to change the default color of Dashicons (in this case on
ToolbarButton).To test:
$blue-wordpresscolor.