10up / wp-scaffold

10up WordPress project scaffold.
MIT License
194 stars 46 forks source link

updates theme.json to v2 for compatibility with filtering #168

Closed jacobdubail closed 7 months ago

jacobdubail commented 1 year ago

Description of the Change

This updates the theme.json version to v2 for compatibility with the new theme.json filters. It also updates keys to match v2 schema.

How to test the Change

Confirm custom styles are applying to the theme.

Changelog Entry

Changed - Updates theme.json to v2

Checklist:

fabiankaegy commented 1 year ago

@jacobdubail If you want to you can also change the base of this PR to the trunk branch. We will want to use the update for the entire scaffold :)

joesnellpdx commented 1 year ago

@jacobdubail

We want to have the filter for the theme.json updates in here -right? Or is that still up for discussion?

joesnellpdx commented 1 year ago

ohh... @jacobdubail I see how you are doing it now.. and that's actually pretty slick!!