Skip to content

Categories: Add color block support#63407

Closed
carolinan wants to merge 5 commits into
trunkfrom
add/categories-color
Closed

Categories: Add color block support#63407
carolinan wants to merge 5 commits into
trunkfrom
add/categories-color

Conversation

@carolinan
Copy link
Copy Markdown
Contributor

What?

Adds text, background, gradient, and link color support to the categories (Categories list) block.
Background, text and link are set to show by default.

Partial for #43245

Why?

The block is missing these options. Adding them improves the consistency and enables more design options.

How?

The PR updates the block supports in block.json, and the documentation.

Testing Instructions

Add some categories.
Create a new post and add the categories list block. Adjust the color settings and compare the result in the editor and front.
Next test the global styles options from the Styles sidebar in the Site Editor.

Screenshots or screencast

@carolinan carolinan added [Type] Enhancement A suggestion for improvement. [Block] Categories Affects the Categories Block labels Jul 11, 2024
@carolinan

This comment was marked as resolved.

@aaronrobertshaw

This comment was marked as resolved.

@aaronrobertshaw

This comment was marked as resolved.

@carolinan

This comment was marked as resolved.

@carolinan

This comment was marked as resolved.

@aaronrobertshaw

This comment was marked as resolved.

@carolinan carolinan marked this pull request as ready for review July 16, 2024 06:07
@github-actions
Copy link
Copy Markdown

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 props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: carolinan <poena@git.wordpress.org>
Co-authored-by: aaronrobertshaw <aaronrobertshaw@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@carolinan carolinan changed the title WIP: Categories: Add color block support Categories: Add color block support Jul 16, 2024
@carolinan carolinan closed this Nov 27, 2024
@johnbillion johnbillion deleted the add/categories-color branch February 10, 2025 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Block] Categories Affects the Categories Block [Type] Enhancement A suggestion for improvement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants