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

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

35 lines
999 B
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Terminal CTA",
"description": "Faux $ prompt strip with blinking caret and optional copy-to-clipboard.",
"type": "object",
"properties": {
"prompt": {
"type": "string",
"title": "Prompt",
"description": "The command text following the $ glyph (e.g. npm i your-thing)",
"x-editor": "text"
},
"button": {
"type": "string",
"title": "Button label",
"description": "Label for the action button (e.g. Copy)",
"x-editor": "text"
},
"href": {
"type": "string",
"title": "Button URL",
"description": "Optional URL the button points at when copy is off",
"x-editor": "link"
},
"copyable": {
"type": "string",
"title": "Copy to clipboard",
"description": "When 'on' the button copies the prompt text instead of navigating",
"x-editor": "select",
"enum": ["on", "off"],
"default": "on"
}
}
}