| 1 |
{ |
| 2 |
"$schema": "https://json-schema.org/draft/2020-12/schema", |
| 3 |
"$id": "extendify/launch-template/choice", |
| 4 |
"title": "Choice", |
| 5 |
"type": "object", |
| 6 |
"additionalProperties": false, |
| 7 |
"properties": { |
| 8 |
"--ext-tpl-choice-gap": { |
| 9 |
"type": "number", |
| 10 |
"minimum": 0, |
| 11 |
"maximum": 96, |
| 12 |
"default": 24, |
| 13 |
"x-card": "Options", |
| 14 |
"x-label": "Gap", |
| 15 |
"x-control": "length" |
| 16 |
}, |
| 17 |
"--ext-tpl-choice-width": { |
| 18 |
"type": "number", |
| 19 |
"minimum": 320, |
| 20 |
"maximum": 1200, |
| 21 |
"default": 672, |
| 22 |
"x-card": "Options", |
| 23 |
"x-label": "Row width", |
| 24 |
"x-control": "length" |
| 25 |
}, |
| 26 |
"--ext-tpl-choice-align": { |
| 27 |
"type": "string", |
| 28 |
"enum": ["stretch", "flex-start", "center"], |
| 29 |
"default": "stretch", |
| 30 |
"x-card": "Options", |
| 31 |
"x-label": "Box heights", |
| 32 |
"x-control": "select", |
| 33 |
"x-options": [ |
| 34 |
{ |
| 35 |
"value": "stretch", |
| 36 |
"label": "Match" |
| 37 |
}, |
| 38 |
{ |
| 39 |
"value": "flex-start", |
| 40 |
"label": "Top" |
| 41 |
}, |
| 42 |
{ |
| 43 |
"value": "center", |
| 44 |
"label": "Middle" |
| 45 |
} |
| 46 |
] |
| 47 |
}, |
| 48 |
"--ext-tpl-choice-icon-pad": { |
| 49 |
"type": "number", |
| 50 |
"minimum": 0, |
| 51 |
"maximum": 96, |
| 52 |
"default": 40, |
| 53 |
"x-card": "Box", |
| 54 |
"x-label": "Icon space", |
| 55 |
"x-control": "length" |
| 56 |
}, |
| 57 |
"--ext-tpl-choice-copy-gap": { |
| 58 |
"type": "number", |
| 59 |
"minimum": 0, |
| 60 |
"maximum": 48, |
| 61 |
"default": 8, |
| 62 |
"x-card": "Box", |
| 63 |
"x-label": "Copy gap", |
| 64 |
"x-control": "length" |
| 65 |
}, |
| 66 |
"--ext-tpl-choice-box-gap": { |
| 67 |
"type": "number", |
| 68 |
"minimum": 0, |
| 69 |
"maximum": 48, |
| 70 |
"default": 0, |
| 71 |
"x-card": "Box", |
| 72 |
"x-label": "Row gap", |
| 73 |
"x-control": "length" |
| 74 |
}, |
| 75 |
"--ext-tpl-choice-highlight-border": { |
| 76 |
"type": "number", |
| 77 |
"minimum": 0, |
| 78 |
"maximum": 12, |
| 79 |
"default": 3, |
| 80 |
"x-card": "Highlight", |
| 81 |
"x-label": "Border", |
| 82 |
"x-control": "length" |
| 83 |
}, |
| 84 |
"--ext-tpl-choice-badge-height": { |
| 85 |
"type": "number", |
| 86 |
"minimum": 0, |
| 87 |
"maximum": 64, |
| 88 |
"default": 28, |
| 89 |
"x-card": "Highlight", |
| 90 |
"x-label": "Badge height", |
| 91 |
"x-control": "length" |
| 92 |
}, |
| 93 |
"--ext-tpl-choice-button-pad": { |
| 94 |
"type": "number", |
| 95 |
"minimum": 0, |
| 96 |
"maximum": 48, |
| 97 |
"default": 10, |
| 98 |
"x-card": "Button", |
| 99 |
"x-label": "Padding", |
| 100 |
"x-control": "length" |
| 101 |
}, |
| 102 |
"--ext-tpl-choice-button-pad-x": { |
| 103 |
"type": "number", |
| 104 |
"minimum": 0, |
| 105 |
"maximum": 64, |
| 106 |
"default": 20, |
| 107 |
"x-card": "Button", |
| 108 |
"x-label": "Padding sides", |
| 109 |
"x-control": "length" |
| 110 |
} |
| 111 |
} |
| 112 |
} |
| 113 |
|