fix: render whole sections for factory-compiled sites (0.5.5)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
0782498812
commit
8dd3f09356
18
docs/adr/0004-hero-links-meet-contrast.md
Normal file
18
docs/adr/0004-hero-links-meet-contrast.md
Normal file
@ -0,0 +1,18 @@
|
||||
# Hero links meet contrast on magazine-bold
|
||||
|
||||
Decided 2026-11-20 for magazine-bold 0.5.5, from the website factory's visual review (orchestrator WO-094, ADR 0078), after ADRs 0001 and 0002 shipped.
|
||||
|
||||
## 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
|
||||
|
||||
- The hero's secondary link uses the foreground colour with a primary-coloured underline. In the primary colour it measured 3.7:1 on the hero card, under the AA minimum for its size.
|
||||
|
||||
## Consequences
|
||||
|
||||
- magazine-bold 0.5.5 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: magazine-bold, rich-section, media, mediaPosition, empty column, hero, overlayColor, scrim, contrast, navbar, backdrop-blur, bn-navbar-drawer, team columns, WO-094, website factory, render review
|
||||
@ -2,7 +2,7 @@
|
||||
name = "magazine-bold"
|
||||
display_name = "Magazine Bold"
|
||||
scope = "@themes"
|
||||
version = "0.5.4"
|
||||
version = "0.5.5"
|
||||
description = "A streetwear label's cover-story chrome: massive condensed uppercase headlines, duotone imagery, grid-breaking overlap and fluoro accent slabs. Newsprint plus voltage by day, ink-black plus fluoro by night. For fashion drops, lookbooks and culture publications."
|
||||
kind = "theme"
|
||||
categories = ["templates"]
|
||||
|
||||
@ -17,7 +17,7 @@
|
||||
{% if descText %}<p class="mt-4 max-w-xl leading-relaxed{% if align == "center" %} mx-auto{% endif %}" style="color:hsl(var(--muted-foreground));">{{ descText }}</p>{% endif %}
|
||||
{% if pText or sText %}<div class="mt-8 flex flex-col sm:flex-row gap-4{% if align == "center" %} justify-center{% endif %}">
|
||||
{% if pText and pUrl %}<a href="{{ pUrl }}" class="mb-button inline-flex items-center justify-center gap-2">{{ pText }}</a>{% endif %}
|
||||
{% if sText and sUrl %}<a href="{{ sUrl }}" class="mb-link inline-flex items-center justify-center">{{ sText }}</a>{% endif %}
|
||||
{% if sText and sUrl %}<a href="{{ sUrl }}" class="mb-link inline-flex items-center justify-center" style="color:hsl(var(--foreground));text-decoration-color:hsl(var(--primary));">{{ sText }}</a>{% endif %}
|
||||
</div>{% endif %}
|
||||
{% if trustLogos %}<div class="mt-10">
|
||||
<p class="mb-caps text-xs text-muted-foreground mb-3">Acclaim</p>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user