-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Block Styles Breakdown #20331
Copy link
Copy link
Closed
Labels
Global StylesAnything related to the broader Global Styles efforts, including Styles Engine and theme.jsonAnything related to the broader Global Styles efforts, including Styles Engine and theme.json[Feature] Design ToolsTools that impact the appearance of blocks both to expand the number of tools and improve the experiTools that impact the appearance of blocks both to expand the number of tools and improve the experi[Type] OverviewComprehensive, high level view of an area of focus often with multiple tracking issuesComprehensive, high level view of an area of focus often with multiple tracking issues
Metadata
Metadata
Assignees
Labels
Global StylesAnything related to the broader Global Styles efforts, including Styles Engine and theme.jsonAnything related to the broader Global Styles efforts, including Styles Engine and theme.json[Feature] Design ToolsTools that impact the appearance of blocks both to expand the number of tools and improve the experiTools that impact the appearance of blocks both to expand the number of tools and improve the experi[Type] OverviewComprehensive, high level view of an area of focus often with multiple tracking issuesComprehensive, high level view of an area of focus often with multiple tracking issues
Type
Fields
Give feedbackNo fields configured for issues without a type.
This is an overview of the concrete tasks needed to proceed with the project scope of #9534 (see also #19611). It operates on three levels, or style origins: local blocks, theme defaults, and global modifications.
First 🌊
Goal: prototype a system that connects the three style origins and demonstrates how it works for a few top-level blocks.
Infrastructure
Ensure at all times the editor reflects the front faithfully.
font-size,color) and introduce missing properties (line-height,family). Consolidate the style attributes of blocks #22700theme.jsonspecification for controlling the editor and the style attributes of different origins. Document experimental theme.json #22518 Block editor: Controlling the Block Editor #20588Interface
These are the different tools that interact with appearance values.
edit-site. This should be a straightforward rendering of a sidebar in the site editor displaying the global values and palette. Add global styles sidebar at edit site screen #24250Second 🌊
Goal: develop all necessary sub-systems.
Infrastructure
Prepare a core patch for 5.7 (closed)Global Styles in WordPress 5.7 #27506Control design tools visibility (superseded)Controlling design tools visibility #27295globalselector intodefaultsandrootUpdate theme.json: split global block selector into root and defaults #28533/24165.
global. Automatically generate required preset classes #25768Interface
Third 🌊
Goal: merge the non UI parts of global styles in WordPress 5.8.
block.json / block supports:
border-width,border-style,border-colortheme.json:
wp_themetaxonomy instead of post_name to associate user styles with particular themes.Internationalization:
Docs:
theme.jsondocs for WordPress 5.8 #33131theme.json. Theexperimental-link-colortheme support will be deprecated and removed when the plugin requires WordPress 5.8 as the minimum version. Update documentation for link color in WordPress 5.8 #33162__experimentalSkipSerialization.Extensibility:
Bug fixes
settings.colorno longer have the theme colors Theme's color palette no longer returned via Block Editor settings #32027 Enqueue core and theme colors by using separate structures per origin. #32358Fourth 🌊
Follow-ups to WordPress 5.8 release.
Block supports:
theme.json:
textandbackgroundcolor viatheme.json#34414theme.json#34317layout.wideWidthvalue #34507Stylesheet:
Performance:
theme.jsonto style individual blocks #33977Interface
Backlog
The things listed here don't need to be necessarily implemented, but should be considered.
block.json: nothing planned
theme.json
core/group core/paragraph. Updates to experimental-theme.json #28163font,color, pagebackground) can be conceptualized as attributes of a root Site block. [Explore] Site Block #16998 Related: consider global site width and padding Explore adding site width and padding to global styles #20771Expand to more style properties:
heightSeparator: Add means to control height #28409marginCustom Margin/Padding to column block #25988widthAdd width to setting and styles #31037wp_register_font_family.Extensibility:
theme.jsonconfigs (including user preferences) as part of exporting templates & template parts Exporting Block Themes and Styles #27941 Site Editor: Export global style settings #27528Interface:
__experimentalSelectorof the heading block). How is this in the new UI?Iterate on design tools:
Misc:
prefers-color-schememedia-query #24368