themes-pastel-dream/manifest.yaml
Alex Dunmow 1ee98d318a feat(pastel-dream): WO-TF-023 bakery/patisserie theme — full Wave A rebuild
Pivot from the wellness/spa WZ-021 state to the locked bakery/patisserie
persona. Codeless .bnp, verified against cms a0f07e2ae (OVERRIDE-CONTRACT).

- 49 mandatory template overrides (+ manifest entries), re-skinned from the
  field-correct coffee sibling: every content field, provider var, custom tag
  and JS preserved verbatim; only styling + copy changed. §4 button/card reads
  reconciled (link/style/label, text/media).
- 7 page templates: default, landing, article, full-width, blog-index,
  contact, auth.
- 4 persona blocks: seasonal_specials, cake_gallery, order_ribbon, bakers_note
  (old 6 duplicate-builtin blocks deleted -> now overrides).
- 5 dual-mode presets (morning-haze/berry-cream/matcha-cream/lavender-honey/
  peach-blossom), all 19 tokens, tuned dusk-berry dark.
- Bundled OFL fonts: Fraunces (heading) + Quicksand (body); all font-family via
  var(--font-*). Themed email-safe wrapper. master_pages + demo seed (home,
  about, blog x3, contact w/ data-table + row_inserted email workflow, login).
- CSS-FIRST motion: watercolor washes, scalloped edges, soft pills; reduced-
  motion honored.

Gates: make -> exit 0 (codeless .bnp); check-safety -> 19 ok 13 skip, exit 0.
Known limits per contract §11/§12 (auth trio + page-suggestions + provider-
backed lists inert until cms fix). Visuals UNVERIFIED until Wave B.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-05 12:41:03 +08:00

359 lines
15 KiB
YAML

