fix: add missing options to schema.json (#9051)

* Add new style options to schema.json

The schema at ui.shadcn.com/schema.json is missing newly introduced style variants used by ui.shadcn.com/create.

This causes JSON schema validation errors when generating configs with the new styles.

This updates the style enum to include all currently supported style combinations.

* Add missing menuColor and menuAccent options to schema.json
This commit is contained in:
Mert
2025-12-14 01:18:41 +03:00
committed by GitHub
parent d3156c09ae
commit f4e0f671de

View File

@@ -4,7 +4,7 @@
"properties": {
"style": {
"type": "string",
"enum": ["default", "new-york"]
"enum": ["default", "new-york", "radix-vega", "radix-nova", "radix-maia", "radix-lyra", "radix-mira", "base-vega", "base-nova", "base-maia", "base-lyra", "base-mira"]
},
"tailwind": {
"type": "object",
@@ -57,6 +57,14 @@
},
"required": ["utils", "components"]
},
"menuColor": {
"type": "string",
"enum": ["default", "inverted"]
},
"menuAccent": {
"type": "string",
"enum": ["subtle", "bold"]
},
"registries": {
"type": "object",
"patternProperties": {