Skip to content

Add type validation and/or theme.json schema #26955

@oandregal

Description

@oandregal

See #26803 (comment)

In #26803 we evolved the theme.json schema validation mechanism by checking the structure of the input adhered to what we expected.

Adding type validation at the leaf level can bring more security but also opportunities to report invalid data input to theme authors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Global StylesAnything related to the broader Global Styles efforts, including Styles Engine and theme.json[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