From a5da7ceb2f1763ac5f8df7fa0c1c40df8633b03f Mon Sep 17 00:00:00 2001 From: Dominik Jain Date: Wed, 18 Feb 2026 17:05:52 +0100 Subject: [PATCH] :sparkles: Update TokenProperty values in system prompt Update based on changes to camelCase. See https://github.com/penpot/penpot-mcp/issues/38 --- .../server/data/initial_instructions.md | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/mcp/packages/server/data/initial_instructions.md b/mcp/packages/server/data/initial_instructions.md index 573f8e2f2f..e825ff9ed0 100644 --- a/mcp/packages/server/data/initial_instructions.md +++ b/mcp/packages/server/data/initial_instructions.md @@ -292,19 +292,19 @@ Applying tokens: - "all": applies the token to all properties it can control - TokenBorderRadiusProps: "r1", "r2", "r3", "r4" - TokenShadowProps: "shadow" - - TokenColorProps: "fill", "stroke-color" - - TokenDimensionProps: "x", "y", "stroke-width" - - TokenFontFamiliesProps: "font-families" - - TokenFontSizesProps: "font-size" - - TokenFontWeightProps: "font-weight" - - TokenLetterSpacingProps: "letter-spacing" - - TokenNumberProps: "rotation", "line-height" + - TokenColorProps: "fill", "strokeColor" + - TokenDimensionProps: "x", "y", "strokeWidth" + - TokenFontFamiliesProps: "fontFamilies" + - TokenFontSizesProps: "fontSize" + - TokenFontWeightProps: "fontWeight" + - TokenLetterSpacingProps: "letterSpacing" + - TokenNumberProps: "rotation" - TokenOpacityProps: "opacity" - - TokenSizingProps: "width", "height", "layout-item-min-w", "layout-item-max-w", "layout-item-min-h", "layout-item-max-h" - - TokenSpacingProps: "row-gap", "column-gap", "p1", "p2", "p3", "p4", "m1", "m2", "m3", "m4" - - TokenBorderWidthProps: "stroke-width" - - TokenTextCaseProps: "text-case" - - TokenTextDecorationProps: "text-decoration" + - TokenSizingProps: "width", "height", "layoutItemMinW", "layoutItemMaxW", "layoutItemMinH", "layoutItemMaxH" + - TokenSpacingProps: "rowGap", "columnGap", "p1", "p2", "p3", "p4", "m1", "m2", "m3", "m4" + - TokenBorderWidthProps: "strokeWidth" + - TokenTextCaseProps: "textCase" + - TokenTextDecorationProps: "textDecoration" - TokenTypographyProps: "typography" * `token.applyToShapes(shapes, properties)` - Apply from token * Application is **asynchronous** (wait for ~100ms to see the effects)