themes-y2k/blocks/marquee.schema.json
Alex Dunmow a86a54639a feat: convert to codeless .bnp — templates + manifest, Go/templ deleted (WO-WZ-021)
Convert the Y2K theme from a Go+templ wasm plugin to a fully codeless .bnp:
blocks/blocks.yaml + .ninjatpl, page/system templates, template overrides,
email wrapper, master pages and CSS declared in manifest.yaml. All *.go, *.templ,
*_templ.go, go.mod and go.sum deleted; schemas moved schemas/ -> blocks/.

Static parity proven 48/48 identical against the templ baseline (10 blocks x
full+empty+variant branches, 4 overrides incl. heading L1-6, email full+empty).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-04 15:10:52 +08:00

33 lines
769 B
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Marquee Ticker",
"description": "Scrolling text strip with chrome edges. Pauses on hover/focus.",
"type": "object",
"properties": {
"items": {
"type": "array",
"title": "Items",
"description": "Lines to scroll across the marquee.",
"x-editor": "array",
"items": {
"type": "string"
},
"default": []
},
"speed": {
"type": "string",
"title": "Speed",
"x-editor": "select",
"enum": ["slow", "medium", "fast"],
"default": "medium"
},
"direction": {
"type": "string",
"title": "Direction",
"x-editor": "select",
"enum": ["left", "right"],
"default": "left"
}
}
}