You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/material/schematics/ng-generate/m3-theme/schema.json
+3-20Lines changed: 3 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -30,27 +30,10 @@
30
30
"x-prompt": "What is the directory you want to place the generated theme file in? (Enter the relative path such as 'src/app/styles/' or leave blank to generate at your project root)"
31
31
},
32
32
"themeTypes": {
33
-
"type": "array",
34
-
"items": {
35
-
"type": "string",
36
-
"enum": ["light", "dark"]
37
-
},
33
+
"type": "string",
34
+
"enum": ["light", "dark", "both"],
38
35
"description": "The components to migrate.",
39
-
"x-prompt": {
40
-
"message": "Choose light, dark, or both to generate the corresponding themes",
41
-
"type": "list",
42
-
"multiselect": true,
43
-
"items": [
44
-
{
45
-
"value": "light",
46
-
"label": "light"
47
-
},
48
-
{
49
-
"value": "dark",
50
-
"label": "dark"
51
-
}
52
-
]
53
-
}
36
+
"x-prompt": "Choose light, dark, or both to generate the corresponding themes"
0 commit comments