|
6 | 6 | "properties": {
|
7 | 7 | "project": {
|
8 | 8 | "type": "string",
|
9 |
| - "description": "The name of the project.", |
| 9 | + "description": "Name of the project.", |
10 | 10 | "$default": {
|
11 | 11 | "$source": "projectName"
|
12 | 12 | }
|
13 | 13 | },
|
14 | 14 | "theme": {
|
15 |
| - "enum": ["indigo-pink", "deeppurple-amber", "pink-bluegrey", "purple-green", "custom"], |
16 |
| - "default": "indigo-pink", |
17 | 15 | "description": "The theme to apply",
|
18 |
| - "x-prompt": "Enter a prebuilt theme name, or \"custom\" for a custom theme:" |
| 16 | + "type": "string", |
| 17 | + "default": "indigo-pink", |
| 18 | + "x-prompt": { |
| 19 | + "message": "Choose a prebuilt theme name, or \"custom\" for a custom theme:", |
| 20 | + "type": "list", |
| 21 | + "items": [ |
| 22 | + { "value": "indigo-pink", "label": "Indigo/Pink [ Preview: https://material.angular.io?theme=indigo-pink ]" }, |
| 23 | + { "value": "deeppurple-amber", "label": "Deep Purple/Amber [ Preview: https://material.angular.io?theme=deeppurple-amber ]" }, |
| 24 | + { "value": "pink-bluegrey", "label": "Pink/Blue Grey [ Preview: https://material.angular.io?theme=pink-bluegrey ]" }, |
| 25 | + { "value": "purple-green", "label": "Purple/Green [ Preview: https://material.angular.io?theme=purple-green ]" }, |
| 26 | + { "value": "custom", "label": "Custom" } |
| 27 | + ] |
| 28 | + } |
19 | 29 | },
|
20 | 30 | "gestures": {
|
21 | 31 | "type": "boolean",
|
22 | 32 | "default": true,
|
23 |
| - "description": "Whether gesture support should be set up or not.", |
| 33 | + "description": "Whether gesture support should be set up.", |
24 | 34 | "x-prompt": "Set up HammerJS for gesture recognition?"
|
25 | 35 | },
|
26 | 36 | "animations": {
|
27 | 37 | "type": "boolean",
|
28 | 38 | "default": true,
|
29 |
| - "description": "Whether Angular browser animations should be set up or not.", |
| 39 | + "description": "Whether Angular browser animations should be set up.", |
30 | 40 | "x-prompt": "Set up browser animations for Angular Material?"
|
31 | 41 | }
|
32 | 42 | },
|
|
0 commit comments