Open bradhogan opened 3 weeks ago
The core/post-terms color is being overwritten by the element link.
In your theme.json, add:
"styles": { "elements": { "link": { "color": { "text": "var(--wp--preset--color--contrast)" } } } "blocks": { "core/post-terms": { "color": { "text": "var(--wp--preset--color--accent)" } } } }
Swap out the variables to whatever your theme uses.
Add a post terms block and notice the terms as links use the element link color and not the block core/post-terms color.
No response
I think this may be true for any block that is a link by default (Except maybe the navigation blocks).
Description
The core/post-terms color is being overwritten by the element link.
Step-by-step reproduction instructions
In your theme.json, add:
Swap out the variables to whatever your theme uses.
Add a post terms block and notice the terms as links use the element link color and not the block core/post-terms color.
Screenshots, screen recording, code snippet
No response
Environment info
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.