From 9888c6a20bac7c788da2a98152f6901b03ea25ca Mon Sep 17 00:00:00 2001 From: martinalong Date: Tue, 16 Dec 2025 22:20:45 -0800 Subject: [PATCH] Add forgotten style variable --- specification/draft/apps.mdx | 1 + src/generated/schema.json | 24 ++++++++++++++++++++++++ src/generated/schema.ts | 1 + src/spec.types.ts | 1 + 4 files changed, 27 insertions(+) diff --git a/specification/draft/apps.mdx b/specification/draft/apps.mdx index d8c663f..0a6eae2 100644 --- a/specification/draft/apps.mdx +++ b/specification/draft/apps.mdx @@ -544,6 +544,7 @@ type McpUiStyleVariableKey = | "--color-text-success" | "--color-text-warning" | "--color-text-disabled" + | "--color-text-ghost" // Border colors | "--color-border-primary" | "--color-border-secondary" diff --git a/src/generated/schema.json b/src/generated/schema.json index 5af29fe..5d45348 100644 --- a/src/generated/schema.json +++ b/src/generated/schema.json @@ -350,6 +350,10 @@ "type": "string", "const": "--color-text-disabled" }, + { + "type": "string", + "const": "--color-text-ghost" + }, { "type": "string", "const": "--color-border-primary" @@ -961,6 +965,10 @@ "type": "string", "const": "--color-text-disabled" }, + { + "type": "string", + "const": "--color-text-ghost" + }, { "type": "string", "const": "--color-border-primary" @@ -1405,6 +1413,10 @@ "type": "string", "const": "--color-text-disabled" }, + { + "type": "string", + "const": "--color-text-ghost" + }, { "type": "string", "const": "--color-border-primary" @@ -2079,6 +2091,10 @@ "type": "string", "const": "--color-text-disabled" }, + { + "type": "string", + "const": "--color-text-ghost" + }, { "type": "string", "const": "--color-border-primary" @@ -3159,6 +3175,10 @@ "type": "string", "const": "--color-text-disabled" }, + { + "type": "string", + "const": "--color-text-ghost" + }, { "type": "string", "const": "--color-border-primary" @@ -3468,6 +3488,10 @@ "type": "string", "const": "--color-text-disabled" }, + { + "type": "string", + "const": "--color-text-ghost" + }, { "type": "string", "const": "--color-border-primary" diff --git a/src/generated/schema.ts b/src/generated/schema.ts index f522502..a389b6d 100644 --- a/src/generated/schema.ts +++ b/src/generated/schema.ts @@ -48,6 +48,7 @@ export const McpUiStyleVariableKeySchema = z z.literal("--color-text-success"), z.literal("--color-text-warning"), z.literal("--color-text-disabled"), + z.literal("--color-text-ghost"), z.literal("--color-border-primary"), z.literal("--color-border-secondary"), z.literal("--color-border-tertiary"), diff --git a/src/spec.types.ts b/src/spec.types.ts index d1ed449..0a04b87 100644 --- a/src/spec.types.ts +++ b/src/spec.types.ts @@ -61,6 +61,7 @@ export type McpUiStyleVariableKey = | "--color-text-success" | "--color-text-warning" | "--color-text-disabled" + | "--color-text-ghost" // Border colors | "--color-border-primary" | "--color-border-secondary"