Skip to content

Consider allowing themes to enqueue stylesheets in theme.json #26902

@kjellr

Description

@kjellr

If all of the add_theme_support() options from #26901 are incorporated into theme.json, the only things a theme must include in a functions.php file are its stylesheets.

For the sake of discussion, would it be possible (and a good idea) to allow block-based themes to define their front-end and editor stylesheets directly from within theme.json?

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Feature] ThemesQuestions or issues with incorporating or styling blocks in a theme.[Status] Not ImplementedIssue/PR we will (likely) not implement.[Type] DiscussionFor issues that are high-level and not yet ready to implement.[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