Skip to content

Button: Add support for :hover in variation theme.json #55359

@richtabor

Description

@richtabor

I expected to be able to manipulate the hover state of variations from theme.json. I can define the other default state attributes, but hover is not supported. Ran into this while exploring adding more variety to the buttons in TT4 theme variations: WordPress/twentytwentyfour#646

CleanShot 2023-10-13 at 15 38 51
CleanShot 2023-10-13 at 15 41 42

Related to #49716.

Metadata

Metadata

Assignees

Labels

Global StylesAnything related to the broader Global Styles efforts, including Styles Engine and theme.json[Block] ButtonsAffects the Buttons Block[Status] In ProgressTracking issues with work in progress[Type] EnhancementA suggestion for improvement.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions