Skip to content
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

Categories: Add color block support #63407

Closed
wants to merge 5 commits into from
Closed

Conversation

carolinan
Copy link
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
Copy link

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
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