#55112 closed enhancement (reported-upstream)
Twenty Twenty-Two: Button design
Reported by: | umchal | Owned by: | |
---|---|---|---|
Milestone: | 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 (6)
#1
@
3 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.
3 years ago
#2
- Keywords has-patch added
#3
in reply to:
↑ description
@
3 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.
#4
@
8 months ago
- Keywords close added
I am going to recommend closing this to focus outside the theme as recommended. I am going to add the close keyword to allow time for discussion still. Thank you everyone for the collaboration so far.
Trac ticket: https://core.trac.wordpress.org/ticket/55112