| { |
| "$schema": "http://json-schema.org/schema", |
| "id": "angular-material-ng-add", |
| "title": "Angular Material ng-add schematic", |
| "type": "object", |
| "properties": { |
| "project": { |
| "type": "string", |
| "description": "Name of the project.", |
| "$default": { |
| "$source": "projectName" |
| } |
| }, |
| "theme": { |
| "description": "The theme to apply", |
| "type": "string", |
| "default": "indigo-pink", |
| "x-prompt": { |
| "message": "Choose a prebuilt theme name, or \"custom\" for a custom theme:", |
| "type": "list", |
| "items": [ |
| { "value": "indigo-pink", "label": "Indigo/Pink [ Preview: https://material.angular.io?theme=indigo-pink ]" }, |
| { "value": "deeppurple-amber", "label": "Deep Purple/Amber [ Preview: https://material.angular.io?theme=deeppurple-amber ]" }, |
| { "value": "pink-bluegrey", "label": "Pink/Blue Grey [ Preview: https://material.angular.io?theme=pink-bluegrey ]" }, |
| { "value": "purple-green", "label": "Purple/Green [ Preview: https://material.angular.io?theme=purple-green ]" }, |
| { "value": "custom", "label": "Custom" } |
| ] |
| } |
| }, |
| "gestures": { |
| "type": "boolean", |
| "default": true, |
| "description": "Whether gesture support should be set up.", |
| "x-prompt": "Set up HammerJS for gesture recognition?" |
| }, |
| "animations": { |
| "type": "boolean", |
| "default": true, |
| "description": "Whether Angular browser animations should be set up.", |
| "x-prompt": "Set up browser animations for Angular Material?" |
| } |
| }, |
| "required": [] |
| } |