[6a3a178] | 1 | {
|
---|
| 2 | "$schema": "http://json-schema.org/draft-07/schema",
|
---|
| 3 | "$id": "angular-material-ng-add",
|
---|
| 4 | "title": "Angular Material ng-add schematic",
|
---|
| 5 | "type": "object",
|
---|
| 6 | "properties": {
|
---|
| 7 | "project": {
|
---|
| 8 | "type": "string",
|
---|
| 9 | "description": "Name of the project.",
|
---|
| 10 | "$default": {
|
---|
| 11 | "$source": "projectName"
|
---|
| 12 | }
|
---|
| 13 | },
|
---|
| 14 | "theme": {
|
---|
| 15 | "description": "The theme to apply",
|
---|
| 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 | }
|
---|
| 29 | },
|
---|
| 30 | "typography": {
|
---|
| 31 | "type": "boolean",
|
---|
| 32 | "default": false,
|
---|
| 33 | "description": "Whether to set up global typography styles.",
|
---|
| 34 | "x-prompt": "Set up global Angular Material typography styles?"
|
---|
| 35 | },
|
---|
| 36 | "animations": {
|
---|
| 37 | "type": "boolean",
|
---|
| 38 | "default": true,
|
---|
| 39 | "description": "Whether Angular browser animations should be set up.",
|
---|
| 40 | "x-prompt": "Set up browser animations for Angular Material?"
|
---|
| 41 | }
|
---|
| 42 | },
|
---|
| 43 | "required": []
|
---|
| 44 | }
|
---|