Skip to content

Provide color panel for core/post-content #50327

@nerrad

Description

@nerrad

What problem does this address?

Themes have the ability to define element color styles for the core/post-content block (container), however there are no user level interfaces for modifying those styles. For example, a theme could have something like this in its theme.json:

"core/post-content": {
				"elements": {
					"link": {
						"color": {
							"text": "var(--wp--preset--color--secondary)"
						}
					}
				}
			},

However there is no color panel for modifying the block level styling for this block:

CleanShot 2023-05-04 at 07 43 53@2x

What is your proposed solution?

Enable color supports for the core/post-content block.

Metadata

Metadata

Assignees

Labels

Global StylesAnything related to the broader Global Styles efforts, including Styles Engine and theme.json[Block] Post ContentAffects the Post Content Block[Type] EnhancementA suggestion for improvement.

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions