diff --git a/docs/adr/0001-compiled-sites-render-whole-sections.md b/docs/adr/0001-compiled-sites-render-whole-sections.md new file mode 100644 index 0000000..0cfeb61 --- /dev/null +++ b/docs/adr/0001-compiled-sites-render-whole-sections.md @@ -0,0 +1,19 @@ +# Compiled sites render whole sections on pastel-dream + +Decided 2026-11-20 for pastel-dream 0.5.2, from the website factory's visual review (orchestrator WO-094, ADR 0078). + +## Context + +The website factory compiles a customer's site onto this theme and renders every page at 1280 and 390 pixels wide. The review found template defects that show on a real site as an empty region, an unreadable hero or a page wider than a phone. + +## Decision + +- rich-section renders one column with the text at a readable width when the section has no image. It used to keep a two-column grid with an empty media cell, so a compiled site whose about or contact section was waiting for a photo showed half the section blank. +- The navbar background is opaque and has no backdrop blur. A backdrop filter makes the navbar the containing block of its fixed mobile drawer, so the hidden drawer widened every page at phone width and could be scrolled into view. + +## Consequences + +- pastel-dream 0.5.2 is published to the dev registry; the orchestrator's `internal/factory/themes.yaml` pins it. +- No schema field changes. A site that sets the old values renders as before wherever it has an image. + +Keywords: pastel-dream, rich-section, media, mediaPosition, empty column, hero, overlayColor, scrim, contrast, navbar, backdrop-blur, bn-navbar-drawer, team columns, WO-094, website factory, render review diff --git a/plugin.mod b/plugin.mod index 8d2e2d3..7ed34a5 100644 --- a/plugin.mod +++ b/plugin.mod @@ -2,7 +2,7 @@ name = "pastel-dream" display_name = "Pastel Dream" scope = "@themes" -version = "0.5.1" +version = "0.5.2" description = "Soft bakery and patisserie theme — watercolor washes, scalloped edges, rounded menu cards, and seasonal specials in blush, berry, and lilac." kind = "theme" categories = ["templates"] diff --git a/templates/overrides/pastel-dream/navbar.ninjatpl b/templates/overrides/pastel-dream/navbar.ninjatpl index e4ea0ff..15ab5d3 100644 --- a/templates/overrides/pastel-dream/navbar.ninjatpl +++ b/templates/overrides/pastel-dream/navbar.ninjatpl @@ -9,7 +9,7 @@ {% macro dropdown(item) %}