mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-06-26 22:26:05 +00:00
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:
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user