Pseudo selectors: allow in blocks and expose more in the UI #53890
Labels
[Feature] Design Tools
Tools that impact the appearance of blocks both to expand the number of tools and improve the experi
[Feature] Themes
Questions or issues with incorporating or styling blocks in a theme.
Global Styles
Anything related to the broader Global Styles efforts, including Styles Engine and theme.json
[Type] Enhancement
A suggestion for improvement.
What problem does this address?
This is the current state of pseudo selectors in the WordPress design system:
theme.json
)link
color.text
.h1
h2
h3
h4
h5
h6
heading
button
caption
What is your proposed solution?
The UI does not need to replicate all and every style implemented by
theme.json
. However, there are common use cases for pseudo-selectors that we don't support yet. See, for example, this hover effect for containers:Gravacao.do.ecra.2023-08-23.as.14.48.55.mov
What if we:
theme.json
(connected to the block supports as well)The text was updated successfully, but these errors were encountered: