| 1 |
{ |
| 2 |
"$schema": "https://json-schema.org/draft/2020-12/schema", |
| 3 |
"$id": "extendify/launch-template/modal", |
| 4 |
"title": "Modal", |
| 5 |
"type": "object", |
| 6 |
"additionalProperties": false, |
| 7 |
"properties": { |
| 8 |
"--ext-tpl-modal-surface": { |
| 9 |
"type": "string", |
| 10 |
"default": "#f0f0f0", |
| 11 |
"x-card": "Surface", |
| 12 |
"x-label": "Fill", |
| 13 |
"x-control": "color", |
| 14 |
"x-inherits": "--ext-ui-surface" |
| 15 |
}, |
| 16 |
"--ext-tpl-modal-text": { |
| 17 |
"type": "string", |
| 18 |
"default": "#1e1e1e", |
| 19 |
"x-card": "Surface", |
| 20 |
"x-label": "Color", |
| 21 |
"x-control": "color", |
| 22 |
"x-inherits": "--ext-ui-ink" |
| 23 |
}, |
| 24 |
"--ext-tpl-modal-line": { |
| 25 |
"type": "string", |
| 26 |
"default": "#dddddd", |
| 27 |
"x-card": "Surface", |
| 28 |
"x-label": "Border", |
| 29 |
"x-control": "color", |
| 30 |
"x-inherits": "--ext-ui-line" |
| 31 |
}, |
| 32 |
"--ext-tpl-modal-action": { |
| 33 |
"type": "string", |
| 34 |
"default": "#2271b1", |
| 35 |
"x-card": "Action", |
| 36 |
"x-label": "Fill", |
| 37 |
"x-control": "color", |
| 38 |
"x-inherits": "--ext-ui-action" |
| 39 |
}, |
| 40 |
"--ext-tpl-modal-action-text": { |
| 41 |
"type": "string", |
| 42 |
"default": "#ffffff", |
| 43 |
"x-card": "Action", |
| 44 |
"x-label": "Color", |
| 45 |
"x-control": "color", |
| 46 |
"x-inherits": "--ext-ui-action-text" |
| 47 |
}, |
| 48 |
"--ext-tpl-modal-secondary-fill": { |
| 49 |
"type": "string", |
| 50 |
"default": "#f0f0f0", |
| 51 |
"x-card": "Secondary button", |
| 52 |
"x-label": "Fill", |
| 53 |
"x-control": "color", |
| 54 |
"x-inherits": "--ext-ui-secondary-fill" |
| 55 |
}, |
| 56 |
"--ext-tpl-modal-secondary-line": { |
| 57 |
"type": "string", |
| 58 |
"default": "#1e1e1e", |
| 59 |
"x-card": "Secondary button", |
| 60 |
"x-label": "Outline", |
| 61 |
"x-control": "color", |
| 62 |
"x-inherits": "--ext-ui-secondary-line" |
| 63 |
}, |
| 64 |
"--ext-tpl-modal-secondary-text": { |
| 65 |
"type": "string", |
| 66 |
"default": "#1e1e1e", |
| 67 |
"x-card": "Secondary button", |
| 68 |
"x-label": "Color", |
| 69 |
"x-control": "color", |
| 70 |
"x-inherits": "--ext-ui-secondary-text" |
| 71 |
}, |
| 72 |
"--ext-tpl-modal-link": { |
| 73 |
"type": "string", |
| 74 |
"default": "#2271b1", |
| 75 |
"x-card": "Link", |
| 76 |
"x-label": "Color", |
| 77 |
"x-control": "color", |
| 78 |
"x-inherits": "--ext-ui-action" |
| 79 |
}, |
| 80 |
"--ext-tpl-modal-radius": { |
| 81 |
"type": "number", |
| 82 |
"minimum": 0, |
| 83 |
"maximum": 48, |
| 84 |
"default": 24, |
| 85 |
"x-card": "Surface", |
| 86 |
"x-label": "Radius", |
| 87 |
"x-control": "length", |
| 88 |
"x-inherits": "--ext-ui-radius-card" |
| 89 |
}, |
| 90 |
"--ext-tpl-modal-border": { |
| 91 |
"type": "number", |
| 92 |
"minimum": 0, |
| 93 |
"maximum": 8, |
| 94 |
"default": 1, |
| 95 |
"x-card": "Surface", |
| 96 |
"x-label": "Border width", |
| 97 |
"x-control": "length", |
| 98 |
"x-inherits": "--ext-ui-border-width" |
| 99 |
}, |
| 100 |
"--ext-tpl-modal-pad": { |
| 101 |
"type": "number", |
| 102 |
"minimum": 0, |
| 103 |
"maximum": 64, |
| 104 |
"default": 24, |
| 105 |
"x-card": "Surface", |
| 106 |
"x-label": "Padding", |
| 107 |
"x-control": "length", |
| 108 |
"x-inherits": "--ext-ui-surface-padding" |
| 109 |
}, |
| 110 |
"--ext-tpl-modal-width": { |
| 111 |
"type": "number", |
| 112 |
"minimum": 280, |
| 113 |
"maximum": 960, |
| 114 |
"default": 448, |
| 115 |
"x-card": "Box", |
| 116 |
"x-label": "Box width", |
| 117 |
"x-control": "length" |
| 118 |
}, |
| 119 |
"--ext-tpl-modal-gap": { |
| 120 |
"type": "number", |
| 121 |
"minimum": 0, |
| 122 |
"maximum": 64, |
| 123 |
"default": 12, |
| 124 |
"x-card": "Box", |
| 125 |
"x-label": "Gap", |
| 126 |
"x-control": "length" |
| 127 |
}, |
| 128 |
"--ext-tpl-modal-align": { |
| 129 |
"type": "string", |
| 130 |
"enum": ["center", "left"], |
| 131 |
"default": "center", |
| 132 |
"x-card": "Box", |
| 133 |
"x-label": "Text", |
| 134 |
"x-control": "select", |
| 135 |
"x-options": [ |
| 136 |
{ |
| 137 |
"value": "center", |
| 138 |
"label": "Center" |
| 139 |
}, |
| 140 |
{ |
| 141 |
"value": "left", |
| 142 |
"label": "Left" |
| 143 |
} |
| 144 |
] |
| 145 |
}, |
| 146 |
"--ext-tpl-modal-actions-gap": { |
| 147 |
"type": "number", |
| 148 |
"minimum": 0, |
| 149 |
"maximum": 64, |
| 150 |
"default": 12, |
| 151 |
"x-card": "Actions", |
| 152 |
"x-label": "Gap", |
| 153 |
"x-control": "length" |
| 154 |
} |
| 155 |
} |
| 156 |
} |
| 157 |
|