Skip to content

Improve theme.json support for Navigation block #39052

@scruffian

Description

@scruffian

What problem does this address?

There are many settings available to the navigation block which cannot be customized in theme.json. It is beneficial to themes to be able to style blocks via theme.json rather than in block settings, as it means themes can share patterns and simply modify the navigation via theme.json, rather than each theme needing to create its own header to adjust the navigation.

What is your proposed solution?

It is already possible to set colors and typography for the navigation block in theme.json, but the following properties would also be helpful:

This is list is a good starting point but we should anticipate other properties also being needed.

cc @getdave @draganescu

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Block] NavigationAffects the Navigation Block[Type] Tracking IssueTactical breakdown of efforts across the codebase and/or tied to Overview issues.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions