Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
142fb8dcf4 | ||
|
|
85cac0f4f1 | ||
|
|
d9d3e37365 | ||
|
|
38178746fb | ||
|
|
298d988e75 |
18
docs/adr/0001-compiled-sites-render-whole-sections.md
Normal file
18
docs/adr/0001-compiled-sites-render-whole-sections.md
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# Compiled sites render whole sections on scifi-clean
|
||||||
|
|
||||||
|
Decided 2026-11-20 for scifi-clean 0.4.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
|
||||||
|
|
||||||
|
- team honours `columns` (2, 3 or 4) in its grid layout, so two people no longer sit in a four-column row with two empty cells. With no `columns` the fixed responsive ramp is unchanged.
|
||||||
|
|
||||||
|
## Consequences
|
||||||
|
|
||||||
|
- scifi-clean 0.4.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: scifi-clean, rich-section, media, mediaPosition, empty column, hero, overlayColor, scrim, contrast, navbar, backdrop-blur, bn-navbar-drawer, team columns, WO-094, website factory, render review
|
||||||
18
docs/adr/0002-compiled-sites-second-render-review.md
Normal file
18
docs/adr/0002-compiled-sites-second-render-review.md
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# Second render review of compiled sites on scifi-clean
|
||||||
|
|
||||||
|
Decided 2026-11-20 for scifi-clean 0.4.3, from the website factory's visual review (orchestrator WO-094, ADR 0078), after ADR 0001 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 split hero section is no longer itself a two-column grid. With one child it squeezed the hero into the left half; the inner grid now splits text and image at 1024 pixels when there is an image.
|
||||||
|
|
||||||
|
## Consequences
|
||||||
|
|
||||||
|
- scifi-clean 0.4.3 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: scifi-clean, rich-section, media, mediaPosition, empty column, hero, overlayColor, scrim, contrast, navbar, backdrop-blur, bn-navbar-drawer, team columns, WO-094, website factory, render review
|
||||||
@ -0,0 +1,18 @@
|
|||||||
|
# Every preset colour meets AA with its foreground
|
||||||
|
|
||||||
|
Decided 2026-11-20 for scifi-clean 0.4.4, from the website factory's final render pass (orchestrator WO-096, ADR 0084).
|
||||||
|
|
||||||
|
## Context
|
||||||
|
|
||||||
|
The website factory compiles a customer's site onto this theme. The render pass screenshots every page at 1280 and 390 pixels and measures every button's text against its fill.
|
||||||
|
|
||||||
|
## Decision
|
||||||
|
|
||||||
|
- Every preset's primary, secondary, accent and destructive colour meets AA (4.5:1) with its foreground in both schemes. The render pass measures every button, and these pairs were under it: cleanroom dark accent; cleanroom dark destructive; cleanroom light accent; flightline dark accent; flightline dark destructive; flightline light accent; graphite-lab dark destructive; graphite-lab light accent; signal-cyan dark destructive; signal-cyan light accent; signal-cyan light primary. Each colour moved the least lightness (at most ten points) that reaches 4.5 with its own foreground, and a colour that could not switched its foreground to white or near-black; a token that held the same colour (the ring) moved with it. The orchestrator's brand colour step keeps whatever contrast a preset has, so a preset under AA also left a branded site under it.
|
||||||
|
|
||||||
|
## Consequences
|
||||||
|
|
||||||
|
- scifi-clean 0.4.4 is published to the dev registry; the orchestrator's `internal/factory/themes.yaml` pins it.
|
||||||
|
- No schema field changes. A site keeps the colours it has until a preset is applied again.
|
||||||
|
|
||||||
|
Keywords: scifi-clean, presets, AA, button contrast, primaryForeground, accentForeground, secondaryForeground, destructiveForeground, WO-096, website factory, render pass
|
||||||
@ -0,0 +1,18 @@
|
|||||||
|
# The centred hero centres its rule and buttons
|
||||||
|
|
||||||
|
Decided 2026-11-22 for scifi-clean 0.4.5, from the website factory's launch runs (orchestrator WO-101, ADR 0092).
|
||||||
|
|
||||||
|
## Context
|
||||||
|
|
||||||
|
The website factory now builds a hero that has no photo as the centred hero (orchestrator ADR 0092); it used the left-aligned one, which kept the text to 60 characters at the left and left the right half of the hero empty (Sentinel Lynx). The first rebuilt site showed the centred hero's buttons still at the left under centred text.
|
||||||
|
|
||||||
|
## Decision
|
||||||
|
|
||||||
|
- The centred hero (every variant but left-aligned) carries `sc-hero--center`, which centres the schematic rule, the button row and the trust logo row with its text. The rule sets its margin inline, so the centring rule overrides it.
|
||||||
|
|
||||||
|
## Consequences
|
||||||
|
|
||||||
|
- scifi-clean 0.4.5 is published to the dev registry; the orchestrator's `internal/factory/themes.yaml` pins it.
|
||||||
|
- No schema field changes. Production sites on this theme pick the change up with the automatic theme update; the regression check for sites the factory did not build compared the production release with 0.4.5 (orchestrator `docs/works/evidence/WO-101/theme-regression/`).
|
||||||
|
|
||||||
|
Keywords: hero, centered, sc-hero--center, sc-btn-row, sc-logo-row, sc-schematic, WO-101, website factory, launch runs, scifi-clean
|
||||||
@ -201,6 +201,9 @@ css:
|
|||||||
.sc-btn-sm { padding: 0.375rem 0.875rem; font-size: 0.875rem; }
|
.sc-btn-sm { padding: 0.375rem 0.875rem; font-size: 0.875rem; }
|
||||||
.sc-btn-lg { padding: 0.875rem 1.75rem; font-size: 1.0625rem; }
|
.sc-btn-lg { padding: 0.875rem 1.75rem; font-size: 1.0625rem; }
|
||||||
.sc-btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
|
.sc-btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
|
||||||
|
/* The centred hero centres its rule, buttons and logos with its text; the rule sets its margin inline. */
|
||||||
|
.sc-hero--center .sc-btn-row, .sc-hero--center .sc-logo-row { justify-content: center; }
|
||||||
|
.sc-hero--center .sc-schematic { margin-left: auto !important; margin-right: auto !important; }
|
||||||
.sc-icon { width: 1em; height: 1em; display: inline-block; vertical-align: -0.125em; }
|
.sc-icon { width: 1em; height: 1em; display: inline-block; vertical-align: -0.125em; }
|
||||||
|
|
||||||
/* --- Surfaces / cards --- */
|
/* --- Surfaces / cards --- */
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
name = "scifi-clean"
|
name = "scifi-clean"
|
||||||
display_name = "Sci-Fi Clean"
|
display_name = "Sci-Fi Clean"
|
||||||
scope = "@themes"
|
scope = "@themes"
|
||||||
version = "0.4.1"
|
version = "0.4.5"
|
||||||
description = "Minimalist futurist theme for aerospace, robotics, and R&D — off-white surfaces, technical blue, signal-orange accents, mono numerals."
|
description = "Minimalist futurist theme for aerospace, robotics, and R&D — off-white surfaces, technical blue, signal-orange accents, mono numerals."
|
||||||
kind = "theme"
|
kind = "theme"
|
||||||
categories = ["templates"]
|
categories = ["templates"]
|
||||||
|
|||||||
24
presets.json
24
presets.json
@ -26,7 +26,7 @@
|
|||||||
"muted": "210 14% 94%",
|
"muted": "210 14% 94%",
|
||||||
"mutedForeground": "215 12% 42%",
|
"mutedForeground": "215 12% 42%",
|
||||||
"accent": "18 95% 55%",
|
"accent": "18 95% 55%",
|
||||||
"accentForeground": "0 0% 100%",
|
"accentForeground": "0 0% 9%",
|
||||||
"destructive": "0 78% 50%",
|
"destructive": "0 78% 50%",
|
||||||
"destructiveForeground": "0 0% 100%",
|
"destructiveForeground": "0 0% 100%",
|
||||||
"border": "215 14% 86%",
|
"border": "215 14% 86%",
|
||||||
@ -47,8 +47,8 @@
|
|||||||
"muted": "220 12% 14%",
|
"muted": "220 12% 14%",
|
||||||
"mutedForeground": "215 10% 60%",
|
"mutedForeground": "215 10% 60%",
|
||||||
"accent": "18 100% 60%",
|
"accent": "18 100% 60%",
|
||||||
"accentForeground": "0 0% 100%",
|
"accentForeground": "0 0% 9%",
|
||||||
"destructive": "0 80% 55%",
|
"destructive": "0 80% 52%",
|
||||||
"destructiveForeground": "0 0% 100%",
|
"destructiveForeground": "0 0% 100%",
|
||||||
"border": "220 14% 20%",
|
"border": "220 14% 20%",
|
||||||
"input": "220 14% 18%",
|
"input": "220 14% 18%",
|
||||||
@ -82,7 +82,7 @@
|
|||||||
"secondaryForeground": "220 40% 10%",
|
"secondaryForeground": "220 40% 10%",
|
||||||
"muted": "210 16% 96%",
|
"muted": "210 16% 96%",
|
||||||
"mutedForeground": "215 14% 38%",
|
"mutedForeground": "215 14% 38%",
|
||||||
"accent": "18 92% 50%",
|
"accent": "18 92% 43%",
|
||||||
"accentForeground": "0 0% 100%",
|
"accentForeground": "0 0% 100%",
|
||||||
"destructive": "0 78% 48%",
|
"destructive": "0 78% 48%",
|
||||||
"destructiveForeground": "0 0% 100%",
|
"destructiveForeground": "0 0% 100%",
|
||||||
@ -104,8 +104,8 @@
|
|||||||
"muted": "220 16% 13%",
|
"muted": "220 16% 13%",
|
||||||
"mutedForeground": "215 12% 62%",
|
"mutedForeground": "215 12% 62%",
|
||||||
"accent": "18 100% 62%",
|
"accent": "18 100% 62%",
|
||||||
"accentForeground": "0 0% 100%",
|
"accentForeground": "0 0% 9%",
|
||||||
"destructive": "0 80% 58%",
|
"destructive": "0 80% 52%",
|
||||||
"destructiveForeground": "0 0% 100%",
|
"destructiveForeground": "0 0% 100%",
|
||||||
"border": "220 18% 20%",
|
"border": "220 18% 20%",
|
||||||
"input": "220 18% 18%",
|
"input": "220 18% 18%",
|
||||||
@ -133,19 +133,19 @@
|
|||||||
"cardForeground": "200 40% 11%",
|
"cardForeground": "200 40% 11%",
|
||||||
"popover": "0 0% 100%",
|
"popover": "0 0% 100%",
|
||||||
"popoverForeground": "200 40% 11%",
|
"popoverForeground": "200 40% 11%",
|
||||||
"primary": "192 82% 38%",
|
"primary": "192 82% 33%",
|
||||||
"primaryForeground": "0 0% 100%",
|
"primaryForeground": "0 0% 100%",
|
||||||
"secondary": "195 22% 91%",
|
"secondary": "195 22% 91%",
|
||||||
"secondaryForeground": "200 40% 16%",
|
"secondaryForeground": "200 40% 16%",
|
||||||
"muted": "195 20% 94%",
|
"muted": "195 20% 94%",
|
||||||
"mutedForeground": "200 14% 40%",
|
"mutedForeground": "200 14% 40%",
|
||||||
"accent": "35 95% 50%",
|
"accent": "35 95% 50%",
|
||||||
"accentForeground": "0 0% 100%",
|
"accentForeground": "0 0% 9%",
|
||||||
"destructive": "0 76% 48%",
|
"destructive": "0 76% 48%",
|
||||||
"destructiveForeground": "0 0% 100%",
|
"destructiveForeground": "0 0% 100%",
|
||||||
"border": "195 18% 85%",
|
"border": "195 18% 85%",
|
||||||
"input": "195 18% 87%",
|
"input": "195 18% 87%",
|
||||||
"ring": "192 82% 38%"
|
"ring": "192 82% 33%"
|
||||||
},
|
},
|
||||||
"darkColors": {
|
"darkColors": {
|
||||||
"background": "198 30% 6%",
|
"background": "198 30% 6%",
|
||||||
@ -162,7 +162,7 @@
|
|||||||
"mutedForeground": "195 12% 60%",
|
"mutedForeground": "195 12% 60%",
|
||||||
"accent": "38 100% 58%",
|
"accent": "38 100% 58%",
|
||||||
"accentForeground": "200 40% 8%",
|
"accentForeground": "200 40% 8%",
|
||||||
"destructive": "0 80% 58%",
|
"destructive": "0 80% 52%",
|
||||||
"destructiveForeground": "0 0% 100%",
|
"destructiveForeground": "0 0% 100%",
|
||||||
"border": "198 20% 19%",
|
"border": "198 20% 19%",
|
||||||
"input": "198 20% 17%",
|
"input": "198 20% 17%",
|
||||||
@ -197,7 +197,7 @@
|
|||||||
"muted": "220 12% 93%",
|
"muted": "220 12% 93%",
|
||||||
"mutedForeground": "220 10% 42%",
|
"mutedForeground": "220 10% 42%",
|
||||||
"accent": "24 80% 52%",
|
"accent": "24 80% 52%",
|
||||||
"accentForeground": "0 0% 100%",
|
"accentForeground": "0 0% 9%",
|
||||||
"destructive": "0 74% 48%",
|
"destructive": "0 74% 48%",
|
||||||
"destructiveForeground": "0 0% 100%",
|
"destructiveForeground": "0 0% 100%",
|
||||||
"border": "220 12% 85%",
|
"border": "220 12% 85%",
|
||||||
@ -219,7 +219,7 @@
|
|||||||
"mutedForeground": "220 10% 60%",
|
"mutedForeground": "220 10% 60%",
|
||||||
"accent": "26 88% 58%",
|
"accent": "26 88% 58%",
|
||||||
"accentForeground": "220 20% 8%",
|
"accentForeground": "220 20% 8%",
|
||||||
"destructive": "0 78% 56%",
|
"destructive": "0 78% 52%",
|
||||||
"destructiveForeground": "0 0% 100%",
|
"destructiveForeground": "0 0% 100%",
|
||||||
"border": "220 12% 22%",
|
"border": "220 12% 22%",
|
||||||
"input": "220 12% 20%",
|
"input": "220 12% 20%",
|
||||||
|
|||||||
@ -20,7 +20,7 @@
|
|||||||
{% if trustLogos %}<div class="sc-hairline-top" style="margin-top: 3rem; padding-top: 1.5rem;"><p class="sc-kicker sc-eyebrow" style="margin-bottom: 1rem; color: hsl(var(--muted-foreground));">Trusted by</p><div class="sc-logo-row" style="display: flex; flex-wrap: wrap; align-items: center; gap: 2rem;">{% for logo in trustLogos %}{% if logo.url %}<a href="{{ logo.url }}">{% img logo.image alt=logo.alt class="sc-logo" %}</a>{% else %}{% img logo.image alt=logo.alt class="sc-logo" %}{% endif %}{% endfor %}</div></div>{% endif %}
|
{% if trustLogos %}<div class="sc-hairline-top" style="margin-top: 3rem; padding-top: 1.5rem;"><p class="sc-kicker sc-eyebrow" style="margin-bottom: 1rem; color: hsl(var(--muted-foreground));">Trusted by</p><div class="sc-logo-row" style="display: flex; flex-wrap: wrap; align-items: center; gap: 2rem;">{% for logo in trustLogos %}{% if logo.url %}<a href="{{ logo.url }}">{% img logo.image alt=logo.alt class="sc-logo" %}</a>{% else %}{% img logo.image alt=logo.alt class="sc-logo" %}{% endif %}{% endfor %}</div></div>{% endif %}
|
||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
{% if variant == "split" %}
|
{% if variant == "split" %}
|
||||||
<section class="sc-hero grid grid-cols-1 gap-12 lg:grid-cols-2 items-center {{ class }}" style="padding-top: 4rem; padding-bottom: 4rem;"><div class="sc-content-well"><div class="grid grid-cols-1 gap-6 {% if backgroundImage %}sm:grid-cols-2{% endif %} items-center"><div>{{ herobody() }}</div>{% if backgroundImage %}<div class="sc-media-frame" style="aspect-ratio: 4 / 3; background: hsl(var(--muted)); border: 1px solid hsl(var(--border)); overflow: hidden; {% if mediaPosition == "left" %}order: -1;{% endif %}">{% img backgroundImage alt=headlineText class="sc-hero-media" %}</div>{% endif %}</div></div></section>
|
<section class="sc-hero {{ class }}" style="padding-top: 4rem; padding-bottom: 4rem;"><div class="sc-content-well"><div class="grid grid-cols-1 gap-12 {% if backgroundImage %}lg:grid-cols-2{% endif %} items-center"><div>{{ herobody() }}</div>{% if backgroundImage %}<div class="sc-media-frame" style="aspect-ratio: 4 / 3; background: hsl(var(--muted)); border: 1px solid hsl(var(--border)); overflow: hidden; {% if mediaPosition == "left" %}order: -1;{% endif %}">{% img backgroundImage alt=headlineText class="sc-hero-media" %}</div>{% endif %}</div></div></section>
|
||||||
{% else %}
|
{% else %}
|
||||||
<section class="sc-hero {{ class }}" style="padding-top: 4.5rem; padding-bottom: 3.5rem; {% if variant == "left-aligned" %}text-align: left;{% else %}text-align: center;{% endif %}"><div class="sc-content-well" style="{% if variant != "left-aligned" %}display: flex; flex-direction: column; align-items: center;{% endif %}"><div style="max-width: 60ch; width: 100%;">{{ herobody() }}</div></div></section>
|
<section class="sc-hero{% if variant != "left-aligned" %} sc-hero--center{% endif %} {{ class }}" style="padding-top: 4.5rem; padding-bottom: 3.5rem; {% if variant == "left-aligned" %}text-align: left;{% else %}text-align: center;{% endif %}"><div class="sc-content-well" style="{% if variant != "left-aligned" %}display: flex; flex-direction: column; align-items: center;{% endif %}"><div style="max-width: 60ch; width: 100%;">{{ herobody() }}</div></div></section>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
<section class="sc-section {{ class }}"><div class="sc-content-well">
|
<section class="sc-section {{ class }}"><div class="sc-content-well">
|
||||||
{% if heading %}<h2 class="sc-heading" style="font-size: clamp(1.75rem, 3vw, 2.25rem); margin: 0 0 0.75rem 0;"><span class="sc-heading-h2-accent">{{ heading }}</span></h2>{% endif %}
|
{% if heading %}<h2 class="sc-heading" style="font-size: clamp(1.75rem, 3vw, 2.25rem); margin: 0 0 0.75rem 0;"><span class="sc-heading-h2-accent">{{ heading }}</span></h2>{% endif %}
|
||||||
{% if intro %}<p class="sc-lede" style="max-width: 60ch; margin: 0 0 2.5rem 0; color: hsl(var(--muted-foreground));">{{ intro }}</p>{% endif %}
|
{% if intro %}<p class="sc-lede" style="max-width: 60ch; margin: 0 0 2.5rem 0; color: hsl(var(--muted-foreground));">{{ intro }}</p>{% endif %}
|
||||||
{% if members %}<div class="{% if layout == "list" %}sc-stack{% elif layout == "single" %}sc-measure{% else %}grid grid-cols-1 gap-6 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4{% endif %}">{% for member in members %}<div class="sc-feature">
|
{% if members %}<div class="{% if layout == "list" %}sc-stack{% elif layout == "single" %}sc-measure{% elif columns == 2 %}grid grid-cols-1 gap-6 sm:grid-cols-2{% elif columns == 3 %}grid grid-cols-1 gap-6 sm:grid-cols-2 lg:grid-cols-3{% elif columns == 4 %}grid grid-cols-1 gap-6 sm:grid-cols-2 lg:grid-cols-4{% else %}grid grid-cols-1 gap-6 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4{% endif %}">{% for member in members %}<div class="sc-feature">
|
||||||
{% if member.photo %}<div class="sc-media-frame" style="aspect-ratio: 1 / 1; background: hsl(var(--muted)); border: 1px solid hsl(var(--border)); overflow: hidden; margin-bottom: 1rem;">{% img member.photo alt=member.name class="sc-team-photo" %}</div>{% endif %}
|
{% if member.photo %}<div class="sc-media-frame" style="aspect-ratio: 1 / 1; background: hsl(var(--muted)); border: 1px solid hsl(var(--border)); overflow: hidden; margin-bottom: 1rem;">{% img member.photo alt=member.name class="sc-team-photo" %}</div>{% endif %}
|
||||||
{% if member.name %}<h3 class="sc-feature-title" style="margin: 0;">{{ member.name }}</h3>{% endif %}
|
{% if member.name %}<h3 class="sc-feature-title" style="margin: 0;">{{ member.name }}</h3>{% endif %}
|
||||||
{% if member.role %}<div class="sc-stat-label" style="margin-top: 0.25rem;">{{ member.role }}</div>{% endif %}
|
{% if member.role %}<div class="sc-stat-label" style="margin-top: 0.25rem;">{{ member.role }}</div>{% endif %}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user