/
githubmirror
/
components
Обзор
Документация
Войти
/
githubmirror
/
components
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/material/schematics/ng-add/schema.json
43 строки
1 KB
Andrew Seguin
fix(material/schematics): always add a custom theme with ng add (#31522)
16 июл 2025, 19:55
Не верифицирован
16 июл 2025, 19:55
ce40c02
Код
Авторство
О чём код?
{ "$schema": "http://json-schema.org/draft-07/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": "azure-blue", "x-prompt": { "message": "Select a pair of starter prebuilt color palettes for your Angular Material theme", "type": "list", "items": [ { "value": "azure-blue", "label": "Azure/Blue [Preview: https://material.angular.dev?theme=azure-blue]" }, { "value": "rose-red", "label": "Rose/Red [Preview: https://material.angular.dev?theme=rose-red]" }, { "value": "magenta-violet", "label": "Magenta/Violet [Preview: https://material.angular.dev?theme=magenta-violet]" }, { "value": "cyan-orange", "label": "Cyan/Orange [Preview: https://material.angular.dev?theme=cyan-orange]" } ] } } }, "required": [] }