-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Group Block variation:remove variation text color. #71429
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Group Block variation:remove variation text color. #71429
Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
|
Good catch!
While a colorized preview is certainly the correct way to go, unfortunately, we have become accustomed to unintentionally uncolorized block previews for many years. Additionally, I think the colorized preview is too prominent.
Personally, I prefer to remove color from the preview. cc @WordPress/gutenberg-design |
|
That is next level code archeology, thank you for contributing! My instinct would be to remove these colors, to fix the code quality issue, but keep the visual as it appears in trunk. The main reason being: the contrast in the preview isn't very good, and it's not clear there's a huge value in those colors. What do you think? |
|
@jasmussen Thanks for the feedback!
I totally agree with the above 👍 |
|
@t-hamano |
|
Maybe |
t-hamano
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
I think hardcoding the font size slug is certainly not a good idea, so it's better to remove it. If the text feels small, let's apply some px value instead in the follow-up.



What?
Group Block variation:Displays variation colors correctly.
Why?
Change the text color attribute from
customTextColortostyle > color > text.This attribute change was probably made 5 years ago.
#21037
If you don't think you need text color, remove the color.
How?
Testing Instructions
Testing Instructions for Keyboard
Screenshots or screencast