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
Design tools exploration: Contextual color controls and new panels for Background, and Elements #62752
In container blocks like Group, the Color panel provides options to apply colors to child elements such as buttons, links, and headings.
While this feature is useful, it has limitations – for example, it doesn't allow for adjusting the dimensions of buttons within the Group.
Another issue is the disorganized background options: the background color control is in the Color panel, while the background image control is in a separate Background Image panel.
Contextual color controls
I suggest moving text and background controls to more appropriate panels. The text color control could be relocated to the Typography panel, and the background color control to a new Background panel, alongside the background image control.
A dedicated Background panel would allow users to add multiple background images and reorder them as needed.
Child elements
To enhance functionality, a new 'Elements' panel could enable users to fully style child elements within a container. This approach is similar to styling blocks in Global styles, which has been quite effective.
Additionally, this reorganization could simplify the 'Overlay' option in the Cover block, combining background images and transparent background colors into a single control that can be applied to any block, not just the Cover block.
cc @WordPress/gutenberg-design for thoughts.
Reacted by annezazu, Rich Tabor, Alexandre Buffet, Francisco and Juanfra Aldasoro
This should be resolved with the recent background/image reorganization landed in #60100 and #60151, the "Elements" panel (Links, Headings, Buttons, Captions) has existed in the block inspector since #48893, and the remaining ask, moving root-level text color into the Typography panel and background color into the Background panel, was completed in #77279.
Activity
richtabor commentedon Jun 28, 2024
Interesting exploration. Would background controls open via a popover?
jameskoster commentedon Jun 28, 2024
Precisely. There's a PR for that over here: #60151
jasmussen commentedon Aug 14, 2026
This should be resolved with the recent background/image reorganization landed in #60100 and #60151, the "Elements" panel (Links, Headings, Buttons, Captions) has existed in the block inspector since #48893, and the remaining ask, moving root-level text color into the Typography panel and background color into the Background panel, was completed in #77279.