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
{{ message }}
Repository navigation
Some block patterns don't respect the theme color palette and look out of place or broken #24391
[Feature] PatternsA collection of blocks that can be synced (previously reusable blocks) or unsynced[Status] In ProgressTracking issues with work in progress[Type] BugAn existing feature does not function as intended
Some block patterns have hardcoded color values and don't follow the theme palette, causing them to look out of place or broken when used from some themes.
I've found the following blocks seem to have hardcoded values by adding them to a dark them (Rivington):
Two columns of text
Two columns of text with images
Three columns of text with buttons
Heading and Paragraph
The blocks above will probably look broken under darker themes.
I'm not sure about the following blocks as they look okay under Rivington, but I suspect they also have hardcoded color values:
Large header with a heading and a button
Large header with a heading
Three buttons
Two buttons
To reproduce
Steps to reproduce the behavior:
Install and activate Gutenberg 8.7 in your WordPress instance;
Install and activate a dark theme, e.g. Coral Dark;
Add a new post;
Add any of the block patterns listed above to the page and observe how they look out of place or broken visually.
Expected behavior
The blocks get the right color values from the theme and blend in nicely.
Screenshots
Two columns of text
Two columns of text with images
Three columns of text with buttons
Heading and Paragraph
Large header with a heading and a button
Three buttons
Two buttons
Editor version (please complete the following information):
WordPress version: 5.4.2
Does the website has Gutenberg plugin installed, or is it using the block editor that comes by default? gutenberg plugin
If the Gutenberg plugin is installed, which version is it? 8.7
Desktop (please complete the following information):
[Feature] PatternsA collection of blocks that can be synced (previously reusable blocks) or unsynced[Status] In ProgressTracking issues with work in progress[Type] BugAn existing feature does not function as intended
Activity