WordPress / wordpress-playground

Run WordPress in the browser via WebAssembly PHP
https://w.org/playground/
GNU General Public License v2.0
1.64k stars 257 forks source link

Theme contribution workflow #794

Open adamziel opened 11 months ago

adamziel commented 11 months ago

Let's give contributors a way to build block themes in their browsers and without a local development environment.

adamziel commented 11 months ago

Some feedback about the cumbersome parts of building block themes with WordPress that @beafialho shared:

There are things to do repeatedly (like installing CBT and Block Canvas, for example).

We can now create and save patterns in the editor, but CBT doesn’t export them. This forces us to add them manually and is a cumbersome step.

Having to migrate content from one demo site to the other.

adamziel commented 2 weeks ago

@mikachan what would it take to submit a Create Block Theme Blueprint with preinstalled fonts etc. to the Blueprints gallery https://github.com/WordPress/blueprints? It could make a good starting point for building new themes.

mikachan commented 1 week ago

Hey @adamziel! Sorry for the delay here, I was away for a few days. In the meantime, it looks like a blueprint was already added that installs Create Block Theme, in https://github.com/WordPress/blueprints/pull/72. Did this address your question, or should we still add a blueprint that installs a theme with font files, as you suggested above? Happy to help with that.