Make WordPress Core

Opened 2 years ago

Last modified 2 years 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:

Description

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

<button>Click</button>

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
2 years 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.


2 years ago
#2

  • Keywords has-patch added

#3 in reply to: ↑ description @jffng
2 years 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: https://github.com/WordPress/gutenberg/issues/34198
https://github.com/WordPress/gutenberg/issues/34196

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

Note: See TracTickets for help on using tickets.