Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the $schema key to theme.json #81

Closed
mikachan opened this issue Jul 10, 2022 · 1 comment · Fixed by #99
Closed

Add the $schema key to theme.json #81

mikachan opened this issue Jul 10, 2022 · 1 comment · Fixed by #99
Labels
enhancement New feature or request

Comments

@mikachan
Copy link
Member

When creating a theme, the generated theme.json does not include the $schema key, and so doesn't automatically format the file.

We should add the following to the start of the generated theme.json:

"$schema": "https://schemas.wp.org/trunk/theme.json"
@mikachan mikachan added the enhancement New feature or request label Jul 10, 2022
@mikachan mikachan moved this to Issues Created in Ignite Build a Theme Jul 10, 2022
@scruffian
Copy link
Contributor

This is also the case when you select the "overwrite" option

Repository owner moved this from Issues Created to Done in Ignite Build a Theme Aug 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants