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
Block Switcher: Add 'Transform into:' to top of the list #2846
Adds the text "Transform into" wrapped in span tags to the top of the list in the Block Switcher.
How Has This Been Tested?
Visually on my local machine.
Screenshots (jpeg or gifs if applicable):
Types of changes
It's labelled as an enhancement.
I personally feel like for this particular help text it's okay that it's lower than usual.
However I also would never object to increasing the contrast.
You can see the color variables here: https://github.com/WordPress/gutenberg/blob/master/editor/assets/stylesheets/_variables.scss and use this contrast checker: https://www.joedolson.com/tools/color-contrast.php
In my test it seems like
If you address Riads feedback, I think this PR is good to merge
@@ Coverage Diff @@ ## master #2846 +/- ## ========================================= + Coverage 33.74% 33.9% +0.15% ========================================= Files 191 191 Lines 5695 5699 +4 Branches 997 999 +2 ========================================= + Hits 1922 1932 +10 + Misses 3192 3187 -5 + Partials 581 580 -1