Been playing with theme.json, and something that really excites me is that since it’s just a JSON file, you can use it, and parse it in other places. I’m using Tailwind to tie the color palette used by Tailwind directly to the theme.json palette, for example.

Comments

2 responses to “”

  1. Here’s a gist, for those interested.

    gist.github.com/alexstandiford…

  2. Heck, you could even make this JSON file a literal REST endpoint if you wanted, and then let your headless WordPress app inherit the properties from that endpoint.

    So many opportunities.

Leave a Reply

Your email address will not be published. Required fields are marked *