WO-TF-013. Bring the coffee theme up to the frozen OVERRIDE-CONTRACT: - 49 mandatory builtin overrides in templates/overrides/coffee/ (chrome, marketing, primitives, commerce/local, blog family, auth surface, page-suggestions), each re-skinned in cafe/roastery chrome over the builtin data model. Legacy button/heading/image/text field reads updated to the new builtin contract (link/label/style, media/text). - Signature moves: chalkboard menu panel (menu-list), hand-drawn doodle dividers, torn-paper edges, kraft-tag stamped buttons, circular roast stamps, hours "today" highlight. Semantic tokens only; CSS-first motion with prefers-reduced-motion fallbacks. - 7 page templates: default, landing, article, full-width, blog-index, contact, auth. - Blocks rework: deleted the five builtin-duplicating theme blocks (menu_board, hours_strip, location_card, footer, doodle_divider) — now overrides. Kept/added 4 persona blocks: featured_pour, roast_profile, loyalty_card, brew_guide. - 5 dual-mode presets (mode "both"), all 19 tokens, light and dark tuned. - Bundled Fraunces / Work Sans / Caveat woff2 (OFL, latin subset, license recorded); fonts.json populated; all font-family via var(--font-*). Updated RECOMMENDED_FONTS.md, added RECOMMENDED_ICONS.md; required_icon_packs declared. - Themed email-safe wrapper retained (tables, inline styles). - Master pages rebuilt on builtin keys. Demo seed (demo:true): home, about, blog + 3 posts, contact (form + contact_submissions data table + row_inserted email-admins workflow), login. Cafe voice. make (codeless build + verify) and check-safety both exit 0. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
52 lines
1.3 KiB
JSON
52 lines
1.3 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"title": "Featured Pour",
|
|
"description": "Hero card for a featured coffee, tea, or pastry with image, tasting notes and price",
|
|
"type": "object",
|
|
"properties": {
|
|
"label": {
|
|
"type": "string",
|
|
"title": "Badge Label",
|
|
"description": "Hand-drawn badge text",
|
|
"default": "Featured pour",
|
|
"x-editor": "text"
|
|
},
|
|
"origin": {
|
|
"type": "string",
|
|
"title": "Origin / Kicker",
|
|
"description": "Small hand-drawn line above the name (e.g. \"Single origin\")",
|
|
"x-editor": "text"
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"title": "Name",
|
|
"description": "Item name (e.g. \"Ethiopia Yirgacheffe\")",
|
|
"x-editor": "text"
|
|
},
|
|
"tasting": {
|
|
"type": "string",
|
|
"title": "Tasting Notes",
|
|
"description": "Rich text tasting description",
|
|
"x-editor": "richtext"
|
|
},
|
|
"image": {
|
|
"type": "string",
|
|
"title": "Image",
|
|
"description": "Hero image",
|
|
"x-editor": "media"
|
|
},
|
|
"currency": {
|
|
"type": "string",
|
|
"title": "Currency Symbol",
|
|
"default": "$",
|
|
"x-editor": "text"
|
|
},
|
|
"price": {
|
|
"type": "string",
|
|
"title": "Price",
|
|
"description": "Price displayed in mono type (e.g. \"6.50\")",
|
|
"x-editor": "text"
|
|
}
|
|
}
|
|
}
|