From f4e0f671de030db49f9b5d6c1e3713000eebdf91 Mon Sep 17 00:00:00 2001 From: Mert <223351406+thisismert@users.noreply.github.com> Date: Sun, 14 Dec 2025 01:18:41 +0300 Subject: [PATCH] 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 --- apps/v4/public/schema.json | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/apps/v4/public/schema.json b/apps/v4/public/schema.json index e5c9496f1b..4c27087e62 100644 --- a/apps/v4/public/schema.json +++ b/apps/v4/public/schema.json @@ -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": {