Skip to content
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

WIP: Use Custom Block Margin v3 by default #537

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from
133 changes: 0 additions & 133 deletions packages/themes/block-theme/includes/block-margin.php

This file was deleted.

2 changes: 1 addition & 1 deletion packages/themes/block-theme/t2.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@
"t2/wrap-custom-html-block"
],
"t2/custom-block-margin": {
"version": 2
"version": "experimental_v3"
}
}
14 changes: 0 additions & 14 deletions packages/themes/block-theme/theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,20 +40,6 @@
"12": 1.2,
"15": 1.5
},
"t2/custom-block-margin": {
"spacing": {
"00": "0",
"20": "var(--wp--preset--spacing--20)",
"30": "var(--wp--preset--spacing--30)",
"40": "var(--wp--preset--spacing--40)",
"50": "var(--wp--preset--spacing--50)",
"60": "var(--wp--preset--spacing--60)",
"70": "var(--wp--preset--spacing--70)",
"80": "var(--wp--preset--spacing--80)",
"default": "var(--wp--preset--spacing--80)",
"last": "var(--wp--preset--spacing--80)"
}
},
"t2/featured-content-layout": {
"spacing": {
"rowGap": "var(--wp--preset--spacing--50)",
Expand Down
Loading