# Pastel Dream theme — codeless .bnp manifest (Wave A, WO-TF-023).
# Bakery / patisserie persona. Synthesized into manifest.pb by
# `ninja plugin build` (no plugin.wasm).
theme_presets: presets.json
bundled_fonts: fonts.json
master_pages: master_pages.json
required_icon_packs:
- lucide
- simple-icons
system_templates:
- key: pastel-dream
title: Pastel Dream
description: "Soft bakery and patisserie theme — watercolor washes, scalloped edges, rounded menu cards and seasonal specials."
page_templates:
- system: pastel-dream
key: default
title: Default
description: "Header, main and footer over a soft watercolor wash."
slots: [header, main, footer]
- system: pastel-dream
key: landing
title: Landing
description: "Hero, menu, story and an invitation to order."
slots: [hero, menu, story, cta, footer]
- system: pastel-dream
key: article
title: Article
description: "Narrow reading column with a soft drop-cap for the journal and recipes."
slots: [header, main, footer]
- system: pastel-dream
key: full-width
title: Full Width
description: "Edge-to-edge galleries and counter shots."
slots: [header, main, footer]
- system: pastel-dream
key: blog-index
title: Blog Index
description: "Blog hero, featured posts and a post grid."
slots: [header, featured, main, footer]
- system: pastel-dream
key: contact
title: Contact
description: "Order and enquiry form, hours and pickup details."
slots: [header, main, footer]
- system: pastel-dream
key: auth
title: Auth
description: "Centered soft card for login, register and password reset."
slots: [main, footer]
email_wrappers:
- pastel-dream
template_overrides:
- { template: pastel-dream, block: announcement-bar }
- { template: pastel-dream, block: audio-embed }
- { template: pastel-dream, block: auth-form }
- { template: pastel-dream, block: author-bio }
- { template: pastel-dream, block: author-bio-hero }
- { template: pastel-dream, block: auth-status }
- { template: pastel-dream, block: blog-hero }
- { template: pastel-dream, block: breadcrumbs }
- { template: pastel-dream, block: button }
- { template: pastel-dream, block: card }
- { template: pastel-dream, block: category-list }
- { template: pastel-dream, block: contact-card }
- { template: pastel-dream, block: contact-form }
- { template: pastel-dream, block: countdown }
- { template: pastel-dream, block: cta }
- { template: pastel-dream, block: divider }
- { template: pastel-dream, block: event-list }
- { template: pastel-dream, block: faq }
- { template: pastel-dream, block: featured-posts }
- { template: pastel-dream, block: feature-grid }
- { template: pastel-dream, block: footer }
- { template: pastel-dream, block: gallery }
- { template: pastel-dream, block: heading }
- { template: pastel-dream, block: hero }
- { template: pastel-dream, block: hours-location }
- { template: pastel-dream, block: image }
- { template: pastel-dream, block: logo-strip }
- { template: pastel-dream, block: menu-list }
- { template: pastel-dream, block: navbar }
- { template: pastel-dream, block: newsletter-signup }
- { template: pastel-dream, block: page-suggestions }
- { template: pastel-dream, block: password-reset-form }
- { template: pastel-dream, block: popular-posts }
- { template: pastel-dream, block: post-hero }
- { template: pastel-dream, block: post-metadata }
- { template: pastel-dream, block: pricing }
- { template: pastel-dream, block: quote }
- { template: pastel-dream, block: related-posts }
- { template: pastel-dream, block: rich-section }
- { template: pastel-dream, block: rich-text }
- { template: pastel-dream, block: sidebar-nav }
- { template: pastel-dream, block: social-links }
- { template: pastel-dream, block: stats }
- { template: pastel-dream, block: team }
- { template: pastel-dream, block: testimonial }
- { template: pastel-dream, block: text }
- { template: pastel-dream, block: timeline }
- { template: pastel-dream, block: utility-bar }
- { template: pastel-dream, block: video-embed }
css:
input_css_append: |
/* Pastel Dream theme styles — bakery / patisserie.
*
* Dual-mode via the 19 shadcn-style HSL token CSS variables (--background,
* --foreground, --primary, --accent, --border, --muted, --card, ...) consumed
* as hsl(var(--token)). No literal colors anywhere. Font families resolve ONLY
* through the BlockNinja font variables (--font-heading, --font-body,
* --font-mono) with the fallback stacks below — never hardcoded, so the admin
* font picker keeps working.
*
* Motion tier: CSS-FIRST. Every animation is a gentle CSS drift and is disabled
* under prefers-reduced-motion. No canvas, no JS showpiece.
*/
:root {
--pd-heading-fallback: "Fraunces", "Playfair Display", Georgia, "Times New Roman", serif;
--pd-body-fallback: "Quicksand", "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
--pd-hand-fallback: "Quicksand", "Comfortaa", "Segoe Print", cursive;
--pd-mono-fallback: "JetBrains Mono", "Fira Code", Menlo, Consolas, monospace;
--pd-radius: 1.5rem;
}
/* --- Watercolor wash background ----------------------------------------- */
/* The signature "morning haze": soft radial pastel washes tinted from the
* active palette, drifting slowly. Reads as watercolor on cream in light mode
* and as a dusk-lilac glow in dark mode — all from the same tokens. */
body.pd-paper {
background-color: hsl(var(--background));
background-image:
radial-gradient(60% 55% at 15% 12%, hsl(var(--primary) / 0.14) 0%, transparent 60%),
radial-gradient(55% 50% at 85% 20%, hsl(var(--accent) / 0.12) 0%, transparent 58%),
radial-gradient(65% 60% at 75% 85%, hsl(var(--secondary) / 0.40) 0%, transparent 62%),
radial-gradient(50% 50% at 25% 90%, hsl(var(--primary) / 0.08) 0%, transparent 60%);
background-attachment: fixed;
background-repeat: no-repeat;
}
/* --- Type roles --------------------------------------------------------- */
.pd-display {
font-family: var(--font-heading, var(--pd-heading-fallback));
font-optical-sizing: auto;
font-feature-settings: "liga" 1, "dlig" 1;
letter-spacing: -0.005em;
}
.pd-body {
font-family: var(--font-body, var(--pd-body-fallback));
line-height: 1.7;
}
.pd-mono {
font-family: var(--font-mono, var(--pd-mono-fallback));
}
/* Sweet accent lettering (badges, captions, section titles). Routed through
* --font-heading with a rounded fallback: unassigned it renders Quicksand; if
* the admin sets a heading font the accents follow it (3-slot model intended). */
.pd-hand {
font-family: var(--font-heading, var(--pd-hand-fallback));
letter-spacing: 0.005em;
line-height: 1.2;
}
/* --- Brush underline ---------------------------------------------------- */
.pd-doodle-underline {
background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 Q 22 1 44 6 T 88 6 T 118 6' fill='none' stroke='currentColor' stroke-width='4' stroke-linecap='round' opacity='0.35'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: 0 100%;
background-size: 100% 0.55em;
padding-bottom: 0.16em;
}
/* --- Drop-cap ----------------------------------------------------------- */
.pd-dropcap > p:first-of-type::first-letter {
font-family: var(--font-heading, var(--pd-heading-fallback));
font-size: 3.8em;
line-height: 0.8;
float: left;
padding: 0.06em 0.14em 0 0;
color: hsl(var(--primary));
}
/* --- Soft pill button (icing-smooth, lifts on hover) -------------------- */
.pd-tag {
position: relative;
display: inline-flex;
align-items: center;
gap: 0.5rem;
padding: 0.7rem 1.5rem;
background-color: hsl(var(--primary));
color: hsl(var(--primary-foreground));
border: none;
border-radius: 9999px;
font-family: var(--font-body, var(--pd-body-fallback));
font-weight: 600;
letter-spacing: 0.01em;
box-shadow: 0 8px 22px -8px hsl(var(--primary) / 0.45);
transition: transform 220ms cubic-bezier(.22,1,.36,1), box-shadow 220ms cubic-bezier(.22,1,.36,1), background-color 220ms ease;
cursor: pointer;
}
.pd-tag:hover {
transform: translateY(-2px);
box-shadow: 0 14px 30px -8px hsl(var(--primary) / 0.52);
background-color: hsl(var(--primary) / 0.92);
}
.pd-tag:focus-visible {
outline: 2px solid hsl(var(--ring));
outline-offset: 3px;
}
.pd-tag--ghost {
background-color: transparent;
color: hsl(var(--primary));
box-shadow: none;
border: 1.5px solid hsl(var(--primary) / 0.45);
}
.pd-tag--ghost:hover {
background-color: hsl(var(--primary) / 0.08);
box-shadow: none;
}
/* --- Scalloped edges (piped-icing / doily trim) ------------------------- */
.pd-torn-top {
-webkit-mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M0 6 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 L120 12 L0 12 Z' fill='black'/%3E%3C/svg%3E");
mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M0 6 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 a6 6 0 0 1 12 0 L120 12 L0 12 Z' fill='black'/%3E%3C/svg%3E");
-webkit-mask-repeat: no-repeat;
mask-repeat: no-repeat;
-webkit-mask-size: 100% 100%;
mask-size: 100% 100%;
}
.pd-torn-bottom {
-webkit-mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M0 0 L120 0 L120 6 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 Z' fill='black'/%3E%3C/svg%3E");
mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M0 0 L120 0 L120 6 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 a6 6 0 0 1 -12 0 Z' fill='black'/%3E%3C/svg%3E");
-webkit-mask-repeat: no-repeat;
mask-repeat: no-repeat;
-webkit-mask-size: 100% 100%;
mask-size: 100% 100%;
}
/* --- Surfaces (rounded-everything) ------------------------------------- */
.pd-card {
background-color: hsl(var(--card));
color: hsl(var(--card-foreground));
border: 1px solid hsl(var(--border));
border-radius: var(--pd-radius);
box-shadow: 0 12px 40px -14px hsl(var(--primary) / 0.22), 0 4px 12px -6px hsl(var(--primary) / 0.10);
}
.pd-frame {
border: 1px solid hsl(var(--border));
background-color: hsl(var(--card));
border-radius: var(--pd-radius);
}
/* --- Menu card (soft pastel board for the menu-list override) ---------- */
/* Not an inverted chalkboard: a soft card with a primary wash. Text inherits
* card-foreground so item names and section titles stay legible in both modes. */
.pd-chalkboard {
position: relative;
background-color: hsl(var(--card));
background-image:
radial-gradient(70% 60% at 12% 8%, hsl(var(--primary) / 0.10) 0%, transparent 60%),
radial-gradient(60% 55% at 90% 92%, hsl(var(--accent) / 0.08) 0%, transparent 60%);
color: hsl(var(--card-foreground));
border: 1px solid hsl(var(--border));
border-radius: var(--pd-radius);
box-shadow: 0 16px 48px -18px hsl(var(--primary) / 0.28);
}
.pd-chalk-rule {
border-color: hsl(var(--border));
border-style: solid;
}
.pd-chalk-muted {
color: hsl(var(--muted-foreground));
}
/* --- Hours: today highlight -------------------------------------------- */
.pd-hours-today {
background-color: hsl(var(--accent) / 0.16);
color: hsl(var(--accent-foreground));
border-left: 3px solid hsl(var(--accent));
border-radius: 0 9999px 9999px 0;
padding-left: 0.75rem;
}
/* --- Location pin ------------------------------------------------------- */
.pd-pin {
color: hsl(var(--accent));
}
/* --- Soft badge (timeline markers) ------------------------------------- */
.pd-stamp {
display: inline-flex;
align-items: center;
justify-content: center;
width: 4rem;
height: 4rem;
border-radius: 9999px;
background-color: hsl(var(--accent));
color: hsl(var(--accent-foreground));
border: 3px solid hsl(var(--card));
box-shadow: 0 8px 20px -8px hsl(var(--accent) / 0.55);
font-family: var(--font-heading, var(--pd-hand-fallback));
font-size: 1.05rem;
text-align: center;
line-height: 1.05;
transition: transform 200ms cubic-bezier(.22,1,.36,1);
}
.pd-stamp:hover {
transform: scale(1.06);
}
.pd-stamp-sm {
width: 2.25rem;
height: 2.25rem;
font-size: 0.95rem;
box-shadow: none;
}
/* --- Brush divider draw-in --------------------------------------------- */
.pd-doodle-draw path,
.pd-doodle-draw ellipse,
.pd-doodle-draw circle {
stroke-dasharray: 260;
stroke-dashoffset: 260;
animation: pd-draw 1.6s ease forwards;
}
@keyframes pd-draw {
to { stroke-dashoffset: 0; }
}
/* --- Gentle atmosphere: slow wash drift (CSS-first signature) ----------- */
@keyframes pd-breathe {
0%, 100% { transform: scale(1); opacity: 0.9; }
50% { transform: scale(1.05); opacity: 1; }
}
.pd-breathe {
animation: pd-breathe 8s ease-in-out infinite;
}
/* --- Motion safety: static fallback ------------------------------------ */
@media (prefers-reduced-motion: reduce) {
.pd-tag,
.pd-stamp { transition: none; }
.pd-tag:hover,
.pd-stamp:hover { transform: none; }
.pd-breathe { animation: none; }
.pd-doodle-draw path,
.pd-doodle-draw ellipse,
.pd-doodle-draw circle {
stroke-dasharray: none;
stroke-dashoffset: 0;
animation: none;
}
}