Replies: 1 comment
-
I have tested and could not reproduce it. How about testing with the latest WordPress and Gutenberg plugin? Here are the steps:
Heading block has theme default palette: Paragraph block has overridden palette: Custom Block has overridden palette: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We have created a bunch of custom blocks and a custom made theme that has a palette defined in
theme.json
as propertysettings.color.palette
. Now, for some of the blocks we would like to override the theme palette and provide a block specific one instead. We can achieve that functionality for core blocks but not for our own. What are we doing wrong? Is that even possible?Here is a relevant snippet of our theme.json:
And the blocks.json in our plugin:
The
core/paragraph
block behaves as desired but our custom blockcv-wp-gb-lib-blocks/cell
displays only the palette defined for the whole theme.Beta Was this translation helpful? Give feedback.
All reactions