You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you update the color palette in global styles it doesn't affect the buttons block. This is because buttons block has it’s own color palette definition in theme.json, starting at line 4, that should be removed.
Global color palette:
Color palette available while editing the button block:
Might be related, it seems impossible (without css) to change the color of this button in a form block, even though I have defined the color as red, it shows up blue (front end and in the editor).
In the style book, all buttons in the Form block appear red.
Another issue that I hope is related: it appears that when I set a custom color background for any button, there appears to be no hover state. The hover state is removed?
Edit:
link elements that are styled to look like buttons have a hover state, but when you change the background color of the button, it is overriding the hover state. Because of this, I think it's impossible to set a different color for the hover state if you have already set the default background color?
@davewhitley this should be fixed now, including the contact form buttons (they should inherit from the theme and be consistent with other buttons).
As far as button hover color goes, the theme is using the secondary color for that - if you update it in the global color palette, it will filter through.
In my example, the hover state is essentially disabled. When you change the background color of the button, it removes the hover state, and the color can't be changed (even if you change the color globally). I just tested this in 2025 though, and it does the same thing, so I'll keep this issue closed.
When you update the color palette in global styles it doesn't affect the buttons block. This is because buttons block has it’s own color palette definition in theme.json, starting at line 4, that should be removed.
Global color palette:
Color palette available while editing the button block:
I think this is related to #7620
The text was updated successfully, but these errors were encountered: