-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Consider allowing themes to enqueue stylesheets in theme.json #26902
Copy link
Copy link
Open
Labels
[Feature] ThemesQuestions or issues with incorporating or styling blocks in a theme.Questions or issues with incorporating or styling blocks in a theme.[Status] Not ImplementedIssue/PR we will (likely) not implement.Issue/PR we will (likely) not implement.[Type] DiscussionFor issues that are high-level and not yet ready to implement.For issues that are high-level and not yet ready to implement.[Type] EnhancementA suggestion for improvement.A suggestion for improvement.
Metadata
Metadata
Assignees
Labels
[Feature] ThemesQuestions or issues with incorporating or styling blocks in a theme.Questions or issues with incorporating or styling blocks in a theme.[Status] Not ImplementedIssue/PR we will (likely) not implement.Issue/PR we will (likely) not implement.[Type] DiscussionFor issues that are high-level and not yet ready to implement.For issues that are high-level and not yet ready to implement.[Type] EnhancementA suggestion for improvement.A suggestion for improvement.
Type
Fields
Give feedbackNo fields configured for issues without a type.
If all of the
add_theme_support()options from #26901 are incorporated intotheme.json, the only things a theme must include in afunctions.phpfile 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?