Block-based Themes Meeting Notes for March 4, 2020


Moderated by @kjellr, the full conversation can be found here: https://wordpress.slack.com/archives/C02RP4Y3K/p1583337635468900

Global Styles Update

A PR led by @nosolosw has Global Styles working within the beta site editor: https://github.com/WordPress/gutenberg/pull/20530

The main takeaway for theme folks is that this update pulls in style variables from a theme file (currently named experimental-theme.json).

You can see how this is applied in two PRs in the theme experiments repository:

Updating Core blocks to support the Global styles variables is one of the main focuses for Gutenberg this month, so expect to see more developments soon.

Blocks for full site editing

The comments count, comments form, featured image, and tags blocks were all included in Gutenberg 7.6, which came out last week. The following blocks are in progress:

Lighter DOM

Please check out two PRs led by @ella on the Lighter DOM:

The goal is to create 1:1 parity between blocks’ front-end and editor DOM structure. This gets us a bit closer to being able to provide one set of styles that cover both the front-end and editor.

You can follow along the Lighter DOM work here: https://github.com/WordPress/gutenberg/pulls?q=is%3Apr+%22Lighter+block+DOM%22+

Block Patterns Overview

@nrqsnchz provided an overview of the Block Patterns concept.

“Block patterns are predefined block layouts that users can add to a document. Think of them as a combination of blocks that create a specific layout. These can be used to let users quickly add a contact form, a testimonials sections, an editorial section, etc.”

Github issue with more details and explorations can be found here here: https://github.com/WordPress/gutenberg/issues/17335

The team has been exploring how to surface block patterns to users in this PR: https://github.com/WordPress/gutenberg/pull/20354

Your feedback and suggestions are requested!

Call for Experimental Themes

@poena wanted to remind folks that all kinds of submissions are welcome in a call for experimental themes:

Q&A

Following the updates, a lively discussion ensued. Please refer to those conversations in Slack if they are of interest to you:

#block-based-meeting, #meeting, #meeting-notes, #trt