Make WordPress Core

Opened 20 months ago

Last modified 20 months ago

#55112 new enhancement

Twenty Twenty-Two: Button design

Reported by: umchal's profile umchal Owned by:
Milestone: Awaiting Review Priority: normal
Severity: trivial Version: 5.9
Component: Bundled Theme Keywords: has-patch
Focuses: css Cc:


It seems button elements are not styled in Twenty Twenty-Two such as


The browser default button appears with such code. It would be great if they have a style like other default themes.

Change History (3)

#1 @SergeyBiryukov
20 months ago

  • Summary changed from Button design for Twenty Twenty-Two to Twenty Twenty-Two: Button design

This ticket was mentioned in PR #2292 on WordPress/wordpress-develop by sadikmultani.

20 months ago

  • Keywords has-patch added

#3 in reply to: ↑ description @jffng
20 months ago

Thanks for the report. I think the default styling of buttons (and form elements in general) should be handled by Gutenberg and theme.json. If the CSS for buttons is added to the theme, there will be style conflicts and bugs introduced when users customize their buttons using the site editor / global styles.

There are a couple of issues discussing solutions over here:

I would encourage contribution and discussion over there to find a solution.

Note: See TracTickets for help on using tickets.