Make WordPress Core

Opened 2 years ago

Closed 3 months ago

Last modified 3 months ago

#55112 closed enhancement (reported-upstream)

Twenty Twenty-Two: Button design

Reported by: umchal's profile 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 @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.

#4 @karmatosed
3 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.

#5 @karmatosed
3 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

Thank you, I am going to follow through with closing this.

#6 @sabernhardt
3 months ago

  • Keywords close removed
  • Resolution changed from invalid to reported-upstream

This has discussions on the Gutenberg repository, so I'm switching the resolution to 'reported-upstream'.

Note: See TracTickets for help on using tickets.