-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Theme.json: Extend block style variations support #56540
Commits on Jan 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a65a9f5 - Browse repository at this point
Copy the full SHA a65a9f5View commit details -
Extend theme.json schema for extended block style variations
Block style variations can now also contain inner block type and element styles. Currently the inner block styles are not recursive in that they do not support nested style variations.
Configuration menu - View commit details
-
Copy full SHA for 8da9d1f - Browse repository at this point
Copy the full SHA 8da9d1fView commit details -
Update PHP processing of block style variations in theme.json
Includes: - absorbing block style variations from the block styles registry into theme.json - updating metadata and stylesheet generation from variations to support inner block and element styles
Configuration menu - View commit details
-
Copy full SHA for 01d1843 - Browse repository at this point
Copy the full SHA 01d1843View commit details -
Configuration menu - View commit details
-
Copy full SHA for 883c467 - Browse repository at this point
Copy the full SHA 883c467View commit details -
Allow non-core block style variations to be configured within Global …
…Styles This initial approach will restrict the block style variations configurable within Global Styles to core block styles and those registered and possessing matching styles within the base theme.json.
Configuration menu - View commit details
-
Copy full SHA for 5f17722 - Browse repository at this point
Copy the full SHA 5f17722View commit details -
Configuration menu - View commit details
-
Copy full SHA for a4d54d6 - Browse repository at this point
Copy the full SHA a4d54d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for e5b5196 - Browse repository at this point
Copy the full SHA e5b5196View commit details -
Configuration menu - View commit details
-
Copy full SHA for b66a1cb - Browse repository at this point
Copy the full SHA b66a1cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4744dc3 - Browse repository at this point
Copy the full SHA 4744dc3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1130551 - Browse repository at this point
Copy the full SHA 1130551View commit details -
Configuration menu - View commit details
-
Copy full SHA for d49e029 - Browse repository at this point
Copy the full SHA d49e029View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7582c5f - Browse repository at this point
Copy the full SHA 7582c5fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7426a3d - Browse repository at this point
Copy the full SHA 7426a3dView commit details -
Bump block instance elements specificity
Think change is still up for debate. If accepted it may be a breaking change that needs plenty of communication.
Configuration menu - View commit details
-
Copy full SHA for f48dd57 - Browse repository at this point
Copy the full SHA f48dd57View commit details -
Configuration menu - View commit details
-
Copy full SHA for c47aa41 - Browse repository at this point
Copy the full SHA c47aa41View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9aca87e - Browse repository at this point
Copy the full SHA 9aca87eView commit details -
Bump element styles specificity again for overcoming variation styles
This ensures that element styles placed upon a block instance by the user take precedence over element styles for a block type within a block style variation e.g. `styles.blocks.core/group.variations.custom.blocks.core/media-text.elements`
Configuration menu - View commit details
-
Copy full SHA for a003477 - Browse repository at this point
Copy the full SHA a003477View commit details -
Configuration menu - View commit details
-
Copy full SHA for 562a9fa - Browse repository at this point
Copy the full SHA 562a9faView commit details
Commits on Jan 15, 2024
-
Revert "Bump element styles specificity again for overcoming variatio…
…n styles" This reverts commit a003477.
Configuration menu - View commit details
-
Copy full SHA for f09833f - Browse repository at this point
Copy the full SHA f09833fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 29180f7 - Browse repository at this point
Copy the full SHA 29180f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6413ecd - Browse repository at this point
Copy the full SHA 6413ecdView commit details -
Revert "Add element styles for inner blocks within a variation to sit…
…e editor" This reverts commit 562a9fa.
Configuration menu - View commit details
-
Copy full SHA for 4f56178 - Browse repository at this point
Copy the full SHA 4f56178View commit details -
Revert "Reinstate processing of variation > block > elements in block…
… node generation" This reverts commit 9aca87e.
Configuration menu - View commit details
-
Copy full SHA for f092ad7 - Browse repository at this point
Copy the full SHA f092ad7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 15270b6 - Browse repository at this point
Copy the full SHA 15270b6View commit details
Commits on Jan 16, 2024
-
Revert "Fix block style selectors when root block selector is an elem…
…ent" This reverts commit 15270b6.
Configuration menu - View commit details
-
Copy full SHA for 6fb1cfb - Browse repository at this point
Copy the full SHA 6fb1cfbView commit details