fix(corporate-modernist): unbreak contact-form template register (Wave B blocker)
The mobile inline <style> emitted '@media (min-width:640px){#contact-form-...'
— the '{#' before the ID selector is the ninjatpl comment-open token, so
the lexer read the rest of the line as a single-line comment and failed
on the trailing newline ('Newline not permitted in a single-line comment').
Strict full re-register (theme hot-swap / InstallFromRegistry) 500s on it,
blocking every theme upgrade; the /contact page is also broken. Insert a
space ('){ #contact-form') — valid CSS, breaks the token. Only occurrence
across all templates. make build/verify don't lex templates, so it slipped.
bump to 0.4.2
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
df486e06bd
commit
517ca93b01
@ -2,7 +2,7 @@
|
||||
name = "corporate-modernist"
|
||||
display_name = "Corporate Modernist"
|
||||
scope = "@themes"
|
||||
version = "0.4.1"
|
||||
version = "0.4.2"
|
||||
description = "Swiss-grid B2B theme with restrained typography, a single configurable accent, and trust-signal blocks for enterprise sites."
|
||||
kind = "theme"
|
||||
categories = ["templates"]
|
||||
|
||||
@ -30,5 +30,5 @@
|
||||
{% endwith %}
|
||||
{% endif %}
|
||||
</div></section>
|
||||
<style>#contact-form-{{ bid }} .cm-form-grid{display:grid;grid-template-columns:repeat(1, minmax(0, 1fr));gap:1.25rem;margin-top:2rem;}@media (min-width:640px){#contact-form-{{ bid }} .cm-form-grid{grid-template-columns:repeat(2, minmax(0, 1fr));}}#contact-form-{{ bid }} .cm-field--full{grid-column:1 / -1;}#contact-form-{{ bid }} .cm-label{display:block;margin-bottom:0.375rem;font-size:0.8125rem;font-weight:500;color:hsl(var(--foreground));font-family:var(--font-heading, "Inter Tight", "Inter", system-ui, sans-serif);}#contact-form-{{ bid }} .cm-input{width:100%;padding:0.5rem 0.75rem;font-size:0.9375rem;font-family:var(--font-body, "Inter", system-ui, sans-serif);color:hsl(var(--foreground));background:hsl(var(--background));border:1px solid hsl(var(--input));border-radius:4px;box-sizing:border-box;}#contact-form-{{ bid }} .cm-input:focus{outline:2px solid hsl(var(--ring));outline-offset:1px;}</style>
|
||||
<style>#contact-form-{{ bid }} .cm-form-grid{display:grid;grid-template-columns:repeat(1, minmax(0, 1fr));gap:1.25rem;margin-top:2rem;}@media (min-width:640px){ #contact-form-{{ bid }} .cm-form-grid{grid-template-columns:repeat(2, minmax(0, 1fr));}}#contact-form-{{ bid }} .cm-field--full{grid-column:1 / -1;}#contact-form-{{ bid }} .cm-label{display:block;margin-bottom:0.375rem;font-size:0.8125rem;font-weight:500;color:hsl(var(--foreground));font-family:var(--font-heading, "Inter Tight", "Inter", system-ui, sans-serif);}#contact-form-{{ bid }} .cm-input{width:100%;padding:0.5rem 0.75rem;font-size:0.9375rem;font-family:var(--font-body, "Inter", system-ui, sans-serif);color:hsl(var(--foreground));background:hsl(var(--background));border:1px solid hsl(var(--input));border-radius:4px;box-sizing:border-box;}#contact-form-{{ bid }} .cm-input:focus{outline:2px solid hsl(var(--ring));outline-offset:1px;}</style>
|
||||
{% endwith %}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user