themes-kindergarten/schemas/mascot_hero.schema.json
Alex Dunmow ffe46a146c initial: theme plugin kindergarten
Bootstrapped during the 2026-06-06 BlockNinja consolidation. Was previously
an unversioned directory inside ~/src/blockninja-themes/kindergarten.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-06 14:11:35 +08:00

47 lines
1.3 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Mascot Hero",
"description": "Big rounded panel with mascot SVG, headline, tagline, and a primary-colored CTA.",
"type": "object",
"properties": {
"mascot": {
"type": "string",
"title": "Mascot",
"description": "Mascot character to render in the hero panel.",
"x-editor": "select",
"enum": ["pip", "blocks", "star", "balloon"],
"default": "pip"
},
"headline": {
"type": "string",
"title": "Headline",
"description": "Big, hand-lettered headline.",
"x-editor": "text"
},
"tagline": {
"type": "string",
"title": "Tagline",
"description": "Friendly one-liner under the headline.",
"x-editor": "text"
},
"ctaLabel": {
"type": "string",
"title": "CTA Label",
"description": "Pill button label (e.g. 'Enrol today').",
"x-editor": "text"
},
"ctaHref": {
"type": "string",
"title": "CTA Link",
"description": "Where the pill button points.",
"x-editor": "link"
},
"bgColor": {
"type": "string",
"title": "Background Wash",
"description": "Optional HSL triple (e.g. '48 95% 58%') to tint the hero wash. Leave blank to use theme accent.",
"x-editor": "color"
}
}
}