Update TokenProperty values in system prompt

Update based on changes to camelCase.
See https://github.com/penpot/penpot-mcp/issues/38
This commit is contained in:
Dominik Jain 2026-02-18 17:05:52 +01:00
parent a7e3e78e0c
commit a5da7ceb2f

View File

@ -292,19 +292,19 @@ Applying tokens:
- "all": applies the token to all properties it can control - "all": applies the token to all properties it can control
- TokenBorderRadiusProps: "r1", "r2", "r3", "r4" - TokenBorderRadiusProps: "r1", "r2", "r3", "r4"
- TokenShadowProps: "shadow" - TokenShadowProps: "shadow"
- TokenColorProps: "fill", "stroke-color" - TokenColorProps: "fill", "strokeColor"
- TokenDimensionProps: "x", "y", "stroke-width" - TokenDimensionProps: "x", "y", "strokeWidth"
- TokenFontFamiliesProps: "font-families" - TokenFontFamiliesProps: "fontFamilies"
- TokenFontSizesProps: "font-size" - TokenFontSizesProps: "fontSize"
- TokenFontWeightProps: "font-weight" - TokenFontWeightProps: "fontWeight"
- TokenLetterSpacingProps: "letter-spacing" - TokenLetterSpacingProps: "letterSpacing"
- TokenNumberProps: "rotation", "line-height" - TokenNumberProps: "rotation"
- TokenOpacityProps: "opacity" - TokenOpacityProps: "opacity"
- TokenSizingProps: "width", "height", "layout-item-min-w", "layout-item-max-w", "layout-item-min-h", "layout-item-max-h" - TokenSizingProps: "width", "height", "layoutItemMinW", "layoutItemMaxW", "layoutItemMinH", "layoutItemMaxH"
- TokenSpacingProps: "row-gap", "column-gap", "p1", "p2", "p3", "p4", "m1", "m2", "m3", "m4" - TokenSpacingProps: "rowGap", "columnGap", "p1", "p2", "p3", "p4", "m1", "m2", "m3", "m4"
- TokenBorderWidthProps: "stroke-width" - TokenBorderWidthProps: "strokeWidth"
- TokenTextCaseProps: "text-case" - TokenTextCaseProps: "textCase"
- TokenTextDecorationProps: "text-decoration" - TokenTextDecorationProps: "textDecoration"
- TokenTypographyProps: "typography" - TokenTypographyProps: "typography"
* `token.applyToShapes(shapes, properties)` - Apply from token * `token.applyToShapes(shapes, properties)` - Apply from token
* Application is **asynchronous** (wait for ~100ms to see the effects) * Application is **asynchronous** (wait for ~100ms to see the effects)