WordPress / gutenberg

The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
https://wordpress.org/gutenberg/
Other
10.54k stars 4.21k forks source link

Global Styles Ongoing Roadmap #41232

Open mtias opened 2 years ago

mtias commented 2 years ago

Previously #34574, #9534, #37550. This issue tracks the ongoing roadmap of global styles features and theme.json development.


Style Variations

Variations

The theme objects were designed to be composable. The next idea to unlock is to allow full style objects to be attached to specific templates or patterns. The style objects are managed globally and hooked into concrete templates or patterns. That would allow styling an archive very differently to other templates; having specific color palettes and font sizes for a header template; or using synchronized patterns while modifying them through style objects managed globally.

Style Book

Style Book

Interface

UI

Tools

annezazu commented 2 years ago

I'd like to list the following for inclusion in this general roadmap: https://github.com/WordPress/gutenberg/issues/44840, https://github.com/WordPress/gutenberg/issues/29388. In particular, being able to have more granular information when saving feels critical in a world of style variations and an increasing number of controls within Styles.

oandregal commented 2 years ago

Substituted https://github.com/WordPress/gutenberg/issues/33977 (closed, high-level strategic point of view) by https://github.com/WordPress/gutenberg/issues/45198 (tactical next steps) in the "per block styles & supports" section.

mtias commented 1 year ago

Reorganizing the issue, documenting done tasks here for posterity: