You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are currently loading blocks from the theme. Blocks are not tightly coupled to a theme. We should be writing CSS in viewStyles rather than in the CSS of the theme. This is better for CWV when using a block based theme as the styles will not load if the block is not on the page.
This makes it far easier to build multiple themes that share custom blocks or when working on projects that have a design refresh and need to more easily update their frontend to match new designs
plugins/block-library would have the scaffold generation and any block related code
The text was updated successfully, but these errors were encountered:
We are currently loading blocks from the theme. Blocks are not tightly coupled to a theme. We should be writing CSS in
viewStyles
rather than in the CSS of the theme. This is better for CWV when using a block based theme as the styles will not load if the block is not on the page.This makes it far easier to build multiple themes that share custom blocks or when working on projects that have a design refresh and need to more easily update their frontend to match new designs
plugins/block-library
would have the scaffold generation and any block related codeThe text was updated successfully, but these errors were encountered: