Finally: WordPress theme.json pseudo-selectors for Blocks Are Here
WordPress 7.0 finally adds native pseudo-class support (hover, focus, active) directly in theme.json for blocks and variations. Learn how to ditch custom CSS hacks for button states and embrace a declarative styling workflow that keeps your theme maintenance simple and your code clean.