-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Consider adding text-level color settings to all text blocks #15899
Comments
In need of better icon but here's what I have on Text Highlight Color. Don't we need Background Color on Text Highlighting also? Thanks! Regarding Text Color, I think it's better to have this similar across all blocks like what's been added recently on Heading Block. Thanks @mapk! |
Probably my bad terminology, but when I said "highlight color" I meant the background color of the text one highlights.
I think there's a case for having the ability to change specific highlighted text colors and be able to change the whole block's text color. One is a text-level control and the other is a block-level control. And as the settings get more specific they begin to trump the other. So a text-level control would trump a block-level control. |
I see. In this case, both color options should be easily available on the toolbar format. Block level color control should be the same as Paragraph block in my opinion. Having similar panels across blocks are easier to understand. |
Thanks @phpbits for the mockups. Here's some early feedback.
|
@mapk I've tried that before too, from Google Docs right? I just don't want users to have too much icon on the toolbar. It's probably better though, I'll try and create a PR for that. This will be my first PR so my apology in advance if I may do it incorrectly. |
@mapk Do you like this one for Text Color? Thanks! |
@mapk @paaljoachim Just created my first PR for text color. I need guidance on proper testing though if I missed something. Thanks a lot in advance. |
@phpbits I wasn't saying split them out into different icons... I meant just use the terminology they were using for each of the two color sections, ie. "Text color" and "Highlight color". I'm fine with keeping them together. I need to test your PR and I'll leave some comments there. |
Because the PR #16014 is being worked on, I'm going to remove the |
Seems like this is done now right? |
Issues like #8171 are exploring block-level color settings for text and backgrounds. It might be equally beneficial to include text-level color settings in Gutenberg as well. In the future (props @mtias) I can see having site-level settings -> block-template-level settings -> block-level settings -> text-level settings. We need to figure out how to surface this UI and how it works together for the greater whole.
This being said, let's explore how we might add text-level color settings to the blocks. These settings would include, but not limited to:
I know @phpbits and @ellatrix have both looked into this already.
The text was updated successfully, but these errors were encountered: