Re-persona noir from photography to the locked detective/true-crime
direction: case-file panels, typewriter type, redaction bars, evidence
board, film grain. High-key gallery (light) / darkroom black + amber
safelight (dark).
- 49 mandatory builtin overrides (chrome, marketing, primitives,
commerce, blog family, auth, page-suggestions), re-skinned from the
frozen builtin defaults with every field/provider/tag/JS preserved;
legacy button/card field reads reconciled to the new contract.
- 7 page templates (default, full-width, landing, article, blog-index,
contact, auth) + themed email wrapper.
- 4 persona blocks (case_file, evidence_board, redacted_quote,
case_dossier); old photography blocks deleted (now overrides).
- 5 dual-mode presets (19 tokens, light+dark tuned).
- Bundled OFL fonts (Source Serif 4, IBM Plex Mono) + licenses;
RECOMMENDED_FONTS/ICONS updated; required_icon_packs=lucide.
- Master pages + seed demo ("The Cold File": home/about/blog x3/contact
with case_tips data table + row_inserted email-admins workflow/login).
- noir CSS vocabulary via manifest css.input_css_append; MID motion
(scroll-reveal + gallery lightbox, reduced-motion honored, no canvas).
Verified: make build exit 0; check-safety 32 checks 19 ok 13 skip -> OK.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
14 lines
1.3 KiB
Plaintext
14 lines
1.3 KiB
Plaintext
{# noir override — password-reset-form; preserves #reset-message, /api/auth/request-password-reset (email) HTMX wiring, #request-reset-panel, hx-disabled-elt, back-to-sign-in link. #}
|
|
<div data-block-override="noir:password-reset-form" class="password-reset-form noir-file mx-auto max-w-md bg-card p-8">
|
|
<div id="reset-message"></div>
|
|
<div id="request-reset-panel" class="text-center">
|
|
<h2 class="noir-heading text-2xl" style="color:hsl(var(--foreground));">Reset password</h2>
|
|
<p class="noir-body mt-3 text-sm" style="color:hsl(var(--muted-foreground));">Enter your email and we will send a link to reset your password.</p>
|
|
<form hx-post="/api/auth/request-password-reset" hx-target="#reset-message" hx-swap="innerHTML" class="mt-6 text-left">
|
|
<div class="mb-4"><label class="noir-label block mb-1" style="color:hsl(var(--primary));">Email</label><input type="email" name="email" required class="w-full rounded-none border border-input bg-background px-3 py-2 text-sm focus:outline-none focus:border-[hsl(var(--primary))] focus:ring-1 focus:ring-ring" /></div>
|
|
<button type="submit" class="noir-btn noir-btn-solid w-full" hx-disabled-elt="this">Send reset link</button>
|
|
</form>
|
|
<p class="text-center mt-4 text-sm"><a href="/login" class="noir-link">Back to sign in</a></p>
|
|
</div>
|
|
</div>
|