Skip to content

Allow all Gutenberg theme support options to be defined in theme.json #26901

@kjellr

Description

@kjellr

Many of Gutenberg's add_theme_support() options are already available to define in experimental-theme.json:

  • disable-custom-font-sizes
  • disable-custom-colors
  • disable-custom-gradients
  • editor-color-palette
  • editor-gradient-presets
  • editor-font-sizes
  • custom-line-height
  • custom-units
  • custom-spacing
  • experimental-link-color

The rest should be made available there as well:

  • align-wide
  • core-block-patterns (opt-out)
  • editor-styles
  • dark-editor-style
  • post-thumbnails
  • responsive-embeds
  • wp-block-styles

Metadata

Metadata

Assignees

No one assigned

    Labels

    Global StylesAnything related to the broader Global Styles efforts, including Styles Engine and theme.json[Feature] ThemesQuestions or issues with incorporating or styling blocks in a theme.[Type] EnhancementA suggestion for improvement.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions