v0.2.0 - Design Editor: templates, patterns, header/footer variations
All checks were successful
Create Release Package / PHP Lint (push) Successful in 57s
Create Release Package / Build Release (push) Successful in 1m23s

Full Design Editor compatibility with custom block categories, page templates,
header/footer variations, and navigation styles. Both FSE (admin) and Twig
(frontend) sides kept in sync.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2026-02-08 16:05:29 +01:00
parent cb288d6e74
commit cc8dc9d357
53 changed files with 13863 additions and 39 deletions

View File

@@ -215,6 +215,59 @@
}
]
},
"shadow": {
"defaultPresets": false,
"presets": [
{
"name": "Small",
"slug": "sm",
"shadow": "0 0.125rem 0.25rem rgba(0, 0, 0, 0.075)"
},
{
"name": "Regular",
"slug": "md",
"shadow": "0 0.5rem 1rem rgba(0, 0, 0, 0.15)"
},
{
"name": "Large",
"slug": "lg",
"shadow": "0 1rem 3rem rgba(0, 0, 0, 0.175)"
}
]
},
"dimensions": {
"aspectRatios": [
{
"name": "16:9",
"slug": "16-9",
"ratio": "16/9"
},
{
"name": "4:3",
"slug": "4-3",
"ratio": "4/3"
},
{
"name": "1:1",
"slug": "1-1",
"ratio": "1/1"
},
{
"name": "3:4",
"slug": "3-4",
"ratio": "3/4"
}
]
},
"custom": {
"layout": {
"contentSize": "720px",
"wideSize": "1140px"
},
"spacing": {
"baseline": "1.5rem"
}
},
"useRootPaddingAwareAlignments": true
},
"styles": {
@@ -450,6 +503,26 @@
"name": "home-sidebar",
"postTypes": ["page"],
"title": "Blog with Sidebar"
},
{
"name": "page-landing",
"postTypes": ["page"],
"title": "Landing Page (No Header/Footer)"
},
{
"name": "page-full-width",
"postTypes": ["page"],
"title": "Full Width"
},
{
"name": "page-hero",
"postTypes": ["page"],
"title": "Page with Hero"
},
{
"name": "page-sidebar",
"postTypes": ["page", "post"],
"title": "Page with Sidebar"
}
],
"templateParts": [
@@ -458,11 +531,31 @@
"name": "header",
"title": "Header"
},
{
"area": "header",
"name": "header-centered",
"title": "Header - Centered"
},
{
"area": "header",
"name": "header-transparent",
"title": "Header - Transparent"
},
{
"area": "footer",
"name": "footer",
"title": "Footer"
},
{
"area": "footer",
"name": "footer-minimal",
"title": "Footer - Minimal"
},
{
"area": "footer",
"name": "footer-columns",
"title": "Footer - Multi-Column"
},
{
"area": "uncategorized",
"name": "sidebar",