Skip to content

Search: Block should provide default styles #36444

@kjellr

Description

@kjellr

The form field and button used in the search field currently appear entirely unstyled:

136254955-23f2b43a-12f9-4654-a6fd-a0022c7754b0

These styles are largely not customizable via Global Styles or theme.json, which means that every block theme is forced to provide styles via CSS.

To prevent this, we should consider providing some default styles to ensure that this block works nicely right out of the box.

Related: WordPress/twentytwentytwo#11, #34216
Gutenberg version: 11.9.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Block] SearchAffects the Search Block - used to display a search field[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