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

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

35 lines
1.1 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Masthead",
"description": "Newspaper-style masthead with wordmark, optional kicker, hairline rule, and section navigation menu.",
"type": "object",
"properties": {
"title": {
"type": "string",
"title": "Wordmark",
"description": "The publication name. Rendered in Playfair Display 900 italic.",
"x-editor": "text"
},
"kicker": {
"type": "string",
"title": "Kicker",
"description": "Small mono caption above the wordmark (e.g. issue label or established date).",
"x-editor": "text"
},
"menuName": {
"type": "string",
"title": "Section Menu",
"description": "Menu providing the section navigation links rendered beneath the masthead.",
"x-editor": "menu-select"
},
"compact": {
"type": "string",
"title": "Compact Mode",
"description": "Use the compact masthead variant (single line) on article pages.",
"x-editor": "select",
"enum": ["false", "true"],
"default": "false"
}
}
}